Skip to content

Ratify possession-only wallet proof profile and runtime plan - #8

Merged
brettheap merged 7 commits into
mainfrom
016-challenge-proof-runtime
Nov 11, 2026
Merged

brettheap merged 7 commits into
mainfrom
016-challenge-proof-runtime

Conversation

@brettheap

@brettheap brettheap commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

The possession-only wire profile is ratified by Brett Heap's first-hand response on 2026-11-10: "Ratify both possession-only profiles".

The ratification commit records owner standing, scope and exact approved schema hashes. Original origin/commissioning fields, schema bytes, technical requirements and runtime code are preserved. The owner-contract checklist item is complete; T006's combined realization, landing, assembly advancement and operational acceptance remains open.

Local validation: structural suite (five cases), pinned strict OpenSpec CLI gate, whitespace checks and a baseline comparison of origin fields, schema bytes/digests and technical requirement lines all passed. Fresh exact-head CI and Codex review were requested for this governance update.

Canonical contracts and governance belong to this spec leg; implementation/tests belong to the paired code leg. Real custody, factor/registry adapters, human approval, workload composition, live qualification and accepted assembly/consumer pins remain separate gates. Possession does not assert MFA or domain permission. No release, archive, runtime deployment, provider/credential operation, administrative bypass or ruleset change. Feedback remains deferred and neither previously blocked write was replayed.

@sourcery-ai

sourcery-ai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Schema and migrations

Define the exact-field challenge-proof wire contract and its structural acceptance checks, keeping the new family separate from the historical Q7 override.

  • contracts/challenge-proof-v0.schema.json L1-73

API

Specify the possession-proof requirements and feature handoff that govern the new wallet challenge-proof profile.

  • openspec/changes/add-challenge-proof-runtime/specs/wallet-challenge-proof/spec.md L1-22
  • specs/016-challenge-proof-runtime/spec.md L1-44

Implementation

Record the feature’s data model, protocol decisions, implementation plan, task ownership, and remaining acceptance gates.

  • specs/016-challenge-proof-runtime/analysis.md L1-11
  • specs/016-challenge-proof-runtime/data-model.md L1-9
  • specs/016-challenge-proof-runtime/plan.md L1-48
  • specs/016-challenge-proof-runtime/research.md L1-9
  • specs/016-challenge-proof-runtime/tasks.md L1-15

Configuration

Add a pull-request workflow that installs the pinned structural-test dependencies from local wheels and runs the contract tests.

  • .github/workflows/runtime-contracts.yml L1-17

Pin the complete structural-test dependency closure and provide its committed binary wheels for an offline Python 3.12 Linux CI run.

  • .gitignore L2-4
  • contracts/structural-test-requirements.txt L1-12

Documentation

Document the candidate’s governance, ratification scope, evidence, validation results, and remaining runtime and release gates.

  • docs/structural-test-dependencies.md L1-20
  • openspec/changes/add-challenge-proof-runtime/.openspec.yaml L1-15
  • openspec/changes/add-challenge-proof-runtime/design.md L1-38
  • openspec/changes/add-challenge-proof-runtime/proposal.md L1-34
  • openspec/changes/add-challenge-proof-runtime/review/ratification-2026-11-10.md L1-53
  • openspec/changes/add-challenge-proof-runtime/tasks.md L1-3
  • specs/016-challenge-proof-runtime/checklists/requirements.md L1-9
  • specs/016-challenge-proof-runtime/evidence.md L1-66
  • specs/016-challenge-proof-runtime/quickstart.md L1-24

Tests

Exercise structural schema validation and reject missing, altered, unsupported, and wrong-width proof fields without implying cryptographic verification.

  • tests/runtime_contracts/test_contracts.py L1-42

Lock files and vendored code

Vendor the pinned wheel artifacts used by the offline structural-test dependency installation.

  • tools/structural-test-wheels/attrs-26.1.0-py3-none-any.whl
  • tools/structural-test-wheels/iniconfig-2.3.1-py3-none-any.whl
  • tools/structural-test-wheels/jsonschema-4.25.1-py3-none-any.whl
  • tools/structural-test-wheels/jsonschema_specifications-2025.9.1-py3-none-any.whl
  • tools/structural-test-wheels/packaging-26.3-py3-none-any.whl
  • tools/structural-test-wheels/pluggy-1.7.0-py3-none-any.whl
  • tools/structural-test-wheels/pygments-2.21.0-py3-none-any.whl
  • tools/structural-test-wheels/pytest-9.1.1-py3-none-any.whl
  • tools/structural-test-wheels/referencing-0.37.0-py3-none-any.whl
  • tools/structural-test-wheels/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • tools/structural-test-wheels/typing_extensions-4.16.0-py3-none-any.whl

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T00:26:25.973774Z 00a61e3 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4d7a60e54e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/runtime-contracts.yml Resolved
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 8d7651f7e4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 9112a2caf9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: c3afe2662c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 778cedb304

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@brettheap

Copy link
Copy Markdown
Contributor Author

Upstream prerequisite readback for 778cedb30406e753fee5b4a95d96ac2c18b78ae4.

Current-head CI is green, and the chatgpt-codex-connector[bot] receipt explicitly names 778cedb304 with no major issues. No unresolved review threads remain.

T007 independent known-answer preparation is complete: both generators reproduce their committed vectors exactly; openWallet passes 98 cases plus one existing skip, and openMFA passes 48 cases. Spec gates pass five/13 structural cases and pinned strict OpenSpec validation. Assembly tooling openMFA #2 is merged at c0873fde1c10274f395522179704351fb74e0c45; both roots still validate original leg pins and all shape digests.

T006 remains pending the contract owner decision and real adapter/registry/custody and accepted assembly compatibility evidence. Ratification has been presented to Brett Heap for the two concrete possession-only spec candidates. No implicit approval, runtime leg merge, root runtime pin, release, MFA/human acceptance or live provider operation is claimed. Feedback remains deferred and neither previously blocked write was replayed.

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@sonarqubecloud

Copy link
Copy Markdown

@brettheap brettheap changed the title Propose candidate wallet challenge proof contract and feature Ratify possession-only wallet proof profile and runtime plan Nov 11, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 00a61e39a4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@brettheap
brettheap marked this pull request as ready for review November 11, 2026 00:27
@sourcery-ai

sourcery-ai Bot commented Nov 11, 2026

Copy link
Copy Markdown

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 4 days and 13 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap brettheap left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Contract landing recheck at 00a61e39a4280b4bee2e0db5f6eac0c725a3b82a against main be34312a6ea48b2ce23d95872666960b7e816a83.

Brett Heap ratified the possession-only wire profile at technical baseline 778cedb30406e753fee5b4a95d96ac2c18b78ae4. The subsequent record preserves original origin fields, schema bytes/digests and technical requirements. Exact-head required checks are green, the Codex bot receipt names this head and reports no major issues, and all review threads are resolved. Candidate 8908cff982290736eb7a1a04fa563af21e555750 has the intended parents and tree 0c1c69d02771dd0f23c07726c0c42962eab11999.

Normal protected contract-leg merge only. Runtime implementation acceptance, real custody/factor adapters, human approval, live qualification and assembly/consumer pin advancement remain separate gates. No admin, direct main push, ruleset change, release or archive. Feedback remains deferred and neither blocked write was replayed.

@brettheap
brettheap merged commit f71d8e0 into main Nov 11, 2026
4 checks passed
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