feat(app): the Campaign tab — the Work Column's full-ledger drill-down (#694) - #696
Merged
Merged
Conversation
… grammar (#694) createSessionTabs treats 'campaign' exactly like pulseInspector: a named surface (campaignOpen memo, excluded from panelTabs, activeTab fallback after pulseInspector, closable). The tab itself is the next slice; the grammar lands first so the deep link and the panel menu have something to open.
… the deep-link recognizer (#694) campaign-tab-model.ts projects GET /amicode/campaigns + the per-campaign detail route into the tab's render model: verdict table (header detection by marker-free row 0; unit → first cell, status token + verbatim evidence → last cell per the §2 grammar), objective/blocked marker-stripped lines, §8 loop-log tail as table rows or text lines, frontmatter identity. Plus campaignPromptSlug (the digest tile's exact 'Open the campaign <slug>' composition) and pickCampaign (the digest's newest-ACTIVE rule).
… deep link (#694) CampaignTabContent renders the active campaign's complete ledger from the existing routes (#662): objective lines, the full verdict table (unit → status token → verbatim evidence), the blocked queue with reasons, and the §8 loop log (table or text). Empty state at every level — no campaigns explains how one starts (run a research loop; ledgers land in the personal vault's sessions/ dir), fetch failures are readable, a content-less ledger says so. Solid JSX only; theme-token classes. Integration: the campaign named surface gets its trigger in both tab-strip branches (legacy + v2), its Tabs.Content, and a panel-menu entry beside the quantum surfaces. The digest tile's click path deep-links in from both hosts: the Work Column's Home tab widget host recognizes 'Open the campaign <slug>' and opens the tab (prompt still prefills the composer), and the home page's draft handoff opens it once per prompt text via the session prompt watch.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #694.
The digest tile's drill-down sibling — the Work Column's Campaign tab: the full campaign ledger (objective, verdict table, blocked queue, loop log) rendered from the existing campaign routes (#662), with the digest tile's deep link landing here.
What (3 commits)
campaignregistered as a named Work Column surface (closable/reopenable, never a file tab).campaign-tab-model.ts— route payload → verdict table / objective / blocked lines / loop-log tail, + thecampaignPromptSlugdeep-link recognizer.CampaignTabContent+ tab triggers + panel-menu entries in both strip branches; the digest tile deep-links from both widget hosts (the tile'samico.promptcomposition stays).Evidence (director-gated independently)
git diff 58a5cc9..HEADis 8 files, all app-bundle; the detail route already carried every field the table needs. No new server surface, no golden re-record (built-in set unchanged; the only manifest work is per-file sha256 updates for edited overlay files, per the 10c3779 precedent — drift gate PASS, 562 files).Director-cast in the harness-agnostic campaign, loop 23 (AFK execution per the standing directive).