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

+1 -1
View File
@@ -15,7 +15,7 @@ Owned by the root AGENTS.md contract. Vocabulary is bound by CONTEXT.md (Mentor,
- Seeding is additive-only: bundled skills land in the master if absent; existing master skills and profile skills are never overwritten. Copy-era real dirs in a profile migrate to master symlinks only on byte-match (a diverged dir stays a copy); untracked/user skills are never touched.
- `seed-manifest.txt` lists the shipped set — update it when adding or removing a mentor skill. `ste-writing` and `writing-for-agents` stay in ref/ as authoring tools, never seeded.
- Deslop owns the single subtractive rule set; serif-writing owns the method. Other skills reference both; none restates them.
- The persona pair shares three sections verbatim by design (Knife floor, silent learnings, voice anchor) — edit them together or not at all.
- The persona pair shares four sections verbatim by design (Knife floor, silent learnings, voice anchor, draft-first-rules-last) — edit them together or not at all. The load-order pin (`## Draft first, rules last`, #1) keeps style constraints at/near the working-context end (PRD prompt-end rule; verified layout: `docs/research/prompt-layout-factsheet.md`); `MuseionTests/PersonaLoadOrderTests.swift` guards presence and verbatim parity.
## Work Guidance
+5 -1
View File
@@ -5,7 +5,7 @@ license: GNU GPLv3
metadata:
author: Alexander Kucera
email: a.kucera@babylondreams.de
version: "1.4"
version: "1.5"
---
# Pass 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.
+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.