Skip to content

fix(triage): exempt archived/dormant repos from context-quality flag (context 24→10)#37

Merged
saagpatel merged 1 commit into
mainfrom
fix/context-triage-lifecycle-aware
Jun 3, 2026
Merged

fix(triage): exempt archived/dormant repos from context-quality flag (context 24→10)#37
saagpatel merged 1 commit into
mainfrom
fix/context-triage-lifecycle-aware

Conversation

@saagpatel
Copy link
Copy Markdown
Owner

Pile 1 of the context-quality triage cleanup (Arc A). The context failure mode fired purely on derived.context_quality ∈ {none, boilerplate} with no lifecycle awareness — so every archived GPT-built SaaS throwaway and parked tool nagged as context-weak, even though resume-readiness is irrelevant for repos that aren't under active development. Same noise-class we just fixed for the catalog flag.

Change

Gate FailureMode.CONTEXT behind lifecycle_state not in {archived, dormant}:

  • archived / dormant + weak context → not flagged
  • active / maintenance / experimental + weak context → still flagged
  • no declared lifecycle → still flagged (enforce by default)

Result

Triage drops 24 → 10 flagged. The 14 cleared are all archived (12) or dormant (2). The remaining 10 are the genuinely-living repos (9 active + LoreKeeper/maintenance) that actually need context work:
BattleGrid, GithubRepoAuditor, Grotto, LegalDocsReview, LoreKeeper, TabTriage, asc-radar, cost-tracker, portfolio-health, rag-knowledge-base

Gate

  • 5 new TDD tests (red→green) in test_portfolio_context_triage.py covering archived/dormant suppression + active/maintenance/missing-lifecycle regression guards
  • ruff check . clean; full suite 2200 passed, 2 skipped

Follow-up (Pile 2): the 10 living repos lack the structured sections (current-state / how-to-run / known-risks / next-move). Open question whether to tune the analyzer's section detection or write the sections per-repo — tracked separately.

Context quality is a 'can someone resume this?' signal — meaningless for repos
that are intentionally not under active development. The context failure mode
fired purely on derived.context_quality with no lifecycle awareness, so every
archived GPT-built SaaS throwaway and parked tool nagged as context-weak.

Gate FailureMode.CONTEXT behind lifecycle_state not in {archived, dormant}.
Repos with no declared lifecycle still flag (enforce by default); active and
maintenance repos keep flagging. Triage drops 24 -> 10 flagged, leaving only
living repos (9 active + 1 maintenance) that genuinely need context work.
@saagpatel saagpatel merged commit 44485c4 into main Jun 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant