state-hub/workplans/ADHOC-2026-09-22.md
tegwick 19450d7618 ADHOC-2026-09-22-T01: statehub register renders {CREDENTIAL_ROUTING} into AGENTS.md
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 7184@bnt-lap001
Assistant-Session: 4b436ae2-b17c-4b40-8754-200b161b26e4
2026-09-22 07:58:55 +02:00

1.5 KiB

id type title domain repo status owner topic_slug created updated
STATE-WP-ADHOC-2026-09-22 workplan Ad hoc fixes — 2026-09-22 infotech state-hub finished claude-code state-hub 2026-09-22 2026-09-22

Fill the {CREDENTIAL_ROUTING} placeholder in statehub register

id: STATE-WP-ADHOC-2026-09-22-T01
status: done
priority: low

Reported by canned-prompts (State Hub message 7b7daa15-78db-4530-aaed-914108245d4c): statehub register wrote agents-codex.template into AGENTS.md without substituting {CREDENTIAL_ROUTING}, leaving the literal token in every repo registered through that path. scripts/update_agent_instruction_files.py and scripts/propagate_credential_routing.py already rendered it; only write_registration_files in statehub_register.py did not.

Completed 2026-09-22. write_registration_files now renders credential-routing.template with the same values and substitutes it. test_write_registration_files_primes_codex_repo asserts no unresolved {UPPER_CASE} token remains and that the credential section is present (26 passed).

Residual (not state-hub's files): 18 sibling repos still carry the literal token in AGENTS.md (binky-control, coulomb-social, facetted-interfaces, fluid-telegram, glas-harness, ground-game, hall-of-helix, kings-guard, pr-hall-of-helix, ops-mason, qonto-assistant, prj-canon-federation, rapp-postgres, resource-control, rein-openweights, rein-aharness, tenant-engine, test-driver). Regenerating with scripts/update_agent_instruction_files.py fixes them in each repo's own session.