Back to Everything Claude Code

Stale PR Salvage Ledger

docs/stale-pr-salvage-ledger.md

2.0.013.7 KB
Original Source

Stale PR Salvage Ledger

This ledger records useful work recovered from stale, conflicted, or closed PRs. The rule is simple: queue cleanup closes stale PRs, but it does not discard useful work. Maintainers should inspect the closed diff, port compatible pieces on fresh branches, and credit the source PR.

Classification States

StateMeaning
SalvagedUseful work was ported to current main through a maintainer PR.
Already presentCurrent main already contained the useful work before salvage.
SupersededCurrent main solved the same problem differently.
SkippedThe PR was accidental, too broad, unsafe, or too low-signal to port.
Translator/manual reviewContent may be useful, but needs human language/domain review before import.

Salvaged Into Current Main

Source PROriginal contributionSalvage result
#1232skill-scout search-before-creating workflowSalvaged in the May 12 cost/skill-scout maintainer pass with current repo wording, external-source vetting, and no stale catalog-count edits.
#1304Cost tracking skill and /cost-report commandSalvaged in the May 12 cost/skill-scout maintainer pass with current command/skill conventions and without stale hard-coded model pricing.
#1309Trading/community project materialSalvaged in #1761 as a neutral community-project README listing.
#1310Django reviewer, build resolver, and Celery async task guidanceSalvaged in the May 12 Django/Celery maintainer pass with current catalog counts and minor example cleanup.
#1322Vietnamese README translationSalvaged in #1764 as docs/vi-VN/README.md plus selector updates.
#1325Quarkus framework guidance, Java agents, and localization materialSalvaged across #1771 and #1803; stale broad docs/count edits were not copied.
#1326Angular developer skill and rulesSalvaged in #1763 with current skill, rules, install wiring, and catalog updates.
#1328Continuous-learning Windows UTF-8 stdout fixSalvaged in #1761.
#1329Plugin install detection hardeningSalvaged in #1761 through current harness audit detection support.
#1334Windows desktop E2E skillSalvaged in #1762 with install, package, and catalog wiring.
#1352Qwen install targetSalvaged in #1738 through the current Qwen install target.
#1413Network and homelab skills/agentsSalvaged through #1729, #1731, #1745, and #1778.
#1414F# rules, reviewer agent, and testing skillSalvaged in #1770 with current install manifests, detection tests, and catalog wiring.
#1429JoyCode install targetSalvaged in #1737 through the current JoyCode install target.
#1467Scientific skills and OpenCode discovery workUseful USPTO and gget pieces salvaged in #1740; stale generated claims were not copied.
#1478HarmonyOS/ArkTS rules, resolver agent, and CLAUDE exampleSalvaged in #1769 with current install wiring; stale ecc2 session/TUI edits were not carried.
#1493SessionStart context scopingSalvaged in #1774 with current hook semantics and tests.
#1498PRD planning flowSalvaged in #1777.
#1504Statusline/context monitor hooksSalvaged in #1776 with current hook manifest structure and tests.
#1528/#1529/#1547Astraflow and UModelVerse provider supportSalvaged in #1775 with current provider wiring and defensive tool-call parsing.
#1558agentic-os skillSalvaged in #1772.
#1559error-handling skillSalvaged in #1772.
#1566Agent architecture audit skillSalvaged in #1772.
#1578OpenCode file-probe hardeningSalvaged in #1773.
#1603plan-orchestrate skillSalvaged in #1766 with current manifest/catalog wiring.
#1658Code-reviewer false-positive suppressionSalvaged in the May 12 code-reviewer maintainer pass with current review-agent wording, a proof gate for HIGH/CRITICAL findings, common false-positive exclusions, and a regression test.
#1659Frontend design direction and interface-polish skillsSalvaged in the May 12 frontend-design maintainer pass with canonical skills/ layout and current ECC frontend guidance, while preserving the repo guardrail that the official frontend-design skill should be installed from anthropics/skills.
#1674Production audit skillSalvaged in #1732 after supply-chain/privacy review and rewrite.
#1687zh-CN localization syncLarge safe subsets salvaged in #1746-#1752; remaining pieces require translator/manual review.
#1694Portfolio curationUseful focused curation updates salvaged in #1723 and #1724.
#1695Russian README translationPorted in #1722.
#1697Saved LLM selector configSalvaged as part of provider config/tool schema work in #1720.
#1699Windows post-edit-format path guardPorted in #1719.
#1700Provider tool serializationPorted in #1720.
#1705/#1780Production UI motion systemSalvaged in #1772, #1781, and #1782 with examples fixed before merge.
#1713Swift language supportPorted in #1721.
#1715CI personal-path validator hardeningPorted through CI validator hardening in #1717.
#1727MySQL patterns skillSalvaged in #1733.
#1757Machine-learning engineering workflowSalvaged in #1758 and tuned in #1759.

