dotfiles-agentsRepository
On this page

Repo flow — the home of each part, and the DAG that proves it

The end-to-end map: what is authored where, what generates what, what gates what, what publishes where, and where the eval loop re-enters through the owner. Status: active (2026-07-22). Machine form: flow.yaml, enforced by make flow (in make ci).

Other docs carry the pieces — README.md the layout and build-interface tables, CLAUDE.md the source-of-truth rules, the contributor guide the contribution loop, the ADRs the whys. This page carries the one thing none of them draw: the edges, in one graph, kept honest by a drift guard.

The spine

Hand-authored sources (primitives-core/ bodies) and control manifests (the roster, bundle metadata, standalone catalog, externals) form hand-authored symlink plugin assemblies (the marketplace tree at the repo root), gated by make ci, and published dev → main by the manual publish workflow, where consumers install from. In parallel, the workbench loop runs candidates from the sources through the agent harness and ingests results into evals (the extender-db projection) — and its findings re-enter the flow only through the owner's manual curation of the roster and sources. That manual pass is the single sanctioned cycle in the graph; every automated path is acyclic and the checker proves it.

The DAG

Solid arrows are automated; dashed arrows are manual (the owner and the publish/install steps) or planned (the one remaining planned edge: externals clone-at-build, #36/#122).

flowchart TD
  subgraph L_roster[roster]
    N_roster[roster]
    N_externals[externals]
    N_translation_config[translation config]
  end
  subgraph L_source[source]
    N_primitive_bodies[primitive bodies]
  end
  subgraph L_generator[generator]
    N_toolchain[toolchain]
    N_site[site]
  end
  subgraph L_gate[gate]
    N_gates[gates]
  end
  subgraph L_dist[dist]
    N_plugin_assemblies[plugin assemblies]
  end
  subgraph L_publish[publish]
    N_pages_site[pages site]
    N_publish_main[publish main]
  end
  subgraph L_consumer[consumer]
    N_consumers[consumers]
  end
  subgraph L_workbench[workbench]
    N_harness[harness]
    N_evals[evals]
    N_local_dev_tooling[local dev tooling]
  end
  subgraph L_runtime[runtime]
    N_runtime_logs[runtime logs]
  end
  subgraph L_docs[docs]
    N_repo_docs[repo docs]
    N_repo_law[repo law]
  end
  N_gates -->|gates| N_primitive_bodies
  N_primitive_bodies -.->|consumes| N_plugin_assemblies
  N_gates -->|gates| N_plugin_assemblies
  N_primitive_bodies -->|consumes| N_harness
  N_harness -->|ingests| N_evals
  N_publish_main -.->|installs| N_consumers
  N_primitive_bodies -.->|installs| N_consumers
  N_primitive_bodies -.->|installs| N_consumers
  N_evals -.->|curates| N_roster
  N_evals -.->|curates| N_primitive_bodies
  N_site -->|gates| N_repo_law
  N_site -.->|publishes| N_pages_site
  classDef planned stroke-dasharray: 6 4

The home of each part

Every top-level tracked path is claimed by exactly one node (enforced). Class: H authored, G generated, R runtime.

PathNodeLayerClassNotes
primitives-core/primitive-bodiessourceHthe single source copy of every primitive body
primitives-core.yamlrosterrosterHauthoritative provenance; targets selects harness support; disposition is owner-curated
externals.yamlexternalsrosterHthird-party by reference; clone-at-build deferred (#36/#122)
scripts/toolchaingeneratorHgenerators + every checker + campaign runner
Makefile, tests/, .github/, .gitignore, flow.yamlgatesgateHtask interface · unit tests · CI · tracking policy · this manifest
plugins/, .claude-plugin/plugin-assembliesdistHpointer-based marketplace surface (ADR 0017): hand-authored thin symlink assemblies over primitives-core/, dereferenced at install; guarded by scripts/check_symlinks.py (make symlinks)
README.md, AGENTS.md, CLAUDE.mdrepo-docsdocsHentry docs at the root (ADRs and this page live under docs/)
docs/repo-lawdocsHstanding law in prose: docs/decisions/ (ADRs), the extender-dev SOP, the vendoring rule, the diagram standard, this page
harness/harnessworkbenchHagent harness (Bun): claude, opencode and codex trials; own test lane and board; see its README
evals/evalsworkbenchHextender-db projection — never a source of truth; Bun unit with its own test lane and board; see its README
site/sitegeneratorHdocumentation-site renderer (Bun); own test lane and board; see its README
.agents/, .claude/, .codex/, .vscode/, .kata.tomllocal-dev-toolingworkbenchHsession tooling for developing THIS repo; never distributed
logs/runtime-logsruntimeRhook telemetry; must stay untracked
(branch) mainpublish-mainpublish—advanced only by the publish workflow
(virtual)consumersconsumer—machines installing via claude plugin marketplace add or the laydown installers; nothing tracked here
translation.yamltranslation-configrosterHcapability matrix per primitive type × target, model-alias pins, roster-level exclusions with reasons

What the guard proves (make flow)

scripts/check_flow.py fails the build when:

Reading the loop

The workbench is deliberately not in the publish path: make ci never runs the harness or evals, and nothing in evals/ writes back to the roster. Battle-test evidence flows primitive-bodies → harness → evals, and returns to the flow only as the owner's re-triage of disposition: and body edits — the two dashed curates edges. If an automated writer to the roster is ever proposed, it must argue with the acyclicity check first.