Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .agents/skills/dotcov-ci-workflows/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ description: >-
- Native RID packages and the portable fallback must exist before the
`DotCov.Tool` pointer is pushed. Keep pointer publication last.
- Coverage uses the shared project settings described in the
[test guide](../../../tests/CLAUDE.md). Consume reports from the intended
[test guide](../../../tests/AGENTS.md). Consume reports from the intended
run only; missing measurements cannot produce a passing badge or gate.
- The coverage gate (`fallout Coverage --reports TestResults`) rejects
missing src projects and coverage below the thresholds in `build/Build.cs`.
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Coverage stays at 100% of lines and branches: `fallout Coverage` and CI fail bel
list the files that fell short. Close each gap with a test that drives a public entry point,
or delete the code if no input can reach it; never exclude code from measurement.
For test isolation, measurement or runner diagnostics, read the
[test guide](tests/CLAUDE.md).
[test guide](tests/AGENTS.md).

## Skills

Expand Down
3 changes: 0 additions & 3 deletions CLAUDE.md

This file was deleted.

2 changes: 1 addition & 1 deletion agents/coverage-hunter/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ If you can delegate to copies of yourself, you are the lead:
3. When all four have reported, apply their patches in /workspace/dotcov, resolve conflicts, and rerun the Coverage command until it passes. Then deliver.

If you were handed a slice, you are a hunter:
- Work only in your worktree and only on your slice's code and its tests. Read AGENTS.md, tests/CLAUDE.md and src/DotCov.Fallout/AGENTS.md first and follow their TUnit rules.
- Work only in your worktree and only on your slice's code and its tests. Read AGENTS.md, tests/AGENTS.md and src/DotCov.Fallout/AGENTS.md first and follow their TUnit rules.
- Hunt the hardest bugs first: wrong results without an error, boundary and empty input, culture and encoding, number parsing and rounding, stream ownership and disposal, path handling, and any promise a name, doc comment or caller makes that the code breaks. Prove each bug with a test that fails on the current code, then make the smallest fix that makes it pass.
- Then close every coverage gap in your slice with tests that drive public entry points and assert results. Delete code no input can reach unless it is public API; test public API instead.
- While you work, run only the tests you touch (`dotnet test --project tests/DotCov.Tests --treenode-filter ...`). Before reporting, run the full `dotnet fallout Coverage` once in your worktree and confirm every test passes.
Expand Down
2 changes: 1 addition & 1 deletion build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class Build : FalloutBuild
args.AddRange(["--badge-dir", Path.GetFullPath(BadgeDirectory, RootDirectory)]);
await RunDotCov([.. args],
failure: "Coverage must stay at 100% of lines and branches. For each file dotcov lists above, add a test that " +
"drives the uncovered line or branch through a public entry point (tests/CLAUDE.md), or delete the " +
"drives the uncovered line or branch through a public entry point (tests/AGENTS.md), or delete the " +
"code if no input can reach it. Never exclude code from measurement.");
});

Expand Down
File renamed without changes.
Loading