2026-05-12 Gap Pass

The initial stale-closure ledger covered the P0 cleanup cohort and the biggest salvage branches. A follow-up gap pass over PRs closed on 2026-05-11 found additional useful items that were already present on main or still worth porting.

Source PRDisposition
#1310Ported through the Django/Celery maintainer branch after confirming agents/django-reviewer.md, agents/django-build-resolver.md, and skills/django-celery/SKILL.md were still missing.
#1325Useful Quarkus framework material was already preserved across #1771 and #1803; current main contains the Quarkus rules/skills plus Java reviewer/build-resolver surfaces.
#1360Already present as skills/security-bounty-hunter/.
#1414Useful F# support was already preserved in #1770; current main contains the F# rules, reviewer agent, testing skill, install wiring, and detection tests.
#1415Already present as skills/vite-patterns/.
#1478Useful HarmonyOS/ArkTS support was already preserved in #1769; current main contains the ArkTS rules, resolver agent, CLAUDE example, and install wiring.
#1438Already present as skills/ui-to-vue/.
#1504Already mapped to #1776 in the durable salvage table.
#1508Already present as skills/fastapi-patterns/ and agents/fastapi-reviewer.md.
#1563/#1564/#1565Translator/manual review: zh-TW, tr, and pt-BR README syncs may contain useful localization updates, but stale README/version/count text must be reviewed by language owners before import.
#1567Already present as the current GateGuard subagent file-gate bypass in scripts/hooks/gateguard-fact-force.js, with Bash gates preserved and regression tests in tests/hooks/gateguard-fact-force.test.js.
#1570Already present as public llm.prompt imports, keyword-based PromptBuilder construction, and template registry helpers; current tests register the unit marker through tests/conftest.py.
#1584Already present as the iTerm2 native desktop-notification fast path in scripts/hooks/desktop-notify.js, with multiplexer fallback to osascript.
#1589Already present as quoted actions/checkout detection in scripts/ci/validate-workflow-security.js plus double/single-quote regression tests.
#1594Already present as HTTP MCP reachability handling that treats HTTP 400, 401, and 403 probe responses as reachable/auth-gated, with hook tests.
#1597Already present as catalog-count validation for README, AGENTS, zh-CN docs, .claude-plugin/plugin.json, and .claude-plugin/marketplace.json.
#1602Already present as the continuous-learning v1 deprecation that routes new usage to continuous-learning-v2 while preserving the archival v1 surface.
#1603Useful /plan-orchestrate work was already preserved in #1766 with current package/catalog metadata.
#1604Skipped: Windows drag-and-drop local installer copies files directly and runs git pull; current managed installer/profile flow is safer and supersedes it.
#1609Translator/manual review: Persian README translation may be useful, but needs language review and current catalog/version refresh before import.
#1613Already present in rules/web/hooks.md as the tsc --incremental plus timeout-capped PostToolUse example.
#1631Already present in scripts/hooks/suggest-compact.js and tests/hooks/hooks.test.js; current code reads session_id from stdin JSON before falling back to CLAUDE_SESSION_ID.
#1648Already present in src/llm/providers/claude.py; current Claude provider collects all text and tool-use content blocks and covers the behavior in tests/test_claude_provider.py.
#1658Ported through the code-reviewer maintainer branch after confirming the false-positive proof gate and common false-positive skip list were still missing.
#1693Already present as skills/redis-patterns/.

