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
{{ message }}
Repository navigation
Port revision key, feed identity, config-apply state and doctor JSON to Rust #716
P4-code-healthAnnotations, refactors, fixtures. Meter-gated, lowest priorityenhancementNew feature or requestoperator-holdThe operator's own hold: never picked or merged, not an owner ask; the operator removes itrefactorCode health / tech debt; no behavior changesize:MSized M against one local session
Revision hashing, feed identity hints, config-apply state and doctor JSON assembly are Bash plus jq: util/revision-key.sh, util/feed-identity.sh, util/config-apply-state.sh, util/doctor-report.sh. They feed config_meta.revision in the feed and the doctor output.
What it impacts
The config revision shown in the feed, doctor --json, and the refresh tick (#717).
How I found it
Function map of rigforge.sh and util/ at ea41133 and the tests that pin it (tests/test-doctor-json.sh, test-revision-key.sh, test-feed-identity.sh, test-config-apply-state.sh).
How important is it
Medium; the shared base for the tick. Start with revision-key and feed-identity, which are tiny.
Acceptance criteria
The library exposes revision key (umask 077, 32 random bytes hex, first 16 hex of sha256, chowned to the operator), feed-identity hints, config-apply state and doctor JSON assembly.
doctor --json dispatches natively; the other helpers are reachable through the hidden subcommand. With RIGFORGE_IMPL=rust, tests/test-doctor-json.sh, test-revision-key.sh, test-feed-identity.sh and test-config-apply-state.sh pass with no edits.
Native unit tests cover accepted and rejected inputs lifted from the Bash tests.
PARITY.md lists each helper native, hybrid or fallback; sourced-function tests are listed Bash-only. make check passes.
Possible solutions
Port helper by helper so each PR is reviewable.
Keep jq for any helper not yet ported; the ledger tracks it.
P4-code-healthAnnotations, refactors, fixtures. Meter-gated, lowest priorityenhancementNew feature or requestoperator-holdThe operator's own hold: never picked or merged, not an owner ask; the operator removes itrefactorCode health / tech debt; no behavior changesize:MSized M against one local session
Activity