|
| 1 | +{ |
| 2 | + "episode_id": "wrong-repo-agent-manual-001", |
| 3 | + "timestamp": "2026-04-04T00:00:00Z", |
| 4 | + "severity": "toxic", |
| 5 | + "category": "repo_governance", |
| 6 | + "summary": "Created agent framework documentation (FIELD_MANUAL.md) in t27 repo instead of trinity", |
| 7 | + |
| 8 | + "mistake": { |
| 9 | + "what": "Agent created docs/FIELD_MANUAL.md in gHashTag/t27 repository", |
| 10 | + "why": "No repo_policy.json, no tri git guard, no context of repo role", |
| 11 | + "consequence": "Misplaced files, broken cross-repo links, no episode tracking" |
| 12 | + }, |
| 13 | + |
| 14 | + "steps": [ |
| 15 | + {"step": 1, "action": "created", "path": "t27/docs/FIELD_MANUAL.md", "toxic": true}, |
| 16 | + {"step": 2, "action": "modified", "path": "README.md", "added": "Field Manual link", "toxic": true}, |
| 17 | + {"step": 3, "action": "modified", "path": "docs/DOCUMENTATION_INDEX.md", "added": "Field Manual reference", "toxic": true}, |
| 18 | + {"step": 4, "action": "modified", "path": "MEMORY.md", "added": "false completion record", "toxic": true}, |
| 19 | + {"step": 5, "action": "reverted", "paths": ["README.md", "DOCUMENTATION_INDEX.md", "MEMORY.md"], "toxic": false}, |
| 20 | + {"step": 6, "action": "orphaned", "path": "t27/docs/FIELD_MANUAL.md", "toxic": true} |
| 21 | + ], |
| 22 | + |
| 23 | + "fix": { |
| 24 | + "architectural": [ |
| 25 | + "Create .trinity/repo_policy.json with repo roles (t27=language_canon, trinity=agent_framework)", |
| 26 | + "Implement tri git guard to block forbidden paths/patterns", |
| 27 | + "Use tri cell protocol for any repo changes with begin/checkpoint/verdict/seal" |
| 28 | + ], |
| 29 | + "immediate": [ |
| 30 | + "Delete t27/docs/FIELD_MANUAL.md (or redirect to trinity)", |
| 31 | + "Create proper issue in gHashTag/trinity for AGENTS/Field Manual", |
| 32 | + "Save this episode as toxic with MNL pattern" |
| 33 | + ] |
| 34 | + }, |
| 35 | + |
| 36 | + "mnl": { |
| 37 | + "pattern": "Mistake → Not-repeat → Learning", |
| 38 | + "mistake": "Wrote to wrong repo (t27) without repo_policy validation", |
| 39 | + "not_repeat": "tri git guard will block forbidden paths in t27", |
| 40 | + "learning": "Repo governance is not optional; all changes must go through tri cell" |
| 41 | + }, |
| 42 | + |
| 43 | + "verdict": { |
| 44 | + "toxic": true, |
| 45 | + "reason": "Created orphaned file in wrong repo, no episode tracking, no tri cell protocol", |
| 46 | + "repeat_risk": "high", |
| 47 | + "mitigation": "repo_policy.json + tri git guard + mandatory tri cell for repo changes" |
| 48 | + }, |
| 49 | + |
| 50 | + "cell": { |
| 51 | + "issue": null, |
| 52 | + "cell_id": "repo-governance-001", |
| 53 | + "steps_executed": 0, |
| 54 | + "steps_expected": 8 |
| 55 | + }, |
| 56 | + |
| 57 | + "prevention": { |
| 58 | + "check": "tri git commit should verify repo_policy.json", |
| 59 | + "block": "forbidden_paths in t27 → ERROR: use gHashTag/trinity for agent docs", |
| 60 | + "enforce": "tri cell begin required for any repo modification" |
| 61 | + } |
| 62 | +} |
0 commit comments