fix: unified remediation of consolidated audit findings (Phases 1-7)#17
Open
cryptoxdog wants to merge 1 commit into
Open
fix: unified remediation of consolidated audit findings (Phases 1-7)#17cryptoxdog wants to merge 1 commit into
cryptoxdog wants to merge 1 commit into
Conversation
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
cryptoxdog
force-pushed
the
fix/unified-remediation-phases-1-7
branch
4 times, most recently
from
July 22, 2026 02:52
f75b7c5 to
a10358d
Compare
Transplanted-From: 1091f6b (remediation pack 2026-07-20)
cryptoxdog
force-pushed
the
fix/unified-remediation-phases-1-7
branch
from
July 22, 2026 03:03
a10358d to
8e52e89
Compare
|
This was referenced Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Merges and remediates the overlapping findings from two independently-produced audit documents (
consolidated-findings-plan.md:PRD-*/ICA-*, andconsolidated-findings-remediation-plan.md:AUD-*/SEC-*/RAA-*/DWA-*), both audited againstbase_ref 87075d82. Cross-referencing them surfaced 25 raw finding IDs collapsing to 18 distinct defects, one confirmed false positive (AUD-003), and one critical release-blocking bug (ICA-002/ICA-003) that only one of the two documents caught.TEST-CI-GAP): addeslint.config.js+ a real Vitest suite; wirenpm test/npm run lintintoci.yml/publish.ymlICA-002/ICA-003):getDowngradedModel()now branches on provider/model-family; removes the uncheckedas anycast that could send aGeneralModelstring to the Perplexity API on any hard-throttled search taskPRICING-DRIFT): single canonicalsrc/pricing.tsconsumed by bothopenrouter.tsandgeneral-matrix.tsdisableSearchbranch fixed,checkSurge()/resetGlobalMonthly()wrappers added, realCircuitBreakerimplemented and wired intoexecute(), unusedRoutingResultremoved, swallowed fallback errors now accumulated (AUD-005)SEC-001), Zod runtime validation ofTaskDescriptor/RouterConfig(SEC-002), errortoJSON()redaction (SEC-003),npm audit --omit=devCI gate (SEC-004)RAA-003):ARCHITECTURE.md+no-restricted-importsESLint rule enforcing router-only-egressFull defect-by-defect disposition lives in
src/docs/WIP/LLM-Router audits/unified-remediation-ledger.md(gitignored WIP doc, not part of this diff).Note: this branch intentionally excludes a set of unrelated untracked repo-scaffold files present in the working tree (
CODEOWNERS,ISSUE_TEMPLATE/,dependabot.yml, severall9-*.ymlworkflows,CODE_OF_CONDUCT.md,CONTRIBUTING.md,SECURITY.md,SUPPORT.md) — those were not produced by this remediation session and are out of scope for this PR.Test plan
npm run build— cleannpm run verify:types— cleannpm run lint— 0 errors (2 pre-existing, out-of-scopeanywarnings in vision/general-config branches)npm test— 82/82 passing across 10 test filesnpm audit --audit-level=high --omit=dev— 0 vulnerabilitiesMade with Cursor