Skip to content

docs(agents): describe the real tree; errata for unshipped artifacts; doc-path CI gate (#65)#82

Merged
danielPoloWork merged 1 commit into
mainfrom
docs/agents-real-layout
Jul 2, 2026
Merged

docs(agents): describe the real tree; errata for unshipped artifacts; doc-path CI gate (#65)#82
danielPoloWork merged 1 commit into
mainfrom
docs/agents-real-layout

Conversation

@danielPoloWork

Copy link
Copy Markdown
Owner

Problem (#65)

The agent contract referenced artifacts that do not exist in the tree — load-bearing documentation for an agent-first repo: an agent told to load a persona from .eamos-core/agent/*.md will fail or, worse, improvise one. Phantom references: agent/ personas, orchestrator/commands/, templates/, GEMINI.md, and RFC-0001 §10's orchestrator/os/gate/.

Fix (doc-only + one guard)

  • AGENTS.md §1 — the specialized personas are marked planned (tracked in the ROADMAP backlog), not shipped; until they land, AGENTS.md is the only persona.
  • AGENTS.md §4 — the layout tree now matches the tree: agent/, commands/, templates/, GEMINI.md removed; functions/, setup/, docs/i18n added; os/ children named for what actually ships.
  • AGENTS.md §3 — the Templates bullet becomes Emitters: the real render path (IR → emit_*.py, themed by os/themes/ tokens); there is no templates directory.
  • RFC-0001 errata (the RFC is frozen for M1, so notes rather than rewritten history): §8 — agent/*.md not shipped; §10 — the gates are code in tools/eamos_lint.py, their vocabularies are data under orchestrator/os/, and "gates as data" is now an explicit backlog item.
  • ROADMAP backlog — personas + phase commands, and gates-as-data, become tracked items instead of phantom references.
  • CLAUDE.md — the factory list says emitters, not templates.

Guard against recurrence

New tools/check_docs.py: extracts every path-looking reference from AGENTS.md / README.md / CLAUDE.md — markdown link targets, inline-code paths (glob-aware, placeholder-safe), and the §4 layout tree (with brace expansion and nesting) — and fails listing each broken reference. Wired as a CI step on both OS legs.

Verified red against main's AGENTS.md (catches the 4 phantom paths) and green after this change; every path referenced by the three docs now resolves. 97/97 tests pass.

Closes #65

🤖 Generated with Claude Code

… doc-path CI gate (#65)

The agent contract referenced artifacts that do not exist — for an
agent-first repo this is load-bearing documentation: an agent told to
load a persona from .eamos-core/agent/*.md will fail or improvise one.

- AGENTS.md §1: the specialized personas are marked planned (ROADMAP
  backlog), not shipped; this file is the only persona until they land.
- AGENTS.md §4: the layout tree now matches the tree — agent/,
  orchestrator/commands/, templates/ and GEMINI.md removed; functions/,
  setup/, docs/i18n added; os/ children named for what ships.
- AGENTS.md §3: the Templates bullet becomes Emitters — the real render
  path (IR -> emit_*.py, themed by os/themes tokens); no templates dir.
- RFC-0001: errata notes (the RFC is frozen for M1) in §8 (agent/*.md
  not shipped) and §10 (gates are code in tools/eamos_lint.py; their
  vocabularies are data; 'gates as data' tracked in the backlog).
- ROADMAP backlog: personas + phase commands, and gates-as-data, are
  now explicit items instead of phantom references.
- CLAUDE.md: the factory list says emitters, not templates.

Guard against recurrence: new tools/check_docs.py extracts every
path-looking reference from AGENTS.md / README.md / CLAUDE.md
(markdown links, inline-code paths, and the §4 layout tree, with glob
and brace expansion) and fails listing each broken one; wired as a CI
step on both legs. Verified red against main's AGENTS.md (the 4
phantom paths) and green after this change; 97/97 tests pass.

Closes #65

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@danielPoloWork danielPoloWork added the documentation Improvements or additions to documentation label Jul 2, 2026
@danielPoloWork danielPoloWork self-assigned this Jul 2, 2026
@danielPoloWork danielPoloWork marked this pull request as ready for review July 2, 2026 21:08
@danielPoloWork danielPoloWork merged commit 45ee8f9 into main Jul 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(agents): AGENTS.md / RFC-0001 reference artifacts that do not exist (agent/, commands/, templates/, GEMINI.md, os/gate/)

1 participant