scip-query 0.16.0 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/README.md +2 -2
- package/dist/cli.js +279 -280
- package/package.json +1 -1
- package/skills/_shared/SKILL.md +1 -1
- package/skills/scip-calibrate/SKILL.md +2 -2
package/package.json
CHANGED
package/skills/_shared/SKILL.md
CHANGED
|
@@ -207,7 +207,7 @@ measured precision, not by volume:
|
|
|
207
207
|
- **Advisory gate findings** (marked `(advisory)`) never block; they are context, not obligations.
|
|
208
208
|
- **False-dead archetypes (2026-07-02 remediation, docs/plans/2026-07-02-followups.md items 1-3)**: `import type`-only consumers (incl. tsconfig `paths`-aliased specifiers) and pnpm/npm/yarn workspace cross-package consumers (incl. unbuilt `dist/` exports maps) are now resolved by the shared reference-counting layer that `dead`/`isolated`/`new-dead`/`stale-abstractions`/`production-callables` all consume; Vue `<script setup>` composable consumers were already correctly resolved (verified live, no code change needed). One narrow residual gap remains: a symbol with an **ambiguous leaf name** (a same-named definition exists elsewhere in the project) reached only through a **re-exporting barrel file** in a workspace package can still misattribute — `new-dead` labels that specific shape `unconfirmed (cross-package ambiguous-name resolution gap)` with `evidence: "heuristic"` and lowered confidence instead of asserting `dead`; treat those as "verify manually," not as a fact. Everything else in this class is a normal graph-fact `dead` claim again — confirm with `refs` when in doubt, same as any other finding.
|
|
209
209
|
- **Ledger nudges**: when `diff-gate --hook` reports "this check is rarely acted on in this repo", either tune that check's config, suppress the standing findings with reasons, or consciously accept the noise — do not let unresolved findings accumulate as wallpaper.
|
|
210
|
-
- **Effectiveness ledger**: every completed diff-gate run, including JSON and hook mode,
|
|
210
|
+
- **Effectiveness ledger**: every completed diff-gate run, including JSON and hook mode, writes each caught/resolved/suppressed transition to its own committed `.scipquery/events/*.json` file. Independent branches add independent paths instead of editing a shared log; commit the event files with your changes. Legacy `.scipquery/ledger/events.jsonl` records remain readable and migrate on the next gate write. Query the history with `scip-query effectiveness [--since 30d] [--check <check>] [--json]`: per check it reports findings caught, same-HEAD verified fixed, suppressed, still open, `moved` (rename noise), `unverified` (the finding disappeared after HEAD changed or without Git identity), precision (verified fixed ÷ verified fixed plus suppressed), and median days-to-fix. Run diff-gate before and after a repair, before committing, to earn verified credit. Standalone detector commands are not outcome-tracked until they expose complete-scan evidence.
|
|
211
211
|
|
|
212
212
|
## Diff Gate Checks
|
|
213
213
|
|
|
@@ -120,8 +120,8 @@ diff-gate, per-detector precision is recomputed from real outcomes
|
|
|
120
120
|
(`detectorPrecision` in `health --json`), and the committed event ledger
|
|
121
121
|
makes those outcomes durable and queryable — `scip-query effectiveness
|
|
122
122
|
--since 30d --json` reports per-check caught/same-HEAD-fixed/suppressed/open/
|
|
123
|
-
unverified counts, precision, and median days-to-fix from
|
|
124
|
-
`.scipquery/
|
|
123
|
+
unverified counts, precision, and median days-to-fix from the individual
|
|
124
|
+
records under `.scipquery/events/*.json`. Run diff-gate before and after the repair,
|
|
125
125
|
before committing, so a changed HEAD cannot be mistaken for a verified fix.
|
|
126
126
|
Re-run this protocol only after major detector upgrades or when the
|
|
127
127
|
ledger's precision numbers drift from what you measured. Write the calibration report to
|