fix(gateway): expose canonical tool-ledger ingest CLI - #1008
Merged
Conversation
Restores the documented Spawner-to-Builder ledger bridge with bounded JSON input, schema/kernel validation, and stdin regression coverage.
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
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.
What changed
spark-intelligence gateway ingest-tool-ledgercommandWhy
The merged R30 Spawner emits its canonical governed tool ledger through this documented Builder command. Builder already contained the validated ingest service and route, but the CLI parser and dispatch registration were missing, so the real Spawner-to-Builder path exited before validation or persistence.
This restores that existing integration contract without weakening Governor authority or creating a competing ledger implementation.
Validation
119 passedacross:tests/test_gateway_tool_ledger_cli.pytests/test_gateway_routes.pytests/test_cli_smoke.pyac00bb29078a797dc28c42ddb37be0bfd475cdc6ebf4d59293e60cd4d743706aa2a8b3ec51e2e62e9e391e887c743e19f08651eec1bef5002387ff79683bf6e1spawner.dispatch/launches_missionbound ledger persisted through the installed Builder CLI with exact identifiers andnot_startedstatus24,409The cross-repository proof explicitly pinned merged Harness
f3641143f1c3f28f55178faefcea57fd443c98bc. A stale local Harness checkout was also detected and remains a separate supervised runtime-sync gate; it is not hidden or overwritten by this PR.Rollback
Revert the single PR commit. The existing ingest service and route remain intact, while the CLI command becomes unavailable again. No public points or production runtime state are changed by this PR.
Credit
No new point proposal in this batch. Contributor credit remains append-only and will be proposed only after adopted work is shipped and deduplicated.