Repository navigation
Closed
Labels
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/aiAI review pipeline, personas, prompts, LLM client, or RAGtype/bugType bug: the code does not do what it must
Milestone
Description
Hand-verification of review session 20260920-124350 (55 findings) found that the loop itself was misbehaving as much as the code under review, in ways that are invisible from the output alone.
Verified defects to remediate
k8s/informer.py: the activewatch.Watch()is never published toself._watcher, sostop()cannot interrupt the blocking stream and the worker thread survives until the next server-side resync.k8s/informer.py: the resource cache grows without bound.k8s/service.py:_set_cachedaccepts attlargument and silently ignores it, so short negative caches (a failed reachability probe asking for ~2s) are pinned for the full cache TTL.commands/k8s/cluster_context.py:except Exception: passhides genuine client-realignment failures.github/client.py:get_repo_overviewlets raw GraphQL transport errors escape and crash the CLI.
Loop defects to correct
- Suppression catalog poisoning: auto-learning synthesizes each signature from a single keyword, so words such as
unvalidated,traversal,insecure, andunboundedbecame complete suppression patterns matching nearly every genuine security finding. The documented safety invariant is enforced forpattern_keywordsbut not forsignature_patterns. - Silent baseline loss: the builtin catalog is validated inside one
tryaround a list comprehension, so a single malformed record discards all entries and the failure is logged only at debug level. Verification then runs on auto-learned entries alone. - Symptom fan-out: one root cause is reported as many findings (the informer defect produced five; the TTL defect two).
- Segment-boundary false positives: controls implemented outside the reviewed slice are reported as absent, and declarations whose consumers live in another module are reported as dangling.
- Unactionable findings: both CRITICAL findings carried an empty
fix.
Acceptance criteria
- Verified defects remediated with regression tests.
- Degenerate single-word suppression signatures neutralized without a data migration.
- Builtin catalog loads completely; malformed records skipped loudly.
- Duplicate consolidation merges same-defect findings without merging distinct ones.
- Prompts mandate root-cause consolidation, segment-boundary honesty, and a non-empty fix.
- Failure modes and calibration metrics documented in
docs/SELF_IMPROVEMENT.md. - Gated CI validation suite passes.
Metadata
Metadata
Assignees
Labels
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/aiAI review pipeline, personas, prompts, LLM client, or RAGtype/bugType bug: the code does not do what it must
Type
Projects
- StatusShow more project fieldsDone
Activity
fix(review): correct feedback loop calibration and remediate verified…
dan-petty commentedon Sep 21, 2026
Closed by #350, merged into
release/v0.2.22.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.feat(release): v0.2.22 (#335)