docs: align CODEGEN.md/TESTGEN.md with the codebase

CODEGEN.md:
- replace the stale "Manifest schema" (allowed_inputs/actions/cost_budget/
  decision_log_ref, a dotted leaf name) with the real registry shape and note
  the body writer does not author it
- document ctx.timers (and that ctx.admin is built-in-only) and the
  request.meta resume cache, both used by the authoritative seed set
- correct acceptance criteria: INTEGRATION is not hard-rejected (inferred /
  fidelity-gated); note which items the parser actually enforces; compile ->
  ast.parse
- fix the SemIf URL, the structured-state claim (state is a string here), the
  config_vars/CONTRACT relationship, and defer llm_bridge_* names to the catalog

TESTGEN.md:
- separate the only static check (ast.parse) from execution (exit 0); state
  that stdlib-only/inline-fixtures/hermeticity are required but not verified
- clarify contract.json is handed to the test writer as context

README.md: fix the same stale manifest field list.

tests/test_codegen.py: add guards for the runtime surface and against the
stale manifest fields returning.
This commit is contained in:
gabby committed 2026-10-07 11:30:58 +00:00
1 parent dff4849947
commit e64354e78d
4 files changed
+105 -45

No files matched your search

+2 -2
View File
@@ -744,8 +744,8 @@ rows.
A skill is one specific, single-purpose action reachable by category → skill
navigation. It is three things:
1. a **manifest** (navigable description — `name`, `category`, `description`,
plus optional `allowed_inputs`, `actions`, `cost_budget`, `decision_log_ref`);
1. a **registry entry** (navigable description — `name` + `description`,
authored by the small `llm` provider and recorded in `data/categories.json`);
2. a **code body** (a single `act`);
3. an **`INTEGRATION` declaration** (service / transport / config_vars) and a
flat **`CONTRACT`** (the operational values the runner must provide).