Skip to content

docs(docs): refresh initial 41 after prp 39 40 (#313)#319

Merged
w7-mgfcode merged 1 commit into
devfrom
docs/initial-41-drift-patch
May 26, 2026
Merged

docs(docs): refresh initial 41 after prp 39 40 (#313)#319
w7-mgfcode merged 1 commit into
devfrom
docs/initial-41-drift-patch

Conversation

@w7-mgfcode
Copy link
Copy Markdown
Owner

Summary

Patches PRPs/INITIAL/INITIAL-showcase-41-agent-ops-polish.md to remove drift
between INITIAL-41 (authored pre-PRP-39/40) and the actual surfaces PRP-41
consumes on dev. Docs only — no code changed.

Drift items (D1–D7)

# Was Now
D1 batch_preset.step.data.completed_count actual key completed_items (PRP-39 emits completed_items/total_items/failed_items)
D2 rag_index_subset.step.data.chunks_indexed actual key total_chunks (chunks emitted this run across the curated 5-file subset; curated_hits for files-indexed)
D3 step.data.alias_count derive total_aliases from len(OpsSummaryResponse.aliases) in ops_snapshot; fall back to step.data.alias keys
D4 "scenario_save / scenario_compare payloads" actual step names scenario_simulate_and_save (emits scenario_id) + multi_plan_compare (emits winner_scenario_id + ranked)
D5 GET /ops/model-health?grain=store_product&limit=5 actual endpoint takes only ?limit= — no grain param
D6 flat stale_aliases key on /ops/summary derive from OpsSummaryResponse.aliases[].is_stale; documented response shape (system/jobs/runs/aliases/freshness/attention_items/generated_at)
D7 line-number citations into pipeline.py, service.py, experiment.py, frontend hooks replaced with symbol refs (::step_agent, ::approve_action, ::tool_save_scenario, ::useDemoPipeline, etc.) so the PRP does not re-stale on the next file expansion

Folded into PRP-41 scope

  • Issue fix(ui): unlock showcase phase accordion after completion #311 (fix(ui): unlock showcase phase accordion after completion) — added as polish item 7 in the "Scope" section + acceptance criterion D10. Load-bearing for the Inspect-Artifacts post-run UX: visitors need to re-open any phase post-run, which the current fully-controlled <Accordion value={value}> (no onValueChange) blocks.

Out of scope, but added as PRP-41 prerequisite

Test plan

  • git diff --check clean
  • Only PRPs/INITIAL/INITIAL-showcase-41-agent-ops-polish.md modified (117 insertions / 46 deletions)
  • No stray conflict markers
  • Commit format: docs(docs): ... (#313) per .claude/rules/commit-format.md
  • CI lint/format/typecheck/test gates pass (docs change — only the lint stages relevant)

PRP-41 drift items D1-D7 + fold in issue #311:

- D1-D4: KPI strip counters now read the actual emitted step.data keys
  (completed_items, total_chunks, total_aliases, scenario_id +
  winner_scenario_id) — never invented names.
- D5: GET /ops/model-health takes only ?limit (no grain param).
- D6: ops_snapshot derives stale_aliases_count + total_aliases from
  OpsSummaryResponse.aliases (no flat keys on the response).
- D7: replaced stale line citations with symbol refs so the PRP does not
  re-stale on the next pipeline.py expansion.
- Folded issue #311 (phase accordion lock after completion) into scope
  as polish item 7 + acceptance criterion D10 — load-bearing for the
  Inspect-Artifacts post-run UX.
- Noted issue #312 (phase2 enrichment idempotency) as a dogfood
  prerequisite (out of PRP-41 scope, must land before the manual
  checklist runs).

Docs only change. No code touched.
Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @w7-mgfcode, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 26, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a8068d6d-1eeb-4097-a84c-3d634237c8ff

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/initial-41-drift-patch

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@w7-mgfcode w7-mgfcode merged commit 2615176 into dev May 26, 2026
8 checks passed
@w7-mgfcode w7-mgfcode deleted the docs/initial-41-drift-patch branch May 26, 2026 14:40
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