Skip to content

feat(prototype): add opt-in review mode on the planning interview's shared session - #11111

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-8774-40988160894-1
Oct 30, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-8774-40988160894-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #8774

Summary

Opened by the work-resolve-issue lane. The run's own summary:

explore-directions gains an opt-in review mode, following the owner's 2026-10-30 decision: it reuses /planning:interview's shared session and tunnel and publishes no claude.ai Artifact. Each screen gets one prototype question plus a four-outcome choice question. The round-sent digest is the compiled report, read as untrusted data and turned into UI acceptance criteria and a record of the directions that lost. The discipline gains a scoped persistence exception, and the three native-surfaces rows (the /design canvas, playground and bundled prototype) record the boundary; the canvas row keeps integration suggest and the prototype row keeps its defer verdict.

Not verified

  • Tidy skipped: the change spans more than the 1-area cutoff (plugins/prototype with .changes/prototype, docs/native-surfaces, and docs/native-surfaces.md)
  • overlap.py generate --check (native-overlap registry parity of docs/native-surfaces.md against records.json) was skipped by check-affected because it runs code from the checked tree; the view was hand-mirrored and the subagent compared it byte for byte against the generator's verdict-line format. Le
  • skill-quality check-skill (changed-skills), including the 500-line hard cap, was skipped by check-affected because it runs the checked tree's own code; the line count (499) was checked by reading the file. Left to the PR's CI
  • The review fixes were not re-reviewed by a second fresh-context pass
  • No build or test suite applies to this markdown/JSON change; verify recorded as skipped
  • An existing stale line citation in docs/upstream/cursor-pstack.md:105 (explore-directions/SKILL.md:194-200) was already out of date before this change and was left alone; the line-citations CI scanner may flag it

