Skip to content

chore(contracts): CHAOS-14370 bump the ask-dev ACR pin to the web pin ff4ae590 - #196

Merged
chrisgeo merged 1 commit into
mainfrom
contracts/acr-pin-ff4ae590
Nov 20, 2026
Merged

chrisgeo merged 1 commit into
mainfrom
contracts/acr-pin-ff4ae590

Conversation

@chrisgeo

@chrisgeo chrisgeo commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Follows web main ff4ae590: ask-dev's ACR pin moves from acr 3a5bf05a to ff4ae590, the same SHA as web (INV-4). The contract rule is pin-before-proof. Unlike #195, vendored files changed beyond the source header (listed below).

TEST-EVIDENCE

  • pnpm acr:contracts:generate --source <clean acr worktree at ff4ae590>, then pnpm acr:contracts:check --source <same> (rc 0) and pnpm acr:contracts:check (rc 0).
  • pnpm acr:pins:check --web-manifest <web main manifest>: rc 0 (acr pins match at ff4ae590).
  • pnpm format:check, pnpm typecheck, pnpm lint: rc 0. pnpm test:unit: rc 0, 143 files, 3317 tests pass.
  • gitleaks origin/main..HEAD: rc 0, no leaks.

RISK-NOTES

  • Scope: pin constant (plus history comment line), manifest source_commit and two sha256 values, generated headers, and two vendored schemas.
  • src/contracts/schemas/context_fabric_submission_status.v1.schema.json: done_unsaved description extended (accept-first create, Prefer: respond-async); new optional properties last_stage (5-stage enum) and terminal (kind result|unsaved|error, error_code); top-level if/then/else wrapped in allOf plus a new rule: state running forbids terminal.
  • src/contracts/schemas/error.v1.schema.json and src/contracts/generated/error.ts: stream_unavailable description extended (comment-only in TS). No generated TS type changes.
  • The schema change is additive (new optional properties).
  • Same contract web already vendors at ff4ae590 (acr #2142 additions: respond-async, last_stage, terminal, the running => no terminal rule, the stream_unavailable text).
  • Producer evidence (acr ff4ae590): internal/api/context_fabric_submission_status.go:175-176 returns nil terminal when the record state is running; the 202 body (context_fabric_respond_async.go:79, submissionStatusOf) sets no terminal; internal/contracts/v1/context_fabric_submission.go:171-172 Validate rejects terminal on a running state (500 backstop, handler line 126). No path emits both.
  • Consumers: no ask-dev code outside src/contracts/schemas and src/contracts/generated reads last_stage or terminal (grep at head: none; terminal_status in CompletenessPanel.tsx is another field).
  • Web follows this merge: web ask-dev pin follows (filed separately).

Ticket: CHAOS-14370

@linear-code

linear-code Bot commented Nov 20, 2026

Copy link
Copy Markdown

CHAOS-14370

@chrisgeo
chrisgeo merged commit ff9d8f8 into main Nov 20, 2026
14 checks passed
@chrisgeo
chrisgeo deleted the contracts/acr-pin-ff4ae590 branch November 20, 2026 14:13
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.

1 participant