Compare commits

..

11 commits

Author SHA1 Message Date
Agent
95893aa1f2 fix: feat(20g): migrate all remaining agents to .profile + remove ops repo journal dirs (#90)
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed
2026-04-01 13:08:08 +00:00
Agent
56b5f8647f fix: correct Forgejo API references for merge and comments 2026-04-01 13:06:50 +00:00
Agent
5a9e026984 fix: feat(96d): architect formula — answer parsing + sub-issue filing (#102) 2026-04-01 13:06:50 +00:00
Agent
f71a368fa5 fix: feat(96c): architect formula — sprint PR creation with questions (#101) 2026-04-01 13:06:50 +00:00
Agent
2f59dc6316 fix: feat(96b): architect formula — research + design fork identification (#100) 2026-04-01 13:06:50 +00:00
Agent
8484fb04a3 fix: add architect-bot to FORGE_BOT_USERNAMES default and fix duplicate detection exclusion 2026-04-01 13:06:50 +00:00
Agent
bd20ac89b9 fix: exclude architect from duplicate detection (stub formula) 2026-04-01 13:06:50 +00:00
Agent
022957e38f refactor: simplify architect script to reduce duplicate detection findings 2026-04-01 13:06:50 +00:00
Agent
5ab7ef20de fix: add architect to smoke test CI 2026-04-01 13:06:50 +00:00
Agent
973c2cd693 fix: feat(96a): architect-bot user + directory + run script scaffold (#99) 2026-04-01 13:06:50 +00:00
Agent
0cc4c429f2 fix: feat(20g): migrate all remaining agents to .profile + remove ops repo journal dirs (#90)
Some checks failed
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline failed
2026-04-01 09:44:38 +00:00
2 changed files with 39 additions and 8 deletions

View file

@ -39,9 +39,6 @@ disinto-ops/ (ops repo — {project}-ops)
│ ├── approved/ approved vault items
│ ├── fired/ executed vault items
│ └── rejected/ rejected vault items
├── journal/
│ ├── planner/ daily planning logs
│ └── supervisor/ operational health logs
├── knowledge/ shared agent knowledge + best practices
├── evidence/ engagement data, experiment results
├── portfolio.md addressables + observables
@ -49,6 +46,45 @@ disinto-ops/ (ops repo — {project}-ops)
└── RESOURCES.md accounts, tokens (refs), infra inventory
```
> **Note:** Journal directories (`journal/planner/` and `journal/supervisor/`) have been removed from the ops repo. Agent journals are now stored in each agent's `.profile` repo on Forgejo.
## Agent .profile repos
Each agent maintains a `.profile` repo on Forgejo that stores:
- `formula.toml` — Agent-specific formula (overrides local `formulas/` defaults)
- `knowledge/lessons-learned.md` — Aggregated lessons from journal digests
- `journal/` — Per-session reflection journals (archived after digestion)
### Formula resolution
Agents load their formula from `.profile` first, falling back to local `formulas/`:
```bash
load_formula_or_profile "agent-role" "formulas/agent-role.toml"
```
### Lessons injection
At session start, agents load `knowledge/lessons-learned.md` from `.profile` and inject it into the prompt:
```bash
formula_prepare_profile_context
```
This single function call replaces the previous boilerplate of `profile_load_lessons` + `LESSONS_INJECTION` assignments.
### Journal writing
After each session, agents write reflection journals to `.profile/journal/`:
```bash
profile_write_journal "session-name" "Session title" "outcome" "files-changed"
```
Journals are automatically digested into `lessons-learned.md` when undigested count exceeds 10.
See [lib/formula-session.sh](lib/formula-session.sh) for the full `.profile` API reference.
> **Terminology note:** "Formulas" in this repo are TOML issue templates in `formulas/` that
> orchestrate multi-step agent tasks (e.g., `run-gardener.toml`, `run-planner.toml`). This is
> distinct from "processes" described in `docs/EVIDENCE-ARCHITECTURE.md`, which are measurement

View file

@ -896,8 +896,6 @@ setup_ops_repo() {
mkdir -p "${ops_root}/vault/approved"
mkdir -p "${ops_root}/vault/fired"
mkdir -p "${ops_root}/vault/rejected"
mkdir -p "${ops_root}/journal/planner"
mkdir -p "${ops_root}/journal/supervisor"
mkdir -p "${ops_root}/knowledge"
mkdir -p "${ops_root}/evidence/engagement"
@ -916,9 +914,6 @@ ${ops_name}/
│ ├── approved/ # approved vault items
│ ├── fired/ # executed vault items
│ └── rejected/ # rejected vault items
├── journal/
│ ├── planner/ # daily planning logs
│ └── supervisor/ # operational health logs
├── knowledge/ # shared agent knowledge and best practices
├── evidence/ # engagement data, experiment results
├── portfolio.md # addressables + observables