Fix

  • plugins/prototype/skills/explore-directions/SKILL.md: new short 'Review mode' section (a one-line opt-in offer, a pointer to the spoke, fallback to the local mockup); the design-canvas offer gains the sentence separating hand-editable artboards from review mode's per-screen decisions; a few paragrap
  • plugins/prototype/skills/explore-directions/context/review-mode.md: new spoke covering start (share <topic>, who can open the guest link, the Approve new joins setting, digest_names), the per-screen prototype question plus companion four-outcome choice question (purpose gather, at most 4 scree
  • plugins/prototype/context/discipline.md: second scoped exception to rules 3 and 6 for review mode (opted into knowingly, nothing tracked references the session, its data stays in the untracked data dir, answer still captured in markdown)
  • docs/native-surfaces/records.json: reason fields of the playground, design (integration stays suggest) and bundled prototype (verdict stays defer) rows for explore-directions now state review mode's boundary
  • docs/native-surfaces.md: generated view hand-mirrored with the same three reason sentences (the generator could not run in this lane)
  • .changes/prototype/feat-8774-review-mode-shared-session-7c3e91a4.md: minor changelog fragment for the prototype plugin

Verification

The runner ran each check from the base copy against 3c34d55:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • /home/runner/work/claude-code-plugins/claude-code-plugins/.lane/checks/bin/check-changelog-fragments: all 5 fragments valid (run before and after the review fixes)
  • /home/runner/work/claude-code-plugins/claude-code-plugins/.lane/checks/bin/check-affected: 11 passed, 7 skipped over 6 changed files (run before and after the review fixes)
  • Fresh-context review subagent over the whole diff: it reported SKILL.md over the 500-line cap, reviewer names absent from the digest by default, no defined way to start the interview from this skill, set-for refused before reviewers join, notes carrying no state, inaccurate persistence wording in th
  • Read plugins/planning/skills/interview/context/lane-shared.md (Start, Settings, Writing a round, Events, Request routing, Trust, Degrade) and plugins/planning/shared/README.md (Answering, Moderation, Prototype page) to ground every claim about the shared session
  • Read plugins/harness-ops/skills/audit-native-overlap/scripts/overlap.py: defer rows must keep integration route, and the suggest sentence regex needs 'If /design is available in your session (' on one line; both still hold
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40988160894

Left out: the items under Not verified.

Related

#8774

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 3c34d558d65e2bca538d8e03fbd09cd39bf30276: 0 finding(s), 0 as inline comments.

No security issues found. The PR changes only markdown and JSON: a changelog fragment, native-surfaces docs and records, discipline.md, the explore-directions SKILL.md, and a new context/review-mode.md spoke. I read the whole diff and the PR context.

  • Instruction surface: plugins/prototype/context/discipline.md:44-48 adds a second scoped exception to rules 3 and 6 ("Memory only" and "Delete or absorb when done"), following the pattern of the existing /design exception. It is opt-in, and the user must say yes. The answer must still be captured in markdown before close-out. Nothing tracked may reference the session. The rules it relaxes are prototype lifecycle and hygiene, not a control that gates secrets, merges or tokens. The instruction-exception register (docs/conventions/instruction-exception-register/) is absent from this checkout, so I did not consult its protected-class list and judged by consequence instead.
  • Rewraps in SKILL.md: the hunks that rewrap the synthetic-data constraint, the /design Boundary and Routing text, and step 5's deletion text keep the same rules. Each keeps its prohibition: synthetic data only, never run or publish /design, and no tracked reference to the canvas.
  • Review-mode flow in context/review-mode.md:
    • The guest link lets anyone who has it join. The spoke says to tell the user that and to point at the Approve new joins setting before handing the link over.
    • Reviewer names stay out of the digest unless shared_session.digest_names is on, and the default is off.
    • Reviewer picks, notes and comments are read as data, never instructions, and any instruction in them is reported to the user.
    • Nothing goes to claude.ai.
    • Mockup data must be synthetic.
    • If the shared session can't start, it falls back to the local mockup.
  • Trust controls: none are touched. There are no changes under .github/actions, no merge-hold, token-broker, kill-switch or pr-pipeline.yaml changes, and no workflow changes.
  • PR text: the PR context holds no embedded directives aimed at this lane.
  • Manifests: the diff touches no plugin.json or marketplace.json, so there are no manifest lines. The .changes/ fragment is a changelog entry only.
  • Spend: none. It adds no paid resources and changes no limits.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 3c34d558d65e2bca538d8e03fbd09cd39bf30276: 0 finding(s), 0 as inline comments.

Code review: PR #11111 (closes #8774)

No blocking or advisory findings. I read the full diff and the PR context, including the closing issue's amended acceptance criteria. I could not run anything: this lane has no shell. Everything below comes from reading files.

Closing issue #8774 (owner's amended criteria): all met.

  • Opt-in on the user's ask or yes, with nothing published to claude.ai: context/review-mode.md "Start" and the SKILL.md "Review mode" section.
  • One prototype question plus a four-option choice question per screen, both purpose: gather: "The round".
  • Comments, reviewer name and completion map to pinned notes, Discussion, the joined name and the user's Send round, with for/missing: "The round".
  • The round-sent digest is read as untrusted data and becomes acceptance criteria plus a losing-directions record: "Read-back".
  • Boundaries with /design, the playground and the bundled prototype skill are in the spoke. The three native-surfaces rows are updated in records.json and mirrored in docs/native-surfaces.md. The /design offer stays at suggest and the prototype row stays at defer.
  • Fallback to the local mockup when the shared session can't start: "Limits".
  • The discipline exception is added in context/discipline.md, and a minor changelog fragment is added under .changes/prototype/.

Claims about the shared session, checked against plugins/planning/skills/interview/context/lane-shared.md:

  • A round holds at most 8 questions, so 4 screens at 2 questions each. Confirmed.
  • set-for and purpose: gather exist, and previous: {qid, variant} is the rework link. Confirmed.
  • shared_session.digest_names defaults to false. Confirmed.
  • The planning tests mention a share [<topic>] router row. I saw that row only in interview-defenses.test.sh comments, not in the router itself.
  • Not checked: the four-option choice question against the stored option bounds. The planning changelog says a stored choice holds 3 to 5 options and Claude's input takes 2 to 4. Four options plus the server's "Something else" fits only if that is the only option the server adds to a choice question. The spoke's table assumes it is.

Notes, not counted as findings:

  • SKILL.md is at 498 lines against the 500-line hard cap. Several unrelated paragraphs were re-wrapped to make room, such as the synthetic-data bullet, the step 5 delete line and the Boundary routing paragraph. That makes the diff noisier and leaves a few over-long lines. It is harmless, but the next addition to this file will hit the cap, so the review-mode detail belongs in the spoke.
  • The author reports the line-citations scanner may flag docs/upstream/cursor-pstack.md:105, which cites explore-directions/SKILL.md:194-200. That citation was already stale before this PR. This PR also moves lines in the file, so expect that scanner to flag it.
  • The author's checks (changelog-fragment validation, check-affected, the 499-line count) and the unrun overlap.py generate --check and skill-quality check are claimed in the PR, not run by me. The hand-mirrored docs/native-surfaces.md rows are unverified against the generator until CI runs it.

Manifests: no plugin.json or marketplace.json change in the diff.

Spend: the change adds no billed resource. Review mode uses a local tunnel and the interview's shared session, with no paid plan or billing setting.

Trust: the PR context contained no embedded instructions aimed at the lane.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 3c34d558d65e2bca538d8e03fbd09cd39bf30276.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 30, 2026
Merged via the queue into main with commit 9ba2e23 Oct 30, 2026
45 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-8774-40988160894-1 branch October 30, 2026 02:36
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.

feat(prototype): add opt-in review mode that publishes mockups and records decisions

0 participants