Expand description
Fallow Impact: local, opt-in value reporting.
Structs§
- Attribution
Input - Audit
RunRecord - Record an audit run into the rolling store.
- Clone
Input - Containment
Event - File
Frontier - Finding
Input - Frontier
Finding - Impact
Counts - Per-category issue counts captured at a recorded run.
- Impact
Digest - A due periodic value digest: the headline counters for “what has fallow
done for you here”. Returned by
take_due_digestat most once perDIGEST_INTERVAL_SECSper project. - Impact
Record - Impact
Report - The rendered impact report, derived purely from the store (no analysis run).
- Impact
Store - Pending
Containment - Resolution
Event - Trend
Summary - A computed trend between the two most recent records.
Enums§
- Impact
Report Schema Version - Wire-version discriminator for
ImpactReport. Independent from the globalSchemaVersion(the impact report versions on its own cadence) and from the on-diskSTORE_SCHEMA_VERSION(the persisted store shape versions separately). Serializes as a stringconstso JSON consumers can switch on it, matching the other independently-versioned envelopes (e.g.CoverageAnalyzeSchemaVersion). - Impact
Trend Direction - Direction of a count trend between two recorded runs.
- Scope
Functions§
- build_
report - collect_
clone_ findings - Collect clone-group identities
(fingerprint, instance paths)from a duplication report. The fingerprint is content-derived (dup:<hash>), so it is stable across pure relocation. - collect_
complexity_ findings - Collect line-independent complexity finding identities
(path, function name)from a health report. The function name is line-independent, so a function moving within its file keeps the same identity. - collect_
dead_ code_ findings - decline_
onboarding - Persist that the local user declined the agent onboarding prompt.
- disable
- Disable Impact tracking. Retains existing history. Returns whether it was
newly disabled (false if already off). Also records the explicit decision,
so declining the impact opt-in on a never-enabled project (
impact disable) persists “asked and said no” for the agent skill. - enable
- Enable Impact tracking and ensure
.fallow/is gitignored. - load
- Load the store. Missing or unreadable files fall back to defaults; unreadable files are warned about rather than silently disabling tracking.
- record_
audit_ run - record_
combined_ run - Record a whole-project combined run into the project track.
- render_
human - Render the report as human-readable text.
- render_
json - Render the report as JSON.
- render_
markdown - Render the report as Markdown (paste-ready for a PR description or standup).
- take_
due_ digest - Return the periodic value digest when it is due, stamping the store so the
next one is at least
DIGEST_INTERVAL_SECSaway. Due means: tracking is enabled, there is non-zero value to report (anti-nag: a zero digest never surfaces), and the previous digest is older than the interval (or never happened). Best-effort like the rest of the store: a clean run that drops the emitted step simply defers the digest to the next interval.