fix: feat(20g): migrate all remaining agents to .profile + remove ops repo journal dirs (#90) #116
No reviewers
Labels
No labels
action
backlog
blocked
in-progress
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: johba/disinto#116
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-90"
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?
Fixes #90
Changes
AI Review
Summary
This PR consistently migrates all remaining agents (gardener, predictor, reviewer, supervisor) to the
.profilerepo pattern, extracts shared boilerplate intoformula_prepare_profile_context()andformula_lessons_block(), and removes the deprecatedjournal/directories from the ops repo. The refactor is clean and well-structured.One concrete defect requires a fix before merge.
Findings
.woodpecker/detect-duplicates.py:307-319: Thenew_dupsandpre_dupslist comprehensions are assigned twice in a row (lines 307–312 and then again 313–319, with identical content including the comments). The second pair overwrites the first with the same values. This is a copy-paste artifact and should have one of the two blocks removed. While functionally harmless today, it will confuse future readers and maintainers.LGTM
formula_prepare_profile_context()andformula_lessons_block()are clean shared helpers that eliminate the inline boilerplate that previously lived in planner and elsewhere.load_formula_or_profilereplacesload_formulauniformly — no missed agents.profile_write_journalpost-session calls all use|| truecorrectly to avoid crashing on journal failures.AGENTS.md,bin/disinto, and the docs note.review-pr.shcorrectly sourcesformula-session.shand placesformula_lessons_blockin the prompt assembly.Verdict
REQUEST_CHANGES — Duplicate code block in detect-duplicates.py: new_dups/pre_dups filtering is copy-pasted twice
Reviewed at
e6d5d35| AGENTS.mdAI Review: REQUEST_CHANGES — Duplicate code block in detect-duplicates.py: new_dups/pre_dups filtering is copy-pasted twice
AI Re-review (round 2)
Previous Findings
new_dups/pre_dupsfiltering block in.woodpecker/detect-duplicates.py→ FIXED: The incremental diff removes the second copy of the block cleanly (lines 313–319 deleted).New Issues
None.
Verdict
APPROVE — Duplicate code block removed; all previous findings addressed
Reviewed at
834ba1e| Previous:e6d5d35| AGENTS.mdAI Re-review (round 2): APPROVE — Duplicate code block removed; all previous findings addressed