Skip to content

docs: record the deferred solution method-policy questions in-code (#297) - #298

Merged
antoinetoussaint-byte merged 2 commits into
mainfrom
issue-297-record-deferred-solution-policy-questions
Aug 17, 2026
Merged

docs: record the deferred solution method-policy questions in-code (#297)#298
antoinetoussaint-byte merged 2 commits into
mainfrom
issue-297-record-deferred-solution-policy-questions

Conversation

@antoinetoussaint-byte

Copy link
Copy Markdown
Contributor

Closes#297.

Summary

  • Issue solution: remaining method-policy open questions (successor to #295) #297 is a cross-repo tracker: every one of its four tasks needs a caller that does not exist in core — the CLI solution command group (in the codefly binary repo) and the host executor. I confirmed nothing in core drives the lifecycle through solution.Client or any ceiling; only the definitions and the interceptor install in agents/manager/loader.go exist. So there is no substantive code deliverable in core for these tasks, and none is fabricated here.
  • The load-bearing assumptions the tracker worries about are already regression-guarded by tests (TestSolutionRPCMethodPolicyIsMachineEnforceable pins Render = REGISTRY_READ/LOCAL_WRITE; TestOperationCeilingsAdmitExactlyTheirRPCs pins the Inspect < Scaffold < Render < Publish cut). What was not recorded anywhere durable is the reasoning that these are provisional — it lived only in the transient solution: wire first host caller and settle the method-policy open questions #295refactor: collapse the Solution two-API split onto solution.Client (#295) #296solution: remaining method-policy open questions (successor to #295) #297 trackers, which is exactly what the tracker feared losing.
  • This gives that reasoning a durable home next to the enforcement code, and sharpens one doc comment that over-stated the guarantee: the Ceiling doc claimed the constructors give the ceiling "a provenance," but that is only intent provenance (which operation a caller named). The gate enforces caller-asserted intent, not an authority-derived grant — a real trust-boundary caveat a reader of EnforcingClientInterceptor should not miss.

What is not done here (remains open, cross-repo)

Per the issue's own premise, all four tasks "only become answerable once a real caller exists," and that caller is not in core:

  • Wire the first host caller — the CLI solution command group lives in the codefly binary repo.
  • Validate the ceiling vocabulary / Confirm the Render network assumption — both need the real host operations and the host executor implementation.
  • Give the ceiling a real provenance — needs the consumer to shape it at a trusted chokepoint.

Closing #297 discharges its role as a core-side placeholder (the deferred design context now lives in the code); the actual work moves to the repos where it can be done. If the team would rather keep #297 open until the cross-repo caller lands, drop the Closes #297. line on merge.

Test plan

  • go build ./solution/...
  • go vet ./solution/...
  • go test ./solution/... (documentation-only change; behavior and existing guard tests unchanged)

🤖 Generated with Claude Code

)
The four remaining tasks from #295 are cross-repo (the CLI solution
command group and the host executor) or consumer-dependent, so they have
no substantive code deliverable in core. Give them a durable home next to
the enforcement code so closing the tracker loses no context, and sharpen
the Ceiling doc that over-stated "provenance": the gate enforces
caller-asserted intent, not an authority-derived grant.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…us (#297)
The review found the added package-doc paragraph reported cross-repo
*status* ("stay provisional until", "nothing yet binds", "still-open
step", "do not exist in this repo yet") for work that happens in another
repo. No change in core would ever prompt updating it, so it goes false —
and actively misleading, right beside the enforcement code — the day the
codefly CLI wires a real provenance-derived ceiling. Reshape to the
durable design properties instead: the gate enforces caller-asserted
intent (not authority), and the tier cut plus Render's REGISTRY_READ vs
OFFLINE classification are the consuming host's to establish.
Also collapse the re-derived artifact_reference rationale to a pointer at
solution.proto, its source of truth, so the two copies can't drift; and
align the TestOperationCeilingsAdmitExactlyTheirRPCs comment on
"intent-provenance" so the test's vocabulary matches the type doc.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@antoinetoussaint-byte
antoinetoussaint-byte merged commit 8d5e360 into mainAug 17, 2026
1 check passed
Sign up for freeto 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.

solution: remaining method-policy open questions (successor to #295)

1 participant

@antoinetoussaint-byte