8000 Show related Work Records and recorded PR links in feature details by rore · Pull Request #49 · rore/minimap · GitHub
[go: up one dir, main page]

Skip to content

Show related Work Records and recorded PR links in feature details - #49

Merged
rore merged 17 commits into
mainfrom
feat/implement-related-work
Oct 17, 2026
Merged

rore merged 17 commits into
mainfrom
feat/implement-related-work

Conversation

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

Opening a roadmap feature now shows the local Agent Workflow Work Records and recorded PR links that explicitly cite that feature. The lookup runs independently of board and editor reads, keeps conflicting worktree versions separate, and labels incomplete or last-known coverage instead of implying that no work exists. Readers can open a validated record, follow its recorded PR links, and page through many results without adding backlinks to roadmap files.

The server uses the Workflow-owned decoder and configured record path, confines reads to the selected checkout, matches Minimap's exact source identity, and publishes bounded, source/HEAD/config-bound index generations. External add, edit, move, remap and delete converge through the existing 30-second refresh or manual Refresh; stale generations and changed records require revalidation or reloading the result list rather than serving mismatched content. The UI keeps the feature and unsaved drafts usable while related work loads.

Validation: Workflow's reviewed 31bebd7614411f128c5f8b6fce4d7d4436911d68 decoder passes 93 relationship and 13 config fixtures plus generated bounds; focused scanner (6/6), isolated live API (1/1), mirror identity (1/1), and skill-doc coverage (8/8) pass. Earlier Playwright coverage includes desktop/narrow List and Columns, 46-record paging, many PR links, Across conflicts, record reading, stale/empty/error states, clean and draft Refresh, and a mutation-sensitive HEAD provenance assertion. The isolated 1,000-record run measured cold and one-record-edit p95 below 5 seconds and zero unchanged record-body reads. Genuine Workflow output was displayed and opened in the isolated preview. The local Agent Workflow/Redline check is advisory only for its shadow-mode architecture-review checkpoint; PR/CI review remains the delivery gate.

@github-actions
Copy link
Copy Markdown

agent-redline

❗ RED — Red-zone files changed.

  • red (5): 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/server.md, playwright/related-work.spec.js
  • gray (36): package/minimap/server.js, package/minimap/skills/minimap-roadmap/runtime/server.js, package/minimap/skills/minimap-roadmap/runtime/src/related-work.js, package/minimap/skills/minimap-roadmap/runtime/src/work-record/vendor/LICENSE.js-yaml, package/minimap/skills/minimap-roadmap/runtime/src/work-record/vendor/NOTICE.js-yaml, package/minimap/skills/minimap-roadmap/runtime/src/work-record/vendor/js-yaml.mjs, package/minimap/skills/minimap-roadmap/runtime/src/work-record/work-record-relationships.mjs, 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/index.html, package/minimap/skills/minimap-roadmap/runtime/ui/styles.css, package/minimap/skills/minimap-spec-review/runtime/server.js, package/minimap/skills/minimap-spec-review/runtime/src/related-work.js, package/minimap/skills/minimap-spec-review/runtime/src/work-record/vendor/LICENSE.js-yaml, package/minimap/skills/minimap-spec-review/runtime/src/work-record/vendor/NOTICE.js-yaml, package/minimap/skills/minimap-spec-review/runtime/src/work-record/vendor/js-yaml.mjs, package/minimap/skills/minimap-spec-review/runtime/src/work-record/work-record-relationships.mjs, 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/index.html, package/minimap/skills/minimap-spec-review/runtime/ui/styles.css, package/minimap/src/related-work.js, package/mini 8000 map/src/work-record/vendor/LICENSE.js-yaml, package/minimap/src/work-record/vendor/NOTICE.js-yaml, package/minimap/src/work-record/vendor/js-yaml.mjs, package/minimap/src/work-record/work-record-relationships.mjs, package/minimap/ui/api.js, package/minimap/ui/app.js, package/minimap/ui/index.html, package/minimap/ui/styles.css, roadmap/features/show-feature-related-work.md, test/related-work-server.test.js, test/related-work.test.js, test/roadmap-performance.test.js, test/work-record/fixtures/relationships.json, test/work-record/test_relationships.mjs
  • blue (1): README.md
  • watch (20): package/minimap/skills/minimap-roadmap/runtime/server.js, package/minimap/skills/minimap-roadmap/runtime/src/related-work.js, package/minimap/skills/minimap-roadmap/runtime/src/work-record/vendor/LICENSE.js-yaml, package/minimap/skills/minimap-roadmap/runtime/src/work-record/vendor/NOTICE.js-yaml, package/minimap/skills/minimap-roadmap/runtime/src/work-record/vendor/js-yaml.mjs, package/minimap/skills/minimap-roadmap/runtime/src/work-record/work-record-relationships.mjs, 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/index.html, package/minimap/skills/minimap-roadmap/runtime/ui/styles.css, package/minimap/skills/minimap-spec-review/runtime/server.js, package/minimap/skills/minimap-spec-review/runtime/src/related-work.js, package/minimap/skills/minimap-spec-review/runtime/src/work-record/vendor/LICENSE.js-yaml, package/minimap/skills/minimap-spec-review/runtime/src/work-record/vendor/NOTICE.js-yaml, package/minimap/skills/minimap-spec-review/runtime/src/work-record/vendor/js-yaml.mjs, package/minimap/skills/minimap-spec-review/runtime/src/work-record/work-record-relationships.mjs, 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/index.html, package/minimap/skills/minimap-spec-review/runtime/ui/styles.css

Behavior contracts: playwright/related-work.spec.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 17, 2026 •
Copy link
Copy Markdown

✅ Workflow checks passed — 2 task files

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

Audit detail — per-record checks

implement-related-work

  • ✅ Work Record structure — 6 checks, all passed
  • ✅ Risk classification — 5 checks, all passed
  • ✅ Required reviews — 2 checks, all passed
  • ✅ 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

<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 1f13ad67.

@rore rore added the architecture-reviewed Human architecture review completed label Oct 17, 2026
@rore
rore commented Oct 17, 2026
Copy link
Copy Markdown
Owner Author

CI integration fixes are in 95d89dc and passed independent narrow review. The HTML safety rule is unchanged; provenance uses textContent. The shared conformance runner defaults to the bundled decoder and retains explicit-path support and all fixture assertions. Focused lint, 93 relationship/13 config fixtures plus bounds, mirrors and related-work browser tests pass. Four failures in the full Windows run were rechecked individually with external non-Git temporary directories and native Windows paths; all four pass with no additional product changes. Final PR-head CI remains required before merge. Final human result/architecture approval is recorded in the Work Record and architecture-reviewed label.

@rore
rore commented Oct 17, 2026
Copy link
Copy Markdown
Owner Author

The retry passed the full Node suite. The preceding run exposed an existing startup-timing race in the Participants launcher test (test/roadmap.test.js:2813): after EADDRINUSE, start-server probes the competing port once. If the winner has bound the port but health is not ready, the loser safely refuses it as a non-Minimap process instead of reporting the differing Participants configuration. This is a code-based diagnosis consistent with the failure, not a fix delivered in this PR. No assertion or lifecycle code was weakened or changed; keep this as a separate launcher reliability follow-up.

@rore
rore merged commit f851e3b into main Oct 17, 2026
3 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