Skip to content

Read-only inspection without the revision pin; plan-feature matches extension authoring surfaces (#910, #913) - #920

Merged
jimhoyd merged 6 commits into
mainfrom
claude/pin-free-planning
Sep 29, 2026
Merged

jimhoyd merged 6 commits into
mainfrom
claude/pin-free-planning

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

Fixes #910 and #913, both found by the #841 agent trial.

#910: read-only inspection without the revision pin

  • Inspection mode: explain, plan-feature, context, review, report, studio, openapi, extensions and the mcp server load --host-file this way (inspectionHostCommands). With no --policy or PROJECT_SHA256, composeHost registers extensions with a fixed placeholder revision, the SHA-256 of urlcode:unpinned-inspection, which can never be a real project revision.
  • Serving still needs the pin: prepareExtensions refuses the placeholder first, with revision-pin-required. That covers serve, dev, validate (with and without --local), test, routes, audit, benchmark and the MCP test runner.
  • Reporting: explain shows revisionMatch: false, and extensions prints "revision NOT pinned".
  • Pin message: the refusal now names urlcode permissions --project app, which prints the revision.
  • --expect-routes sync: extensions add and remove adjust the count, from declared routes plus active site.* conventions, in three places: the package.json audit script, the generated workflow, and the AGENTS.md audit line. A count the operator hand-edited is left alone, and the notes list the changed files.

#913: plan-feature uses extension authoring surfaces

  • goals: authoring surfaces can list goals, up to 32 lowercase words, validated. The release catalog now carries each extension's authoring contract.
  • Lookup order: the loaded registration, then the installed descriptor, then the catalog. The source is reported.
  • Plan output: matched surfaces appear in extensions.surfaces and the outline, and the plan requires those extensions. With no recipe match, it offers recipes built on the matched extension.
  • Vocabulary lives in descriptors: the store contract is split into collections, ownership, transitions (by: others, members), membership, readers, shortLinks and mount. Auth's route protection covers signed-in, owner and reviewer goals.
  • Results on the trial's goals:
    • Notes: requires auth and store, suggests ownership, and ranks store-crud first.
    • Approval: requires auth and store, suggests transitions, membership and readers. Contact-form no longer appears.

Evidence (macOS, Node 26)

Limits

A host file is imported once per process, so an unpinned inspection load followed by activation in the same process refuses. That is the safe direction, and it predates this change.

🤖 Generated with Claude Code

jimhoyd and others added 2 commits September 29, 2026 08:54
…m extension authoring surfaces (#910, #913)

#910: explain, plan-feature, context, review, report, studio, openapi,
extensions and the mcp server load --host-file in inspection mode. With no
--policy and no PROJECT_SHA256, composeHost composes registrations with a fixed
unpinned inspection revision instead of refusing; prepareExtensions refuses such
a registration before any other check (revision-pin-required), so serve, dev,
validate, test, routes, audit and the MCP run_tests runner still need the pin.
The pin refusal now names `urlcode permissions --project app`, which prints the
revision. extensions add/remove move the generated --expect-routes counts
(package.json audit script, CI workflow, AGENTS.md) by the routes they write.

#913: authoring surfaces may declare planner `goals`; the release catalog
carries each extension's authoring contract. plan-feature matches the goal
against the registered, installed or catalog contracts, lists matched
`extensions.surfaces` with outline entries and requires those extensions. The
store splits its contract into collections, ownership, transitions, membership
and readers surfaces; auth's route protection covers signed-in/owner goals.

Core and store package budgets raised with measured comments.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…); re-measure core budget

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jimhoyd
jimhoyd enabled auto-merge (squash) September 29, 2026 14:05
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.

Fresh sites: npm scripts and read-only planning fail on missing revision pin/origin after extensions add

1 participant