8000 Show 25 recent worktrees and blocked work with bounded cold-load fairness by rore · Pull Request #57 · rore/minimap · GitHub
[go: up one dir, main page]

Skip to content

Show 25 recent worktrees and blocked work with bounded cold-load fairness - #57

Merged
rore merged 17 commits into
mainfrom
feat/recent-worktrees-and-blocked
Oct 18, 2026
Merged

rore merged 17 commits into
mainfrom
feat/recent-worktrees-and-blocked

Conversation

@rore
@rore rore commented Oct 18, 2026 •
Copy link
Copy Markdown
Owner

Minimap previously selected only 16 Git-listed checkouts and omitted unattached blocked features from In play. This change keeps the opened checkout plus the 24 most recent eligible siblings, ranked by the latest recorded local Git event, and includes blocked features through the shared filter. Missing timestamps sort last; ordinary uncommitted edits do not alter ranking. Invalid candidates do not consume valid slots.

Large cold scans also needed bounded completion and independent checkout progress. The packaged CJS launcher defaults the filesystem pool to8 only when unset, preserving explicit overrides and legacy MJS entrypoints. Snapshot cache storage rises to96MiB; started read batches drain on failure. Identity checks run in bounded batches of four, with all fresh rereads and comparisons retained. Full Across reads allow60seconds including queue time; other reads keep30seconds. One reserved This/source-open/opened-only slot runs alongside at most two regular scans. UI lookups are indexed, collapsed cards are omitted, and canceled responses stop before expansion.

Validation:

  • Focused discovery/filter/identity, lifecycle/bootstrap, cache/read-drain and browser checks recorded in the Work Record; runtime mirrors synchronized.
  • Latest correction: coordinator19/19, packaged HTTP/races4/4, API/promise/mirror23/23; interactive opened-only browser1/1, eight inspected desktop/narrow List/Columns screenshots.
  • Actual25x1000 qualification: concurrent full loads32.244/32.802s; never-loaded third checkout556ms before either full completed; all25sources/25000versions and expected uncertainty records preserved. Retained IDs reused with zero Git processes.
  • Large-run health/cached-view p9570/121ms (194/89samples). One25x100 cached-view outlier made its p95374ms (12samples); large-run isolated tails reached476ms. Peak sampled RSS613MiB. This is a bounded completion/fairness improvement, not a zero-stall or total-memory guarantee.
  • Independent non-implementer review approved product revision c8df062; subsequent commit only records that review. Local workflow gate has no blocking findings. Full CI must pass on final HEAD.

No live restart, installation or persistent environment changes. Human result approval received; merge after final CI passes.

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

agent-redline

