refactor(workflow): contract shared core (#33)

This commit is contained in:
2026-08-24 03:12:00 +02:00
parent f375515dc0
commit 36a7a0ab33
19 changed files with 173 additions and 29 deletions
+2 -2
View File
@@ -1054,8 +1054,8 @@ whole-branch review + fix wave).
≤200 chars); new read-only `tht cte info <name> --session <id> --json` (index/total from
`cte_plan.json`, same source as `next_cte`); `tht cte plan --doc -` writes
`cte_plan_doc.json` (chain documentation; `cte_plan.json` stays a load-bearing `list[str]`).
- **Gate (JS):** `gate/artifact-contracts.js` (soft validators → self-corrective `textResult`,
TypeBox untouched) + `gate/enrich.js` (pure, catalog lookups injected);
- **Gate (JS):** `gate/core/artifact-contracts.js` (soft validators → self-corrective
`textResult`, TypeBox untouched) + `gate/core/enrich.js` (pure, catalog lookups injected);
`prepareReviewerArguments` now coerces `artifact.data` too (GLM stringified-param
mitigation); `SKILL.md` Phase 5/6 + disciplines rewritten (plan via `reviewer_confirm
kind:"cte_plan"` with payload A; `cte_result` gates send THIN data only — never SQL/preview