You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context..github/workflows/coverage.yml runs cargo tarpaulin with --fail-under gates only for stealth-announcer / stealth-registry / stealth-sender at 90% and wraith-names / stealth-splitter at 80%. stealth-batch-sender, stealth-vault, wraith-asset-policy, and the governance PoC have no coverage gate, so tests can regress silently. Batch-sender only has 6 inline snapshot tests and vault has 8, so today's real coverage is likely well below any published bar.
Scope.
Extend coverage.yml with per-crate tarpaulin runs for the four missing contracts.
Set gates at 80% for vault / batch-sender / governance and 90% for asset-policy (small surface).
Backfill tests until each crate meets its gate: for batch-sender that means adding a tests/ dir with adversarial cases beyond the current inline snapshots; for vault that pairs with issue Security audit of stealth-registry Soroban contract #2's hardening tests; for asset-policy add rotation + timelock adversarial cases; for governance add negative-path tests (quorum-not-met, cancelled proposal, executed twice).
Upload the merged HTML report as a workflow artifact and link it from stellar/README.md.
Acceptance.
coverage.yml runs tarpaulin for all nine Stellar crates
Every gate passes on develop
Coverage HTML artifact linked from stellar/README.md operations section
Per-crate coverage numbers recorded in contracts/audit-prep/TEST_COVERAGE.md
Tier: M (2-4 days) | Type: test
Context.
.github/workflows/coverage.ymlrunscargo tarpaulinwith--fail-undergates only for stealth-announcer / stealth-registry / stealth-sender at 90% and wraith-names / stealth-splitter at 80%.stealth-batch-sender,stealth-vault,wraith-asset-policy, and thegovernancePoC have no coverage gate, so tests can regress silently. Batch-sender only has 6 inline snapshot tests and vault has 8, so today's real coverage is likely well below any published bar.Scope.
coverage.ymlwith per-crate tarpaulin runs for the four missing contracts.tests/dir with adversarial cases beyond the current inline snapshots; for vault that pairs with issue Security audit ofstealth-registrySoroban contract #2's hardening tests; for asset-policy add rotation + timelock adversarial cases; for governance add negative-path tests (quorum-not-met, cancelled proposal, executed twice).stellar/README.md.Acceptance.
coverage.ymlruns tarpaulin for all nine Stellar cratesstellar/README.mdoperations sectioncontracts/audit-prep/TEST_COVERAGE.mdFiles.
.github/workflows/coverage.yml,stellar/stealth-batch-sender/tests/(new),stellar/stealth-vault/tests/(new),stellar/wraith-asset-policy/tests/(new),stellar/contracts/governance/tests/(new),stellar/README.md,contracts/audit-prep/TEST_COVERAGE.md.