feat(workspace): lead the chart with tonight's first action - #1115
feat(workspace): lead the chart with tonight's first action#1115seonghobae wants to merge 7 commits into
Conversation
Name the chart download as tonight's first-action chart and prepend the same playable-range check the ready map already named. Omit the lead when no named span exists rather than inventing one.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
🚧 Files skipped from review as they are similar to previous changes (3)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughready workspace가 전체 밴드의 첫 재생 가능 범위를 계산합니다. 계산 결과는 차트 JSON의 Changes첫 연주 범위 차트
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The chart download now optionally leads with tonight’s first action while preserving the existing chart when no valid playable range exists. No actionable merge-blocking risk remains after normal checks and review. Sequence Diagram(s)sequenceDiagram
participant Workspace
participant firstChartAction
participant generateChartSummaryJson
participant Browser
Workspace->>firstChartAction: 곡과 activeRole 전달
firstChartAction-->>Workspace: firstAction 또는 null 반환
Workspace->>generateChartSummaryJson: firstAction 옵션 전달
generateChartSummaryJson-->>Workspace: 차트 JSON 반환
Workspace->>Browser: Blob 생성 및 다운로드 실행
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 80.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 5 functions across 7 files. (3 skipped: 3 unsupported.) ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Fresh exact-head failure routing for
This is a read-only central review-control boundary, not a correct BandScope-local repair opportunity. The current canonical central owner lanes are Acceptance after the central owner integrates: rerun this unchanged exact head and require a substantive exact-head OpenCode verdict, terminal-success Noema review without the 120s hard-stop, all other required exact-head gates terminal-success, zero unresolved findings, and a qualifying independent non-author last-push approval. Predecessor/central-PR evidence does not satisfy this PR. |
|
Fresh central-control-plane correction — 2026-09-01 The PR body’s Noema RCA is historically correct for the predecessor execution but its stated upstream repair dependency is no longer current and must not drive a leaf-code change.
This does not convert the historical Noema failure into passing evidence. It changes the next action: once the then-current central required workflow materializes for this exact BandScope head, use that fresh result; if it still fails, inspect that exact central source/log. Do not repeatedly rerun the old 120-second failure and do not weaken this product branch to compensate for a superseded central implementation. |
|
@opencode-agent Please review exact current head |
Product outcome
The ready workspace already names tonight's first playable range. The chart JSON previously led with title/headline and every section×role row, so a player opening tonight's chart had to hunt for the first concrete check. The chart download is now Download tonight's first-action chart, and the file leads with that optional
firstActionobject only when a concrete named span can be established.This is not a leftover/come-in/tacet/tutti map product and not a parallel MIR PR. Canonical MIR ownership remains #828 for #770. Cue-sheet CSV lead remains #1114.
Exact current identity
develop@749511c3ad4000090048718f685c6bee6b3d2c25.223d53f6c63dc17f7ce219faa52e5eafbd7719ed.feat/workspace-chart-first-action.All predecessor-head checks/reviews are historical only.
Current exact scope
firstChartActionusesfirstRangeSqueezeon the untrusted song payload and fails closed when no named span exists.generateChartSummaryJsonprepends an optionalfirstActionobject; v1 chart shape remains valid when it is absent.JSON.stringifyremains the chart encoder.workspaceFirstRangeDownloadChart.AGENTS.md,CLAUDE.md,ARCHITECTURE.md,CHANGELOG.md,docs/architecture/overview.md,docs/doctoring/chart-first-action.md.Security Notes
Chart JSON is derived from untrusted analysis payloads. Section labels, role names, range labels, and next-action copy can carry formula-shaped values, quotes, and controls.
JSON.stringifyis the chart-JSON encoder;firstChartActionfails closed and does not invent a playable span; filename sanitization remainssanitizeFilename; this path does not write CSV. The export path adds no raw-song logging, path logging, telemetry, network, filesystem-read, subprocess, IPC, or model authority beyond the existing local download Blob.Exact-head repository verification
Repository-local workflows on exact head
223d53f6c63dc17f7ce219faa52e5eafbd7719edare terminal-success for CI, release, build-baseline, security-audit, aggregate Security Scan, SBOM, SAST Semgrep, Bandit, and secret scan. These results belong only to this unchanged head.All currently visible inline review threads are resolved. Existing review submissions are COMMENTED only; there is no qualifying independent non-author approval on this exact head.
Current central review RCA — refreshed 2026-09-01
The earlier text naming open
.github#1546as a prerequisite is now stale.ContextualWisdomLab/.github#1546merged normally on 2026-09-01 as protected-main commit5686de41660d51a7a7f22b8840dfa6ccfe5ff3f1. That protected source preserves #1507 malformed-JSON, UTF-8/envelope validation, secret-safe diagnostics and repair guards while reconciling long-running Noema/OpenCode/Strix exact-head cancellation/publication. No predecessor check or review evidence transfers merely because the central implementation changed.This unchanged BandScope head is now being re-evaluated only where the causal central implementation materially changed:
noema-reviewis currently in progress on the exact head under the current central source; in-progress is non-passing.opencode-reviewfailure had dispatched successfully and then polled reviews 180 times at 30-second intervals before failing because no authenticated same-head formal verdict appeared. After #1546 reached protected main, that failed exact-head job was rerun once as evidentiary re-evaluation. The rerun bootstrap/materialization already succeeded and the newopencode-reviewjob is queued; queued is non-passing.No BandScope product/test code was changed to work around the former central behavior, and unchanged reviewer work is not repeatedly redispatched.
Dependency / supply chain
No new direct dependency or suppression is added. Canonical #783 is already protected
developtruth; this branch inherits that baseline. The neutral Trivy configuration warning on the predecessor exact-head evidence is not counted as success; canonical #1119 owns the repository-wide PR-head Trivy configuration repair.Merge gate
Keep unmerged until this unchanged exact head has every applicable repository and central CI/coverage/review/security/SAST/SBOM/supply-chain gate terminal-success, zero valid unresolved findings, a qualifying independent non-author last-push approval, and ordinary branch-protection acceptance.
Queued, pending, skipped, cancelled, neutral, failed, predecessor-head, protected-base, model-only, self/author, synthetic, or administrative-bypass evidence is not success. Do not self-approve or use administrative bypass.