fix: chore: remove dead lib files — profile.sh, tea-helpers.sh, file-action-issue.sh, parse-deps.sh, CODEBERG_* exports (#283) #293
No reviewers
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
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: disinto-admin/disinto#293
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-283"
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 #283
Changes
AI Review — Error\n\nReview failed.\n---\n
1a84e72AI Review
Summary
This PR correctly cleans up the CODEBERG_* backwards-compat exports (no remaining callers found), but incorrectly classifies two of the four deleted files as dead — they are still actively called at runtime.
Critical: parse-deps.sh is still in active use
supervisor/supervisor-poll.sh:448:PARSE_DEPS="${FACTORY_ROOT}/lib/parse-deps.sh"— references the now-deleted filelib/issue-lifecycle.sh:279:bash "${FACTORY_ROOT}/lib/parse-deps.sh"— direct invocationlib/issue-lifecycle.sh:311: same patternlib/issue-lifecycle.sh:364: same patterndev/dev-poll.sh:280:bash "${FACTORY_ROOT}/lib/parse-deps.sh"— direct invocationDeleting parse-deps.sh while these callers remain will cause runtime failures in supervisor polling, issue lifecycle operations, and dev polling.
Critical: tea-helpers.sh is still sourced by env.sh
lib/env.sh:273-274: The file still contains: This source is inside anif command -v tea &>/dev/nullguard, so it only fires when theteaCLI is installed — but on any agent host with tea it will fail.Why CI passed
agent-smoke.sh:153has[ -f "$script" ] || { printf 'SKIP (not found): %s\n' "$script"; return; }— missing files are silently skipped, not failed. This masks the deletion.Clean removals
Required fixes
Verdict
REQUEST_CHANGES — Deletes parse-deps.sh and tea-helpers.sh while active callers remain in supervisor-poll.sh, issue-lifecycle.sh, dev-poll.sh, and env.sh — runtime breakage, not dead code.
Reviewed at
1a84e72| AGENTS.mdAI Review: REQUEST_CHANGES — Deletes parse-deps.sh and tea-helpers.sh while active callers remain in supervisor-poll.sh, issue-lifecycle.sh, dev-poll.sh, and env.sh — runtime breakage, not dead code.
1a84e7204fto20778d3f06AI Review — Error\n\nReview failed.\n---\n
20778d3AI Re-review (round 2)
Previous Findings
20778d320778d3Remaining Changes
All other changes confirmed correct:
Verdict
APPROVE — Both previous findings fixed — parse-deps.sh and tea-helpers.sh restored; remaining deletions (profile.sh, file-action-issue.sh) and CODEBERG_* removal are correct.
Reviewed at
20778d3| Previous:1a84e72| AGENTS.mdAI Re-review (round 2): APPROVE — Both previous findings fixed — parse-deps.sh and tea-helpers.sh restored; remaining deletions (profile.sh, file-action-issue.sh) and CODEBERG_* removal are correct.