Skip to content

[codex] Add memory triage and inherited subagent skills#12

Merged
PabloTheThinker merged 26 commits into
mainfrom
codex/memory-systems-whole-update
Jun 18, 2026
Merged

[codex] Add memory triage and inherited subagent skills#12
PabloTheThinker merged 26 commits into
mainfrom
codex/memory-systems-whole-update

Conversation

@PabloTheThinker

@PabloTheThinker PabloTheThinker commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • add memory triage docs/catalog and a control plan for next focus selection
  • fix MCP stdio initialization with a regression test for the server handshake
  • add Hermes-style inherited subagent skills via inheritance manifests
  • add an explicit agentdrive-skill handoff contract so subagent results can become parent-visible skills
  • wire the Grok spawn adapter to parse returned handoff blocks and write/merge inheritance manifests before SubagentDone triggers absorption
  • add a local skills usage ledger so matched and explicitly-run skills produce feedback for future ranking
  • record successful SubagentDone skill absorption as inherited skill outcome evidence, preserving neutral/manual manifest imports
  • boost successful inherited skills over equally relevant unproven ones and penalize failing inherited skills
  • add inherited-skill curation commands: review, promote, and prune without deleting audit history
  • add agentdrive skills assimilate and agentdrive_assimilate_inherited_skills to promote evidence-qualified inherited skills and optionally ingest them as DNA in one gated pass
  • add skill-to-DNA export: agentdrive skills dna converts inherited/promoted skills into normal Genomes and ingests them into the current Drive
  • expose inherited skill review, assimilation, promotion, pruning, and skill-to-DNA ingestion as MCP tools for connected AI clients
  • constrain inherited skill installation with name, description, body-size, non-empty-body, overwrite, and external-review guardrails

Validation

  • .venv/bin/python -m pytest tests/test_mcp_config.py tests/test_operations_mcp_bridge.py -q
  • .venv/bin/python -m pytest tests/test_skills_registry.py tests/test_mcp_config.py tests/test_operations_mcp_bridge.py -q
  • .venv/bin/python -m pytest tests/test_inheritance.py tests/test_skills_registry.py tests/test_skills_compose.py -q
  • .venv/bin/python -m pytest tests/test_inheritance.py tests/test_grok_spawn_telemetry.py tests/test_skills_registry.py tests/test_skills_compose.py tests/test_mcp_config.py tests/test_operations_mcp_bridge.py tests/test_mcp_think.py tests/test_memory_triage.py tests/test_experience_graph.py -q
  • .venv/bin/python -m compileall -q src/agentdrive/skills/curation.py src/agentdrive/skills/init.py src/agentdrive/cli.py src/agentdrive/cli_surface.py src/agentdrive/cli_catalog.py src/agentdrive/adapters/mcp_server.py src/agentdrive/inheritance.py src/agentdrive/skills/usage.py src/agentdrive/skills/registry.py src/agentdrive/skills/compose.py src/agentdrive/skills/runner.py
  • .venv/bin/python -m agentdrive.cli skills --help
  • .venv/bin/python -m agentdrive.cli skills assimilate --help
  • live stdio MCP call: agentdrive_review_inherited_skills({"include_promoted": false}) returned {"count": 0, "reviews": []} in an isolated AgentDrive home
  • live stdio MCP call: agentdrive_assimilate_inherited_skills({"ingest_dna": true, "prune": false}) returned a successful empty report in an isolated AgentDrive home
  • git diff --check

Notes

  • PR remains draft while the broader AgentDrive learning loop is still being rounded out.
  • Hermes reference checked against NousResearch/hermes-agent and NousResearch/hermes-agent-self-evolution.

@PabloTheThinker PabloTheThinker changed the title [codex] Add memory triage and MCP docs catalog [codex] Add memory triage and inherited subagent skills Jun 14, 2026
…ation

- Multiverse cognition: MultiverseEngine, external_parent_decision MCP op,
  durable sessions, Mission Control panel, examples and tests
- End-to-end auto-learning via run_operation hook (auto_absorb, auto_learning field)
- Codebase pattern recognition + mirror-neuron mimicry (observe, mimic, resonance)
- Consolidation sprint: archive stale stabilization reports, CAPABILITY_FUNNEL.md,
  ARCHITECTURE.md, Pool→Drive doc reframing, pytest asyncio marker fix
- Tests: multiverse engine, external parent, auto-learning, codebase patterns,
  mirror neurons; MCP config skips when optional mcp dep missing
Replace MemPalace-style naming with AgentDrive-native modules (scope,
ranking, anchor, relations, dialogue_import) and rename ops to
memory_bank_anchor, memory_bank_import_dialogue, and memory_relation_*.
Legacy wing/room fields migrate on read. Adds tests and MEMORY_BANK.md.
MemoryEntry and memory ops now use canonical vault/topic fields only.
Legacy keys in stored JSONL are ignored on read.
Adds growth_merge layer that recognizes cross-surface patterns and
compounds session work into growth vault memories and relations.
Auto-hooks via auto_absorb; exposes growth_merge_briefing op.
Auto-distilled skills use learned-{project}-{verb}-{focus} slugs;
born skills use fused-{project}-{axes}. Replaces opaque auto-* and
hash-suffixed fused-session-* names for easier skill discovery.
Adds framework_session_start, framework_skill_route, and
framework_skill_run so models route learned/fused skills on any task.
Skills get when_to_call metadata from triggers; run_skill accepts swarm_id.
- Auto-fix unused imports and import ordering (17 ruff violations)
- ruff format across 43 files for CI format check
- Remove unused category variable in codebase/framework.py
- Add README hero wallpaper, rewrite README, consolidate CHANGELOG
- Remove duplicate SwarmDriveManager from drive.py; route get_default_drive
  and create_scoped_pool through swarm_manager (shared swarms/<id>/drive/)
- Fix __init__.py imports; dreaming defaults use get_default_drive_path()
- Rewrite SWARM.md, ARCHITECTURE.md, funnel docs, rules-and-patterns for
  Growth Merge + Memory Bank + framework skills
- Repair docs.json nav to existing pages; fix broken pool.* import examples
- Add create_scoped_pool regression test; ruff-clean scripts/examples
@PabloTheThinker PabloTheThinker merged commit 3c00a0c into main Jun 18, 2026
5 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.

1 participant