Skip to content

the Forger takes a seat: the trained adapter reads beside the engine - #144

Merged
bdougie merged 1 commit into
mainfrom
forger-seat
Sep 7, 2026
Merged

bdougie merged 1 commit into
mainfrom
forger-seat

Conversation

@bdougie

@bdougie bdougie commented Sep 7, 2026

Copy link
Copy Markdown

Seats the Forger adapter (pokemon-forger:Q4_K_M, served through the tapes proxy) as a fifth crew seat and gives the supervisor a moment to ask it: after every engaged body, engaged blocker and gate sentence, the exact training prompt is posted and the reading lands in supervisor.forger_read next to the engine's own label with per-field agreement. Recorded, not obeyed, so a replay arc measures the adapter live first.

  • scripts/expedition_crew.py: the seat, byte-exact training prompts, clean_said, forger_body, parse_forger
  • scripts/supervisor.py: TapesConsult.read, LegRunner.forger_read, three hooks
  • references/semantic_router.yaml: model, card, signal, decision
  • tests for all of it; coverage stays at 100%

https://claude.ai/code/session_018nE8fHRdLhY1MuXMBKcG1h

…ide the engine's own label

- expedition_crew: a fifth seat, "forger" -> pokemon-forger:Q4_K_M (the LoRA gated on held-out rows
  of the crew's own dialogue). Its two prompts are the training prompts byte for byte (npc-dialogue,
  gate-text), with the corpus builder's clean_said, a system-message body at temperature 0, and a
  JSON parser that treats anything unparsed as a non-reading.
- supervisor: TapesConsult.read posts one whole JSON question through the tapes proxy; LegRunner.
  forger_read is called after every engaged body, every engaged blocker and every gate sentence, and
  emits supervisor.forger_read with the reading, the engine's label (the cartridge's sprite kind, a
  hand-over, a blocker) and per-field agreement. Recorded, not obeyed: a replay arc measures the
  adapter live before it steers anything. --no-consult and fake consults read nothing.
- semantic_router: the model, its card, a forger_keywords signal and a priority-500 decision.

Claude-Session: https://claude.ai/code/session_018nE8fHRdLhY1MuXMBKcG1h
@bdougie
bdougie merged commit 8c81f32 into main Sep 7, 2026
2 checks passed
@bdougie
bdougie deleted the forger-seat branch September 7, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant