Repository navigation
Resolve proven superseded feature statuses across worktrees - #83
Merged
Merged
Conversation
added 9 commits
October 31, 2026 16:27
agent-redline❗ RED — Red-zone files changed.
Behavior contracts: |
|
| Rule | Source |
|---|---|
workrecord.exists |
core |
workrecord.markers_present |
core |
risk.declared |
core |
complexity.declared |
core |
workrecord.shape_matches_classification |
core |
workrecord.expanded_fields_present |
core |
workrecord.state_valid |
core |
workrecord.relationships_valid |
core |
risk.redline_findings_available |
default |
risk.boundary_violation_absent |
default |
risk.declared_not_below_detected |
default |
review.checkpoints_satisfied |
default |
requirements.baseline_present |
core |
requirements.baseline_unchanged |
core |
requirements.behavior_changes_well_formed |
core |
requirements.task_context_traceable |
core |
requirements.requirement_changes_authorized |
core |
exceptions.well_formed |
core |
exceptions.not_against_boundary |
core |
exceptions.not_expired |
core |
approval.elevated_clean_context_review_present |
core |
approval.high_clean_context_review_present |
core |
approval.high_risk_approval_recorded |
core |
approval.clean_context_does_not_satisfy_human |
core |
review.agent_result_review_present |
core |
evidence.criteria_have_methods |
core |
evidence.failure_not_claimed_as_success |
core |
workrecord.commit_order |
core |
<behavior-contracts>
- ✅ Other checks — 4 checks, all passed
Effective rules (4)
| Rule | Source |
|---|---|
behavior_contracts.changed_paths_complete |
repo |
behavior_contracts.changed_paths_classified |
repo |
behavior_contracts.requirement_changes_authorized |
repo |
behavior_contracts.verification_linked |
repo |
Updated against commit 4fc5d7e9.
rore
marked this pull request as draft
October 31, 2026 15:57
added 5 commits
October 31, 2026 18:07
rore
marked this pull request as ready for review
October 31, 2026 18:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Resolve superseded saved status from proven clean feature-revision ancestry, even when unrelated commits make checkout HEADs diverge. Status filters, status grouping, primary status, Done ordering, status-based In play and unfinished participant budgeting use the resolved evidence. Historical search/content, other placement, board order, all checkout versions and pinned-file editing remain intact. Dirty, incomparable, missing or capped proof retains saved evidence. No status/main/time priority, new dependencies, settings or synchronization.
The change includes generic real-Git and large-board browser regressions, documentation and both runtime mirrors. Three existing conflict fixtures now create genuinely independent edits; their assertions are unchanged.
Supported-limit qualification exposed Windows native child-start stalls. The shared server now executes Git through one bounded lazy built-in worker, retaining the existing lineage slots, cancellation, deadlines, caps, error fidelity and close/drain checks. Cached source validation checks every source in drained four-source waves. No dependency, public switch, silent fallback or skipped proof is introduced.
Why
A clean historical Active state could mask a newer Done feature despite provable feature ancestry. Whole-checkout HEAD ordering cannot resolve this safely, and Done precedence would break genuine reopenings.
Verification
node --test test/worktree-status-supersession.test.js: 26 passed, including divergent HEADs, reopenings, merges, concurrent/equal revisions, dirty/staged/skipped-index files, late changes, missing/shallow/capped evidence, cancellation, normalization and bounded Git commands.node scripts/sync-mirrors.mjs; changed runtime files byte-identical in both packaged skills.d2ffd233and structural application35947fa859f84ab43d6658035d3ab60513ea673a; no remaining actionable findings. Full CI and owner/human architecture acceptance remain separate gates.Final supported-limit HTTP qualification (
MINIMAP_PERFORMANCE_STATUS_HISTORY=1, 25 sources, 100 features) preserves 2,500 versions, resolves 1,200 historical statuses and verifies real zero-Git warm reuse plus concurrent cold-third fairness:All existing 200 ms p95 targets pass. Individual health/peer maxima remain 294.58/247.16 ms; peer observations mix fresh and expired/stale retained snapshots. Concurrent cold-third HTTP completion was 0.879 seconds, before either independent scan completed (24.624/24.829 seconds). Idle cached-IO phase timings are separate from HTTP-thread event-loop measurements; zero-Git cached admission improvement is not attributed to child offloading.
Background cost is substantial: archived main, initial status candidate and final worker were 10.783/14.335/20.920 seconds in separate single cold calibrations. These do not establish a causal ratio, credible cold p95, unchanged latency or a universal guarantee. Earlier responsiveness misses and the insufficient launch-only trial remain recorded; no target, timeout or original assertion was relaxed. An Across browser run missed its five-second assertion during concurrent real-Git tests; the same case then passed alone unchanged. The failure is retained, not erased by retry.
Normal shutdown, cancellation and handled JavaScript failure confirm owned-child drainage. Unexpected native/hard worker termination cannot prove cleanup, so subsequent Git reads fail closed and shutdown reports blocked cleanup rather than success. No orphan-cleanup guarantee is claimed after arbitrary termination.
Required complete CI is pending this PR. No real project data or live installation changed; merge and delivery remain owner-managed.
CI follow-up restores deadline/ref-race injection at the real worker callback boundary, preserving the original assertions/deadlines and two-board-read phase evidence. A deterministic delayed-unlink regression fixes the registry-before-listener-close race without weakening ownership checks; worker cancellation preserves reason name/message and original parent reason identity. Two literal status interpolations are explicitly escaped, with no lint-rule changes. Focused checks pass 27/27 and targeted technical review approves publication as a draft CI candidate.
The default full Windows run on Node 24.14.1 was not green (564 passes, six failures, one cancellation, three skips): short-budget/setup failures plus three native stop-client crashes after successful stop output. The latter match the upstream Windows Node exit issue, whose fix is listed in Node 24.20.0 release notes; a single bounded local reproduction did not reproduce the race, so this is not claimed as deterministic attribution. The full isolated Windows run on an already-available Node 24.22.1 with two test processes finished with 568 passes, two failures, one cancellation and three skips, without native crashes. Related-work's 30-second test and the synthetic 1.5-second bound-read reuse case still missed their limits. Both passed alone serially with unchanged assertions/deadlines (five checks; related work 25.04 seconds, reuse 1.11 seconds). This supports scheduling sensitivity, not proof of an environment-only cause. No installation/PATH/service changed.
At application head
600ed819, Linux's complete Node suite passed 571 checks with three skips and no failures/cancellations. The first full browser run passed 246/247; the final Blocked In play Across hash navigation missed its original five-second visibility assertion. The same case passed alone unchanged, and desktop Columns/narrow List captures were inspected. Independent review found no concrete status-resolution regression: these dirty versions have identical committed HEADs and retain the legacy filter path. The bounded full Linux rerun passed the complete Node suite, all 247 browser tests and runtime sync/parity. The original browser failure remains recorded; a successful rerun does not establish its cause or erase the Windows full-suite misses. No assertion, deadline, fixture or product code was changed for this failure. Owner acceptance of the retained timing/flake evidence, human result/architecture review, merge and live delivery remain separate gates; PR remains draft.Final head
4fc5d7echanges only the Work Record and canonical feature notes after reviewed application600ed819. Independent review approves owner handoff only; its full CI and governance checks are tracked separately. Local governance has zero blockers and two disclosed advisories (architecture shadow checkpoint and initial Work Record commit-order heuristic). No live runtime, installed tools, project data, PATH or service changed.