Skip to content

Studio map: Still true? rows in Ratify with Accept and Overturn #698

Done

Description

@danielrispler

Parent

#687

What to build

A flagged still-true item shows in the PR brief's Ratify step as a Still true? row, which Daniel accepts or overturns. A still-true review that finds nothing shows nothing.

  • Each flagged still-true item from pr_map_review's view (ticket 1) not yet decided is a row in the Ratify step, titled by its kind and the map's name for it (the part's name and "purpose", the held item's name, the link's ends, the law's id), with the flag's popover as a flagged changed item has: the verdict, the why, the cites and the copy icon.
  • A flag adds a Ratify step to a brief that had none.
  • Accept records a ratify decision of kind still-true under the flag's ratify id and keeps the text. Overturn records it and copies a prompt, as Overturn does: the PR and its branch while open, the item's id, its text at the head, and the flag's why and cites, asking the agent to correct the map text to what the code does, or the code when the text states the intent.
  • When the review's only items are still-true ones, a running review and a finished review with no flag show no line and bring no Ratify step; a failed one shows its line with Run again. "Reviewing map text…" shows only on a PR with a changed item. The head line still counts changed items.

Acceptance criteria

  • A brief whose review has a flagged still-true item shows a Still true? row with its popover; a decided one is not shown.
  • Accept and Overturn store a still-true decision; Overturn copies the prompt above.
  • A still-true-only review that is running, or done with no flag, adds no line and no Ratify step; a failed one shows its line and Run again.
  • In ui/tests/map-brief.test.mjs, driven through the review's state, not the player alone: on a still-true-only PR with the brief open on a failed review's Ratify step, Run again makes the review running, the step goes, and the brief stays open on its new last step; and the mirror, a still-true-only review ending with a flag while the brief is open adds the step and redraws the dots.
  • Two snap fixtures beside mapBriefReviewFlag: a flagged Still true? row with its popover open, and a brief that gains a Ratify step only from such a flag.
  • docs/studio/behaviour/pr-briefs.md describes Still true? rows.
  • Run each new test red, an assertion failure, not an import failure, before writing its fix.

Reading

Touches

  • Files: ui/ratify.ts, ui/map-ratify.ts, ui/map-brief.ts, ui/map-brief-player.ts, ui/tests/map-brief.test.mjs, ui/tests/ratify.test.mjs, ui/tests/map-ratify.test.mjs, scripts/snap/fixtures-brief.ts, scripts/snap/fixtures.ts, docs/studio/behaviour/pr-briefs.md
  • Session: auto mode
  • Route: medium · effort medium — a new condition on the existing Ratify step, tested changing while the brief is open (Workflow: /to-tickets slices by risk, and Risky UI names a mechanism, not a condition #695)

Activity

  1. added
    ready-for-agent
    on Nov 26, 2026
  2. danielrispler commented on Nov 27, 2026

    @danielrispler
    OwnerAuthor

    Resolved by #715 (fd109bc): flagged, undecided still-true items are Still true? rows in Ratify with Accept/Overturn (kind still-true), the step's copy covers them, and a still-true-only review adds no line unless it fails. Final-review fixes (072b33c): a row decided this session stays with its copy-by-hand note, Run again tested through the page's reply path (dots not drawn by the test DOM).
    Route outcome: medium·medium claude/sonnet → pass | 8m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions