Repository navigation
feat(deploy): provision-semantic-content production operation - #29
Merged
Merged
Conversation
Add `graph-os-production-ops provision-semantic-content`. Under GraphOS's own verified process session and the served engine bootstrap it idempotently ensures the tenant graph and the served `__commons__` registrations for each semantic content provider, obtains EG's catalog binding through ConnectorPack.attest_self_served_catalog (pinned to the exact server entry of the pack it imports), imports through the SDK sink under AU's policy-gated pack_import_authority with the EG owner principal, reprojects and attaches each pack to the session graph, and exits non-zero unless verify_semantic_content passes. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Knucklessg1
marked this pull request as ready for review
October 6, 2026 18:12
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Adds
graph-os-production-ops provision-semantic-content [--served-url URL | GRAPH_OS_SERVED_MCP_URL].It runs under GraphOS's own verified process session (
runtime._mint_process_session) and the served engine bootstrap (_get_engine+_wait_for_engine_materialization). Every step is idempotent:session.graph) exists, via ListGraphs, then CreateGraphTeamonly when absent.graph-os,agent-utilities) is live in__commons__. A live registration is left untouched.build_connector_content_pack) and obtain EG's binding throughConnectorPack.attest_self_served_catalog. The request pins the pack's server entry, the registry revision and digest, the registration config digest and a content digest, and is fenced by the generation read fromcatalog_authority_status. The pack is then imported through the SDKEpistemicGraphSinkunder AUpack_import_authority, with the catalog binding as that binding and the serving principal read viacatalog_request_owner_principal.attach_packon the session graph.verify_semantic_content. Any failure exits 1 with the privacy-safe JSON error report.Every EG call targets its graph with
use_session(resolve_session().with_graph(g)).Depends on (pins to bump once merged):
attest_self_served_catalogop and its generated sender)connector_pack_importon these two connectors)Tests:
tests/deployment/test_provision_semantic_content.pyexercises the real CLI entrypoint. The EG transport is faked atclient._send, so the generated senders, models and AU authority run for real. The tests cover a fresh provision, an idempotent re-run, failed verification exiting 1, the required served URL, and registration-digest canonical JSON. ruff and mypy are clean.🤖 Generated with Claude Code