feat(mesh): C-287 HIVE — mobius.yaml jobs + sources, kv/latest, seal-memory workflow#44
Merged
Merged
Conversation
…orkflow Extend mobius.yaml with ingest.sources, jobs.seal-memory, governance; add GET /api/oaa/kv/latest for latest-by-key journal slices; shared buildOaaMemoryIngestBody; seal-memory GitHub Action + script; fix OAA_MEMORY_PATH resolution per call for tests.
kaizencycle
marked this pull request as ready for review
April 20, 2026 17:50
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.
Summary (C-287 HIVE — OAA slice)
Implements the OAA-API-Library portion of the mesh workflow pattern: extended
mobius.yaml(readingest.sources, declaredjobs,governance), aGET /api/oaa/kv/latestread surface for HIVE/mesh consumers,seal-memoryGitHub Action +scripts/oaa/seal-memory.mjs, and a small refactor so ledger ingest bodies sharebuildOaaMemoryIngestBody.mobius.yaml
ingest.sources:terminal_snapshot,cycle_state,sovereign_memory(/api/oaa/kv/latest— resolve with hub base URL).jobs: declaresseal-memory→.github/workflows/seal-memory.yml(*/10+workflow_dispatch).governance:agent_prs_allowed,auto_merge_allowed,required_reviewers(ZEUS / ATLAS) — policy text; enforce with branch protection + CODEOWNERS in-repo.API
GET /api/oaa/kv/latest— Optional?keys=a,b,c(comma-separated). Default keys:vault:status,mic:readiness,heartbeat:terminal,GI_STATE,SIGNAL_SNAPSHOT. Response:schema: OAA_KV_LATEST_V1,latestmap of newestOAA_MEMORY_ENTRY_V1per key.CI
.github/workflows/seal-memory.yml— Runsnode scripts/oaa/seal-memory.mjswithCIVIC_LEDGER_URL/LEDGER_BASE_URLand token secrets. Script forwards last N journal entries (OAA_SEAL_LOOKBACK, default 50); exits 0 even on partial HTTP failures so scheduled runs stay green (check logs).Other
lib/kv/store:getLatestJournalEntriesByKeys;OAA_MEMORY_PATHresolved per call (fixes testability).docs/mobius_yaml_v1.md: documentsingest.sources,jobs,governance.Tests
Not in this PR
mesh-sync.yml, Terminalpublish-cycle-state.yml, HIVEworld-update.yml, browser-shell — other repos.Secrets (GitHub Actions)
Configure repository secrets:
CIVIC_LEDGER_URLorLEDGER_BASE_URL, andCIVIC_LEDGER_TOKENorLEDGER_ADMIN_TOKEN.