Commit Graph
16 Commits
Author SHA1 Message Date
AlexKucera 97e86cf62d feat(mentor): blind read A/B judgment (#122)
CI / ci (push) Canceled after 0s
A purposeful writer action on the open post — the "Blind Read" button
beside Run Pass — triggers a whole-document advisory judgment: the
current document against the Pass-start snapshot (the newest
passes/pass-N.md on disk), decided by a FRESH session of the same
museion profile over the existing one-shot ACP rail. Both versions
travel inline in one prompt under neutral A/B position labels with
randomized order — the judge never learns which is the rewrite — and
the A/B-to-origin reveal appends only after the verdict, so the mapping
cannot leak; cancelled, refused, and spawn-failed turns reveal nothing.

Advisory-only per decision #120: no Pass State advance, no cards, no
Learnings, the roster never grows — the verdict is display-only and
dies with the transient transcript. The writer stays judge of record;
demonstrator picks and Fix Card status are untouched. Honest refusals
for the degenerate states: no snapshot yet, an unchanged document, or
a busy rail (passes and reads refuse each other; the pass bar's one
Cancel ends either).

The pass engine's spawn/session/teardown block became one shared
runOneShot rail (failure rows speak the run's own name), the pass-bar
button gates on a derived openPieceHasSnapshot flag, the fake ACP
gained a prompt-log observable, and the GLOSSARY "Blind Read" term
landed with the issue.

Finish-audit (three reviewers): a refusal still ends .ended, so the
reveal now gates on the stopReason (flip-verified pin), plus the
Cancel-rail and pass/blind-read exclusivity pins. Suite 500; swiftformat
clean; swiftlint adds no violations over the HEAD baseline.

Closes #122
2026-10-30 17:31:00 +01:00
AlexKucera ba05392543 docs: ADR-0014 one Hermes profile per LLM surface (#128)
CI / ci (push) Canceled after 0s
Topology (from wayfinder map #125, ticket #128): museion (Chat+Sessions,
resident) + museion-pass1/-pass2 (on-demand per pass run). Settings writes
profile config via hermes CLI, keys fan out to .env; effort dropdowns per
provider (zai/openai/anthropic), one model.reasoning_effort key. PRD
G1/G3/G3a/G4/model, S2.1/S2.2/S2.4/S2.6 amended; ADR-0008 registration
widened per profile; CONTEXT.md carries #126's LLM Surface glossary.
2026-10-23 11:41:19 +02:00
AlexKucera d12463b1fb docs(research): native LLM provider factsheet for #127
Verified against official docs and live probes (2026-10-23): z.ai both
endpoint families, Anthropic, OpenAI — /models shapes, streaming and
thinking channels, typed-tool wire formats, budget rules, error decoding.
Corrects two seed traps that no longer reproduce; records the OpenAI
tools×reasoning_effort clash and Anthropic 5.x adaptive-thinking surface.
DOX: index docs/research/ in docs/AGENTS.md.
2026-10-23 10:26:16 +02:00
AlexKucera c2e94fd825 feat(skills): fix-card lanes + emitting doctrine
CI / ci (push) Canceled after 0s
Land the #118/#119/#121 post-map decisions into the mentor's
files: every Fix Card declares a lane (mechanical | demonstration)
and an emitter (lint | engine); the pass persona emits one ranked
submit_fix_cards call at pass end, capped at ten and deduped
against live lint findings; the Knife floor ignores writer praise;
deslop's tables close the actually/unfortunately gap and map
utilize/utilization to use; the sample pass gains the mechanical
exemplar FC-10.

Closes #123
2026-10-19 16:19:57 +02:00
AlexKucera 50eecc6dcb docs(spec): projects/archive layout + outline type — v1.1 spec (#106)
CONTEXT.md: Project, Outline, Archive adopted; Content Type rewritten
as frontmatter attribute; Post ID global across projects.
ADR-0012 (amends 0004), ADR-0013 (specializes 0010).

Wayfinder map #97 — spec assembly ticket #106.
2026-10-13 16:15:19 +02:00
AlexKucera b8a9ea7337 docs(dox): ADR range to 0011, supersede pointer on 0010
[skip ci]
2026-10-06 17:16:05 +02:00
AlexKucera 2bd5169322 docs(adr): record verdict — native TextKit2 prose editor (ADR-0010)
Closes #55 on the map: TextKit2 mode B wins by the tie-breaker (calm >
effort > proven-elsewhere); variable heading sizes + paragraph spacing
required, reading toggle block-aware, anchor re-proof satisfied live.
CodeEdit exits Museion; Classis pin untouched. Paper-grade polish is
iterative practice, not a deferred phase. Spike artifacts stay on this
branch for reference.

[Generated by AI]
2026-10-01 15:52:17 +02:00
AlexKucera 292aad7a43 build: disable App Sandbox per ADR-0009
CI / ci (push) Canceled after 0s
Flip ENABLE_APP_SANDBOX to NO in both configurations: the engine
gate spawns the user-installed hermes binary and provisioning
writes outside any container. Hardened runtime stays ON for
Developer ID notarization. No entitlements file.

Closes #37.
2026-09-03 13:15:13 +02:00
AlexKucera ac1f9f100e feat(skills): add titles-and-hooks craft skill
CI / ci (push) Canceled after 0s
Distill the last empty craft-canon shelf from web data rather than
books, per the #4 research: BuzzSumo's 100M-headline study, the
PLOS ONE Upworthy A/B experiment, and Heath's curiosity-gap doctrine
as the hook generator. Eight diagnostic cards across the title
surface (takeaway, numbers, worn teases, mode, voice) and the hook
surface (gap, foothold, contract), each naming the finding it
stands on. Adjacent coverage respected: cold opens stay with
serif-writing, the piece-level key question with prose-craft #7.

Extend the sample Pass with FC-9 so the shelf demonstrably fires.

Closes #11
2026-08-28 17:57:36 +02:00
AlexKucera 7a54c6b803 feat(skills): add distilled craft canon skills
Distill the issue #4 shortlist top three into diagnostic skills that
fill the mentor's emptiest shelves, following the fiction-craft
pattern (symptom, why it fails, move, check):

- rhetoric (Heinrichs): argument and rhetoric, ten symptom-to-move
  cards plus the fallacy index
- reader-psychology (Williams): reader psychology and better-words
  doctrine as a nine-step diagnosis sequence, classic-style header
- prose-craft (Clark): fifteen generative tools across better-words,
  structure, humor, and revision; serif/deslop-covered tools dropped
  with the boundary documented

docs/sample-pass.md demonstrates all three firing as fix cards
(quote anchors per ADR-0006). Titles and hooks stays open: #11.

Closes #7
2026-08-28 17:33:13 +02:00
AlexKucera b9f7d11aba Set up Matt Pocock Skills 2026-08-28 12:30:36 +02:00
AlexKucera 18f0ca6444 docs: synthesize best-of-both from the two grill sessions
Merge the decisions of both design-grill commits into one coherent
PRD/CONTEXT/ADR set. Session agreements (main 4616dd8, pi 87a6016)
reconciled per the merge grill session:

- G5 content layout: Museion Home root (pi) + flat posts/<post id>/
  post.md shape with lazy creation and first-save slug (main);
  explicit Rename moves the folder; Import copies (ADR-0004)
- G6 writing tools: in-app Swift MCP server museion-tools (main,
  ADR-0008) with the minimal surface query_learnings +
  submit_fix_cards, Museion-driven passes, native stats (pi)
- G7 learnings: <home>/learnings/<type>/, one file per learning
  (main), engine owns nothing, fresh start (pi) (ADR-0005)
- G8 decay: 10-pass output clock (pi) with per-learning
  resurface_after frontmatter override (main)
- G9 trust: pi's enumerated defaults incl. never-do list
- fix-card transport stays typed + quote-anchored (ADR-0006);
  state ownership / engine swap pinned (ADR-0007)

ADRs renumbered 0004-0008 (both sessions had claimed 0004/0005);
audit-trail G-entries rewritten as merged records G5-G11;
CONTEXT.md glossary unioned (26 terms) with Project/Post Type
dropped in favor of Home/Content Type; MEMORY.md import struck
(verified: nothing to import); stale 'project' wording removed
from M1 and S8.2.
2026-08-27 14:42:38 +02:00
AlexKucera e466870303 Merge branch 'pi'
# Conflicts:
#	CONTEXT.md
#	PRD.md
#	docs/AGENTS.md
2026-08-27 14:40:11 +02:00
AlexKucera 87a6016cca docs: grill PRD to zero open questions
Run the 25-question design interview over the build-ready PRD and
close every frontier question. Eight of the PRD's own positions
reversed under scrutiny and are recorded in the audit trail as
G5-G7:

- one Museion Home (~/Museion, repoint-only) with folder-shaped
  content replaces "folder is the project" (ADR-0004)
- Learnings move into the Home, per content type; the engine owns
  nothing and stays swappable via a Museion-hosted MCP server
  (ADR-0005)
- sessions gain resume/compact and stay engine-owned; stats gain
  an immutable origin wall; decay runs on an output clock; the
  MEMORY.md import is struck (nothing to import)

Add CONTEXT.md pinning the domain language (23 terms) and bump
the docs/AGENTS.md ADR range to 0005.
2026-08-27 14:25:53 +02:00
AlexKucera 4616dd80df docs: fold design-grill decisions into PRD
Record the twelve build-time decisions from the grill session so
M0 starts with no open questions:

- PRD: project layout, tools host, learnings home/scope, trust
  defaults, decay numbers, post-id naming, token storage (G5-G7
  plus seven stories patched)
- CONTEXT.md: project glossary (17 terms)
- ADR-0004 critique memory lives in the project, not the profile
- ADR-0005 fix cards travel as typed MCP tool calls
- ADR-0006 writing tools ship as in-app Swift MCP server
2026-08-26 21:49:58 +02:00
AlexKucera 96babe7c52 feat: scaffold native SwiftUI app project
Establish the Agentic Writing Environment: an Xcode project
(filesystem-synchronized groups) with a minimal SwiftUI app shell
on macOS 26.5+, Swift 6, default MainActor isolation. Unit and UI
smoke tests pass via xcodebuild.

Repo tooling: SwiftFormat/SwiftLint configs, Gitea Actions CI
(dormant until a macOS runner registers), GPL-3.0-or-later
license, CITATION.cff, README, CHANGELOG, and a DOX AGENTS.md
tree with ADRs 0001-0003 (stack, license, forge).
2026-08-26 13:29:25 +02:00