Skip to content
Back to skills

Vault Coverage Honesty

ASecurity

Routes coverage and destructive-verdict questions. Run sfi.coverage_report through sfi.run_analysis (or read the coverage block of sfi.health_check) when the user asks whether the vault is complete, why something was not found, or before narrating safe-to-delete / what-if answers. Render coverageCaveat BEFORE the verdict — never footnote it. Refuse absence-based answers for not-modeled families; distinguish "not in vault" from "not in org".

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 3, 2026
ai-agentsrustgonodesecurity

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add PranavNagrecha/Salesforce-Intelligence --skill vault-coverage-honesty --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vault Coverage Honesty?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vault Coverage Honesty
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pranavnagrecha-vault-coverage-honesty/badge)](https://www.skillsdirectory.com/skills/pranavnagrecha-vault-coverage-honesty)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vault-coverage-honesty
description: |
  Routes coverage and destructive-verdict questions. Run sfi.coverage_report
  through sfi.run_analysis (or read the coverage block of sfi.health_check)
  when the user asks whether the vault is complete, why something was not found,
  or before narrating safe-to-delete / what-if answers. Render coverageCaveat
  BEFORE the verdict — never footnote it. Refuse absence-based answers for
  not-modeled families; distinguish "not in vault" from "not in org".
---

# Vault coverage honesty

## When this skill applies

Fire when the conversation touches:

- Vault completeness ("is my vault complete?", "what wasn't retrieved?")
- "Why is X not found?" — distinguish **absent from the org** vs **not covered by the last retrieve**
- Any destructive or what-if verdict (`safe_to_delete_field`, `what_if_*`, release readiness)
- Report / list view / FlexiPage / PSG questions where the vault may lack those families

## Required tool order

1. **`sfi.coverage_report`** through `sfi.run_analysis` (or the `sfi.health_check` coverage block) when completeness is unknown.
2. The destructive or what-if tool second — never skip step 1 before claiming `safe`.

## Rendering `coverageCaveat`

When a tool returns `coverageCaveat`, render it **before** the verdict:

> I can't confirm this is safe — the vault has incomplete coverage for: Report, FlexiPage. Treat missing dependencies in those families as **not checked**, not **none**. Verified dependencies: …

Never bury the caveat after a confident-sounding verdict.

A caveat is for what the vault truly cannot see. Tools run the check they can run
before printing one: `what_happens_on_save` / `order_of_execution` name Process
Builder processes, approval field updates or time-triggered workflow updates in
`reentry.notModeled` only when the vault holds some, with the count;
`permission_risk_report` reads the org security toggles (`SecuritySettings:default`,
`SessionSettings:default`) as evidence rows on a god-mode finding and in
`securityContext`, and says "not in this vault" only when neither node exists. When
a tool returns such rows, do not tell the user the snapshot lacks them.

A summary sentence is computed from the rows under it. `integration_map` counts
only the active remote site settings in its "Active RemoteSiteSettings … N of M"
sentence and names the inactive ones apart; `org_overview` renders "N of M
automation items active (p%)" with the denominator it used; `permission_risk_report`
says "N of M permission sets in this vault were scanned; K skipped because …" when
its unassigned sub-analysis filtered any. A `find_dead_code` field row is never
`definitely_dead`: it caps at `likely_dead`, and the CustomField entry in `boundaries`
names the referrer families not checked — render those before the verdict. `synthesize_answer` with no
`input` returns `GROUNDING NOT VERIFIED` as the whole answer; pass the tool results.

## Verbatim disclosure

Carry the `sfi.coverage_report` disclosure:

> Coverage describes what the last `sf project retrieve` requested and returned — not what exists in the org. A type listed under `notModeled` is not analyzed by this product at all; its absence from any result means "not checked", never "none". Re-run `/sfi-refresh` after widening your retrieve manifest to close a gap.

Current vaults model Reports, Dashboards, List Views, Report Types, FlexiPages, Permission Set Groups, Muting Permission Sets, Restriction Rules, and Scoping Rules when those types are included in the retrieve. If coverage rows show `retrieved: 0` or the type is missing from the manifest, say **not checked** — not "none."

## Refusal patterns

| User question | Wrong answer | Right answer |
|---------------|--------------|--------------|
| "Which reports use this field?" when Report coverage is partial/missing | "None" | Reports were not fully modeled in this vault; run `sfi.run_analysis` with `{ "name": "sfi.coverage_report", "args": { … } }`, widen retrieve, or use the org's report UI. |
| "Safe to delete?" under partial coverage | "Safe" | Downgrade to review/risky; cite `coverageCaveat.missingCoverage`. |
| "Nothing references this field" with gaps in analytics/UI coverage | "Unused" | "No references found **in the families the vault checked**." |

## Composition with other skills

- **`freshness-tracking`**: freshness = how old; coverage = how whole.
- **`architect-impact-analysis`**: impact answers inherit the same caveat on absence-based claims.
- **Live plane** (`sfi.live_*`): live data does not repair offline coverage gaps; it answers runtime questions only with a `sfi.live_consent` grant or `SFI_LIVE_PLANE_ENABLED=1` (per-call `liveEnabled` is intent only, not consent).

## Trust fields

Surface `data.trust.provenance` and `data.trust.completeness.status` when present:

- `offline_snapshot` — default vault answers
- `live_org` — opt-in `sfi.live_*` only
- `hybrid` — when combining vault impact with live counts (both planes disclosed)

## List views and skipped directories

When `manifest.skippedDirectories` includes `listViews`, those files were retrieved
but not extracted into the graph (walker skip or retrieve-only). Coverage marks
`ListView` as `neverModeled`; `safe_to_delete_field` surfaces `coverageCaveat` and
downgrades unqualified `safe` to `review`. When list views are included in the
retrieve and extracted (`extractListView` under `objects/*/listViews/`), incoming
`references` edges from `ListView:` nodes behave like Report blockers. Say
"not checked (list views not modeled)" rather than "no references found."

---

**Grounding & routing (shared contract).** For a vague or broad ask, run `sfi.route_question` through `sfi.run_analysis` first — it returns a meaning-ranked `toolCandidates` shortlist (which YOU pick from); each row names its plane and carries any component it resolved as `suggestedArgs`. **Default tool profile is `core`:** only the core spine (including `sfi.live_consent`) is directly invokable. For every other `sfi.*` analysis, call `sfi.run_analysis` with `{ "name": "sfi.<tool>", "args": { … } }` (or follow `route_question.invoke`, which already wraps non-core steps). Optional: `sfi.describe_analysis` first when args are unclear. Every org fact must come from an `sfi.*` tool call, cited by its canonical id — never from memory. Build the answer only from what the tools returned, then pass it through `sfi.synthesize_answer` (via `sfi.run_analysis`), which flags any `hallucinatedIds` (canonical ids no tool produced). Full cascade: `using-sf-intelligence`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.