Already Present Or Superseded

Source PRDisposition
#1306Hook bug workarounds already exist on main as docs/hook-bug-workarounds.md.
#1318Gemini agent adaptation utility was already present on current main.
#1323Hook config update was already present on current main.
#1337Catalog count update was superseded by current catalog-count sync.
#1631suggest-compact stdin session_id isolation was already present on current main with hook tests.
#1608Unsafe dashboard document/terminal open handling was already present on current main through safe runtime helpers and project-bound document opening.
#1678Windows MCP .cmd/.bat fallback behavior was already present on current main with current health-check tests.
#1682/#1701Strategic compact hook-path fixes were merged directly or superseded by current docs fixes.
JARVIS #4/#5/#6Stale failing dependency-only PRs; future dependency state should be regenerated by Dependabot.

2026-05-18 Owner-Wide Queue Cleanup

The ECC release repos were already clean, but an owner-wide gh search sweep found stale queues in older public/private projects. The cleanup closed 24 stale dependency-bot PRs and 72 stale legacy payments/0EM roadmap issues, then closed the final 9 stale/generated/conflicting/test PRs and 5 legacy/outreach/placeholder issues. The affaan-m owner namespace is now at 0 open PRs and 0 open issues by live gh search. The detailed before/after evidence and final queue disposition are recorded in docs/releases/2.0.0-rc.1/owner-queue-cleanup-2026-05-18.md.

ScopeDisposition
Dependabot PRs in stoictradingAI, Behavioral_RL, dprc-autotrader-v2, x-algorithm-score, polycule-secure, and pragmAItism_defAInceSkipped as stale generated dependency bumps; regenerate from current base if still needed.
Legacy issues in payments0-api, payments0-sdk, agent-payments-gateway, 0EM_Frontend, 0em-payments-dashboard, and yield-optimizerSuperseded by ECC Tools native-payments, hosted analysis, billing-readback, and Linear/project roadmap lanes.
Archived repos touched for PR closurestoictradingAI, dprc-autotrader-v2, polycule-secure, and pragmAItism_defAInce were restored to archived state after stale PR closure.
Final PR/issue sweepClosed the remaining generated ECC bundles, stale Cloudflare rename PRs, stale README-card PR, test/noise PR, public outreach issues, and empty placeholder issue. Preserved dexploy#25 findings in Linear ITO-62 before closure.

Skipped

Source PRReason
#1308Stale zh-CN sync would rewind or delete too much current tree state; concrete selector-link fix was already present.
#1320Package-manager removal conflicts with the current npm/pnpm/yarn/bun CI policy.
#1341Very large low-signal generated change with no safe focused salvage unit.
#1416/#1465Accidental fork-sync PRs with no focused contribution.
#1475One-line Gemini CLI bridge idea was too stale and underspecified to port safely.
#1604Drag-and-drop Windows installer bypasses the current managed installer, performs direct broad copies, and runs git pull from a local install script.

Remaining Manual-Review Backlog

The remaining plausibly useful backlog is translation/localization work that is unsafe to auto-port without language-owner review. This tail is attached to Linear ITO-55 and is not a release-blocking salvage task; release work should only verify that the backlog remains recorded and excluded from blind imports:

  • #1687 zh-CN localization tail
  • #1609 Persian README translation
  • #1563 zh-TW README sync
  • #1564 Turkish README sync
  • #1565 pt-BR README sync

Handling rule:

  1. Keep these PRs in translator/manual review.
  2. Split any future work by surface: agents, commands, top-level docs, release and count surfaces, then skills.
  3. Do not import stale top-level docs that carry old version or catalog-count facts.
  4. Do not reopen old PRs unless the original author returns with a current rebase; maintainer-side salvage should happen on fresh branches with attribution.

Future Cleanup Rule

For every stale/conflicted PR cleanup batch:

  1. Close or comment on the PR based on the queue policy.
  2. Add the source PR to this ledger or a dated successor ledger.
  3. Classify it as salvaged, already present, superseded, skipped, or translator/manual review.
  4. If useful, port a small compatible slice on a fresh maintainer branch.
  5. Credit the source PR and author in the maintainer PR body.