fix(agent): P0 gap closure — AST ingest, sheaf meta, lean examples, MCP orphan recovery#40
Open
staticroostermedia-arch wants to merge 2 commits into
Open
Conversation
…lean examples, MCP orphan recovery - CLI + daemon AST paths use full_source for q encode (atlas continuity) - PROCESS_SHEAF_SUBDIRS adds meta; engram-working-memory ritual toml - agent_evolution.toml: fix TOML parse (remove invalid subagent=null) - examples: session_start + ack_wake_queue lean path (no watch at wake) - engram-grok: auto-recover stale MCP lock files on launch
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
Closes the top P0 agent-harness gaps identified in the full-system audit (steps 1–4 + MCP UX). Stacks on #39.
1. AST ingest unification
item.full_sourcefor q encode (notembed_label)2. Sheaf registration
metatoPROCESS_SHEAF_SUBDIRSprocesses/ritual/engram-working-memory.toml(Code Edit Ritual declarative)agent_evolution.tomlTOML parse (subagent = null→ valid tables)3. Examples lean contract
spatial_geosphere_demo.py+ritual_verify.md:session_start+ack_wake_queue+context_for_edit(nowatch_workspaceat wake)4. MCP orphan recovery
scripts/engram-grok+grok-plugin-engram/bin/engram-grok: auto-remove stale~/.engram/locks/mcp-*.lockwhen PID deadengram-mcp-health.shVerification
Live MCP (post-restart):
read_conceptforprocess:engram.meta.agent-evolution+process:engram.ritual.working-memory;verify_manifold_integrity50/50 healthy.Merge order
feat/full-system-audit-codify) firstmasterif needed, or merge stacked