Skip to content

fix(conformance): advance protected matrix diagnostics - #137

Merged
BunsDev merged 4 commits into
mainfrom
fix/protected-matrix-v14
Sep 7, 2026
Merged

fix(conformance): advance protected matrix diagnostics#137
BunsDev merged 4 commits into
mainfrom
fix/protected-matrix-v14

Conversation

@BunsDev

@BunsDev BunsDev commented Sep 7, 2026

Copy link
Copy Markdown
Member

Summary

  • trust both the canonical schema-v2 source worktree and its resolved Git directory during the nested protected clone
  • validate broker-owned Unix schema-v2 records with the frozen SDK contract parser
  • preserve a bounded public evidence-authority diagnostic for asynchronous finalization failures
  • refresh and bind the immutable workflow and harness authority

Validation

  • corepack pnpm@10.34.0 --ignore-workspace test
  • corepack pnpm@10.34.0 --ignore-workspace lint
  • corepack pnpm@10.34.0 --ignore-workspace typecheck
  • corepack pnpm@10.34.0 --ignore-workspace build

Advances OpenCoven/sdk#38.

BunsDev and others added 3 commits September 6, 2026 20:13
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@BunsDev BunsDev added the ci:full Run the macOS and Windows CI jobs on this pull request label Sep 7, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@BunsDev
BunsDev marked this pull request as ready for review September 7, 2026 01:23
Copilot AI lite review requested due to automatic review settings September 7, 2026 01:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are cohesive, well-covered by targeted regression tests, and the updated lock/workflow pins are consistently propagated across tests and documentation.

Pull request overview

This PR advances the Phase 1 conformance “protected matrix” diagnostics by strengthening Git safe-directory handling for local worktree clones, adding schema-v2 evidence finalization error classification, and tightening validation of broker-owned Unix platform records using the frozen SDK validator contract.

Changes:

  • Extend local schema-v2 checkout cloning to trust both the local worktree path and its resolved Git directory (safe.directory=...), with regression coverage.
  • Introduce an async stage wrapper (runSchemaV2StageAsync) to preserve bounded diagnostics for async schema-v2 evidence finalization failures, with test coverage.
  • Update the client-v1 conformance workflow to validate broker-owned Unix schema-v2 records via the frozen SDK contract parser, and refresh pinned harness/workflow authority hashes/docs.
File summaries
File Description
src/phase1-conformance.test.ts Adds regression tests for dual safe.directory trust and async evidence finalization failure classification.
src/phase1-conformance-lock.test.ts Updates expected harness/workflow authority pins to match refreshed lock.
src/client-v1-conformance-workflow.test.ts Extends workflow-content assertions to cover frozen contract parsing of broker-owned records.
scripts/phase1-schema-v2-producer.mjs Adds async stage wrapper, extends protected local clone config with both safe.directory entries, and wraps evidence finalization to emit bounded diagnostics.
phase1-conformance.lock.json Refreshes pinned harness authority revision/tree and affected file digests.
docs/phase1-conformance.md Updates documented byte counts and SHA-256 values for pinned workflow/script artifacts.
.github/workflows/client-v1-conformance.yml Validates broker-owned Unix platform record via frozen SDK contract parser; updates pinned artifact metadata.
Review details
  • Files reviewed: 7/7 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@BunsDev
BunsDev merged commit c4332b0 into main Sep 7, 2026
11 checks passed
@BunsDev
BunsDev deleted the fix/protected-matrix-v14 branch September 7, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:full Run the macOS and Windows CI jobs on this pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants