Skip to content

feat: memory system upgrade + directory contract refactor#21

Closed
thiagofinch wants to merge 3 commits intomainfrom
feat/memory-system-upgrade
Closed

feat: memory system upgrade + directory contract refactor#21
thiagofinch wants to merge 3 commits intomainfrom
feat/memory-system-upgrade

Conversation

@thiagofinch
Copy link
Owner

Summary

  • Root CLAUDE.md created + .claude/agent-memory/ system foundation
  • Complete directory contract migration (docs/ → reference/, script path updates)
  • .gitignore hardened to hide all personal/L3 traces

Commits

  • 8e0c499 feat(memory): root CLAUDE.md + agent-memory system foundation
  • fe7a20d refactor(architecture): complete directory contract — migrate docs/, update scripts
  • c670bfa chore(gitignore): hide all Pedro/Valério traces (L3 personal)

Test plan

  • Agent-memory directory structure created
  • .gitignore whitelist updated
  • Directory contract paths validated

🤖 Generated with Claude Code

thiagofinch and others added 3 commits March 5, 2026 01:32
- Create missing root CLAUDE.md (identity-first, slim, agent-memory aware)
- Initialize .claude/agent-memory/{jarvis,closer,cfo,cro}/ structure
- Add JARVIS persistent MEMORY.md (pattern from aios-stage)
- Fix .gitignore: whitelist CLAUDE.md + unblock agent-memory/
- Add briefing plan: docs/plans/2026-03-05-memory-system-upgrade.md

Phases 2-5 pending (next session):
  2: cargo agent MEMORY.md files + skill_router loading hook
  3: precompact_session_digest.py
  4: session archival/rotation
  5: .claude/CLAUDE.md refactor

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…update scripts

- Migrate 8 docs to reference/, 1 prompt to .claude/commands/, 2 plans to .planning/
- Move 11 duplicates/generated files to .claude/trash/docs-migration-20260305/
- Update audit_layers.py + validate_layers.py to use core.paths.ROUTING
- Update package.json: 21 docs/ entries → 10 reference/ entries
- Update CLAUDE.md: architecture tree, plan mode paths, layer table
- Update .gitignore: add artifacts/audit/, docs/audit/ prevention
- Register directory_contract_guard.py in settings.json PreToolUse

Zero tracked files remain in docs/. All QA checks pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add explicit deny patterns for Pedro-related content across all
whitelisted directories (dossiers/persons, sources, agents, inbox).
Prevents accidental tracking of internal collaborator data.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@thiagofinch
Copy link
Owner Author

Fechando: branch contém dados sensíveis no .gitignore (nomes pessoais L3) que não devem ir pro repo público. Será sanitizada antes de resubmeter.

@thiagofinch thiagofinch closed this Mar 6, 2026
@thiagofinch thiagofinch deleted the feat/memory-system-upgrade branch March 6, 2026 00:12
GuugaaATG pushed a commit to GuugaaATG/mega-brain that referenced this pull request Mar 6, 2026
…e-full

- Add TSK-050 phase5-foundation.md: per-source DNA consolidation + SOURCE log
- Add TSK-051 phase5-person-agents.md: AGENT.md/SOUL.md/MEMORY.md creation
- Add TSK-052 phase5-cargo-agents.md: cargo DNA enrichment
- Add TSK-053 phase5-theme-dossiers.md: version-aware dossier update (REGRA thiagofinch#21)
- Add TSK-054 phase5-org-live.md: cross-source org sync (manual trigger)
- Add TSK-055 phase5-final.md: consolidated report + validate_phase5.py (REGRA #23)
- Update wf-pipeline-full.yaml: replace generic phase_5 with 5 sequential sub-phases
- Update wf-ingest.yaml: add session_log as automatic output (skill /save)
- Update TASK-REGISTRY.md: register TSK-050..055 as PHASE 5 TASKS

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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