Skip to content

fix(conformance): bind Chat quota deletion repair - #229

Merged
BunsDev merged 2 commits into
mainfrom
fix/chat253-quota-delete-race-validator
Sep 13, 2026
Merged

fix(conformance): bind Chat quota deletion repair#229
BunsDev merged 2 commits into
mainfrom
fix/chat253-quota-delete-race-validator

Conversation

@BunsDev

@BunsDev BunsDev commented Sep 13, 2026

Copy link
Copy Markdown
Member

Review at d041efc689f5f956793b89ebcd567ea78aacfc39: binding readiness remains unproven. The selected Chat253 source converts observed quota failures into skippable absence when a retry reports missing; this does not distinguish deletion from rename/replacement or preserve unconditional entry-bound rejection. Chat251 integrates253 ancestry while retaining strict accounting and is in fresh full CI at 00b3c75339f20467bf15e30fb5f7a050f8bae381.

Two validator coverage gaps also remain: tests/conformance-gaps.spec.ts changes the quarantine assertion from present exactly once to absent in compressed text, and removes both quarantine mutations from the real workflow verifier. Standalone codec tests do not replace that integration coverage because production github-conformance-evidence.mjs does not call the decoder. The parent script hash still rejects arbitrary changes; this finding is a missing independent decoded-source gate and lost workflow-level regression coverage, not a demonstrated arbitrary-payload bypass.

The prepared Chat251 validator adds independent decoded-source verification after the parent gate and restores mutation/re-encoding through the real workflow verifier. Its corrected-source preview passed full repository verification (1515 tests/2 skips, coverage/package checks and three stress repetitions), but still requires the actual verified Chat merge before publication or scope rotation. Preserve active worktrees.

Summary

  • bind the cross-repository validator to merged fix(conformance): handle completed Windows quota-root deletion chat#253
  • refresh exact workflow and Windows bootstrap identities plus deterministic Brotli fixtures
  • validate the bounded gzip/base64 supervisor block against an independently frozen canonical C# fixture
  • preserve quarantine mutation coverage against decoded source bytes

Validation

  • corepack pnpm@10.34.0 verify
  • focused conformance and supervisor-source tests
  • code review found no significant issues

Copilot AI lite review requested due to automatic review settings September 13, 2026 02:12
@BunsDev
BunsDev merged commit c128058 into main Sep 13, 2026
9 checks passed
@BunsDev
BunsDev deleted the fix/chat253-quota-delete-race-validator branch September 13, 2026 02:16

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.

🟡 Changes recommended

The embedded workflow supervisor block remains unvalidated against the canonical C# fixture, and the documentation overstates the current binding.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This PR rebinds conformance evidence to merged OpenCoven/chat#253 and adds canonical Windows supervisor-source validation.

Changes:

  • Refreshes workflow, bootstrap, lockfile, fixture, and release identities.
  • Adds bounded gzip/Base64 supervisor-source encoding and decoding.
  • Updates conformance, quarantine, and producer-binding tests.

Review findings: moderate (3 votes)—the embedded workflow block is not compared with the canonical C# fixture; nit (1 vote)—documentation overstates the fixture binding.

File summaries
File Reviewed changes
tests/windows-supervisor-source.spec.ts Supervisor identity and mutation tests.
tests/conformance-gaps.spec.ts Refreshed fixtures and conformance expectations.
tests/conformance-contract.spec.ts Updated producer binding assertion.
scripts/windows-supervisor-source.mjs Canonical supervisor-source encoder and decoder.
scripts/windows-supervisor-source.d.mts Type declarations for the helper API.
scripts/github-conformance-evidence.mjs Updated bootstrap digest.
RELEASING.md Updated release authority references.
docs/workflows/client-v1-cross-repository-conformance.md Updated conformance documentation.
conformance/client-v1-cross-repository-lock.json Rebound Chat producer and workflow identities.
Review details

Suppressed comments (1)

docs/workflows/client-v1-cross-repository-conformance.md:64

  • This claims the Brotli fixtures bind the workflow to the decoded C# identity, but the current tests validate those artifacts independently: the supervisor test generates its own block and conformance-gaps.spec.ts only checks the workflow/bootstrap digests. Until the actual workflow block is extracted and compared, this documentation overstates the guarantee; either add that binding or revise the wording.
fixtures bind the workflow, bootstrap, and decoded C# identities without
weakening the runtime decoder checks.
  • Files reviewed: 9/14 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

test('binds the canonical decoded block to the independent frozen C# identity', () => {
expect(source.length).toBe(identity.size);
expect(createHash('sha256').update(source).digest('hex')).toBe(identity.sha256);
expect(decodeWindowsSupervisorSource(renderWindowsSupervisorSource(source), identity)).toEqual(source);
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