C10: ModuleInfo.drop_ast() for memory hygiene #25
Labels
No labels
area:ci
area:docs
area:engineering
area:framework-fp
area:test-coverage
dogfood:fn
dogfood:fp
dogfood:friction
dogfood:tp
phase:b
phase:c
severity:critical
severity:high
severity:low
severity:medium
source:deepseek-v4-pro
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/fallow-py#25
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?
Ticket C10
F-06: FunctionInfo.ast_node retained after analysis. For 100k LOC repos + long-running MCP server (post-B6 caching), memory accumulates. Add drop_ast() called by default in analyze().
Source: F-06 in 2026-05-03 audit.
Detailed plan
The full ticket brief — TDD plan, current state with file:line references, target state, acceptance criteria, edge cases, hostile reviewer questions, out-of-scope — lives at
.codex/MASTER/PHASE-C/C10-drop-ast.mdin the operator's local working tree (the.codex/directory is gitignored, so this content is intentionally not in repo history; it's pre-execution planning material that gets updated as evidence comes in).When picking up this issue, read the local file first. If you're an external contributor without access to the operator's
.codex/, comment on this issue and the operator will paste the brief.Phase context
This is part of Phase C (post-Phase-A) work. Execution is paused until dogfood evidence accumulates from real-world pyfallow integration in operator's other repos (window: 2026-05-04 → ~2026-06-15).
After the window closes, dogfood evidence drives ticket prioritization:
dogfood:*labels may pre-empt Phase C prioritySee
docs/dogfood.mdanddocs/dogfood-log-template.mdfor the protocol.Labels applied
phase:c— phase groupingseverity:low— severity (audit-derived)area:engineering— area of impact— Migrated from
.codex/MASTER/PHASE-C/by Claude Opus 4.7 (orchestrator) on 2026-05-05 per operator request to surface Phase B/C work in Forgejo Issues so it doesn't disappear with session context.