Skip to content

fix(conformance): retain locked Chat revision for nested checkout - #144

Closed
BunsDev wants to merge 2 commits into
mainfrom
fix/protected-matrix-v17
Closed

fix(conformance): retain locked Chat revision for nested checkout#144
BunsDev wants to merge 2 commits into
mainfrom
fix/protected-matrix-v17

Conversation

@BunsDev

@BunsDev BunsDev commented Sep 7, 2026

Copy link
Copy Markdown
Member

Summary

  • fetch and retain the lock.chat revision before schema-v2 nested checkouts
  • add a regression guard for the protected Windows bootstrap
  • bind the updated workflow authority and documentation

Evidence

  • targeted workflow tests pass
  • phase1 authority-lock tests pass

Protected run 34091592534 showed Windows failing at phase1.stage.checkouts.chat.failed because the locked historical Chat object was absent from the shallow source clone.

BunsDev and others added 2 commits September 7, 2026 02:52
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@BunsDev
BunsDev marked this pull request as ready for review September 7, 2026 08:08
Copilot AI lite review requested due to automatic review settings September 7, 2026 08:08
@BunsDev

BunsDev commented Sep 7, 2026

Copy link
Copy Markdown
Member Author

Superseded by the already-merged #143, which retains the required Chat history for the nested locked checkout.

@BunsDev
BunsDev deleted the fix/protected-matrix-v17 branch September 7, 2026 08:09
@BunsDev BunsDev closed this Sep 7, 2026

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 internally consistent across workflow, lock, tests, and documentation, and directly address the reported Windows shallow-checkout failure mode without introducing apparent regressions.

Pull request overview

This PR hardens phase1 conformance’s authority locking on Windows by ensuring the locked Chat revision is fetched (and retained via a local ref) before schema-v2 style nested checkouts rely on it, preventing failures when the initial checkout is shallow.

Changes:

  • Repins the harness authority revision/tree and updates the recorded workflow blob + SHA-256 across the lock file and lock tests.
  • Extends the protected Windows bootstrap to validate phase1Lock.chat and fetch/tag the locked Chat revision for reachability.
  • Updates conformance documentation to reflect the new committed workflow byte size and digest.
File summaries
File Description
src/phase1-conformance-lock.test.ts Updates the expected harness authority revision/tree and workflow blob/SHA assertions to match the new lock authority.
src/client-v1-conformance-workflow.test.ts Adds a regression guard ensuring the protected Windows bootstrap contains the new Chat revision fetch + local ref anchor.
phase1-conformance.lock.json Repins harness authority to the new revision/tree and updates the workflow blob/SHA record.
docs/phase1-conformance.md Updates the documented workflow byte count and SHA-256 to match the new pinned workflow bytes.
.github/workflows/client-v1-conformance.yml Validates phase1Lock.chat and fetches/tags the locked Chat revision to prevent shallow-clone object absence during nested operations.
Review details
  • Files reviewed: 5/5 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.

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.

2 participants