Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
discordbot
command
|
|
|
doctor
command
wbt-doctor is a thin shim that exec's `wbt doctor <args...>`.
|
wbt-doctor is a thin shim that exec's `wbt doctor <args...>`. |
|
seed
command
|
|
|
server
command
|
|
|
wbt
command
wbt is the one-click installer CLI for wayneblacktea.
|
wbt is the one-click installer CLI for wayneblacktea. |
|
wbt-context
command
wbt-context is a thin shim that exec's `wbt context <args...>`.
|
wbt-context is a thin shim that exec's `wbt context <args...>`. |
|
wbt-guard
command
wbt-guard is the Claude Code PreToolUse global hook binary.
|
wbt-guard is the Claude Code PreToolUse global hook binary. |
|
wbt-hook
command
wbt-hook is a thin shim that exec's `wbt hook <args...>`.
|
wbt-hook is a thin shim that exec's `wbt hook <args...>`. |
|
internal
|
|
|
aicost
Package aicost records Anthropic API token usage and computed USD cost.
|
Package aicost records Anthropic API token usage and computed USD cost. |
|
arch
Package arch manages architecture snapshots for projects.
|
Package arch manages architecture snapshots for projects. |
|
atom
Package atom implements the MemoryAtom domain: atomic fact units extracted from decisions, knowledge items, and procedural memories.
|
Package atom implements the MemoryAtom domain: atomic fact units extracted from decisions, knowledge items, and procedural memories. |
|
auth
Package auth provides the compile-time capability token for authenticated requests.
|
Package auth provides the compile-time capability token for authenticated requests. |
|
behaviorrule
Package behaviorrule implements the BehaviorRule domain: persisted AI-derived or manually-authored rules that guide agent behavior.
|
Package behaviorrule implements the BehaviorRule domain: persisted AI-derived or manually-authored rules that guide agent behavior. |
|
cli
SessionStart hook logic for `wbt context session-start` (formerly the standalone wbt-context binary).
|
SessionStart hook logic for `wbt context session-start` (formerly the standalone wbt-context binary). |
|
completioncandidate
Package completioncandidate implements detection rules that surface GTD tasks that appear done but whose status is still pending or in_progress.
|
Package completioncandidate implements detection rules that surface GTD tasks that appear done but whose status is still pending or in_progress. |
|
db
Package db contains sqlc-generated query and model types for PostgreSQL.
|
Package db contains sqlc-generated query and model types for PostgreSQL. |
|
decay
Package decay implements the Ebbinghaus forgetting curve strength formula used by the SQLite backend (which cannot run SQL math via EXTRACT EPOCH).
|
Package decay implements the Ebbinghaus forgetting curve strength formula used by the SQLite backend (which cannot run SQL math via EXTRACT EPOCH). |
|
discipline
Package discipline implements the meta-rule drift-detection store: every successful mutating MCP tool call is recorded as a discipline_events row, and the system_health tool surfaces "drift signals" (mutating events that happened without a recent log_decision / confirm_plan in the same session).
|
Package discipline implements the meta-rule drift-detection store: every successful mutating MCP tool call is recorded as a discipline_events row, and the system_health tool surfaces "drift signals" (mutating events that happened without a recent log_decision / confirm_plan in the same session). |
|
gtd
Package gtd fuzzy_reconcile.go implements the Phase 2 fuzzy matcher used by reconcile_merged_prs (sprint feature/0519-gtd-reconcile-phase2, GTD-fix 10/12) for legacy backlog tasks whose branch_name / pr_url linkage is NULL — i.e.
|
Package gtd fuzzy_reconcile.go implements the Phase 2 fuzzy matcher used by reconcile_merged_prs (sprint feature/0519-gtd-reconcile-phase2, GTD-fix 10/12) for legacy backlog tasks whose branch_name / pr_url linkage is NULL — i.e. |
|
guard
Package guard implements the wbt-guard PreToolUse hook for observing and classifying Claude Code tool invocations.
|
Package guard implements the wbt-guard PreToolUse hook for observing and classifying Claude Code tool invocations. |
|
handler
Package handler — reconcile_handler.go exposes POST /api/tasks/reconcile-merged-prs.
|
Package handler — reconcile_handler.go exposes POST /api/tasks/reconcile-merged-prs. |
|
httpguard
Package httpguard provides SSRF-protection helpers for outbound HTTP clients that accept user-configured base URLs (e.g.
|
Package httpguard provides SSRF-protection helpers for outbound HTTP clients that accept user-configured base URLs (e.g. |
|
lifecycle
Package lifecycle provides process supervision primitives for the wbt CLI: spawn a server process in the background, write a PID file, query status, and stop it cleanly.
|
Package lifecycle provides process supervision primitives for the wbt CLI: spawn a server process in the background, write a PID file, query status, and stop it cleanly. |
|
llm
Package llm provides a provider-neutral abstraction for JSON text-generation LLM tasks (e.g.
|
Package llm provides a provider-neutral abstraction for JSON text-generation LLM tasks (e.g. |
|
mcp
Package mcp — tools_reconcile.go exposes the reconcile_merged_prs MCP tool.
|
Package mcp — tools_reconcile.go exposes the reconcile_merged_prs MCP tool. |
|
mcprunner
Package mcprunner is the shared MCP stdio transport entry point invoked by `cmd/wbt mcp` (wired into .mcp.json by `wbt init`).
|
Package mcprunner is the shared MCP stdio transport entry point invoked by `cmd/wbt mcp` (wired into .mcp.json by `wbt init`). |
|
mergedprs
Package mergedprs persists observed merged PRs so a daily fuzzy-match detector can correlate them against legacy backlog tasks whose branch_name / pr_url linkage is null.
|
Package mergedprs persists observed merged PRs so a daily fuzzy-match detector can correlate them against legacy backlog tasks whose branch_name / pr_url linkage is null. |
|
outcome
Package outcome implements the Outcome + Evaluation bounded context.
|
Package outcome implements the Outcome + Evaluation bounded context. |
|
playbook
Package playbook implements the Playbook domain: generalised procedural rules derived from recurring decisions ("if I see X situation, do Y action").
|
Package playbook implements the Playbook domain: generalised procedural rules derived from recurring decisions ("if I see X situation, do Y action"). |
|
procedural
Package procedural implements the ProceduralMemory domain: first-class storage for "how-to" knowledge derived from past experience.
|
Package procedural implements the ProceduralMemory domain: first-class storage for "how-to" knowledge derived from past experience. |
|
proposal
Package proposal manages pending agent-originated entities awaiting user confirmation before they become real (goals, projects, tasks, concepts).
|
Package proposal manages pending agent-originated entities awaiting user confirmation before they become real (goals, projects, tasks, concepts). |
|
redact
Package redact provides credential-pattern scrubbing for strings shipped to upstream LLM providers, log sinks, or persisted fields.
|
Package redact provides credential-pattern scrubbing for strings shipped to upstream LLM providers, log sinks, or persisted fields. |
|
reflection
Package reflection implements the Reflection domain: persisted AI-generated reflection records for daily reviews, weekly summaries, and entity-specific analysis (task, decision, proposal, knowledge, system).
|
Package reflection implements the Reflection domain: persisted AI-generated reflection records for daily reviews, weekly summaries, and entity-specific analysis (task, decision, proposal, knowledge, system). |
|
runtime
Package runtime exposes process-wide configuration read at startup time: most importantly the optional workspace context that scopes every domain Store.
|
Package runtime exposes process-wide configuration read at startup time: most importantly the optional workspace context that scopes every domain Store. |
|
shim
Package shim provides the shared wbt-subcommand shim implementation used by the legacy hook binaries (wbt-context, wbt-hook, wbt-doctor) so that existing ~/.claude/settings.json absolute-path entries keep working after Phase 2.3 collapsed the hook logic into `wbt` subcommands.
|
Package shim provides the shared wbt-subcommand shim implementation used by the legacy hook binaries (wbt-context, wbt-hook, wbt-doctor) so that existing ~/.claude/settings.json absolute-path entries keep working after Phase 2.3 collapsed the hook logic into `wbt` subcommands. |
|
skill
Package skill provides the Skill Library domain — reusable Claude Code skill definitions extracted from successful sessions.
|
Package skill provides the Skill Library domain — reusable Claude Code skill definitions extracted from successful sessions. |
|
snapshot
Package snapshot manages project status snapshots — Haiku-generated structured summaries of a project's current state (sprint progress, gap analysis, pending work).
|
Package snapshot manages project status snapshots — Haiku-generated structured summaries of a project's current state (sprint progress, gap analysis, pending work). |
|
storage
Package storage's ServerStores bundle is the backend-agnostic surface used by the HTTP server (cmd/server) and the MCP server (cmd/mcp) to obtain a working set of domain stores without compile-time coupling to a specific backend (Postgres pgxpool vs.
|
Package storage's ServerStores bundle is the backend-agnostic surface used by the HTTP server (cmd/server) and the MCP server (cmd/mcp) to obtain a working set of domain stores without compile-time coupling to a specific backend (Postgres pgxpool vs. |
|
storage/sqlite
Package sqlite is the SQLite-backed implementation of the wayneblacktea storage interfaces, intended for friend-grade self-hosting (one binary + one .db file, no Postgres server).
|
Package sqlite is the SQLite-backed implementation of the wayneblacktea storage interfaces, intended for friend-grade self-hosting (one binary + one .db file, no Postgres server). |
|
timeline
Package timeline aggregates events from multiple domain stores into a unified chronological feed for the Personal OS calendar feature.
|
Package timeline aggregates events from multiple domain stores into a unified chronological feed for the Personal OS calendar feature. |
|
validator
Package validator provides input quality checks for GTD entries and related user-facing fields.
|
Package validator provides input quality checks for GTD entries and related user-facing fields. |
|
vision
Package vision implements the Vision domain: first-class storage for "future ideas that can't be acted on now".
|
Package vision implements the Vision domain: first-class storage for "future ideas that can't be acted on now". |
|
watchdog
Package watchdog records recent MCP tool invocations in process memory and surfaces lightweight system-health signals (stuck tasks, pending review queue depth, last N tool calls).
|
Package watchdog records recent MCP tool invocations in process memory and surfaces lightweight system-health signals (stuck tasks, pending review queue depth, last N tool calls). |
|
worksession
Package worksession implements the work_session first-class data model introduced in P0a-α Session Core.
|
Package worksession implements the work_session first-class data model introduced in P0a-α Session Core. |
|
Package migrationfs exposes the embedded SQL migration files so that golang-migrate can apply them at runtime without needing the files present on the filesystem.
|
Package migrationfs exposes the embedded SQL migration files so that golang-migrate can apply them at runtime without needing the files present on the filesystem. |
Click to show internal directories.
Click to hide internal directories.