Files
museion/docs/devlog/INDEX.md
T
AlexKucera 5ad605eb3c feat(settings): profiles write path + Test Connection (#136)
Profiles S3 over the S2 shell: every Settings change now persists.

Model/effort writes ride the engine's own CLI — `hermes -p <profile>
config set/unset` for model.provider / model.default /
model.reasoning_effort / model.base_url (zai endpoint family written
LAST: setting model.provider clears a stale base_url, live-probed;
unset-when-absent is idempotent success). Provider keys upsert
VAR=value into ALL THREE profiles' .env — a key entered before any
surface is on its provider still persists and pre-lands for any later
switch (maintainer ruling 2026-10-28; no switch re-fire). 0600,
foreign lines preserved byte-for-byte, line-broken values refused at
the shared sink (env-file injection guard), NSLock serializes the
read-upsert-write across concurrent provider writes.

Hydration reads model blocks and keys back at pane open — a restart
neither blanks the key fields nor refuses Test Connection; an edit
made mid-read owns the truth (no stomp), and a custom z.ai base_url
seeds the endpoint field instead of being clobbered to a family
default. Per-target writes coalesce AND chain past the debounce
guard: cancellation can't stop a past-the-guard CLI write, so the
newer write queues — the last edit is always the last write to land
(finish-audit race fix, pinned).

Test Connection = two-step probe (GET /models, then a minimal
streaming chat) with honest decode per the factsheet: zai 1113 →
wrong key type, 401s → auth failed (Anthropic request_id),
finish=length → starved, empty 200 → request failed, errors riding a
2xx decoded as the provider error.

Live-probed wire corrections (dogfood, 2026-10-28): Content-Type
application/json on every request — URLSession defaults to
form-urlencoded and providers diverge (zai 200+envelope, OpenAI 400,
Anthropic tolerates); OpenAI speaks the Responses API (/responses,
input + max_output_tokens, flagship gpt-6.1-sol); probe token cap 512
(64 starved reasoning models into "no content"); OpenAI's
"error": null event snapshots don't decode as failures.

Finish-audit (ponytail + security + general reviewers): write-ordering
race + .env lost update + hydrate stomp + custom-endpoint clobber
fixed and pinned (one-shot hold / latched read knobs in the test
double); ~30 lines of dead flexibility cut (keyType protocol param,
works(reply:) payload, unused timeout knob, double JSON round trips).

Suite 468/468 xcresult-verified; swiftlint clean; factsheet §6
correction logged. Closes #136
2026-10-27 18:32:30 +01:00

9.0 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-27 issue 20261027-issue136-profiles-s3-settings-write-path-test-connection_log.md Profiles S3: settings write path (config set + .env), Test Connection probe, three dogfood rounds, three-reviewer audit
2026-10-27 issue 20261027-issue135-profiles-s2-settings-page-ui_log.md #135 Profiles S2: variant C Settings sidebar+detail over the SettingsWriting seam; NSComboBox stale-stringValue dogfood fix; 432 tests
2026-10-27 issue 20261027-issue134-profiles-s1-registry-provisioning-x3_log.md #134 Profiles S1: ×3 surface registry + provisioner, master-symlink skills with byte-match migration, three-profile backup; 412 tests
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