FIELD NOTE 01 / FEATURE-FLAG DEBT
Survey every trace before you remove the flag.
Join provider state, bounded evaluation evidence, and literal references across your repositories. Get a reviewable cleanup route—not a false promise that “zero” means safe.
- Offline
- Read-only
- No telemetry
- MIT
- 01InventoryRead provider export
- 02Cross-checkJoin activity + references
- 03RouteWrite the removal plan
Creation date is not removal evidence.
Provider dashboards can tell you that a flag looks stale. Repository search can tell you where a key appears. Neither alone tells a small team whether the cleanup route is complete.
“No evaluations observed” is a clue. It is never proof that a code path is dead.
Built-in safety rule
Plot one flag before touching code.
Change the offline sample inputs and see the same decision rule the CLI applies. Nothing leaves this browser.
Evidence station ready
Run the survey to classify the flag and map its visible references.
One binary. Offline inputs. Reviewable output.
Build from source today. Release binaries can be dropped into any CI job without a service account or network dependency.
cargo install --git https://github.com/B-Divyesh/sf-flag-removal-map
flag-removal-map \
--flags ./flags.json \
--evaluations ./evaluations.json \
--repo ./apps --repo ./packages \
--out ./flag-removal-plan.md
Map legend
- Keep
- Active provider state or observed evaluations.
- Remove
- Completed state plus bounded zero evidence. Still human-reviewed.
- Review
- Missing, contradictory, or incomplete evidence.
Conservative by design.
- No automatic edits.You decide what each reference means.
- No provider calls.Exports and tokens remain under your control.
- No “safe” badge.The plan records evidence and the human checks still required.