Repository navigation
docs: fix docs that contradict the code (salvaged from #2107) - #2144
Merged
Merged
Conversation
Correct statements verified against the current code, and carry over the two sections from #2107 worth keeping: - HTTP run controls: the public reference and two architecture pages documented /approve, /cancel, /steer, and /cancel-steer, removed in #1725. Document the registered controls/resolve-ask, controls/cancel, controls/steer, and controls/cancel-steer routes with their required expected_run_id, bodies, responses, and 409 stale_run_control; steer no longer promotes to a new run. - Placement: server.Config.EnvironmentResolver no longer exists. Reattachment goes through the required PlacementProvider's PlacementReattacher capability and fails closed; a zero ref is rejected, not backfilled. Same fix on the public execution page. - Caller identity: identity alone is attribution; refusal comes from caller ownership enforcement when an OIDC verifier is wired. - Scheduler delivery queue: durable only with a local store directory; Redis-backed deployments use an in-memory queue. - Redis read ledger: name the opt-in flag. - apps/README.md: Studio boundary section (exact SDK pin, Biome import rules); task studio:check is the local gate, CI runs more. - deployment-and-hardening.md: command-runner credential-grant section. Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 of 5 tasks
peppescg
approved these changes
Oct 7, 2026
Merged
2 tasks
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes documentation that contradicts the current code, and carries over the two sections of the draft #2107 worth keeping. Every claim below was checked against the code on
main.Doc-vs-code fixes
user-docs/reference/http-sse-api.md(public),docs/architecture/api-surface.md,docs/architecture/agent-loop.md,user-docs/building/what-you-get/agent-loop.mdPOST /v1/sessions/{id}/approve,/cancel,/steer,/cancel-steer, with optionalexpected_run_idand steer promotioncontrols/resolve-ask,controls/cancel,controls/steer,controls/cancel-steer;expected_run_idis required; a stale or too-late control returns409 stale_run_control; steer never promotes (internal/adapter/server/http.go,service.go). Clients following the old reference got a 404.docs/architecture/ports.md,user-docs/features/execution-environments.md(public)server.Config.EnvironmentResolver; a zero ref is backfilled on next saveEnvironmentResolverno longer exists. Reattachment goes through the requiredPlacementProvider'sPlacementReattacherand fails closed; a zero ref is rejected (internal/adapter/server/placement.go)docs/architecture.mdcaller identitydocs/architecture.mdscheduler deliverybuildDeliveryQueue)docs/architecture/ports.mdmecak8s --redis-read-ledgerapps/README.mdtask studio:checkis "what CI runs"; SDK "by a semver range"Carried over from #2107
docs/architecture/deployment-and-hardening.md: a "Command-runner environment and credential grants" section. It covers which runners receive operator-granted credentials, which harness credentials are never restorable, and that scrubbing is not an OS sandbox. All symbols re-verified onmain.apps/README.md: a "Boundary" section covering published SDK only, the browser never talking to Mecatl, and the local gate. Also drops the ADR 0351 / acceptance-plan references.Checked and not needed
PR 4 also flagged ACP
Content-Lengthframing and a ToolHive WARN/INFO claim. Neither appears onmain; they existed only in the deleted ADRs. The rest of #2107 (ADR-citation rewrites, the resource-lifetimes inventory) is intentionally dropped; the planned lean docs rewrite replaces those pages.Test plan
task docs: instruction-files ok; matlatl strict 0 broken / 0 orphanstask site:build: Docusaurus build passes (broken links throw)go test ./internal/adapter/ -run TestRedisFollowCapacity_Scenario4(Go-version prose in edited pages)internal/adapter/server/http.go: no documented route is missingUser-facing change
The public HTTP/SSE reference now documents the routes and request bodies the server actually accepts.
🤖 Generated with Claude Code