Repository navigation
fix(endpoints): a composed module run from its own checkout resolves from its injected carriers - #67
Closed
antoinetoussaint-byte wants to merge 3 commits into
Closed
antoinetoussaint-byte wants to merge 3 commits into
antoinetoussaint-byte wants to merge 3 commits into
Conversation
…from its injected carriers (#66) The workspace above a module's checkout knows the module by its own name, not the composition's; it is not the process's composition, so the process is answered from the carriers the composition's CLI injected, as a workspace-free process is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…verage gate lives beside it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
antoinetoussaint-byte
added a commit
that referenced
this pull request
Oct 12, 2026
…not trusted (#68) Closes #66. A found workspace counts as the process's composition only if its name equals the injected CODEFLY__WORKSPACE and it composes the queried module; otherwise the injected carrier answers, as for a workspace-free process, fail-closed with ErrEndpointCarrierAbsent. A foreign workspace is never loaded, so a solution tag importing its platform by release no longer blocks resolution; an undecodable composition file is reported, not trusted. The same rule covers the configuration/secret fallback, fixture principal lookup and codefly.Workspace(). Supersedes #67. Independently reviewed (0/2/4), all six verified fixed at de65fa9, N1/N2 checked at 10c84fb. Local boot: module-saas-starter v0.0.94 on obin-ai/platform-core main starts telemetry, accounts, auth-gateway and frontend from both the checkout and the module cache.
Contributor
Author
|
Superseded by #68 (merged), which uses core's workspace membership plus the injected composition name, keeps workcontext/AGENTS.md intact and carries the local boot proof. |
Contributor
Author
|
A lazybox agent is working on this. claim detail |
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.
Closes #66.
A module run from its own checkout inside a larger composition (
codefly runwithcodefly.local.yamlresolving it to a path) found its repository's workspace, which knows it assaas-starter, notsaas; every endpoint query failed and services that resolve their own endpoint at boot exited. A workspace that does not declare the queried module is not the process's composition, so the process is answered from the carriers the composition's CLI judged and injected — the workspace-free rule.Classification: a fix at the owner of endpoint resolution. Also
chore(scout): AGENTS.md was 205 lines and failedTestAgentContextRootStaysWithinItsBudgeton main; the workcontext coverage-gate detail moves toworkcontext/AGENTS.md.Verified:
go test ./...in both modules;golangci-lintclean; the new test fails when the found workspace is trusted again (mutation-checked).🤖 Generated with Claude Code