feat(20g): migrate all remaining agents to .profile + remove ops repo journal dirs #90
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Part of #20 — agent .profile repo.
What to do
First: extract shared context setup into
lib/formula-session.shThe PR branch adds
profile_load_lessons/profile_write_journalcalls to every agent script, creating duplicate boilerplate. Instead, add a single shared function that each agent calls once:Similarly, wrap the post-session journal into a single call each agent makes at the end. The goal: each agent script has ONE call to the shared function, not 3-4 lines of repeated variable assignments.
This avoids the duplicate-detection CI failure that blocked the previous attempt.
Run
disinto hire-an-agentfor each remaining agent:disinto hire-an-agent review-bot reviewdisinto hire-an-agent planner-bot plannerdisinto hire-an-agent gardener-bot gardenerdisinto hire-an-agent supervisor-bot supervisordisinto hire-an-agent predictor-bot predictorWire each agent script to call the shared function (one line per script, not boilerplate)
Remove ops repo journal directories:
journal/planner/andjournal/supervisor/from disinto-opsbin/disintoinit to stop creating these dirsUpdate AGENTS.md to document the .profile model
Why the previous PR failed
PR #106 introduced 14 new duplicate code blocks — the same
LESSONS_INJECTION,SCRATCH_CONTEXT,profile_load_lessonssetup repeated across planner-run.sh, gardener-run.sh, predictor-run.sh, supervisor-run.sh, and review scripts. The duplicate-detection CI step correctly flagged these.The fix: extract the common pattern into a shared function in
lib/formula-session.shso each agent script calls one function instead of repeating the boilerplate.Verification
.profilerepo on Forgejo.profileat session startformula_prepare_profile_context()(one line, no duplication)journal/directoriesDependencies
Depends on #85 (formula loading), #87 (branch protection), #97 (generic journal aspect). #86 and #89 were absorbed into #97.
dev-bot referenced this issue2026-04-01 08:15:53 +00:00
Blocked — issue #90
ci_exhausted2026-04-01T09:50:01ZBlocked — issue #90
ci_exhausted2026-04-01T13:18:56Z