Commit 0065b99
feat(core): add authoritative agents.manifest.json + optional contract description
OTAIP had four overlapping notions of "which agents exist" (discovery,
count-agents, docs/agents.md, the contract registry). This adds one
generated source of truth.
- scripts/generate-manifest.ts (`pnpm gen:manifest`) writes committed
agents.manifest.json: every discovered agent with has_contract
first-class, plus action_type + input/output JSON Schema (via the same
zodToJsonSchema the tool catalog uses) for the 18 contracted agents.
`--check` mode fails if the committed file is stale; wired into CI.
- Add optional `description` to AgentContract; the catalog/describe_agent
generator uses it (falling back to the previous string). Authors fill it
as agents graduate — no bulk, domain-inventing schema generation.
This is the OTAIP-honest answer to "one schema for every agent": the
two-tier model is made queryable rather than papered over.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 56bc01d commit 0065b99
6 files changed
Lines changed: 6336 additions & 1 deletion
File tree
- .github/workflows
- packages/core/src
- pipeline-validator
- tool-interface
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
0 commit comments