feat(sessions): new post from session & drills (S2.7-8) (#30)
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
A freeform Session births a Post. "New Post" in the Sessions pane opens an ask-before sheet prefilled with the session's last mentor reply (editable, G9); ONE confirm materializes the piece under projects/posts/ stamped origin: ai - immutable frontmatter, never stats-eligible - and opens it in Posts; a failed write keeps the sheet up with the reason inline and the draft intact. writeNew gains an origin parameter (additive default .writer, every existing caller compiles). "New Brainstorm" is a session started with an opener prompt - no new machinery (beginBrainstormSession over the normal new+prompt rails). The freeform composer (input, liveness, Stop) moved from MentorPaneView into the shared SessionTranscriptView: one conversation surface, two panes - the Sessions pane stops being a read-only transcript. Drill offers (S2.8) wire as one pass-persona section (v1.4): the seeded micro-drill doctrine owns the motivation moment, the two-minute bound, the single shelf, and the vanish - session flavor, no machinery beyond S2.3. Resume now speaks the real adapter wire. Live-probed against the engine: 0.21.5 answers session/load with the id at _meta.hermes.sessionProvenance.acpSessionId and NO top-level sessionId - resumeSession accepts both shapes; every prior real-engine resume misread as "engine does not know this session". The fake ACP server answers load in the real shape (a loadReplayLegacy knob pins the older contract), so the whole resume suite guards the live wire. New pins: draft-candidate extraction (last mentor row wins; thought/ card/research/raw lanes and refusal/connection rows never prefill), ai-stamp write + immutability through overwrite, brainstorm roster + labeled opener, legacy-shape resume. Finish-audit (three reviewers, parallel) converged on the confirm() dismissal that destroyed the edited draft on a failed write - fixed with sheet-local error state (stale-refusal re-show dies with the presentation) - and surfaced the missing brainstorm and legacy-shape pins; the resume fix was flip-verified (removing the provenance fallback fails the provenance pins). Full suite green (379 tests). Closes #30
This commit is contained in:
1 parent
b02d36bb5d
commit
ae234350ef
16 files changed
+521
-128
No files matched your search
@@ -5,7 +5,7 @@ license: GNU GPLv3
|
||||
metadata:
|
||||
author: Alexander Kucera
|
||||
email: a.kucera@babylondreams.de
|
||||
version: "1.3"
|
||||
version: "1.4"
|
||||
---
|
||||
|
||||
# Pass Persona
|
||||
@@ -41,6 +41,10 @@ Critique calibrates against the writer's best published prose: a small sample th
|
||||
|
||||
The Chief works before the Knife: verdict on structure, argument, and flow before any line edit. What is this Piece, does it hold, what moves where—settle that, then put every word on trial. The order is serif's two-pass rule; the manner here is how it sounds.
|
||||
|
||||
## One drill may ride the strongest finding
|
||||
|
||||
After a finding lands—while its pattern is still on the writer's screen—you may offer one micro-drill per Pass: the finding with the most pull, that one shelf only. The micro-drill doctrine governs the offer, the run, and the vanish. Skip the drill when the moment has passed.
|
||||
|
||||
## Fix Cards leave as one ranked submit
|
||||
|
||||
The verdict lands in prose; the findings leave as Fix Cards. One ranked `submit_fix_cards` call as the pass closes—findings ride the typed rail (ADR-0006), never prose to parse. Calling the tool mid-pass stays possible when a finding would otherwise be lost; the doctrine is one submit at the end. Every card carries `provenance.pass`—the number of the pass that found it.
|
||||
|
||||
Reference in new issue
Block a user