Phase 0: apply SPEC-INDEX contract fixes #1

Open
m2 wants to merge 1 commit from phase0/contract-fixes into master
Owner

Phase 0 contract fixes

Applies SPEC-INDEX §2 fixes #1-#13 and §4 Phase 0 as one PR set.

Fix Contract file(s)
#1 price.model fixed|job schemas/solution.schema.json, schemas/listing.schema.json
#2 seller object schemas/solution.schema.json, schemas/listing.schema.json, schema fixtures
#3 install settlement /v1/settlements/install contracts/ledger-api.md, contracts/cli.md
#4 license check /v1/licenses/{operator_id}/{listing_id} contracts/ledger-api.md, contracts/cli.md
#5 refund by tx_group_id contracts/ledger-api.md, contracts/cli.md
#6 balance /v1/balances/{account_or_operator_id} contracts/ledger-api.md, contracts/cli.md
#7 jobs API / tx_type=job contracts/ledger-api.md, schemas/solution.schema.json, schemas/listing.schema.json
#8 market:catalog tenant filter contracts/tenants.md, schemas/listing.schema.json
#9 telemetry vs evidence schemas contracts/telemetry.md
#10 deep link m2store://listing/<id> contracts/deeplink.md, contracts/ids.md
#11 CLI JSON + exit codes + permissions_diff contracts/cli.md
#12 bundle content hash / tar.gz + manifest contract touchpoint schemas/solution.schema.json, schemas/listing.schema.json, contracts/cli.md
#13 registry repo/path/labels schemas/*.schema.json, contracts/ledger-api.md, contracts/tenants.md

Also adds licenses/m2-market-standard-v1.md per SPEC-INDEX §3.8.

Validation:

  • python3 -m json.tool schemas/solution.schema.json
  • python3 -m json.tool schemas/listing.schema.json
  • PYTHONDONTWRITEBYTECODE=1 /home/m2/m2-market/.venv/bin/pytest schemas/tests/test_schemas.py (7 passed)
## Phase 0 contract fixes Applies SPEC-INDEX §2 fixes #1-#13 and §4 Phase 0 as one PR set. | Fix | Contract file(s) | | --- | --- | | #1 price.model fixed\|job | `schemas/solution.schema.json`, `schemas/listing.schema.json` | | #2 seller object | `schemas/solution.schema.json`, `schemas/listing.schema.json`, schema fixtures | | #3 install settlement `/v1/settlements/install` | `contracts/ledger-api.md`, `contracts/cli.md` | | #4 license check `/v1/licenses/{operator_id}/{listing_id}` | `contracts/ledger-api.md`, `contracts/cli.md` | | #5 refund by `tx_group_id` | `contracts/ledger-api.md`, `contracts/cli.md` | | #6 balance `/v1/balances/{account_or_operator_id}` | `contracts/ledger-api.md`, `contracts/cli.md` | | #7 jobs API / `tx_type=job` | `contracts/ledger-api.md`, `schemas/solution.schema.json`, `schemas/listing.schema.json` | | #8 `market:catalog` tenant filter | `contracts/tenants.md`, `schemas/listing.schema.json` | | #9 telemetry vs evidence schemas | `contracts/telemetry.md` | | #10 deep link `m2store://listing/<id>` | `contracts/deeplink.md`, `contracts/ids.md` | | #11 CLI JSON + exit codes + `permissions_diff` | `contracts/cli.md` | | #12 bundle content hash / tar.gz + manifest contract touchpoint | `schemas/solution.schema.json`, `schemas/listing.schema.json`, `contracts/cli.md` | | #13 registry repo/path/labels | `schemas/*.schema.json`, `contracts/ledger-api.md`, `contracts/tenants.md` | Also adds `licenses/m2-market-standard-v1.md` per SPEC-INDEX §3.8. Validation: - `python3 -m json.tool schemas/solution.schema.json` - `python3 -m json.tool schemas/listing.schema.json` - `PYTHONDONTWRITEBYTECODE=1 /home/m2/m2-market/.venv/bin/pytest schemas/tests/test_schemas.py` (7 passed)
m2 added 1 commit 2026-07-02 01:31:54 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin phase0/contract-fixes:phase0/contract-fixes
git checkout phase0/contract-fixes

Merge

Merge the changes and update on Forgejo.
git checkout master
git merge --no-ff phase0/contract-fixes
git checkout master
git merge --ff-only phase0/contract-fixes
git checkout phase0/contract-fixes
git rebase master
git checkout master
git merge --no-ff phase0/contract-fixes
git checkout master
git merge --squash phase0/contract-fixes
git checkout master
git merge --ff-only phase0/contract-fixes
git checkout master
git merge phase0/contract-fixes
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: m2/m2-market#1
No description provided.