Repository navigation
Conversation
…iness documentation
…g actionlint 1.7.12
547b286 to
b8bb3c6
Compare
|
Speaking as Kun's firstmate: thank you @saechben — a timezone change making live listeners read as dead is a nasty one, and the 11/11 live macOS scenarios plus the no-mistakes attestation on this head are great to see. I've approved the fork CI runs for b8bb3c6; this is waiting on CI right now. How I read the change (my own read of the diff, for the captain): the UTC-pinned Two small things worth a look while CI runs:
|
…s and four ShellCheck false positives. Complete daemon and watcher suites passed, along with configured lint, workflow validation, and strict Pi 1.1.0/1.2.0 type checks. Changes affect only three test files. Nothing pushed; remote CI remains for the outer executor
|
Speaking as Kun's firstmate: thanks @saechben. I checked the new commit My earlier read stands: new-default. The UTC-pinned identity is corrective, but unverifiable legacy owners now get a new default refuse-and-preserve path across watch-arm, wake-drain, auto-arm, and listeners. If CI comes back green, this goes to Kun as a merge-or-leave decision. It's waiting on CI, not on you. The |
|
Speaking as Kun's firstmate: thanks @saechben. The re-run came back clean on VISION read: one captain / honest interface: aligns (live listeners no longer look dead after a timezone change). Authority: aligns (when ownership can't be proved, it refuses and preserves instead of reclaiming). Scripts vs judgment: aligns (process identity stays deterministic in scripts). Restart is a non-event: aligns. Delegation: aligns. Vendor: aligns (no vendor coupling). Scope: aligns. Contract-class: new-default. The UTC-pinned identity is corrective. Separately, pre-upgrade identities that can't be verified now take a new default refuse-and-preserve path across watch-arm, wake-drain, auto-arm and listeners. That makes it a merge-or-leave call for Kun, not an auto-merge. It's with the captain now, not waiting on you. |
Intent
Make newly recorded process identities stable across timezone changes so supervision continues to recognize the same live PID and command while preserving ownership, reuse and stop guards. Keep ambiguous legacy identities unverifiable and preserve their live owners, claims and queued feedback until an explicit recovery policy is chosen.
What Changed
psidentities consistently in Bash and JavaScript, retaining existing/procidentity formats.Risk Assessment
✅ Low: The changes implement the accepted forward-only identity correction and conservatively preserve unverifiable ownership, with no substantiated material defects found.
Testing
All five targeted suites and eleven live macOS scenarios passed after correcting fixture placement and retry-test timing. CLI transcripts retain the evidence; disposable labs were removed.
Evidence: Live CLI supervision transcript
Source: Live CLI supervision transcript
Evidence: Real daemon readiness and teardown
Source: Real daemon readiness and teardown
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ No issues found.
🔧 **Test** - 4 issues found → auto-fixed (2) ✅
tests/fm-procevent.test.sh:1974- The process-event suite failed with “no contender acquired the stale claim” after its bounded wait. An independent public-interface reproduction subsequently reclaimed a known-dead claim with one active source while held, suggesting timing sensitivity, but the native regression remains unresolved. Diagnose the failed concurrent-start path and obtain a clean targeted run.tests/fm-wake-queue.test.sh:148- With normal temporary storage, the wake-queue suite failed because its watcher did not surface the expected stale notification within 40 polls; cleanup required KILL after TERM failed to finish promptly. Resolve the execution delay or fixture problem and rerun this regression without weakening ownership checks.tests/fm-extension-binding.test.sh:1953- Extension verification remains red: the full rerun reported 5000 ms handshake timeouts, and remote-activation exceeded its 300-second bound. Added the two missing libraries to the copied remote fixture, but that correction has not produced a passing remote check. Resolve fixture startup and rerun the affected segments.bash bin/fm-test-run.sh --per-script-timeout-secs 1200with tests/fm-watcher-lock.test.sh, tests/fm-procevent.test.sh, tests/fm-claude-stop-autoarm.test.sh, tests/fm-wake-queue.test.sh, and tests/fm-extension-binding.test.sh; initial temporary storage was confined to the worktree.bash bin/fm-test-run.sh --jobs 1 --per-script-timeout-secs 600 tests/fm-watcher-lock.test.shwith an inherited isolated FM_HOME; this setup exposed a configuration-path mismatch.bash bin/fm-test-run.sh --per-script-timeout-secs 1200with tests/fm-watcher-lock.test.sh, tests/fm-wake-queue.test.sh, and tests/fm-extension-binding.test.sh using normal test temporary storage and cleared home/path overrides.FM_EXTENSION_BINDING_SEGMENT=lifecycle-flow bash bin/fm-test-run.sh --jobs 1 --per-script-timeout-secs 300 tests/fm-extension-binding.test.sh.FM_EXTENSION_BINDING_SEGMENT=remote-activation bash bin/fm-test-run.sh --jobs 1 --per-script-timeout-secs 300 tests/fm-extension-binding.test.shafter correcting copied fixture dependencies.bash cycle-reproduction.sh: independently reproduced the notification-cycle CLI path; transcript retained in cycle-reproduction.log.python3 live-source-check.py: drove real listener start, timezone checks, uncertainty reporting, reconciliation refusal, and retirement.python3 live-watcher-check.py: drove a real watcher through timezone checks and every arm mode with unverifiable identities.python3 live-daemon-check.py: drove a real daemon through timezone recognition, transient identity publication, readiness deadline preservation, lifecycle refusals, and verified stop.python3 live-launcher-check.py,python3 live-mismatch-check.py, andpython3 live-grant-check.py: exercised public ownership and feedback-preservation interfaces.python3 live-reclaim-check.py: drove 24 concurrent public source starts against a known-dead disposable owner.Stopped the private terminal server, removed disposable worktree resources, cleaned the known failed temporary fixture tree, and verified that only the intentional test-fixture edit remains.🔧 Fix applied.
3 errors still open:
tests/fm-wake-queue.test.sh:38- The wake-queue suite twice failed with “queue lock could not be acquired safely” followed by “concurrent append/drain subprocess failed”, including a rerun with normal temporary storage and --jobs 1. An independent reproduction retained all 40 records and returned a retriable contention advisory, so data loss was not demonstrated. Resolve the inconsistent lock-acquisition outcome or fixture handling and obtain a clean targeted run without weakening ownership or queue-preservation checks.tests/fm-procevent.test.sh:3905- The process-event suite exited 1 after “an attached-start keeper stops refreshing after its parent exits”, without a failure assertion or final completion message. The following reused-runner-group fixture remains unvalidated by that run. Capture the failing command and obtain a clean targeted run; the available output does not establish its root cause.bash bin/fm-test-run.sh tests/fm-watcher-lock.test.sh tests/fm-procevent.test.sh tests/fm-claude-stop-autoarm.test.sh tests/fm-wake-queue.test.sh tests/fm-extension-binding.test.sh --per-script-timeout-secs 1500with worktree-local TMPDIR and orphan reaping disabledFM_TEST_SKIP_ORPHAN_REAP=1 bash bin/fm-test-run.sh tests/fm-watcher-lock.test.sh tests/fm-wake-queue.test.sh --jobs 1 --per-script-timeout-secs 900using normal temporary storageFM_TEST_SKIP_ORPHAN_REAP=1 bash bin/fm-test-run.sh tests/fm-extension-binding.test.sh --per-script-timeout-secs 300Extension suite runs withFM_EXTENSION_BINDING_SEGMENT=lifecycle-flowandFM_EXTENSION_BINDING_SEGMENT=remote-activationpython3 .test-phase/live_checks.py,python3 .test-phase/readiness.py, andpython3 .test-phase/guards.py; drivers retained in evidencepython3 .test-phase/concurrent.py; corrected an excessive diagnostic wait and repeated with a global 120-second boundStopped private tmux servers, verified their absence, removed transient fixtures, and confirmed a clean worktree🔧 Fix applied.
✅ Re-checked - no issues remain.
Inspected the base-to-target source and test diff for 83b70ef49e33eff529f574618415997c8ef67518..4aa2ab488dbfdd03ba46f58ee7f0542324efbb68.Rantests/fm-watcher-lock.test.sh,tests/fm-procevent.test.sh,tests/fm-claude-stop-autoarm.test.sh,tests/fm-wake-queue.test.sh, andtests/fm-extension-binding.test.shthroughbash bin/fm-test-run.sh --jobs 1.Reran the complete watcher suite successfully after an earlier prolonged run failed its healthy-peer assertion.Reran wake-queue and extension-binding successfully with normal temporary storage after worktree-local fixture placement triggered product guards.Ranpython3 .test-phase/live_checks.py; the final six isolated product checks passed. Earlier driver setup and cleanup mistakes were corrected and rerun.Invoked productionfm_pid_identityandfm_pid_identity_compareagainst compatible /proc protocol fixtures, asserting exact output and start/command mismatch results.Stopped owned leftover fixture workers, removed transient worktree fixtures, and verifiedgit status --shortandgit diff --exit-codewere clean at the target commit.✅ No issues found.
TMPDIR="$PWD/.test-phase/tmp" bash bin/fm-test-run.sh --jobs 1 --per-script-timeout-secs 1500selecting fm-watcher-lock, fm-procevent, fm-claude-stop-autoarm, fm-wake-queue and fm-extension-binding tests.bash bin/fm-test-run.sh --jobs 1 --per-script-timeout-secs 1500rerunning fm-procevent, fm-wake-queue and fm-extension-binding tests with normal temporary storage.python3 ~/.no-mistakes/evidence/01M5G3W75FE75Q2N34Y93N373J/live-supervision.pypython3 ~/.no-mistakes/evidence/01M5G3W75FE75Q2N34Y93N373J/daemon-readiness-live.pypython3 ~/.no-mistakes/evidence/01M5G3W75FE75Q2N34Y93N373J/poll-cadence.pyConfirmed private tmux teardown, removed disposable test files, and checked the remaining worktree diff.✅ **Document** - passed
✅ No issues found.
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ No issues found.
✅ **Push** - passed
✅ No issues found.
✅ No issues found.