g8e v1.5.9
[1.5.9] - 2026-07-19
Overview
Documentation, protocol conformance, and generated protobuf API reference release. Expands the encryption architecture with certificate management and TLS standards documentation, consolidates the release workflow into a single make release target, adds troubleshooting coverage for CORS, Cloudflare tunnels, Docker demos, and live-swarm builds, generates protobuf Go stubs and API documentation for the common, operator, and pubsub protocol packages, and strengthens Python conformance tests with auth.json multi-wrapper validation and improved model schema field detection. Also updates the MCP tool template with conventions and operational error guidance, refines L3 Notary and governance descriptions across protocol docs, and adds g8e demos CLI commands to the finance demo.
Added
- Encryption architecture: certificate management documentation —
docs/architecture/encryption.mdexpanded with Certificate Types and Validity table (gateway serving cert 90 days, operator/CLI leaf cert 7 days, app enrollment 7 days, delegated app credential 1 hour), mTLS Enforcement section (RequireAndVerifyClientCert, TLS 1.3 minimum), SPIFFE Workload Identity section (operator, CLI, app, gateway peer, hub, user formats underg8e.localtrust domain), Trust Bundles section (gateway bundle, operator bundle, root CA mirror), Certificate Management section (CSR signing, app enrollment with delegated credentials, certificate revocation via CRL, auto-renewal within 30 days of expiry), TLS Standards section, and Certificate Expired troubleshooting. - Developer troubleshooting expansion —
docs/devs/troubleshooting.mdadded sections for: CORS and cross-origin session issues (cookieSameSite=Nonerequirements, SSEwithCredentials), WebAuthn passkey RP ID mismatch, stale trust bundle after PKI regeneration, Cloudflare tunnel issues (502 Bad Gateway, DNS record conflict, tunnel version outdated), receipt signature verification (out-of-band public key distribution), Docker demo issues (port conflicts between frontend and secure-data demos, drone simulator not running, high memory with 20 operators, Metabase startup failure, RabbitMQ management UI port mapping), live-swarm build issues (protoc version conflict with PX4, L1 doctrine compiled into binary, passkey RP origin for non-default origins), and known platform limitations (no RBAC, no Cloud SaaS, no external audits, receipt signature distribution). - Protobuf generated Go stubs and API documentation — Generated Go code for
g8e/common/v1(common.pb.go, 881 lines),g8e/operator/v1(operator.pb.go9048 lines,operator_grpc.pb.go296 lines), andg8e/pubsub/v1(pubsub.pb.go231 lines). Generated API reference documentation for all three packages underprotocol/proto/protocol/docs/reference/api/. - Anduril Lattice SDK vendored protos README —
third_party/anduril/anduril/README.mddocuments the vendored protobuf definitions, BSR source, pinned commit, directory structure, code generation workflow, and update procedure. auth.jsonconformance tests —protocol/conformance/test_constants.pyaddedTestAuthJsonConstantsclass with parametrized tests for all 7 auth wrapper keys (passkey_purposes,webauthn_types,webauthn_algorithms,webauthn_attestation,webauthn_requirements,pki_leaf_types,context_keys): wrapper key existence,_go_constpresence,valuepresence and non-emptiness, value uniqueness within wrapper (excludingwebauthn_requirementswhich intentionally shares"required"), and_go_constPascalCase naming validation.- Agent model schema conformance —
protocol/conformance/test_models.pyadded 6 agent model files toMODEL_FILES:agents/agent_harness.json,agents/assistant.json,agents/lite.json,agents/primary.json,agents/title_generator.json,agents/triage.json. - Lovable verification checklist and See Also —
docs/guides/lovable.mdmoved the Verification Checklist and See Also sections to before the Lovable AI Agent Prompt, so the AI agent can see the full requirements including verification steps. - Finance demo CLI commands —
demos/finance/README.mdaddedg8e demos start/status/stop/clean financeCLI command alternatives,g8e demos runauto-start note with-vand--tuiflags, and L4/L5 always-active note. --interactive/-iflag documentation — Added toREADME.mdandprotocol/docs/spec.mdCLI flags list.
Changed
- Release workflow consolidation —
docs/devs/release_process.mdanddocs/architecture/protocol.mdupdated: the two-step release process (make release+ manual commit +make release-tag) is now a singlemake releasetarget that syncs Python versions, verifies clean working tree, checks release notes file existence, verifies tags don't exist, verifies GitHub CLI availability, builds binaries, creates and pushes tags, and creates a GitHub release with notes. - Python protocol package CI —
docs/devs/release_process.mdanddocs/devs/tests.mdupdated:release-python-protocol.ymlnow includes a step to copy protocol constants intog8e/_data/before building. - Python constants loader resolution —
docs/architecture/protocol.mdupdated:_get_protocol_dir()lookup order now includes bundled data (g8e/_data/) as second priority, before dev-mode relative path and container fallback. - Python enums module —
docs/architecture/protocol.mdanddocs/devs/codemap.mdupdated:g8e.enumsnow generates fromSTATUS,EVENTS,CHANNELS,INTENTS,PROMPTS,COLLECTIONS, andKV(previously onlySTATUSandEVENTS). - Python models module —
docs/architecture/protocol.mdupdated: addedg8e.models.governance(GovernanceEnvelope,GovernanceMetadata,GovernanceL1,GovernanceL2,GovernanceL2Vote,GovernanceL3,compute_transaction_hash) andLLMOverridesing8e.models.internal_api. - L3 Notary description —
protocol/docs/mcp.mdupdated: L3 Notary now described as a layered model where passkey authorization is required for all proofs (browser and CLI), with CLI callers additionally presenting mTLS fields for transport-layer authentication. Removed "Reputation staking" from L2 Consensus and "Auto-approval" from L3 Notary. - MCP tool template —
protocol/docs/mcp_tool_template.goupdated: removed old+build ignoresyntax, added conventions section (import block ordering, error wrapping, Go error vsCallToolResult{IsError: true}distinction,context.Contextcancellation), moved request/result structs to tool file (notmodels.go), addedmodeenum example in schema, added operational error example inExecute(). - Storage architecture vault description —
docs/architecture/storage.mdupdated: clarified that Audit Store, Execution Vault, and Token Store fail closed when vault is locked; Ledger encrypts file copies when vault is unlocked and fails closed for retrieval/restoration. Removed "shared SQLite connection pool" language. Updated Replay Store cleanup description. - Gateway architecture descriptions —
docs/architecture/gateway.mdupdated: onboarding wizard description generalized (removed specific struct/function names), RouteAuthRegistry and PrivilegedRouteRegistry descriptions generalized, auth middleware description generalized. - Network architecture —
docs/architecture/network.mdaddedheartbeat:<operator_id>:<operator_session_id>channel naming convention for operator heartbeats. - SSE architecture —
docs/architecture/sse.mdchanged "mTLS-authenticated admin endpoints" to "authenticated admin endpoints". - Compliance alignment —
docs/reference/compliance-alignment.mdupdated current strengths list: separated Python protocol test suite (151 tests) and conformance suite (330 tests), added interactive onboarding wizard, Lattice adapter, MCP tool interception verification, MCP gateway output scrubbing, agent support consolidation, governance interface extraction, and protocol wire-format documentation. Added receipt signature verification known limitation. Added v1.5.9 to version history table. - Glossary —
docs/reference/glossary.mdexpanded database collections list withaccount_locks,login_audit,auth_admin_audit,console_audit,operator_usage,passkey_challenges, andsettings. - GUI enrollment —
docs/guides/gui_enrollment.mdaddedgidandsidfields tolocal_os_userTypeScript type. - Governance envelope example —
protocol/examples/README.mdupdated: added transaction hash computation step viagovernance.GenerateMessageID, updated workload identity example to extract CLI session IDs, user IDs from both CLI and User SAN SPIFFE IDs, and operator session IDs. - Finance demo —
demos/finance/README.mdadded "pump and dump" to market manipulation detection doctrine rules. - Version stamps — Updated across all documentation files to v1.5.9 (architecture, guides, reference, protocol docs).
Removed
--vault-require-unlockflag — Removed fromREADME.mdandprotocol/docs/spec.mdCLI flags and environment variable lists (G8E_VAULT_REQUIRE_UNLOCK).
Tests
protocol/conformance/test_constants.py—TestAuthJsonConstantsclass:test_auth_wrapper_key_exists(7 parametrized),test_auth_entries_have_go_const(7),test_auth_entries_have_value(7),test_auth_values_unique_within_wrapper(7, withwebauthn_requirementsskip),test_auth_go_consts_are_pascalcase(1)protocol/conformance/test_models.py—_is_field_definition()helper for schema field detection (checkstype,description,required,items,default,_ref), 6 agent model files added toMODEL_FILES, list traversal inTestSchemaCrossReference._find_refs()