fix(consistency): preserve repository domain in briefs
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a02b22-9638-76d2-bbff-b7ea1770b118
This commit is contained in:
tegwick 2026-08-23 13:57:22 +02:00
parent b91b8705d1
commit fae2816199
3 changed files with 72 additions and 4 deletions

View file

@ -346,6 +346,16 @@ project repos are already routed to `rmgr scaffold`. Gate the deletion on
`RMGR-WP-0004-T06` proving byte-identical durable output and idempotent
re-scaffolding.
**Brief compatibility repair (2026-08-23):** the surviving consistency
generator degraded `the-custodian` to `Domain: (unknown)` and emitted
`get_domain_summary("")` even though `GET /repos/the-custodian` correctly
projected `domain_slug: infotech`. Active workplans can legitimately have no
topic, so topic inference is not authoritative. The generator now prefers the
repository projection and retains topic lookup only for legacy API responses
that omit `domain_slug`. Two regression tests cover both paths; all 131
consistency-check tests pass. This is a compatibility fix until the generator
moves or retires, not new permanent State Hub authority.
## Retire legacy surfaces
```task