Skip to content

Fix DP-0 audit recording#20

Merged
MageByte-Zero merged 2 commits into
mainfrom
fix/issue-18-dp0-audit
Jul 6, 2026
Merged

Fix DP-0 audit recording#20
MageByte-Zero merged 2 commits into
mainfrom
fix/issue-18-dp0-audit

Conversation

@MageByte-Zero

Copy link
Copy Markdown
Owner

Summary

  • Fix ssf audit so DP-0 is counted as recorded when existing state has dp_0_confirmed: true but no dp_0_result.
  • Persist dp_0_result in the state loader so ssf state set <change-dir> dp_0_result ... no longer reports success while dropping the field.
  • Update workflow-start DP-0 instructions and prepare the 0.8.11 patch release.

Root Cause

DP-0 used a different state shape from the other decision points. workflow-start wrote dp_0_decisions, dp_0_confirmed, and dp_0_timestamp, while ssf audit only read dp_0_result. The state loader also did not write dp_0_result, so manual CLI updates were lost on writeback.

Verification

Fixes #18

@MageByte-Zero
MageByte-Zero merged commit 9901d44 into main Jul 6, 2026
3 checks passed
@MageByte-Zero
MageByte-Zero deleted the fix/issue-18-dp0-audit branch July 6, 2026 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v0.8.10 中 ssf audit 仍会把 DP-0 误判为 not recorded

1 participant