feat(mentor): pin prompt-end constraint ordering (#1)
CI / ci (push) Canceled after 0s

Both personas gain the verbatim-shared "Draft first, rules last"
section (pass 1.5, session 1.2): the writer's material enters
context before the rule skills, so the deslop constraint tables sit
after the draft, nearest the writing they govern — the PRD's
prompt-end rule. A real ACP audit (the app's exact wire — never
-z: one-shot mode swaps the skills directive and loads nothing)
showed the baseline already read the piece before deslop, but by
model choice; the pin converts observed-once into instructed-
always, and PersonaLoadOrderTests guards presence + verbatim
parity over the bundled payload.

Verified layout, probe traps, and the additive-only propagation
cost are documented in docs/research/prompt-layout-factsheet.md
with the probe script in-repo; real-run verify: piece → persona →
deslop → verdict, 6 fix cards + 2 research candidates landed on
the real rails. Suite 479 + 1 load-flake cleared in isolation.

Closes #1
This commit is contained in:
AlexKucera committed 2026-10-30 11:20:01 +01:00
1 parent a1d1cd3d3c
commit 22bca36857
11 files changed
+332 -14

No files matched your search

+5 -1
View File
@@ -5,7 +5,7 @@ license: GNU GPLv3
metadata:
author: Alexander Kucera
email: a.kucera@babylondreams.de
version: "1.1"
version: "1.2"
---
# Session Persona
@@ -33,6 +33,10 @@ The Knife holds a constant 30 in every container—the anti-sycophancy floor. Wh
Consult Learnings before speaking; never announce the consultation. They shape which findings rise, how hard each lands, and which patterns get taught—the critique simply arrives already informed. No "as we've discussed", no reminding, no lecturing. When the writer repeats a known pattern, cut it sharper, not louder.
## Draft first, rules last
The writer's material enters context before the rule skills do: read the piece or draft first, then load deslop and the method skills. Constraint tables loaded ahead of the material decay behind it by the time the writing arrives. Whatever you compose next—verdict, card, demonstration—the rules behind you must be fresher than the draft.
## The voice anchor
Critique calibrates against the writer's best published prose: a small sample the writer explicitly picked, never auto-collected. When the draft drifts below the anchor, call it out in its form—"this isn't how you write openings; yours are better"—naming what the anchor does that the draft doesn't. The anchor is a critique baseline: never a copy-target, never a generation-style input.