8000 Recognize squash-integrated roadmap identities across worktrees by rore · Pull Request #40 · rore/minimap · GitHub
[go: up one dir, main page]

Skip to content

Recognize squash-integrated roadmap identities across worktrees - #40

Merged
rore merged 10 commits into
mainfrom
feat/squash-worktree-identity
Oct 7, 2026
Merged

rore merged 10 commits into
mainfrom
feat/squash-worktree-identity

Conversation

@rore
@rore rore commented Oct 7, 2026
Copy link
Copy Markdown
Owner

What changed

Across worktrees now recognizes a newly introduced roadmap item after squash integration when the complete repository transition matches a branch-history prefix. Subsequent edits remain separate source versions. Existing shared-ancestor identity, deletion exclusions, and participant ambiguity checks remain intact. Source runtime mirrors and identity contract documentation are updated.

Why

The old ancestor-only rule duplicated items introduced after the merge base, even when their branch changes were squash-integrated. Matching an item ID, path, or content alone is insufficient. Exact complete-transition equivalence is the approved boundary: Git cannot distinguish independently reproduced identical complete changes, so those also share display identity.

History scans are cached and bounded to 64 commits per history, 32 history loads and 8192 raw changes per aggregation, plus the existing Git output/time limits. Missing or capped evidence preserves separation and reports uncertainty.

Verification

  • Full Node 24.19.0 unit suite: 366 passed, 2 skipped, zero failures (368 total), using node --test --test-concurrency=2.
  • Generic fixtures cover squash integration, subsequent edits on both sources, newline variants, independent collisions, the accepted identical-transition boundary, delete/recreate, missing history, and all scan bounds.
  • Real workspace HTTP fixture verifies one aggregate participant reference for the accepted feature and omission of ambiguous collisions.
  • Isolated rendered List and Columns acceptance, desktop and narrow screenshots: one integrated feature with two versions; independent collisions stay separate; ambiguous detail opens make no participant request.
  • Runtime mirror synchronization, skill-doc drift audit, and git diff --check pass.
  • All 148 existing browser obligations passed unchanged: 45 original independent cases, the asynchronous loading case on a quiet rerun, and all 102 serial roadmap cases from a separate task-owned checkout named minimap (the original test assumes that basename).
  • Independent review found and corrected executable regular Markdown handling; the new portable Git-mode squash regression passes, with symlinks still excluded.
  • Post-correction full aggregation and runtime mirror tests: 24 passed, zero failures or skips.

Human result review remains required before merge; no live consumer service has been replaced or restarted.

@github-actions
github-actions Bot commented Oct 7, 2026 •
Copy link
Copy Markdown

agent-redline

❗ RED — Red-zone files changed.

  • red (2): package/minimap/CONTRACT.md, package/minimap/skills/minimap-roadmap/references/server.md
  • gray (6): package/minimap/skills/minimap-roadmap/runtime/src/worktree-aggregate.js, package/minimap/skills/minimap-spec-review/runtime/src/worktree-aggregate.js, package/minimap/src/worktree-aggregate.js, roadmap/features/add-worktree-aware-roadmap-view.md, test/worktree-aggregate.test.js, test/worktree-squash-http.test.js
  • watch (2): package/minimap/skills/minimap-roadmap/runtime/src/worktree-aggregate.js, package/minimap/skills/minimap-spec-review/runtime/src/worktree-aggregate.js

@github-actions
github-actions Bot commented Oct 7, 2026 •
Copy link
Copy Markdown

⚠️ Advisory: workflow checks have non-blocking findings

Scope: 1 task file (1 High)

Audit detail — all checks
  • ✅ Work Record structure — 6 checks, all passed
  • ✅ Risk classification — 5 checks, all passed
  • ⚠️ Required reviews — 2 checks, 1 advisory
    • ⚠️ review.checkpoints_satisfied — unsatisfied checkpoint 'architecture-review' — red-zone change: package/minimap/CONTRACT.md; To fix this: CODEOWNER approval, label architecture-reviewed [shadow — advisory]
  • ✅ Other checks — 5 checks, all passed
  • ✅ Exceptions — 3 checks, all passed
  • ✅ Plan approvals — 4 checks, all passed
  • ✅ Verification plan — 2 checks, all passed
Effective rules (27)
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
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

Updated against commit a4dcdcea.

@rore
rore marked this pull request as ready for review October 7, 2026 14:13
@rore rore added the architecture-reviewed Human architecture review completed label Oct 7, 2026
@rore
rore merged commit d11bd65 into main Oct 7, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

architecture-reviewed Human architecture review completed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0