Repository navigation
docs: document local captain preferences - #19
Conversation
* Document captain preferences file * no-mistakes(document): Document captain preferences home
|
Retired on the captain's decision, 2026-08-06, following the board triage of that date. This is one of four prior dashboard framings (#16, #21, #26, #19) that the approved 2026-08-05 design work supersedes. #350 names them as "prior framings of this page, to fold in or close", and the captain has chosen to close. Specifically: #350 argues against keying a dashboard off role at all, since capabilities resolve as a union across held roles and role-keying would reintroduce what #203 removed — which contradicts #16's premise directly. The Stitch-template framing in #21 is superseded by the three 2026-08-05 design studies. #26 and #19 are absorbed by that cluster plus #217 and the Project Detail epics #177–#181. Nothing here is lost: a closed issue stays readable, and the live successors are #350, #217, #328 and #177–#181. Reopen if a requirement here turns out to have no successor. |
…ly dropping sources (kunchenguid#19) * fix(procevent): surface a group-writable state root instead of silently dropping every source fm-procevent.sh's own private-directory check on state/ is sound, but the watcher's reconcile call swallowed its failure, arm registered a watch against it with no warning, and nothing at session start said why every registered process-event source had gone quiet. Bootstrap now prints an actionable PROCEVENT diagnostic naming the exact chmod fix, arm refuses loudly before registering a source that could never be polled, and the watcher's reconcile surfaces a failed episode as one check wake, cleared the moment the state root is private again. Upstream: kunchenguid#3929 * no-mistakes(review): Fix reconcile marker ordering and tailor state-root diagnostics * no-mistakes(test): Raise flaky watcher-test alarm bound to fix timing false-failure * no-mistakes(document): Add missing guarantee-table rows for state-root guard and reconcile-failure wake --------- Co-authored-by: NewAiCoder <170579485+NewAiCoder@users.noreply.github.com>
…ly dropping sources (kunchenguid#19) * fix(procevent): surface a group-writable state root instead of silently dropping every source fm-procevent.sh's own private-directory check on state/ is sound, but the watcher's reconcile call swallowed its failure, arm registered a watch against it with no warning, and nothing at session start said why every registered process-event source had gone quiet. Bootstrap now prints an actionable PROCEVENT diagnostic naming the exact chmod fix, arm refuses loudly before registering a source that could never be polled, and the watcher's reconcile surfaces a failed episode as one check wake, cleared the moment the state root is private again. Upstream: kunchenguid#3929 * no-mistakes(review): Fix reconcile marker ordering and tailor state-root diagnostics * no-mistakes(test): Raise flaky watcher-test alarm bound to fix timing false-failure * no-mistakes(document): Add missing guarantee-table rows for state-root guard and reconcile-failure wake --------- Co-authored-by: NewAiCoder <170579485+NewAiCoder@users.noreply.github.com>
…ly dropping sources (kunchenguid#19) * fix(procevent): surface a group-writable state root instead of silently dropping every source fm-procevent.sh's own private-directory check on state/ is sound, but the watcher's reconcile call swallowed its failure, arm registered a watch against it with no warning, and nothing at session start said why every registered process-event source had gone quiet. Bootstrap now prints an actionable PROCEVENT diagnostic naming the exact chmod fix, arm refuses loudly before registering a source that could never be polled, and the watcher's reconcile surfaces a failed episode as one check wake, cleared the moment the state root is private again. Upstream: kunchenguid#3929 * no-mistakes(review): Fix reconcile marker ordering and tailor state-root diagnostics * no-mistakes(test): Raise flaky watcher-test alarm bound to fix timing false-failure * no-mistakes(document): Add missing guarantee-table rows for state-root guard and reconcile-failure wake --------- Co-authored-by: NewAiCoder <170579485+NewAiCoder@users.noreply.github.com>
…ly dropping sources (kunchenguid#19) * fix(procevent): surface a group-writable state root instead of silently dropping every source fm-procevent.sh's own private-directory check on state/ is sound, but the watcher's reconcile call swallowed its failure, arm registered a watch against it with no warning, and nothing at session start said why every registered process-event source had gone quiet. Bootstrap now prints an actionable PROCEVENT diagnostic naming the exact chmod fix, arm refuses loudly before registering a source that could never be polled, and the watcher's reconcile surfaces a failed episode as one check wake, cleared the moment the state root is private again. Upstream: kunchenguid#3929 * no-mistakes(review): Fix reconcile marker ordering and tailor state-root diagnostics * no-mistakes(test): Raise flaky watcher-test alarm bound to fix timing false-failure * no-mistakes(document): Add missing guarantee-table rows for state-root guard and reconcile-failure wake --------- Co-authored-by: NewAiCoder <170579485+NewAiCoder@users.noreply.github.com>
…ly dropping sources (kunchenguid#19) * fix(procevent): surface a group-writable state root instead of silently dropping every source fm-procevent.sh's own private-directory check on state/ is sound, but the watcher's reconcile call swallowed its failure, arm registered a watch against it with no warning, and nothing at session start said why every registered process-event source had gone quiet. Bootstrap now prints an actionable PROCEVENT diagnostic naming the exact chmod fix, arm refuses loudly before registering a source that could never be polled, and the watcher's reconcile surfaces a failed episode as one check wake, cleared the moment the state root is private again. Upstream: kunchenguid#3929 * no-mistakes(review): Fix reconcile marker ordering and tailor state-root diagnostics * no-mistakes(test): Raise flaky watcher-test alarm bound to fix timing false-failure * no-mistakes(document): Add missing guarantee-table rows for state-root guard and reconcile-failure wake --------- Co-authored-by: NewAiCoder <170579485+NewAiCoder@users.noreply.github.com>
…nchenguid#19) * feat(primary): rotate on context used before the session balloons Add an opt-in context-used trigger axis to the existing primary-handoff protocol so a long-running primary can same-runtime refresh before resident context dominates cost, without disturbing live workers. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(lint): quote empty FM_PRIMARY_HARNESS assignment for shellcheck Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
Meting op echte facturen (zonder AI)Gemeten op alle 41 De Fleurie-facturen van Star & van der Gugten (FDFLRI) met hun Twinfield-boeking, met de tekstlaag zoals de app die maakt (
|
…working folder (kunchenguid#19) * fix(bin): let the cd guard allow a Claude cd that ends outside every working folder The primary-session cd guard denied every absolute cd except one to the home itself, so a harmless cd into a scratch or temporary folder cost a denied call and a retry. Claude Code returns the shell to its start folder after any command that ends outside its working folders, so under the Claude transport such a cd cannot move the primary shell. With --claude the transport now tells the policy the harness resets the shell and names every Claude working folder it can see (FM_HOME and each settings additionalDirectories entry). The policy allows a literal absolute cd whose target exists and lies, under every path form, outside the home and those folders. A cd into any home subfolder, a working folder, a symlink into the home, a missing target, or any target while a settings file is unreadable stays denied, and every other harness keeps denying an outside cd. The behavior was verified on Claude Code 2.1.319 with a new opt-in live guard, tests/fm-cd-guard-claude-reset-live-e2e.test.sh, recorded in docs/verification/runtime-backends.md. * no-mistakes(document): Note Claude outside-cd exemption in cd-guard reason text
… own parent' (kunchenguid#19) from fm/fix-coordinator-escalation into main
Intent
Give firstmate a dedicated, intentional local home for this captain's personal preferences by documenting data/captain.md in the shared AGENTS.md template and reading it during bootstrap. The tracked change should be AGENTS.md only: Section 2 must describe data/captain.md as the local, gitignored, compact rewrite-and-prune counterpart to AGENTS.md for curated preferences such as approval posture, communication style, and release habits; Section 3 must read data/captain.md if present after bootstrap checks and data/projects.md, treat absence as template defaults, and clarify that harness memory is only a recall cache while data/captain.md is canonical. I audited AGENTS.md conservatively for personalization and found no material captain-specific behavior to relocate beyond adding the generic pointer, so the existing system mechanisms and doctrine remain unchanged.
What Changed
data/captain.mdas the local, gitignored home for a captain's curated preferences and working style.data/captain.mdafterdata/projects.md, using template defaults when it is absent and treating harness memory as a recall cache.AGENTS.mdfrom per-captain local preferences.Risk Assessment
✅ Low: The change is limited to documenting a local preferences file and adding bootstrap reading guidance in AGENTS.md, with no executable code or behavioral complexity introduced.
Testing
I inspected the target diff, verified the tracked change is AGENTS.md only, asserted the new data/captain.md layout and bootstrap instructions including read order and canonical-source wording, confirmed personal fleet paths remain untracked, and captured an AGENTS.md excerpt as reviewer-visible evidence; all checks passed.
Evidence: AGENTS.md captain preferences excerpt
Excerpt from AGENTS.md lines 47-104 showing data/captain.md in Section 2 and the bootstrap read instructions in Section 3.Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
git diff --stat 539f3a3131c0e07cfe1cd940b23c9cf5c1c4e2ab..29007ba0409264d1dbc7c7a5acccddcfe53120eagit diff --name-only 539f3a3131c0e07cfe1cd940b23c9cf5c1c4e2ab..29007ba0409264d1dbc7c7a5acccddcfe53120earuby -e 'changed =git diff --name-only 539f3a3131c0e07cfe1cd940b23c9cf5c1c4e2ab..29007ba0409264d1dbc7c7a5acccddcfe53120ea.lines.map(&:chomp); abort("unexpected changed files: #{changed.inspect}") unless changed == ["AGENTS.md"]; puts "tracked change scope ok: AGENTS.md only"'ruby -e 'tracked =git ls-files -- data state config projects .no-mistakes; abort("personal fleet paths are tracked:\n#{tracked}") unless tracked.empty?; puts "personal fleet paths remain untracked"'ruby -e 'text = File.read("AGENTS.md"); checks = { ... }; checks.each { |name, needle| abort("missing #{name}") unless text.include?(needle) }; abort("data/captain.md read must follow data/projects.md") unless text.index("Then readdata/projects.md, the fleet registry") < text.index("Then readdata/captain.mdif present"); puts "AGENTS.md documents captain preferences home and bootstrap read order"'ruby -e 'lines = File.readlines("AGENTS.md"); File.write("/var/folders/5x/4nqprlbx0518k3ybcb1sz6gr0000gn/T/no-mistakes-evidence/01KV449Q3NDH57CJ5SJJ4CGJEW/captain-preferences-agents-excerpt.txt", lines.each_with_index.select { |_, i| (47..104).cover?(i + 1) }.map { |line, i| "%3d: %s" % [i + 1, line] }.join)'git status --short✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.