agentflight 0.3.2 → 0.4.0
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 +63 -0
- package/README.md +41 -9
- package/dist/commands/replay.d.ts.map +1 -1
- package/dist/commands/replay.js +9 -3
- package/dist/commands/replay.js.map +1 -1
- package/dist/commands/report.d.ts.map +1 -1
- package/dist/commands/report.js +9 -3
- package/dist/commands/report.js.map +1 -1
- package/dist/commands/resume.d.ts.map +1 -1
- package/dist/commands/resume.js +10 -2
- package/dist/commands/resume.js.map +1 -1
- package/dist/commands/snapshot.d.ts.map +1 -1
- package/dist/commands/snapshot.js +19 -1
- package/dist/commands/snapshot.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +28 -5
- package/dist/commands/status.js.map +1 -1
- package/dist/core/changed-files.d.ts +7 -0
- package/dist/core/changed-files.d.ts.map +1 -0
- package/dist/core/changed-files.js +73 -0
- package/dist/core/changed-files.js.map +1 -0
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +3 -0
- package/dist/core/config.js.map +1 -1
- package/dist/core/git.d.ts.map +1 -1
- package/dist/core/git.js +5 -2
- package/dist/core/git.js.map +1 -1
- package/dist/core/review-intelligence.d.ts +9 -0
- package/dist/core/review-intelligence.d.ts.map +1 -0
- package/dist/core/review-intelligence.js +340 -0
- package/dist/core/review-intelligence.js.map +1 -0
- package/dist/renderers/html-replay.d.ts +2 -1
- package/dist/renderers/html-replay.d.ts.map +1 -1
- package/dist/renderers/html-replay.js +188 -50
- package/dist/renderers/html-replay.js.map +1 -1
- package/dist/renderers/markdown-report.d.ts +3 -3
- package/dist/renderers/markdown-report.d.ts.map +1 -1
- package/dist/renderers/markdown-report.js +35 -5
- package/dist/renderers/markdown-report.js.map +1 -1
- package/dist/renderers/resume-prompt.d.ts +4 -1
- package/dist/renderers/resume-prompt.d.ts.map +1 -1
- package/dist/renderers/resume-prompt.js +32 -2
- package/dist/renderers/resume-prompt.js.map +1 -1
- package/dist/types/index.d.ts +39 -0
- package/dist/types/index.d.ts.map +1 -1
- package/docs/assets/agentflight-replay-timeline.png +0 -0
- package/docs/development/changed-file-filters.md +58 -0
- package/docs/{roadmap.md → roadmap/index.md} +5 -0
- package/docs/roadmap/v0.4.0-review-intelligence-plan.md +882 -0
- package/package.json +4 -2
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Changed-File Filters
|
|
2
|
+
|
|
3
|
+
AgentFlight keeps changed-file analysis local and deterministic. It reads git status, filters its own runtime artifacts, applies optional project filters, and then computes risk, review focus, proof gaps, reports, replays, resumes, and snapshots from the remaining files.
|
|
4
|
+
|
|
5
|
+
## Always-On Runtime Filters
|
|
6
|
+
|
|
7
|
+
AgentFlight always excludes its own runtime artifacts:
|
|
8
|
+
|
|
9
|
+
- `.agentflight/sessions/**`
|
|
10
|
+
- `.agentflight/reports/**`
|
|
11
|
+
- `.agentflight/current/**`
|
|
12
|
+
- `.agentflight/evidence/**`
|
|
13
|
+
|
|
14
|
+
These files are evidence and generated session data. Including them would make AgentFlight pollute its own risk and review output.
|
|
15
|
+
|
|
16
|
+
`.agentflight/config.json` stays visible because it is user-controlled project configuration and may be intentionally committed.
|
|
17
|
+
|
|
18
|
+
## Project Filters
|
|
19
|
+
|
|
20
|
+
Use `.agentflight/config.json` to hide generated or internal files that should not affect review intelligence:
|
|
21
|
+
|
|
22
|
+
```json
|
|
23
|
+
{
|
|
24
|
+
"changedFileFilters": {
|
|
25
|
+
"ignore": [".projscan-memory/**"]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
You can add other local patterns when they match your repo policy:
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"changedFileFilters": {
|
|
35
|
+
"ignore": [".projscan-memory/**", "coverage/**", "dist/**", ".next/**"]
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Ignored files do not appear in:
|
|
41
|
+
|
|
42
|
+
- `agentflight status`
|
|
43
|
+
- `agentflight report`
|
|
44
|
+
- `agentflight replay`
|
|
45
|
+
- `agentflight resume`
|
|
46
|
+
- `agentflight snapshot` risk and review summaries
|
|
47
|
+
|
|
48
|
+
Keep filters conservative. Do not ignore generated files that reviewers are expected to inspect.
|
|
49
|
+
|
|
50
|
+
## Supported Pattern Shape
|
|
51
|
+
|
|
52
|
+
The MVP filter supports:
|
|
53
|
+
|
|
54
|
+
- exact paths, such as `.projscan-memory/memory.json`
|
|
55
|
+
- directory prefixes ending with `/**`, such as `.projscan-memory/**`
|
|
56
|
+
- simple basename wildcards, such as `*.log`
|
|
57
|
+
|
|
58
|
+
Malformed or empty patterns are ignored rather than crashing the CLI.
|
|
@@ -13,12 +13,17 @@
|
|
|
13
13
|
- Defensive ProjScan and AgentLoopKit adapters.
|
|
14
14
|
- Verification evidence capture.
|
|
15
15
|
- Session events and snapshots.
|
|
16
|
+
- Review focus ranking.
|
|
17
|
+
- Proof gap detection.
|
|
18
|
+
- Review readiness recommendations.
|
|
19
|
+
- Config-driven generated/internal changed-file filters.
|
|
16
20
|
|
|
17
21
|
## Future Free/Open-Core
|
|
18
22
|
|
|
19
23
|
- Basic local session history.
|
|
20
24
|
- Structured `--json` output.
|
|
21
25
|
- Richer configurable verification command profiles.
|
|
26
|
+
- Deeper ProjScan-enriched review hints once stable structured output exists.
|
|
22
27
|
- More precise git diff stats without including full code by default.
|
|
23
28
|
- Timeline filtering and richer local replay navigation.
|
|
24
29
|
|