internal/

directory
v0.0.0-...-644995d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2026 License: MIT

Directories

Path Synopsis
activity
Package activity builds a compact, noise-filtered activity digest from groupware (calendar events + mail) and brain git history for the time window since the previous brain night run.
Package activity builds a compact, noise-filtered activity digest from groupware (calendar events + mail) and brain git history for the time window since the previous brain night run.
audit
Package audit holds the per-stage sidecar + audit-file helpers that every brain-night pipeline (scout, sleep, future stages) writes next to the canonical report.
Package audit holds the per-stage sidecar + audit-file helpers that every brain-night pipeline (scout, sleep, future stages) writes next to the canonical report.
backend
Package backend defines a uniform Backend interface over the model backends we use.
Package backend defines a uniform Backend interface over the model backends we use.
bench
Package bench runs the brain-night model matrix benchmark.
Package bench runs the brain-night model matrix benchmark.
cleanup
Package cleanup holds deterministic post-processors that strip narration from raw model output before it is persisted as a report.
Package cleanup holds deterministic post-processors that strip narration from raw model output before it is persisted as a report.
edit
Package edit runs focused per-entity editorial passes.
Package edit runs focused per-entity editorial passes.
evidence
Package evidence maintains the append-only evidence event log that connects scout findings to judge edits.
Package evidence maintains the append-only evidence event log that connects scout findings to judge edits.
glossary
Package glossary auto-injects local-vocabulary terms into scout / folder-note / triage packets so the agent does not e.g.
Package glossary auto-injects local-vocabulary terms into scout / folder-note / triage packets so the agent does not e.g.
gtd
gtd/today
Package gtdtoday implements the closed daily list that brain.gtd.today persists per day.
Package gtdtoday implements the closed daily list that brain.gtd.today persists per day.
ledger
Package ledger maintains a per-provider, rolling-7-day record of every brain-night model call.
Package ledger maintains a per-provider, rolling-7-day record of every brain-night model call.
people
Package people derives canonical monthly journal indexes from `## Log` entries kept in `brain/people`, `brain/projects`, and `brain/topics` notes.
Package people derives canonical monthly journal indexes from `## Log` entries kept in `brain/people`, `brain/projects`, and `brain/topics` notes.
peoplebrief
Package peoplebrief assembles the read-only `brain.people.brief` payload from a person's note frontmatter, status bullets, open commitments, most recent meeting note, and most recent inbound mail message.
Package peoplebrief assembles the read-only `brain.people.brief` payload from a person's note frontmatter, status bullets, open commitments, most recent meeting note, and most recent inbound mail message.
prompts
Package prompts embeds the role-specific system prompts used by every brain-night stage.
Package prompts embeds the role-specific system prompts used by every brain-night stage.
routing
Package routing picks a Backend + Model + Reasoning per stage of the brain night.
Package routing picks a Backend + Model + Reasoning per stage of the brain night.
scout
Package scout selects stale-or-uncertain canonical entities and runs a bounded autonomous research pass over each.
Package scout selects stale-or-uncertain canonical entities and runs a bounded autonomous research pass over each.
sleep
Package sleep holds the deterministic classifier and the bulk → paid pipeline for the sleep-judge stage.
Package sleep holds the deterministic classifier and the bulk → paid pipeline for the sleep-judge stage.
sleepconv
Package sleepconv extracts user-typed prompts from interactive Claude Code and Codex CLI session logs, classifies them by sphere, and renders them (plus a deterministic entity-candidate checklist) for the sleep packet.
Package sleepconv extracts user-typed prompts from interactive Claude Code and Codex CLI session logs, classifies them by sphere, and renders them (plus a deterministic entity-candidate checklist) for the sleep packet.
textbook
Package textbook classifies brain notes against a deny-list of textbook-only topics (Wikipedia-derivable concepts with no local anchor to Christopher Albert's group or projects).
Package textbook classifies brain notes against a deny-list of textbook-only topics (Wikipedia-derivable concepts with no local anchor to Christopher Albert's group or projects).
triage
Package triage runs a fast qwen-MoE pass to rank which canonical entities need editorial attention tonight.
Package triage runs a fast qwen-MoE pass to rank which canonical entities need editorial attention tonight.
Package calendar exposes a core Provider interface plus capability interfaces mirroring internal/email/provider.go.
Package calendar exposes a core Provider interface plus capability interfaces mirroring internal/email/provider.go.
Package calendarbrief implements the pre-meeting people-brief trigger described in issue #92.
Package calendarbrief implements the pre-meeting people-brief trigger described in issue #92.
Package chat defines provider-neutral read access to team chat systems.
Package chat defines provider-neutral read access to team chat systems.
Package groupware owns per-account provider construction and auth-session sharing across mail, calendar, contacts, and task features.
Package groupware owns per-account provider construction and auth-session sharing across mail, calendar, contacts, and task features.
Package mailboxsettings exposes capability interfaces for mailbox-level settings that sit alongside email/calendar/contacts but do not belong to any of them.
Package mailboxsettings exposes capability interfaces for mailbox-level settings that sit alongside email/calendar/contacts but do not belong to any of them.
mcp
Package meetings parses MEETING_NOTES-style brain notes into structured per-person tasks with stable comment-anchored IDs.
Package meetings parses MEETING_NOTES-style brain notes into structured per-person tasks with stable comment-anchored IDs.
kickoff
Package kickoff assembles the read-only `brain.meeting.kickoff` payload: a draft frame plus a clustered breakout grouping built from pre-meeting Zulip posts.
Package kickoff assembles the read-only `brain.meeting.kickoff` payload: a draft frame plus a clustered breakout grouping built from pre-meeting Zulip posts.
Package tasks defines the core task-management contract and the capability interfaces that specific backends (Google Tasks, Exchange EWS, etc.) may implement on top of it.
Package tasks defines the core task-management contract and the capability interfaces that specific backends (Google Tasks, Exchange EWS, etc.) may implement on top of it.
Package zulip is a small read-only client for the Zulip REST API.
Package zulip is a small read-only client for the Zulip REST API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL