dot-agents

module
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0

README

dot-agents

The operational layer for AI coding agents

One CLI (da) to manage configuration and workflow state across Cursor, Claude Code, Codex, GitHub Copilot, and OpenCode — plus a set of composable primitives (dynamic loops, bounded workflows, agent teams) you assemble into your own agentic orchestration, not a closed set of commands.


Fastest start (one paste)

You don't have to read the whole site first. Paste this into your AI coding agent (Claude Code, Cursor, Codex, Copilot, OpenCode, Antigravity, …). It installs da, runs the guided onboarding, and tailors a setup to your project — asking you questions instead of making you read docs.

Set me up with dot-agents (da). Do this in order, and ask before any destructive change:

1. Install the binary: run `brew tap AGOrcha/tap && brew install da` (or, if Homebrew
   isn't available, the Go / install-script method from
   https://github.com/AGOrcha/dot-agents#installation). Confirm with `da --version`.

2. Run the dot-agents `onboard` skill (skill://onboard). Detect my setup path
   — from-home (a shared/team ~/.agents git URL), from-manifest (this repo already
   commits a real .agentsrc.json), or fresh (empty home) — run exactly that path,
   link my active editor with `da refresh`, then verify with `da status --audit`
   and `da doctor`. If the path is ambiguous, ask me the single disambiguating question.

3. Analyze this project and ask me: what am I building, my stack / app_type, my
   editor/harness, and how much automation I want. Then tailor:
   - use the `pipeline-architect` skill to design my execution_profile
     (app_type → verifier/reviewer sequence + topology + review lenses),
   - use the `skill-architect` skill for any repeatable workflow I describe,
   - create bounded subagents for my recurring delegated tasks.

4. Teach me the da primitives I'll actually use, grounded in what you just set up:
   `da workflow orient | checkpoint | verify | advance`, `da workflow fanout` +
   merge-back for bounded delegation, `da review` for proposals, and `da kg` for
   project memory. For each, tell me WHEN to reach for it in my loop.

Keep it to the minimum decisions. Prefer the conservative/standard option and tell me
what you chose.
Step What happens Backed by
1. Install Gets the da binary onto your machine Homebrew / Go / script
2. Onboard Detects your path, scaffolds ~/.agents, links your editor, health-checks onboard skill (from-home / from-manifest / fresh → verify)
3. Tailor Designs your execution profile, skills, and subagents around your stack pipeline-architect, skill-architect
4. Teach Shows the primitives + when to use each, in context da workflow / da review / da kg

Full walkthrough and what each step does: Install & onboard.

Prefer to drive it yourself?
brew tap AGOrcha/tap && brew install da   # or: go install …  (see Install below)
da --version
da init                                   # scaffold ~/.agents/
da add ~/Github/myproject                 # register + link a project
da refresh                                # project canonical config into each platform's shape
da status --audit && da doctor            # verify

The Getting Started guide covers the three setup paths in full — adopt a shared home config, install a repo manifest, or start fresh — then the shared verify step.


Installation

brew tap AGOrcha/tap && brew install da
Install script

Downloads the prebuilt da binary onto your PATH — no Go toolchain required:

# macOS / Linux
curl --proto "=https" --tlsv1.2 -fsSL https://raw.githubusercontent.com/AGOrcha/dot-agents/master/scripts/install.sh | bash
# Windows PowerShell
irm https://raw.githubusercontent.com/AGOrcha/dot-agents/master/scripts/install.ps1 | iex
Go toolchain (go install)

With Go 1.26.2+ (or GOTOOLCHAIN=auto to auto-fetch the toolchain):

go install github.com/AGOrcha/dot-agents/cmd/da@latest
# or a pinned release:
go install github.com/AGOrcha/dot-agents/cmd/da@<release-version>

The da binary lands in $(go env GOBIN) (falling back to $(go env GOPATH)/bin); ensure that directory is on your PATH.

Manual (from source)

Requires Go 1.26.2+ (or GOTOOLCHAIN=auto).

git clone https://github.com/AGOrcha/dot-agents ~/.dot-agents
cd ~/.dot-agents
go build -ldflags "-s -w" -o ./bin/da ./cmd/da
export PATH="$HOME/.dot-agents/bin:$PATH"

Releases are signed with Cosign (keyless, via Sigstore + GitHub OIDC) — see docs/RELEASE_VERIFICATION.md for the cosign verify-blob recipe.


Why dot-agents

Every AI coding agent scatters its own state in its own place — and so does the work those agents do.

  • Config fragmentation. Each agent has its own instruction/rule files and format (.cursor/rules/*.mdc, CLAUDE.md, AGENTS.md, .github/copilot-instructions.md, …), so rules get duplicated per repo, can't be shared, and drift between machines.
  • Workflow fragmentation. Autonomous agents already behave like a workflow system — resuming across sessions, persisting plans, verifying as they go — but each platform stores that state differently. The cost: context amnesia at every session start, scattered plans, repeated rediscovery of what's broken, and lost handoffs.

dot-agents answers both with one source of truth and one operational surface.

The three pillars (all shipping today)
  1. Config management — a single source of truth at ~/.agents/, distributed to each project via symlinks/hard links in the shape each platform expects. A repo's .agentsrc.json can extends shared layers (git / local / HTTP / OCI); resolved layer SHAs pin in .agentsrc.lock so every machine projects the same effective config. → Layered Configuration · Config model · Platform projection · Platform matrix

  2. Workflow management — composable primitives, not a fixed toolset. Agents orient at session start, persist checkpoints/verification, manage canonical plans and tasks, delegate bounded fan-out with write-scope constraints and merge-back, and queue changes for human review (da review). Per app_type, an execution profile declares the executor : verifier : reviewer topology, an ordered verifier sequence, and a review-lens set — the CLI resolves, gates, and records the topology while the steps run in the agents/skills you compose on top. Agents operate, humans steer.Workflow client commands · Workflow artifact model · Verification & scoring · Diagrams

  3. Knowledge graph (da kg) — a local store of structured project memory (typed notes about decisions, entities, sessions) plus a code graph and the cross-references between them. It backs the workflow orient context an agent loads at session start, so it resumes with what was already learned. Shipped: a hot-filesystem + warm-SQLite store (Postgres backend included), a code graph via the code-review-graph bridge, bridge queries by intent, note→symbol links. The KG is evolving toward a pluggable-backend, custom-ontology substrate — see the graph backend adapter contract and the scoped knowledge-graphs spec.

A read-only Observability dashboard surfaces workflow runs, iteration scores, and rubric detail with live updates.


Command surface

da exposes 26 top-level commands. The full command reference documents every family and subcommand; the map below is the entry point, and each row links to the guide for that area. Run da <command> --help for the authoritative flag set, and see the Global Flag Contract for how --json / --dry-run / --yes / --force / --verbose behave per command.

Family For Deep dive
init add remove refresh import install status doctor Set up ~/.agents/ and link projects Getting Started
worktree (create merge-back) Managed sub-branch worktrees for isolated / parallel work Command reference
config (explain sync lint verify relevance) Inspect/resolve effective config + layers Layered config, relevance
skills agents Author + promote reusable skills and subagents Skill↔command integration
rules hooks mcp settings Manage canonical resources under ~/.agents/ Resource management, Hooks
workflow Orient, plan, verify, checkpoint, delegate, journal Workflow commands
review Approve/reject proposed rule/skill/config changes Command reference
kg Structured project memory + code graph Command reference
observability Publish iteration/score telemetry to the dashboard Dashboard
eval run score Eval harness, recipes, outcome scoring Eval, Scoring
sync Git operations on ~/.agents/ Command reference

How it works

Canonical config lives once under ~/.agents/; da projects it into each project in the exact shape that platform reads:

  • Cursor doesn't follow symlinks for .cursor/rules/, so dot-agents uses hard links (global--coding-style.mdc~/.agents/rules/global/…). The global--* / {project}--* prefix shows each file's source.
  • Claude Code links project rules as symlinks under .claude/rules/ (one per canonical rule); global rules load once from the user-scope ~/.claude/CLAUDE.md. Codex links a project-root AGENTS.md (the global rule by default, a project-scoped override when one exists) plus rendered .codex/ agents/settings/hooks. Copilot manages .github/copilot-instructions.md (+ .github/agents/*.agent.md); OpenCode gets AGENTS.md + .opencode/agent/*.md. Each platform also gets its rendered agent/settings/hook/MCP files.

The full per-platform matrix (files, formats, link types) lives in docs/PLATFORM_DIRS_DOCS.md; the model behind it is Platform projection.

Supported agents

Agent Status Config files
Cursor ✅ Full .cursor/rules/*.mdc, .cursor/settings.json, .cursor/mcp.json, .cursor/hooks.json, .cursorignore, .claude/agents/ (subagent compat)
Claude Code ✅ Full .claude/rules/*.md, .claude/settings.local.json, .mcp.json, .claude/agents/, .claude/skills/, .agents/skills/, ~/.claude/CLAUDE.md (user scope)
Codex ✅ Full AGENTS.md, .codex/config.toml, .codex/agents/*.toml (+ ~/.codex/agents/*.toml user scope), .codex/hooks.json (+ ~/.codex/hooks.json user scope), .agents/skills/
OpenCode ⚠️ Basic opencode.json, .opencode/agent/*.md, .agents/skills/
GitHub Copilot ✅ Full .github/copilot-instructions.md, .github/agents/*.agent.md, .agents/skills/, .vscode/mcp.json, .claude/settings.local.json (hooks compat), .github/hooks/*.json
Antigravity 🧪 Probe .antigravity/settings.json, .antigravity/mcp_config.json, .antigravity/hooks.json, .antigravity/skills/, .antigravity/agents/

Requirements

  • macOS or Linux for the CLI via Homebrew, scripts/install.sh, or a local go build.
  • Windows: use scripts/install.ps1.
  • Go 1.26.2+ — only for go install or building from source (Homebrew and the install script ship a prebuilt binary; set GOTOOLCHAIN=auto to auto-fetch).
  • git — for sync features and git-sourced config layers.

Documentation

Syncing across machines

~/.agents/ is designed to be git-tracked:

da sync init && cd ~/.agents
git remote add origin git@github.com:YOU/agents-config.git
da sync push
# On another machine:
da init --from git@github.com:YOU/agents-config.git   # adopt the shared home
da add ~/Github/myproject                             # rebind each project

Roadmap

The foundation ships today; remaining work deepens it.

  • Agent-as-operator — agents run da autonomously along an approval gradient: auto-apply (checkpoints, verification, plan progress, lessons), propose-and-apply (new rules/skills/config — human confirms), escalate (conflicting rules, stale prod config, cross-repo drift).
  • Workflow depth — the six workflow concerns are partly shipped (orient/next, plans/tasks, verify/checkpoint, prefs, fanout/merge-back); approvals & tool-health surfacing remain on the roadmap.
  • Multi-agent coordination — building on bounded fan-out, context bundles, and merge-back: richer anti-drift coordination protocols, graph-driven adaptive context engineering, and cross-agent scheduling with conflict detection.
  • Transitive config scope — the home config is v2 today (portable repo_id registry + machine-local bindings.json). The roadmap wires transitive org→team→repo config layering and a --scope selector into the resource commands (rules / mcp / settings / skills / agents), which today scope by global + project name only.
  • Evolvable knowledge graph — moving the KG from a fixed code-graph to a pluggable-backend, custom-ontology substrate with cross-scope querying and typed cognitive-memory views (see the Knowledge graph pillar above).
  • Plugins — plugin bundles install today and project to OpenCode (.opencode/plugins/); the roadmap broadens platform emitters (Cursor / Claude / Codex / Copilot plugin dirs) and adds a da plugins marketplace generator. See the Plugin Contract.

FAQ

Why hard links for Cursor? Cursor's rule system doesn't follow symlinks; hard links share the actual file content, so edits sync automatically.

Can I use this with existing projects? Yes — da add won't overwrite existing files unless you pass --force.

Is my config private? Yes. Everything stays in ~/.agents/ on your machine; git sync is optional and to your own repo.

What's da refresh for? After pulling ~/.agents/ changes, refresh re-applies links to all projects. It's EXACT by default (prunes managed links no longer in the resolved set); pass --inexact to keep additive behavior.

Skills vs rules? Rules (.mdc) are always-active guidelines; skills (SKILL.md) are on-demand procedures agents invoke when needed.

Contributing

Contributions welcome — open an issue or pull request on GitHub.

License

Apache License 2.0 — see also NOTICE. Contributions are accepted under the Apache 2.0 terms (§5): unless you state otherwise, anything you intentionally submit for inclusion is licensed under Apache 2.0, with its patent grant.


Built for developers who use AI coding agents daily. Designed so agents can operate themselves.

Directories

Path Synopsis
cmd
da command
da-dashboard command
Command da-dashboard is the standalone R2 observability dashboard server.
Command da-dashboard is the standalone R2 observability dashboard server.
globalflag-coverage command
Globalflag-coverage prints a matrix of persistent global flag usage per cobra command.
Globalflag-coverage prints a matrix of persistent global flag usage per cobra command.
review_admin.go adds the R5 admin surface under the existing `da review` group (r5-review-labeling-access, admin-cli task): `da review users {add,list,remove,set-role}` for RBAC user management (spec D5.3 / R9) and `da review audit {view,verify,repair}` for the hash-chained audit log (spec D5.4 / R7).
review_admin.go adds the R5 admin surface under the existing `da review` group (r5-review-labeling-access, admin-cli task): `da review users {add,list,remove,set-role}` for RBAC user management (spec D5.3 / R9) and `da review audit {view,verify,repair}` for the hash-chained audit log (spec D5.4 / R7).
config
Package config implements the `da config` command subtree.
Package config implements the `da config` command subtree.
eval
Package eval implements the `da eval` command tree: the operator surface over the R4 agent-evaluation harness.
Package eval implements the `da eval` command tree: the operator surface over the R4 agent-evaluation harness.
internal/cmdutil
Package cmdutil holds shared helpers for the commands/* CLI tree.
Package cmdutil holds shared helpers for the commands/* CLI tree.
internal/lifecycle
Package lifecycle hosts the project-lifecycle command cluster extracted from the root commands package as part of the root-command-decomposition plan (SHAPE.md §1, §4a).
Package lifecycle hosts the project-lifecycle command cluster extracted from the root commands package as part of the root-command-decomposition plan (SHAPE.md §1, §4a).
internal/mcp
Package mcp owns the `da mcp` subcommand tree.
Package mcp owns the `da mcp` subcommand tree.
internal/settings
Package settings hosts the `da settings` command tree.
Package settings hosts the `da settings` command tree.
kg
observability
Package observability implements the `da observability` command subtree.
Package observability implements the `da observability` command subtree.
workflow
close_task.go wires `da workflow close-task`, the T1-molecule client command that composes the end-of-iteration primitive chain:
close_task.go wires `da workflow close-task`, the T1-molecule client command that composes the end-of-iteration primitive chain:
worktree
Package worktree implements the `da worktree` command tree: first-class create / merge-back of managed sub-branch worktrees.
Package worktree implements the `da worktree` command tree: first-class create / merge-back of managed sub-branch worktrees.
internal
adapters/builtin/adapterkit
Package adapterkit holds the schema-info and query-compilation boilerplate every built-in graph-backend adapter shares, so each adapter (compliance- register, sdd-register, …) translates its registry.Schema and compiles its DSL queries through ONE source instead of copy-pasting the loop bodies.
Package adapterkit holds the schema-info and query-compilation boilerplate every built-in graph-backend adapter shares, so each adapter (compliance- register, sdd-register, …) translates its registry.Schema and compiles its DSL queries through ONE source instead of copy-pasting the loop bodies.
adapters/builtin/compliance-register
Package complianceregister implements the built-in compliance-register graph-backend adapter (graph-backend-adapter-contract §13.2).
Package complianceregister implements the built-in compliance-register graph-backend adapter (graph-backend-adapter-contract §13.2).
adapters/builtin/compliance-register/views
Package views declares the compliance-register adapter's cross-adapter materialized views (graph-backend-adapter-contract §8.3).
Package views declares the compliance-register adapter's cross-adapter materialized views (graph-backend-adapter-contract §8.3).
adapters/builtin/crg
Package crg implements the built-in kg-native Code Review Graph adapter (graph-backend-adapter-contract §11).
Package crg implements the built-in kg-native Code Review Graph adapter (graph-backend-adapter-contract §11).
adapters/builtin/crg-bridge
Package crgbridge implements the migration-only crg-bridge adapter (graph-backend-adapter-contract §11.2).
Package crgbridge implements the migration-only crg-bridge adapter (graph-backend-adapter-contract §11.2).
adapters/builtin/none
Package none implements the built-in `none` graph-backend adapter (graph-backend-adapter-contract §13.1).
Package none implements the built-in `none` graph-backend adapter (graph-backend-adapter-contract §13.1).
adapters/builtin/sdd-register
Package sddregister implements the SDD-entity dogfood graph-backend adapter.
Package sddregister implements the SDD-entity dogfood graph-backend adapter.
adapters/sdk
Package sdk is the `da-adapter-sdk` Go surface that bootstrap skills use exclusively to write into scoped KG storage (graph-backend-adapter-contract §8.4).
Package sdk is the `da-adapter-sdk` Go surface that bootstrap skills use exclusively to write into scoped KG storage (graph-backend-adapter-contract §8.4).
agentslock
Package agentslock is the single shared writer for .agentsrc.lock — the resolved-state companion to .agentsrc.json (config-distribution-model §7).
Package agentslock is the single shared writer for .agentsrc.lock — the resolved-state companion to .agentsrc.json (config-distribution-model §7).
credstore
Package credstore implements the shared encrypted credential store and the CI-aware loader described in external-agent-sources design §4.1.
Package credstore implements the shared encrypted credential store and the CI-aware loader described in external-agent-sources design §4.1.
dashboard/events
Package events implements the R2 dashboard's SSE broker (plan task t04-sse-broker): an in-process fan-out from event sources to per-client bounded buffers.
Package events implements the R2 dashboard's SSE broker (plan task t04-sse-broker): an in-process fan-out from event sources to per-client bounded buffers.
dashboard/handlers
Package handlers implements the R2 observability dashboard's REST API (plan task t03-handlers-rest) per the pinned contract in .agents/workflow/plans/r2-observability-dashboard/design/API.md.
Package handlers implements the R2 observability dashboard's REST API (plan task t03-handlers-rest) per the pinned contract in .agents/workflow/plans/r2-observability-dashboard/design/API.md.
dashboard/server
r3mount.go mounts the R2 observability dashboard INSIDE the R3 background-worker service (task t13-r3-mount-integration): it composes the dashboard's store → broker → handlers collaborators, stitches the REST/SSE handler mount onto R3's HTTP/SSE edge via RegisterMount (spec D5 — the browser-facing arm of the r3 §2A surface→transport map, NEVER the UDS control plane), and bridges R3's EventBus into the broker so R3's in-process publish is the dashboard's PRIMARY event source.
r3mount.go mounts the R2 observability dashboard INSIDE the R3 background-worker service (task t13-r3-mount-integration): it composes the dashboard's store → broker → handlers collaborators, stitches the REST/SSE handler mount onto R3's HTTP/SSE edge via RegisterMount (spec D5 — the browser-facing arm of the r3 §2A surface→transport map, NEVER the UDS control plane), and bridges R3's EventBus into the broker so R3's in-process publish is the dashboard's PRIMARY event source.
dashboard/store
Package store is the R2 observability dashboard's read-through data layer.
Package store is the R2 observability dashboard's read-through data layer.
dashboard/watch
Package watch is the t06 iter-log filesystem watcher → SSE-broker bridge (plan task t06-recompute-on-miss-and-fswatch): the v1 standalone push path that exists BEFORE R3's publish primitive lands.
Package watch is the t06 iter-log filesystem watcher → SSE-broker bridge (plan task t06-recompute-on-miss-and-fswatch): the v1 standalone push path that exists BEFORE R3's publish primitive lands.
docsaccess
Package docsaccess is the client half of CF Access integration for the internal docs surface.
Package docsaccess is the client half of CF Access integration for the internal docs surface.
eval
Package eval is the foundation of the R4 code-task generation and evaluation harness.
Package eval is the foundation of the R4 code-task generation and evaluation harness.
eval/gen/gencore
Package gencore is the shared engine of the R4 eval task generator.
Package gencore is the shared engine of the R4 eval task generator.
eval/gen/golang
Package gogen is the Go-language adapter of the shared R4 task generator.
Package gogen is the Go-language adapter of the shared R4 task generator.
eval/gen/python
Package pygen is the Python-language adapter of the shared R4 task generator.
Package pygen is the Python-language adapter of the shared R4 task generator.
eval/gen/typescript
Package tsgen is the TypeScript-language adapter of the shared R4 task generator.
Package tsgen is the TypeScript-language adapter of the shared R4 task generator.
eval/harness
Package harness is the R4 eval driver: a single Harness.Run entry point that sequences the five eval stages and returns an EvalRun aggregating every stage's output.
Package harness is the R4 eval driver: a single Harness.Run entry point that sequences the five eval stages and returns an EvalRun aggregating every stage's output.
eval/kgquery
Package kgquery is the R4 harness's read-only adapter over the code knowledge graph.
Package kgquery is the R4 harness's read-only adapter over the code knowledge graph.
eval/runner
Package runner abstracts over invoking a CLI agent against a sandbox working directory.
Package runner abstracts over invoking a CLI agent against a sandbox working directory.
eval/sandbox
Package sandbox provisions isolated working directories for R4 eval runs.
Package sandbox provisions isolated working directories for R4 eval runs.
eval/scoringbridge
Package scoringbridge translates a completed eval run into the R1 scoring pipeline: it emits an R1-shaped iteration record and scores it with the production rubric, persisting both under the run's eval-namespaced iteration-log directory.
Package scoringbridge translates a completed eval run into the R1 scoring pipeline: it emits an R1-shaped iteration record and scores it with the production rubric, persisting both under the run's eval-namespaced iteration-log directory.
eval/store
Package store persists the store-owned sidecar files of a completed eval run into the canonical run directory <root>/.agents/eval/runs/<run-id>/.
Package store persists the store-owned sidecar files of a completed eval run into the canonical run directory <root>/.agents/eval/runs/<run-id>/.
eval/verifier
Package verifier defines the language-agnostic verifier contract for the R4 eval harness and houses the shared run engine every per-language verifier reuses.
Package verifier defines the language-agnostic verifier contract for the R4 eval harness and houses the shared run engine every per-language verifier reuses.
eval/verifier/golang
Package goverifier is the Go-language adapter for the R4 eval verifier (R4 spec task t-verifier-iface).
Package goverifier is the Go-language adapter for the R4 eval verifier (R4 spec task t-verifier-iface).
eval/verifier/python
Package pyverifier is the Python-language adapter for the R4 eval verifier (R4 spec task t-verifier-iface).
Package pyverifier is the Python-language adapter for the R4 eval verifier (R4 spec task t-verifier-iface).
eval/verifier/typescript
Package tsverifier is the TypeScript-language adapter for the R4 eval verifier (R4 spec task t-verifier-iface).
Package tsverifier is the TypeScript-language adapter for the R4 eval verifier (R4 spec task t-verifier-iface).
events
Package events implements a unified event-contract core: a typed Envelope, a runtime Kind registry, table-driven dispatch, a generic config-driven producer engine, and a dependency-free JSONPath subset.
Package events implements a unified event-contract core: a typed Envelope, a runtime Kind registry, table-driven dispatch, a generic config-driven producer engine, and a dependency-free JSONPath subset.
fsops
Package fsops provides filesystem operations with OS-appropriate implementations.
Package fsops provides filesystem operations with OS-appropriate implementations.
gitremote
Package gitremote is the canonical home for parsing and canonicalizing git remote URLs in dot-agents.
Package gitremote is the canonical home for parsing and canonicalizing git remote URLs in dot-agents.
gitwt
Package gitwt is the typed git/worktree seam for the dot-agents managed worktree platform.
Package gitwt is the typed git/worktree seam for the dot-agents managed worktree platform.
globalflagcov
Package globalflagcov computes which persistent global CLI flags (commands.Flags) are referenced transitively from each cobra command's RunE handler.
Package globalflagcov computes which persistent global CLI flags (commands.Flags) are referenced transitively from each cobra command's RunE handler.
graphstore
Package graphstore — CRG bridge.
Package graphstore — CRG bridge.
graphstore/internal/storetest
Package storetest provides shared backend-agnostic test bodies for graphstore.Store implementations.
Package storetest provides shared backend-agnostic test bodies for graphstore.Store implementations.
journal
Package journal is the append-only, crash-survivable event log that backs the session-handoff feature — the "episodic" typed view of agent state (events/history/decisions).
Package journal is the append-only, crash-survivable event log that backs the session-handoff feature — the "episodic" typed view of agent state (events/history/decisions).
kg/dsl
Package dsl implements the v1 named-query DSL of the graph-backend adapter contract (graph-backend-adapter-contract §5).
Package dsl implements the v1 named-query DSL of the graph-backend adapter contract (graph-backend-adapter-contract §5).
kg/dsl/cross-namespace
Package crossnamespace executes a cross-adapter materialized view: a single v1 DSL query (internal/kg/dsl) that joins a consumer adapter's namespace with one or more reads_from dependency namespaces (graph-backend-adapter-contract §8.3).
Package crossnamespace executes a cross-adapter materialized view: a single v1 DSL query (internal/kg/dsl) that joins a consumer adapter's namespace with one or more reads_from dependency namespaces (graph-backend-adapter-contract §8.3).
kg/lockfile
Package lockfile implements the adapter lockfile state (graph-backend-adapter-contract §10.1).
Package lockfile implements the adapter lockfile state (graph-backend-adapter-contract §10.1).
kg/registry
Package registry defines the graph-backend adapter contract and a register/resolve surface keyed by adapter name.
Package registry defines the graph-backend adapter contract and a register/resolve surface keyed by adapter name.
linktest
Package linktest provides cross-platform managed-link fixtures for tests.
Package linktest provides cross-platform managed-link fixtures for tests.
projectsync
Package projectsync provides shared helpers for creating project directory structures, restoring resource files, writing refresh markers, and managing gitignore entries.
Package projectsync provides shared helpers for creating project directory structures, restoring resource files, writing refresh markers, and managing gitignore entries.
review/audit
Package audit implements the R5 append-only, hash-chained audit log (design D5.4).
Package audit implements the R5 append-only, hash-chained audit log (design D5.4).
review/auth
Package auth implements the R5 RBAC identity layer: a pluggable Authenticator interface, an admin-managed users file, bearer-token issuance and verification, and the role/permission model the review service enforces.
Package auth implements the R5 RBAC identity layer: a pluggable Authenticator interface, an admin-managed users file, bearer-token issuance and verification, and the role/permission model the review service enforces.
review/http
Package http is the R5 review collection endpoint: the HTTP arm of the §2A surface→transport map.
Package http is the R5 review collection endpoint: the HTTP arm of the §2A surface→transport map.
review/labels
Package labels defines the human-review label data model and its YAML sidecar persistence.
Package labels defines the human-review label data model and its YAML sidecar persistence.
scoring
Package scoring defines and applies the dot-agents outcome-scoring rubric: an explainable quality score per agent-run iteration and session, computed from already-captured telemetry.
Package scoring defines and applies the dot-agents outcome-scoring rubric: an explainable quality score per agent-run iteration and session, computed from already-captured telemetry.
service
Package service composes the `da service` runtime out of the pieces the sibling packages ship (spec §2A shape, OQ5 option B): the event bus behind the D4.1 EventBus interface seam, the in-process scheduler hosting the two v1 background tasks (iter-log ingester + rubric-bump rescorer), and BOTH transport listeners — the Unix-domain-socket control plane (`da service status`/`stop`, peer-credential gated per OQ4/§2A) and the HTTP/SSE edge (loopback-only by default per OQ3).
Package service composes the `da service` runtime out of the pieces the sibling packages ship (spec §2A shape, OQ5 option B): the event bus behind the D4.1 EventBus interface seam, the in-process scheduler hosting the two v1 background tasks (iter-log ingester + rubric-bump rescorer), and BOTH transport listeners — the Unix-domain-socket control plane (`da service status`/`stop`, peer-credential gated per OQ4/§2A) and the HTTP/SSE edge (loopback-only by default per OQ3).
service/events
Package events provides an in-process publish/subscribe bus that lets background tasks notify subscribers about state changes without coupling to them.
Package events provides an in-process publish/subscribe bus that lets background tasks notify subscribers about state changes without coupling to them.
service/events/eventbustest
Package eventbustest ships the backend-conformance suite for the events.EventBus transport seam (spec D4.6).
Package eventbustest ships the backend-conformance suite for the events.EventBus transport seam (spec D4.6).
service/http
Package http is the transport layer of the `da service` runtime (spec §2A, OQ5 option B).
Package http is the transport layer of the `da service` runtime (spec §2A, OQ5 option B).
service/scheduler
Package scheduler is the in-process job scheduler that hosts the background tasks of the `da service` runtime.
Package scheduler is the in-process job scheduler that hosts the background tasks of the `da service` runtime.
service/state
Package state persists the per-task watermark sidecars that give the `da service` background tasks restart safety (R3 design decision D3).
Package state persists the per-task watermark sidecars that give the `da service` background tasks restart safety (R3 design decision D3).
service/tasks
Package tasks contains the concrete background tasks hosted by the `da service` scheduler (R3 design D2).
Package tasks contains the concrete background tasks hosted by the `da service` scheduler (R3 design D2).
testutil
Package testutil provides shared test scaffolding helpers used by *_test.go files across the dot-agents tree.
Package testutil provides shared test scaffolding helpers used by *_test.go files across the dot-agents tree.
ui
scripts
internal/covprofile
Package covprofile parses Go coverage profiles.
Package covprofile parses Go coverage profiles.
tools
fsguard command
Command fsguard mechanically enforces the leverage-cross-platform-fs-helpers lesson: filesystem MUTATIONS in this module must route through internal/fsops (MkdirAll / Mkdir / WriteFile / Remove / RemoveAll / Rename), which carry the Windows PowerShell fallbacks and security hardening that raw os.* calls do not.
Command fsguard mechanically enforces the leverage-cross-platform-fs-helpers lesson: filesystem MUTATIONS in this module must route through internal/fsops (MkdirAll / Mkdir / WriteFile / Remove / RemoveAll / Rename), which carry the Windows PowerShell fallbacks and security hardening that raw os.* calls do not.
importguard command
Command importguard enforces cross-leaf isolation between the four commands/internal/* composition leaves established by plan root-command-decomposition (t13a + t13a-pre + t13b + t15).
Command importguard enforces cross-leaf isolation between the four commands/internal/* composition leaves established by plan root-command-decomposition (t13a + t13a-pre + t13b + t15).

Jump to

Keyboard shortcuts

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