8000 Reduce scoped participant and Spec summary read costs by rore · Pull Request #44 · rore/minimap · GitHub
[go: up one dir, main page]

Skip to content

Reduce scoped participant and Spec summary read costs - #44

Closed
rore wants to merge 5 commits into
mainfrom
feat/scoped-roadmap-reads
Closed

rore wants to merge 5 commits into
mainfrom
feat/scoped-roadmap-reads

Conversation

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

Participant detail parsed the item index twice, and roadmap Spec enrichment opened every attached session. This change loads one workspace for detail, filters internal session-index keys before reading session details, and rejects already-aborted detail calls before provider HTTP work.

Public unfiltered session listing, missing-item errors, disabled/identity/unsupported precedence, session recovery and mutation behavior, and source/write guards retain their existing semantics. This is independent delivery 2c of #43; snapshot caching and UI refresh changes remain separate.

Validation: all 45 focused checks passed across scoped-roadmap-reads, pallium-participants, sessions-atomic, source-bound, source-bound-context and source-bound-http-race. Three new regressions failed before the fix. Both runtime mirrors were generated, and an independent reviewer accepted source 6d709dd with no blocking findings. Publication preparation changed only Work Record evidence and did not rerun tests.

Redline classifies this as RED because sessions.js is a persistence surface. The complete-diff workflow check has no blocking findings; architecture review remains a shadow advisory. Human result approval and broader integration/CI are required before merge. No live environment changes or new dependencies.

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

agent-redline

❗ RED — Red-zone files changed.

  • red (1): package/minimap/src/sessions.js
  • gray (9): package/minimap/server.js, package/minimap/skills/minimap-roadmap/runtime/server.js, package/minimap/skills/minimap-roadmap/runtime/src/pallium.js, package/minimap/skills/minimap-roadmap/runtime/src/sessions.js, package/minimap/skills/minimap-spec-review/runtime/server.js, package/minimap/skills/minimap-spec-review/runtime/src/pallium.js, package/minimap/skills/minimap-spec-review/runtime/src/sessions.js, package/minimap/src/pallium.js, test/scoped-roadmap-reads.test.js
  • watch (6): package/minimap/skills/minimap-roadmap/runtime/server.js, package/minimap/skills/minimap-roadmap/runtime/src/pallium.js, package/minimap/skills/minimap-roadmap/runtime/src/sessions.js, package/minimap/skills/minimap-spec-review/runtime/server.js, package/minimap/skills/minimap-spec-review/runtime/src/pallium.js, package/minimap/skills/minimap-spec-review/runtime/src/sessions.js

@github-actions
github-actions Bot commented Oct 8, 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/src/sessions.js; 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 9b8044d6.

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

Closing as superseded by merged PR #43 (d1ed842), not abandoning the optimization. Current main 43cb0ca contains all three changes: normalized targetFiles filtering before session detail reads with scoped server callers; participant detail uses one workspace snapshot and own-property missing-item checks; pre-aborted participant calls stop before provider work. The original scoped-roadmap-reads regression file is byte-identical on main. Independent verification on current main passed 48/48 focused participant, scoped-read, session-atomic and source-bound checks with zero skips. No residual implementation change remains, so resolving and merging the old branch would be redundant. The earlier claim that these optimizations were absent from main was incorrect; this PR was left open after its implementation shipped through #43. No live service or consumer installation was changed during this closure.

@rore rore closed this Oct 12, 2026
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