Files
museion/docs/devlog/INDEX.md
T
AlexKucera 42bcfce9ba
CI / ci (push) Canceled after 0s
feat(stats): first-draft stats capture (S5.1) (#31)
Measure the writer, not the text. Running Pass 1 or Pass 2 on an
unaided draft (origin: writer, First Draft Pass State, post type -
lenient defaults, so bare legacy posts qualify) computes four style
metrics natively in Swift at the invocation - before the engine sees
anything - and stamps stats_captured plus four stats_* values into
the piece's frontmatter in place, so the S5.2 trend view is a plain
scan of Post.frontmatter. Capture re-fires while still First Draft
(latest draft wins); a cancelled pass keeps its capture; ai-origin
and advanced pieces never qualify.

The capture exposed an erasure class: the existingStamp-to-stamped
block rewrite rebuilt frontmatter from three parsed fields, silently
dropping everything else. advancePassState and overwrite now update
their owned keys in place (stampingFrontmatter, widened internal per
its own third-caller trigger; bare posts still normalize through
stamped), so captured stats and foreign YAML survive pass completion
AND mid-pass editor saves. Both fixes are flip-verified by pins.

DraftStats carries the four metrics (burstiness, type-token ratio,
sentence-length variation, trigram repetition) as a pure Foundation
model - full precision out, %.3f at store time. 16 new pins across
DraftStatsTests, PostStoreTests, and PassRunTests; full unit bundle
396/396 (sequential gate; parallel runs flake under external CPU
load per the #30 learning). Finish-audit fanout (ponytail/security/
review) ran on the diff: its MEDIUM (overwrite erasure) and the
converged deletions landed here.

Closes #31
2026-10-22 19:05:42 +02:00

8.1 KiB
Raw Blame History

Session Log Index

Complete history of session logs in this directory, newest first. One-line summaries — open a log for full detail.

Date Type File Summary
2026-10-22 issue 20261022-issue31-first-draft-stats-capture-s5-1_log.md #31 S5.1: Swift-native first-draft stats stamped in place at pass invocation; two frontmatter-erasure bugs fixed; finish-audit fanout — 396 tests
2026-10-22 issue 20261022-issue30-sessions-new-post-from-session-drill-offers_log.md #30 lands: session-born Posts stamp origin: ai, brainstorm flavor, shared composer, and the real-engine resume wire fix.
2026-10-22 issue 20261022-issue29-research-library-light_log.md #29 research rail: submit_research_notes candidates in-session, ask-before keep into research/, resume replay pin, audit fixes — targeted suites green
2026-10-22 issue 20261022-issue28-session-lifecycle-ui_log.md #28 Session lifecycle: multi-session model + names-only roster, pane, pass auto-create, finish-audit with 7 fixes — 359 tests green
2026-10-21 issue 20261021-issue27-dismiss-decay-learnings_log.md #27 dismiss & decay Learnings: per-type pass clock, frontmatter decay state, consult filtering, two review waves with 5 fixes
2026-10-21 issue 20261021-issue26-promote-consult-learnings_log.md #26 promote/consult Learnings: teaching-shape files, on-disk-truth promote, symlink guard, Learnings pane — 329 tests green
2026-10-20 issue 20261020-issue124-cancel-ack-fake-deferred-teardown_log.md #124 cancel-acknowledging hangOnPrompt fake, Cancel-rail pin (RED→GREEN), defer-at-rig-creation teardown ×27 rigs — 316 tests green
2026-10-20 issue 20261020-issue25-apply-skip-fix-cards-trust-ui_log.md #25 Apply/Skip Fix Cards: ranked ≤10 ceiling, adoptText apply rail, blocking ask, audit fanout with 11 fixes — 316 tests green
2026-10-20 issue 20261020-issue24-pass-guard-matrix_log.md #24 close-out: verified against landed #23, pinned the full runPass guard matrix + cancelPass, finish-audit fanout — 299 tests green
2026-10-20 issue 20261020-issue23-museion-tools-mcp-server-dogfood-hardening_log.md #23 museion-tools MCP server + fix-card store, Fix Cards palette, dogfood fixes (prompt timeout, persona, debug filter), 3-reviewer audit round — 296 tests green
2026-10-19 issue 20261019-issue123-ptacek-fold-text-landings_log.md #123 card-emitting doctrine, lane/emitter terms, FC-10 mechanical exemplar landed across skills, CONTEXT, ADR-0006; deslop gap fixed at source
2026-10-19 issue 20261019-issue115-prose-list-shortcuts_log.md #115 prose list Tab/⇧Tab/⌥-moves + layer-contents fold chrome (draw(_:) never fires under SwiftUI hosting); 3-reviewer audit round, 239 tests green
2026-10-16 issue 20261016-issue114-convert-to-post_log.md #114 Convert to Post: in-place type flip + verbatim/headings-ladder ask, prose re-route via proseOverridePostID — 206 tests green (audit round included)
2026-10-16 issue 20261016-issue112-outline-interaction-ii_log.md S6 landed: drag-reorder + zoom in the outliner per wf113 verdict A; AppKit-tree hit-testing; tests un-broken for target 27.0
2026-10-15 issue 20261015-issue111-outline-guard_log.md #111 mixed-content outline guard: parsesWithLoss + open ask, audit round (reselect/displacement holes pinned) — 179 tests green
2026-10-15 issue 20261015-issue109-outline-type-outliner_log.md #109 outliner: OutlineTree + block surface, LogSeq keys, natural-line-box typography; 170 tests green
2026-10-13 issue 20261013-issue108-library-ui-archive-audits_log.md #108 variant-B library + Archive pane + commands, two audit rounds, fold corrected, 144 tests green
2026-10-13 issue 20261013-issue107-storage-substrate-projects-archive_log.md #107 S1: pieces re-rooted to projects/ + archive/, global slugs, type frontmatter; audit dedupe fix
2026-10-12 issue 20261012-issue22-import-external_log.md #22 import & external markdown: SessionTarget, guest slot, Origin ask, drag-drop — full suite green
2026-10-09 issue 20261009-issue87-focus-mode_log.md #87 focus mode landed + audit fixes + ⌥⌘F shortcut; calibration gate #88 next
2026-10-08 issue 20261008-issue84-view-menu-doubled_log.md #84 single View menu: CommandMenu → CommandGroup(after: .toolbar), menu-count pin test — 105 tests green
2026-10-08 issue 20261008-issue83-save-indicator-honesty_log.md #83 honest save dot: Changed while dirty, Saving… deleted, sticky failed, vanished-disk keepLocal fix — 106 tests green
2026-10-08 issue 20261008-issue77-editing-parity_log.md #77 editing parity: reading-mirrored presenter (30/22/19 ladder, inline traits, 66ch measure), fence-staleness audit fix — 104 tests green
2026-10-06 issue 20261006-issue76-apex-html-reading_log.md #76 apex HTML reading surface: WKWebView + bundled apex, data-source-line map, TextKit reading deleted — 94 tests green, PERF-3k 20 ms
2026-10-05 issue 20261005-issue71-reading-toggle_log.md #71 reading toggle: block-aware renderer, tap-to-edit canvas, typography slots, kitchen-sink — 94 tests green
2026-10-03 issue 20261003-issue19-editor-core_log.md #19 editor core: TextKit2 surface lifted, debounced autosave, save dot, cursor sidecar, conflict alert — 81 tests green
2026-10-03 issue 20261003-issue18-post-lifecycle_log.md #18 shipped + audits: Post write side, FSEvents watcher, editor stub — 75 tests green
2026-10-01 issue 20261001-issue17-home-posts-list_log.md #17 shipped + finish-audit: workspace shell, Posts mirror, Home repoint — 56 tests green
2026-10-01 issue 20261001-issue55-verdict-substrate-adr-0010_log.md #55 + map #16 closed: TextKit2 mode B wins, ADR-0010 drafted, typography/rendering stances locked
2026-09-25 issue 20260925-issue50-profile-backup-s2-6_log.md #50 S2.6 daily profile backup: liveness gate, curated copy, retention 7, RESTORE.md — 8 tests green
2026-09-16 issue 20260916-issue14-acp-bridge-s2-2_log.md #14 M0 ACP bridge: NDJSON JSON-RPC client, mentor pane, fix-card round-trip, crash restart — 37 tests green
2026-09-05 issue 20260905-issue48-provisioning-failure-alert-retry-ux_log.md #48 shipped: failure card with retry/Not-Now, traversal guard, temp sweep — 30 tests green
2026-09-03 issue 20260903-issue42-engine-gate-s2-1_log.md Engine gate S2.1 shipped: six-path probe, blocking sheet, state.json, About mirror — 12 tests green