Skip to content

feat(harness): add managed runtime readiness#72

Merged
Grivn merged 8 commits into
masterfrom
feat/r2-managed-runtime-readiness
Jun 28, 2026
Merged

feat(harness): add managed runtime readiness#72
Grivn merged 8 commits into
masterfrom
feat/r2-managed-runtime-readiness

Conversation

@Grivn

@Grivn Grivn commented Jun 28, 2026

Copy link
Copy Markdown
Member

Summary

  • isolate acceptance as its own command surface and add managed-runtime acceptance coverage
  • add mnemond-managed wake/turn driver with sentinel-only [mnemon:wake] query
  • route managed Codex wake context through standard GUIDE + prime/remind hooks via app-server additionalContext
  • support mnemonhub and GitHub mesh managed-runtime validation with per-hostagent mnemond isolation
  • narrow bridge read sets to written refs so disjoint coordination writes from one turn do not reject each other

Validation

  • go test ./harness/...
  • make harness-validate
  • go build -o /tmp/mnemon .
  • real mnemon-acceptance managed-runtime --agent-turns --exchange mnemonhub --agents 5
  • real mnemon-acceptance managed-runtime --agent-turns --exchange github --agents 5 --github-repo mnemon-dev/mnemon-teamwork-example

Grivn added 8 commits June 28, 2026 13:07
Move acceptance scenarios out of the mnemon-harness product command into a test-only mnemon-acceptance binary, and add command-boundary guardrails so product code does not regain acceptance semantics.

Validation: go test ./harness/cmd/mnemon-harness ./harness/cmd/mnemon-acceptance ./harness/internal/coreguard; go build -o /tmp/mnemon-harness ./harness/cmd/mnemon-harness && go build -o /tmp/mnemon-hub ./harness/cmd/mnemon-hub && go build -o /tmp/mnemond ./harness/cmd/mnemond && go build -o /tmp/mnemon-acceptance ./harness/cmd/mnemon-acceptance
Replace unconditional profile rendering with a rule-derived lifecycle policy and soften derived teamwork cue wording so presentation surfaces facts and affordances instead of forcing event writes.

Validation: go test ./harness/internal/mnemond/presentation; go test ./harness/internal/hostagent ./harness/internal/coreguard
Add a local managed-agent driver contract that sends only the [mnemon:wake] sentinel, records wake attempts, rejects non-local principals, and exposes a minimal mnemond agent run front door for contract validation.

Validation: go test ./harness/internal/driver ./harness/cmd/mnemond ./harness/internal/coreguard
Add a mnemon-acceptance managed-runtime scenario shell that records seed-and-observe report metadata, asserts raw managed wakes stay at [mnemon:wake], and blocks real GitHub runs unless a token file is supplied.

Validation: go test ./harness/cmd/mnemon-acceptance
Extend the managed wake contract with render-derived candidates, persistent local wake ledgers, and a codex-appserver turn client. Wire mnemond agent run so it can read local render context by rule, wake only the local runtime with [mnemon:wake], and record local audit evidence.

Validation: go test ./harness/internal/driver ./harness/cmd/mnemond
Upgrade mnemon-acceptance managed-runtime from a dry-run shell to a real topology path for mnemonhub and GitHub mesh. The scenario seeds once through an entry agent, then records local driver wakes that use only [mnemon:wake] while hook-rendered context supplies work and integration cues.

Validation: go test ./harness/cmd/mnemon-acceptance ./harness/cmd/mnemond ./harness/internal/driver
Use absolute run roots for managed acceptance and initialize managed-runtime appserver threads with generic wake instructions that render teamwork context and payload contracts before acting. This keeps [mnemon:wake] context-free while making accepted progress events reliable in both exchange modes.

Validation: go test ./harness/cmd/mnemon-acceptance; go test ./harness/cmd/... ./harness/internal/driver ./harness/internal/coreguard ./harness/internal/mnemond/presentation ./harness/internal/hostagent; built mnemon-harness, mnemond, mnemon-hub, and mnemon-acceptance; live managed-runtime acceptance passed for mnemonhub and GitHub mesh.
Remove managed-runtime acceptance developer instructions and pass standard Codex prime/remind hook output through app-server additionalContext while keeping the raw managed query as [mnemon:wake]. The local env, GUIDE, and control CLI now agree on the projected Local Mnemon endpoint, and bridge stamping narrows read sets to written refs so disjoint coordination writes from one turn do not reject each other.

Validation: go test ./harness/...; make harness-validate; go build -o /tmp/mnemon .; real managed-runtime acceptance passed for mnemonhub and github exchanges.
@Grivn Grivn merged commit be55984 into master Jun 28, 2026
1 check passed
@Grivn Grivn deleted the feat/r2-managed-runtime-readiness branch June 28, 2026 07:22
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.

1 participant