fix(planning): flag a group summary written before questions were added - #5490
Conversation
…it drifts put_group stores the sorted ids of the group's questions as summaryOf whenever a summary is written, add-round re-records it after its questions land, and add warns once per group when questions arrive that the summary predates. Refs #5451 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The surface marks a group's summary hint with a Stale chip when the group's current question ids differ from its recorded summaryOf. A group with no summaryOf is never flagged. The interview surface reference names summaryOf. Refs #5451 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…oup summary flag Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6a4c8eca2d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y-stale Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Claude finished @kyle-sexton's task in 3m 11s —— View job Code Review (
|
|
Claude finished @kyle-sexton's task in 1m 25s —— View job Security review complete ✅
Scope reviewed: all 9 changed files ( Findings: none. This change adds a computed
The one real defect on this diff — the earlier No auth/authorization boundaries, injection surfaces, or credential handling are touched by this PR; |
…y-stale Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Claude finished @kyle-sexton's task in 1m 7s —— View job Security Review (
|
|
Claude finished @kyle-sexton's task in 2m 19s —— View job Code Review (
|
…y-stale Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Claude finished @kyle-sexton's task in 1m 7s —— View job Code Review (
|
|
Claude finished @kyle-sexton's task in 1m 2s —— View job Security Review (
|
…y-stale Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Claude finished @kyle-sexton's task in 1m 8s —— View job Security Review (
|
|
Claude finished @kyle-sexton's task in 1m 35s —— View job Code Review (
|
Closes #5451
Summary
A group's
summaryin the interview surface kept describing the old question set after questions were added to the group, and nothing prompted the session or the page to refresh it.Fix
round.py: writing a groupsummaryrecords the group's current question ids assummaryOf(schema extended).addandadd-roundprint a warning when a question lands in a group whose summary was written for a different set, naming theround.py group --summarycommand that refreshes it.index.html: the group hint shows a Stale chip while the group's members differ fromsummaryOf, like the per-question stale flag.interview/context/surface.mddocuments the behavior;tests/ui_a.jsadds a browser check.planning0.47.0 to 0.47.1 with a CHANGELOG entry.Verification
python3 -m unittest test_round test_schema test_server test_exportersinplugins/planning/surface: 357 tests OK (1 skipped).scripts/check-changelog-parity.sh --check --check-order: passes.scripts/validate-plugins.sh: all manifests and the catalog validated.tests/ui_a.js(run bysurface.test.sh): not confirmed locally, the run had not finished when this PR was opened. CI skips the browser checks by design.Related
Refs #5191 (parent). Merged origin/main, resolving one conflict in
op_add(kept both the stale-summary warning andcheck_primaries).🤖 Generated with Claude Code