Conversation
📊 cpp-sdk doc-test reportThe real accounts module, run through a logoscore daemon with the whole stack built against this commit of the C++ SDK — rendered alongside the commands actually run and their output (updated each run, commit Pages can take a minute to update after the run finishes. |
dlipicar
force-pushed
the
feat/runtime-process
branch
from
October 3, 2026 12:48
e106edb to
1cb7a74
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The generated glue exports logos_module_set_configuration, optional and looked up by name like the runtime delegate (guarded on protocol 0.13). It stores the host's document under the context lock, refuses JSON it cannot parse and refuses once the context has fired; the one-shot latch sets it before the context, so onContextReady() already sees it. The latch now checks and fires under that lock, so a race cannot fire it twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scoped is true only for "scoped":true in the caller document, which the target's runtime writes when the call passed a method-list grant; a failed arm resets it with everything else. A not_authorised refusal keeps its code through LpClient's error channel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
moduleConfigs (module name -> one JSON document) goes to a separate runtime as the module_config spawn key, and in-process through logos_core_set_module_config. logos_core_set_access_policy now returns int, and a refusal throws like every other protected input. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dlipicar
force-pushed
the
feat/method-scopes
branch
from
October 3, 2026 14:19
0d028fb to
314a0a8
Compare
This branch has not been 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.
Part of the method-scoped grants and per-module configuration layer (
feat/method-scopes). Stacked on #171 (feat/runtime-process); the diff shows only this layer. Relocked onto logos-protocol#101.What changes
Module configuration:
LogosModuleContext::configuration()logos_module_set_configuration(const char*).logos_module_set_runtime_delegate, so the module-impl-abi check is unaffected.lp_*._logos_codegen_::maybeSetConfiguration) beforemaybeSetContext. SoonContextReady()already seesconfiguration().LogosCaller::scoped"scoped":true. The target's runtime writes that when the call passed a method-list grant for exactly this method (logos-protocol#101).true, on any arm that parses. A failed arm resets it with everything else.not_authorisedLpClient's error channel to the generated wrappers. A new test pins it.LogosCoreConfig::moduleConfigsmaps each module name to one JSON document.module_configspawn key.logos_core_set_module_config.logos_core_set_access_policynow returnsint, and a refused policy throws like every other protected input. It is refused when malformed or when its mode is unknown.Verification
checks.tests(399/399),checks.module-impl-abiandchecks.generator-cliall pass.onContextReady()is tested end to end downstream:🤖 Generated with Claude Code