❗ RED — Red-zone files changed.

  • red (19): AGENTS.md, package/minimap/CONTRACT.md, package/minimap/skills/minimap-roadmap/SKILL.md, package/minimap/skills/minimap-roadmap/references/pallium-participants.md, package/minimap/skills/minimap-roadmap/references/roadmap-contract.md, package/minimap/skills/minimap-roadmap/references/server.md, package/minimap/skills/minimap-roadmap/scripts/restart-server.mjs, package/minimap/skills/minimap-roadmap/scripts/start-server.cjs, package/minimap/skills/minimap-spec-review/SKILL.md, package/minimap/skills/minimap-spec-review/references/http.md, package/minimap/skills/minimap-spec-review/references/server.md, package/minimap/skills/minimap-spec-review/scripts/restart-server.mjs, package/minimap/skills/minimap-spec-review/scripts/start-server.cjs, playwright/async-worktree-ui.spec.js, playwright/board-participant-e2e.spec.js, playwright/nonblocking-performance.spec.js, playwright/worktree-ui.spec.js, test/runtime-compatibility.test.js, test/source-bound-http-race.test.js
  • gray (53): package/minimap/README.md, package/minimap/SKILL.md, package/minimap/server.js, package/minimap/skills/minimap-roadmap/runtime/server.js, package/minimap/skills/minimap-roadmap/runtime/src/roadmap-snapshots.js, package/minimap/skills/minimap-roadmap/runtime/src/roadmap.js, package/minimap/skills/minimap-roadmap/runtime/src/worktree-aggregate.js, package/minimap/skills/minimap-roadmap/runtime/src/worktree-sources.js, package/minimap/skills/minimap-roadmap/runtime/ui/api.js, package/minimap/skills/minimap-roadmap/runtime/ui/app.js, package/minimap/skills/minimap-roadmap/runtime/ui/filters.js, package/minimap/skills/minimap-roadmap/runtime/ui/index.html, package/minimap/skills/minimap-roadmap/runtime/ui/worktrees.js, package/minimap/skills/minimap-spec-review/runtime/server.js, package/minimap/skills/minimap-spec-review/runtime/src/roadmap-snapshots.js, package/minimap/skills/minimap-spec-review/runtime/src/roadmap.js, package/minimap/skills/minimap-spec-review/runtime/src/worktree-aggregate.js, package/minimap/skills/minimap-spec-review/runtime/src/worktree-sources.js, package/minimap/skills/minimap-spec-review/runtime/ui/api.js, package/minimap/skills/minimap-spec-review/runtime/ui/app.js, package/minimap/skills/minimap-spec-review/runtime/ui/filters.js, package/minimap/skills/minimap-spec-review/runtime/ui/index.html, package/minimap/skills/minimap-spec-review/runtime/ui/worktrees.js, package/minimap/src/roadmap-snapshots.js, package/minimap/src/roadmap.js, package/minimap/src/worktree-aggregate.js, package/minimap/src/worktree-sources.js, package/minimap/ui/api.js, package/minimap/ui/app.js, package/minimap/ui/filters.js, package/minimap/ui/index.html, package/minimap/ui/worktrees.js, playwright.config.js, roadmap/features/recent-worktrees-and-blocked.md, test/related-work-server.test.js, test/roadmap-performance.test.js, test/roadmap-read-batches.test.js, test/roadmap-snapshot-deadline.test.js, test/roadmap-snapshot-server.test.js, test/roadmap-snapshots.test.js, test/roadmap.test.js, test/scoped-roadmap-reads.test.js, test/server-bootstrap.test.js, test/server-lifecycle-log.test.js, test/spec-read-performance.test.js, test/ui-api.test.js, test/ui-filters.test.js, test/ui-worktrees.test.js, test/worktree-aggregate.test.js, test/worktree-payload-server.test.js, test/worktree-source-http.test.js, test/worktree-sources.test.js, test/worktree-squash-http.test.js
  • blue (2): README.md, roadmap/board.md
  • watch (21): package/minimap/skills/minimap-roadmap/runtime/server.js, package/minimap/skills/minimap-roadmap/runtime/src/roadmap-snapshots.js, package/minimap/skills/minimap-roadmap/runtime/src/roadmap.js, package/minimap/skills/minimap-roadmap/runtime/src/worktree-aggregate.js, package/minimap/skills/minimap-roadmap/runtime/src/worktree-sources.js, package/minimap/skills/minimap-roadmap/runtime/ui/api.js, package/minimap/skills/minimap-roadmap/runtime/ui/app.js, package/minimap/skills/minimap-roadmap/runtime/ui/filters.js, package/minimap/skills/minimap-roadmap/runtime/ui/index.html, package/minimap/skills/minimap-roadmap/runtime/ui/worktrees.js, package/minimap/skills/minimap-spec-review/runtime/server.js, package/minimap/skills/minimap-spec-review/runtime/src/roadmap-snapshots.js, package/minimap/skills/minimap-spec-review/runtime/src/roadmap.js, package/minimap/skills/minimap-spec-review/runtime/src/worktree-aggregate.js, package/minimap/skills/minimap-spec-review/runtime/src/worktree-sources.js, package/minimap/skills/minimap-spec-review/runtime/ui/api.js, package/minimap/skills/minimap-spec-review/runtime/ui/app.js, package/minimap/skills/minimap-spec-review/runtime/ui/filters.js, package/minimap/skills/minimap-spec-review/runtime/ui/index.html, package/minimap/skills/minimap-spec-review/runtime/ui/worktrees.js, playwright.config.js

Behavior contracts: playwright/async-worktree-ui.spec.js, playwright/board-participant-e2e.spec.js, playwright/nonblocking-performance.spec.js, playwright/worktree-ui.spec.js, test/runtime-compatibility.test.js, test/source-bound-http-race.test.js
Workflow-only protection: checked in PR CI, but GitHub does not require it for merge.
Verification: test.

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

⚠️ Advisory: workflow checks have non-blocking findings

Scope: 2 task files (1 High, 1 unknown)

Audit detail — per-record checks

recent-worktrees-and-blocked

  • ⚠️ Work Record structure — 7 checks, 1 advisory
    • ⚠️ workrecord.commit_order — advisory — Work Record and code landed in the same commit (b02da37). Ideally the WR is a separate commit BEFORE any code commit so it serves as recovery state. Non-blocking; treat as a signal to check whether the WR was written first or retroactively.
  • ✅ 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 (28)
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 98d96aee.

@rore rore changed the title Select 25 recent worktrees and include blocked features in In play Show 25 recent worktrees and blocked work with bounded cold-load fairness Oct 18, 2026
@rore
rore marked this pull request as ready for review October 18, 2026 13:38
@rore
rore merged commit 4352c08 into main Oct 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0