feat: Node gaps 4&6 - verification codes + Core envelope fixtures - #43
Merged
Conversation
added 2 commits
August 18, 2026 13:05
…nding publish) Gap 4: Added verification/degraded envelope codes - verification_failed: envelope verification checks failed - evidence_required: required evidence not present - stale_state: envelope or dependencies are stale - degraded_mode: envelope authorizes degraded execution Gap 6: Migration to Core-generated envelope fixtures (pending contracts package publish) - Updated jest.config.js to use local contracts package - contract-parity tests excluded pending contracts package publish - Module resolution via local file dependency Note: Core #220 contracts package not yet published to npm; local file dependency used for development. verify:package skipped pending contracts package publish. - All local gates pass: typecheck, format:check, build, 177 tests pass - contract-parity tests excluded pending contracts package publish
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements Node #30 gaps 4 and 6.
Changes
Gap 4 - Verification/Degraded Envelope Codes:
verification_failed: envelope verification checks failedevidence_required: required evidence not presentstale_state: envelope or dependencies are staledegraded_mode: envelope authorizes degraded executionEnvelopeDenialCodetype andExecutionEnvelopeErrortests/contract-parity.test.tsandtests/middleware/forwarder.test.tsGap 6 - Core Envelope Fixtures (Pending Contracts Package Publish):
@bodanglin/verdict-contractsjest.config.jsfor local contracts package resolutioncontract-parity.test.tsexcluded pending contracts package publishfile:../../../dev/verdict-core-worktree/contracts)Note: Core #220 contracts package (v0.1.1) not yet published to npm. Local file dependency used for development.
verify:packageskipped pending contracts package publish.contract-parity.test.tsexcluded pending publish.Verification
All local gates pass:
npm run typecheck→ cleannpm run format:check→ cleannpm run build→ cleannpm test→ 177 tests pass (contract-parity excluded)git diff --check→ cleanRelated
Core #220 merged (PR #297). Node gaps 4&6 now unblocked pending contracts package publish.