Skip to content

feat(mesh): C-287 HIVE — mobius.yaml jobs + sources, kv/latest, seal-memory workflow#44

Merged
kaizencycle merged 1 commit into
mainfrom
cursor/c287-hive-mesh-workflow-oaa-49d6
Apr 20, 2026
Merged

feat(mesh): C-287 HIVE — mobius.yaml jobs + sources, kv/latest, seal-memory workflow#44
kaizencycle merged 1 commit into
mainfrom
cursor/c287-hive-mesh-workflow-oaa-49d6

Conversation

@kaizencycle

Copy link
Copy Markdown
Owner

Summary (C-287 HIVE — OAA slice)

Implements the OAA-API-Library portion of the mesh workflow pattern: extended mobius.yaml (read ingest.sources, declared jobs, governance), a GET /api/oaa/kv/latest read surface for HIVE/mesh consumers, seal-memory GitHub Action + scripts/oaa/seal-memory.mjs, and a small refactor so ledger ingest bodies share buildOaaMemoryIngestBody.

mobius.yaml

  • ingest.sources: terminal_snapshot, cycle_state, sovereign_memory (/api/oaa/kv/latest — resolve with hub base URL).
  • jobs: declares seal-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, latest map of newest OAA_MEMORY_ENTRY_V1 per key.

CI

  • .github/workflows/seal-memory.yml — Runs node scripts/oaa/seal-memory.mjs with CIVIC_LEDGER_URL / LEDGER_BASE_URL and 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_PATH resolved per call (fixes testability).
  • docs/mobius_yaml_v1.md: documents ingest.sources, jobs, governance.

Tests

npm run vitest
# 9 passed

Not in this PR

  • Substrate mesh-sync.yml, Terminal publish-cycle-state.yml, HIVE world-update.yml, browser-shell — other repos.

Secrets (GitHub Actions)

Configure repository secrets: CIVIC_LEDGER_URL or LEDGER_BASE_URL, and CIVIC_LEDGER_TOKEN or LEDGER_ADMIN_TOKEN.

Open in Web Open in Cursor 

…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
kaizencycle marked this pull request as ready for review April 20, 2026 17:50
@kaizencycle
kaizencycle merged commit 724a334 into main Apr 20, 2026
1 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants