Route proposal modules through embedded PromptKit definitions

This commit is contained in:
2026-09-24 02:03:08 +00:00
parent c8a78bf024
commit f577847ca2
19 changed files with 177 additions and 460 deletions

View File

@@ -312,7 +312,16 @@ PromptKit's entire status-code matrix.
## Stage 6: Migrate All Proposal Callers
**Status:** Pending. **Depends on:** Stage 5.
**Status:** Complete (2026-09-24). All four modules select embedded prompt IDs
and share domain variable encoding; proposal generation passes the correction-set
key and diagnostic context through the prepared client, retaining ordering,
warnings, and later domain validation. Updated proposal and module tests and
module internals documentation. The isolated variable-encoding test passed with
`go test internal/framework/proposal_generation/variables.go internal/framework/proposal_generation/variables_test.go`;
`git diff --check` passed. Assembled proposal/module tests are deferred because
Stage 7's validator imports still reference removed message-rendering types.
The repaired-proposal/domain integration check remains deferred with those imports.
**Depends on:** Stage 5.
**Owns:** `internal/modules`, `internal/framework/proposal_generation`, and their tests.
1. Switch glossary, homophones, spoken_word, and grammar proposal construction to