Repository navigation
docs(contracts): add the ui-feedback owner doc for in-page notes on non-final UIs - #15854
Conversation
…on-final UIs Owner doc for lib/ui-feedback/: the sandboxing host page, frame helper, note and controls schemas, and notes bridge app that skills rendering a mockup, prototype or design exploration share. States the single homes for the note contract, controls manifest and state snapshot, the trust rules, plugin-level settings, consumers and adoption. Adds the convention registry row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RMa441DjEpRv9hNsFAwXss
Codex Review Summary: ✅ CompletedThis 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. |
Lane-Activity: pr-refine/fix-docs
|
claude-security-review reviewed Security review: PR #15854 (incremental, 82b0948 → bc77148)No security issues found. This lane already reviewed an earlier head, so this pass reported only blocking findings (CRITICAL and IMPORTANT). Scope: one changed file, What I checked
Follow-up (from the earlier review, still open): these rules only take effect once slice S1 builds critical-findings: 0 |
|
claude-review reviewed Code review (incremental: 82b0948 → bc77148, blocking only)Scope: one file changed since the last review, The change: five lines added to the "Claude-interactive tier is open only to builder pages" bullet (L56-L60). They name the ui-feedback host page as the one checked-in exception and say that the framed K0/K1 page still carries no What I checked (with Read/Grep):
Findings: none blocking. Closing issue: none. The PR context says there is no related issue, so there are no acceptance criteria to check. Trusted paths: the changed file matches no trusted-path glob. Verifier dropped 0 of 0 candidates. |
… tier rule The rendered-views contract said only builder pages reach the Claude-interactive tier, which contradicted the ui-feedback contract's host page. The tier rule now names that one checked-in exception and keeps the framed page's own limits. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RMa441DjEpRv9hNsFAwXss
…ic-software/claude-code-plugins into docs-ui-feedback-owner-doc
No related issue: slice S0.5 of the prototype feedback-picker plan
Summary
Adds the owner doc for a new shared concern,
lib/ui-feedback/: the in-page feedback parts (a checked-in host page that frames a model-written page in a sandbox and sends notes itself, a frame helper, the note and controls schemas, and the notes bridge app) that every skill rendering a non-final UI consumes.docs/plugin-philosophy.md"Convention registry" requires an owner doc before a second plugin adopts a shared concern; this lands it and adds the registry row. No code changes here. The next slice, S1, creates the files the doc names underlib/ui-feedback/and movesplugins/planning/shared/web/proto-pin.jsthere.Fix
docs/contracts/ui-feedback/README.md. It states, each once: what the concern owns; where the canonical files live and how consumers take copies throughscripts/shared-copies.txtand the sync gate; the note contract's single home (note.schema.json, limits read from it, one fixture set run against every validator); the controls manifest and type registry; the single state-snapshot function; the trust rules; which settings stay plugin-level; the consumers and how a new one adopts; and what is deferred (planning's annotate endpoint).docs/plugin-philosophy.md: one registry row pointing at the new doc.Verification
markdownlint-cli2on both files: 0 issues.lychee --offline --include-fragmentson the new doc: 11 links, all OK, anchors included. Paths that S1 creates are code spans, not links.What the doc points at instead of restating (no rule, limit, CSP string or schema is copied from another doc):
scripts/shared-copies.txt:1-4;scripts/sync-shared-copies.sh:5-7(--check,--check-bump); ADR 0019.lib/session-bridge/README.md:19-22.lib/session-bridge/README.md:122-170("The view app").lib/session-bridge/README.md:44-56;lib/session-bridge/session_bridge.py:237,:469-475,:492-494.lib/session-bridge/README.md:114-120;session_bridge.py:63-70(DATA_NOTE);docs/contracts/untrusted-content/README.md"The framing contract".connect-src:docs/contracts/rendered-views/README.md:124-132.plugins/planning/shared/README.md:461-469;plugins/planning/shared/web/proto-pin.js:1-8.docs/contracts/rendered-views/README.md:164-168(interactive profile rule 1).docs/contracts/rendered-views/README.md:116-123.docs/contracts/config-cascade/README.md:16("Boundary").Two places where the rendered-views contract does not yet cover this design. This PR flags them and does not amend that contract:
docs/contracts/rendered-views/README.md:51-56opens the Claude-interactive tier only to builder pages served by the view app. The ui-feedback host page is checked-in code but is not built by the builder. The planning shared page is the existing precedent for a checked-in host page.docs/contracts/rendered-views/README.md:283-288) bars page-derived strings. The doc allows text quotes and accessible names from model-written K0/K1 pages only. The rendered-views amendment that says so lands in the slice that adds those note fields.Related
lib/session-bridge/README.md,docs/contracts/rendered-views/README.md,docs/contracts/untrusted-content/README.md,docs/contracts/config-cascade/README.md.🤖 Generated with Claude Code
https://claude.ai/code/session_01RMa441DjEpRv9hNsFAwXss