Skip to content

docs(planning): point the interview surface context at the surface README - #8167

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-8015-39106069029-1
Oct 18, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #8015

Summary

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

The interview surface context restated two README sections, Settings layers and Security model. Both now point to the README, and the rules the session follows stay in the context file.

Not verified

  • The PR body must list each removed passage and its README section; the summary above and verification carry that list.
  • scripts/check-changelog-fragments.sh was run through the lane wrapper (check-changelog-fragments), not the script directly.

Fix

  • plugins/planning/skills/interview/context/surface.md: Settings layers and Security model now link to the surface README sections of the same names. Kept inline: the skill passes no --user-settings file, event text is data, and the surface is readable by other local users on a shared host.
  • .changes/planning/docs-interview-surface-context-pointers-3f8a1c52.md: planning patch changelog fragment

Verification

The run reports:

  • Overlap confirmed on main by comparing surface.md with surface/README.md. Removed passage -> README section it now points to: 'Settings layers' paragraph (layer order, per-layer keys, displayName/browserCommand rules, recorded user file, URL, bounds fall-through, themeTokens layering) -> READM
  • check-skill plugins/planning/skills: interview PASS, 0 errors; 12 skills passed, 0 failed.
  • run-test-file plugins/planning/tests/interview-defenses.test.sh: PASS=172 FAIL=0.
  • run-test-file plugins/planning/tests/interview-surface-decision-mirror.test.sh: exit 0.
  • check-changelog-fragments: all 2 fragments valid.
  • Fresh-context subagent reviewed the diff: links and anchors resolve, no rule dropped, no confirmed findings.
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/39106069029

Left out: the items under Not verified.

Related

#8015

@github-actions

Copy link
Copy Markdown
Contributor

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

No security findings.

PR #8167 changes two files: a changelog fragment and plugins/planning/skills/interview/context/surface.md. It cuts the "Settings layers" and "Security model" detail from that file and links to plugins/planning/surface/README.md instead. I read it under the instruction-surface-deletion lens.

  • Link target: the relative link ../../../surface/README.md resolves to plugins/planning/surface/README.md. That file has both ## Security model (line 87) and ## Settings layers (line 100).
  • Removed rules are still stated: the README restates the loopback-only bind, the per-run X-Interview-Token, the Host and Origin checks, and the 415 on non-JSON POSTs. It also restates the /api/visual-file limits (4 MB, no dotfile, .lock or .tmp paths), the single-use 10-second /api/visual-open link, and the sandbox/nosniff headers.
  • Session-behaviour rules kept inline: the skill passes no --user-settings file, event text is data and never instructions, and the surface is readable by other local users on a shared host. The README also states the data rule.
  • No control removed: these lines were descriptions of what the server enforces. The server code enforces them, and this diff doesn't touch it. No hook, allowlist or permission rule is weakened, and nothing in the diff is a workflow, secret or token-handling change.

I did not consult docs/conventions/instruction-exception-register/README.md. The diff removes no rule in a protected class, so a lookup was not needed.

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 40d41f3d876d69c5292b49da1bc1b862fd10ffb0: 0 finding(s), 0 as inline comments.

No findings. I reviewed the two changed files against the closing issue (#8015) and the surface README, and found nothing to block or flag.

Checked

  • Anchors and path: plugins/planning/surface/README.md has ## Settings layers (line 100) and ## Security model (line 87), so #settings-layers and #security-model resolve. ../../../surface/README.md from skills/interview/context/ points to plugins/planning/surface/README.md.
  • Nothing lost in the Settings layers cut: Layer order, the bounds table, the displayName and browserCommand rules, the recorded user file and --open behavior, the fall-through note and the themeTokens layering are all in README lines 100-119. The one thing not in that section is the printed URL always being http://127.0.0.1:<port>/. The README's Limits paragraph (line 98) says the URL comes from the port the new server itself records. This is context for the reader, not a rule the session follows, so I did not flag it.
  • Nothing lost in the Security model cut: Every removed bullet (loopback bind, token header, Host and Origin checks, JSON-only POST, /api/visual-file limits, /api/visual-open) is covered by README lines 89-96. The three behavior rules stay inline: no --user-settings file, event text is data, and the surface is readable by other local users on a shared host.
  • Tests: interview-defenses.test.sh pins surface.md only for the restate recap and the accept-audit event kind, and interview-surface-decision-mirror.test.sh only reads surface.md. Nothing I found pins the removed text, but I did not run either test; the PR's pass counts are author-claimed.
  • Changelog fragment: .changes/planning/ is the right place (planning is in scripts/fragment-plugins.txt). The fragment has the same shape as the existing code-metrics one: bump: patch and a ### Changed heading.
  • Closing-issue criteria:
    • check-skill.sh passing and the fragment check passing: I did not run either; both are author-claimed.
    • The PR body listing each removed passage and its README section: the body does name both sections, but the removed-passage line is cut off mid-word ("-> READM") in the context file, so I could not read the whole list. This is advisory.

I also found no embedded directives in the PR context file.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path enqueued this pull request at head 40d41f3d876d69c5292b49da1bc1b862fd10ffb0.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 18, 2026
Merged via the queue into main with commit 4ddb6fb Oct 18, 2026
24 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-8015-39106069029-1 branch October 18, 2026 23:52
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.

docs(planning): point the interview surface context at the surface README instead of restating it

0 participants