diff --git a/.mulch/expertise/seedpass.jsonl b/.mulch/expertise/seedpass.jsonl index 91ae66b0..74872330 100644 --- a/.mulch/expertise/seedpass.jsonl +++ b/.mulch/expertise/seedpass.jsonl @@ -8,3 +8,6 @@ {"type":"decision","title":"Codex runtime model source","rationale":"In this environment Overstory v0.7.9 rejects bare gpt-* in config models:, while codex account mode rejects provider-prefixed openai/gpt-* names; the stable path is model mapping in agent-manifest.json.","classification":"tactical","recorded_at":"2026-03-03T21:05:28.553Z","id":"mx-bc6fbc"} {"type":"convention","content":"SeedPass swarm baseline targets canonical branch beta and quality gates should run with .venv/bin prepended to PATH for pytest -q and scripts/run_ci_tests.sh.","classification":"tactical","recorded_at":"2026-03-03T21:05:48.410Z","id":"mx-c35626"} {"type":"pattern","name":"tui-v3-grid-focus-and-query-state","description":"TUI v3 main grid keyboard scrolling depends on explicit focus ownership: focus #entry-data-table on MainScreen mount and restore focus there when closing the command palette. Persist active search query in app state so refresh/filter/sort changes do not silently clear results.","classification":"tactical","recorded_at":"2026-03-06T12:08:49.420Z","id":"mx-4f9056"} +{"type":"pattern","name":"tui-v3-command-processor-extension","description":"New palette commands in v3 are added in three places: (1) CommandProcessor.execute() elif branch before the final else; (2) new action_* method on SeedPassTuiV3; (3) update the help command notify text. Service access pattern: use self.services.get('name') with offline guard, then call method in try/except notifying on failure.","classification":"foundational","recorded_at":"2026-03-06T18:44:26.102Z","outcomes":[{"status":"success","agent":"builder-app-cmds"}],"id":"mx-6bebf7"} +{"type":"convention","content":"tui-v3-parity-test-mocks: Each v3 parity test needing service coverage adds a Mock*Service class to test_tui_v3_parity.py. Wiring happens via factory lambdas on SeedPassTuiV3 constructor. The _make_full_app helper returns (app, entry, vault, utility, sync, nostr, config) — 7 items — and is the standard way to get fully-wired test apps for utility command tests.","classification":"tactical","recorded_at":"2026-03-06T18:44:33.915Z","outcomes":[{"status":"success","agent":"builder-app-cmds"}],"id":"mx-6d4059"} +{"type":"convention","content":"tui-v3-worktree-pythonpath: When running pytest against worktree tests for v3, set PYTHONPATH with worktree src first: PYTHONPATH='.overstory/worktrees/builder-app-cmds/src:src'. Without this, the canonical repo src shadows the worktree and tests report AttributeError for new methods even though the edit was correct.","classification":"tactical","recorded_at":"2026-03-06T18:44:40.001Z","outcomes":[{"status":"success","agent":"builder-app-cmds"}],"id":"mx-0d5362"}