diff --git a/.gitignore b/.gitignore index 40dfb028..2a45e892 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,7 @@ TDPLAN-*.md # AIPass runtime state (local to each installation) AIPASS_REGISTRY.json .trinity/ +!src/aipass/spawn/templates/*/.trinity/ .ai_mail.local/ ai_mail.local/ .feedback.local/ diff --git a/src/aipass/spawn/templates/birthright/.trinity/local.json b/src/aipass/spawn/templates/birthright/.trinity/local.json new file mode 100644 index 00000000..2dacd3f0 --- /dev/null +++ b/src/aipass/spawn/templates/birthright/.trinity/local.json @@ -0,0 +1,37 @@ +{ + "document_metadata": { + "document_type": "session_history", + "document_name": "{{BRANCHNAME}}.LOCAL", + "version": "2.0.0", + "schema_version": "2.0.0", + "created": "{{DATE}}", + "last_updated": "{{DATE}}", + "managed_by": "{{BRANCHNAME}}", + "tags": [ + "session_tracking", + "work_log", + "{{BRANCHNAME}}" + ], + "limits": { + "max_sessions": 20, + "max_key_learnings": 25, + "session_summary_max_chars": 150, + "learning_value_max_chars": 200, + "note": "Auto-rollover to @memory when limits exceeded. Oldest entries trimmed first." + }, + "status": { + "health": "healthy", + "last_health_check": "{{DATE}}", + "current_lines": 0 + } + }, + "key_learnings": {}, + "sessions": [ + { + "session_number": 1, + "date": "{{DATE}}", + "summary": "Branch initialized - {{BRANCHNAME}} created by aipass init.", + "status": "completed" + } + ] +} diff --git a/src/aipass/spawn/templates/birthright/.trinity/observations.json b/src/aipass/spawn/templates/birthright/.trinity/observations.json new file mode 100644 index 00000000..5dba0989 --- /dev/null +++ b/src/aipass/spawn/templates/birthright/.trinity/observations.json @@ -0,0 +1,36 @@ +{ + "document_metadata": { + "document_type": "collaboration_patterns", + "document_name": "{{BRANCHNAME}}.OBSERVATIONS", + "version": "1.0.0", + "schema_version": "1.0.0", + "created": "{{DATE}}", + "last_updated": "{{DATE}}", + "managed_by": "{{BRANCHNAME}}", + "tags": [ + "collaboration", + "patterns", + "{{BRANCHNAME}}" + ], + "limits": { + "max_lines": 600, + "note": "Auto-rollover when max_lines exceeded" + }, + "status": { + "health": "healthy", + "current_lines": 0, + "last_health_check": "{{DATE}}" + } + }, + "guidelines": { + "purpose": "Capture collaboration patterns and experiential insights over time", + "chronological_order": "Newest entries at TOP, oldest at BOTTOM - NEVER reorder" + }, + "observations": [ + { + "date": "{{DATE}}", + "pattern": "Branch initialized. Ready to begin capturing collaboration patterns.", + "source": "initialization" + } + ] +}