Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -798,3 +798,20 @@ Org profile 0.0.61 binds the CONTROL v0.2.52 public surface closure.
- No current production claim: true
- No starship claim: true
- No physical production instructions: true


## Move 111 — CONTROL v0.2.53 backlink

Org profile 0.0.62 binds the CONTROL v0.2.53 public closure.

- CONTROL release: https://github.com/ANTIMATTERIUM/CONTROL/releases/tag/v0.2.53-antimatterium-control-move109-surface-closure
- CONTROL CI: https://github.com/ANTIMATTERIUM/CONTROL/actions/runs/29155447375
- CONTROL main SHA: fcaa2d7c60d5debe679adf899ed769a044dcfbc5
- CONTROL closure ID: 2730270edff7e1ea62cc00c253ae32e0eed2559a47509efe7dea2655cfdd04a7
- Surface release tag: v0.0.62-antimatterium-org-profile-control-v0253-backlink
- Backlink ID: 22bed1a287b290fc0219a40e0ac9aea349b9752b6210daa54064b467123ae2e3
- Short public tag required: true
- No local root required: true
- No current production claim: true
- No starship claim: true
- No physical production instructions: true
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "@antimatterium/org-profile",
"private": true,
"scripts": {
"verify": "node scripts/verify-org-profile-v003.mjs && node scripts/verify-org-profile-rootless-fanout-echo-backlink.mjs && node scripts/verify-org-profile-rootless-fanout-backlink-closure-backlink.mjs && node scripts/verify-org-profile-rootless-fanout-backpropagation-echo-backlink.mjs && node scripts/verify-org-profile-rootless-fanout-backpropagation-echo-fanout-closure-backlink.mjs && node scripts/verify-org-profile-rootless-fanout-backlink-closure-backpropagation-closure-backlink.mjs && node scripts/verify-org-profile-move95-control-v0245-backlink.mjs && node scripts/verify-org-profile-move97-control-v0246-backlink.mjs && node scripts/verify-org-profile-move109-control-v0252-backlink.mjs",
"verify": "node scripts/verify-org-profile-v003.mjs && node scripts/verify-org-profile-rootless-fanout-echo-backlink.mjs && node scripts/verify-org-profile-rootless-fanout-backlink-closure-backlink.mjs && node scripts/verify-org-profile-rootless-fanout-backpropagation-echo-backlink.mjs && node scripts/verify-org-profile-rootless-fanout-backpropagation-echo-fanout-closure-backlink.mjs && node scripts/verify-org-profile-rootless-fanout-backlink-closure-backpropagation-closure-backlink.mjs && node scripts/verify-org-profile-move95-control-v0245-backlink.mjs && node scripts/verify-org-profile-move97-control-v0246-backlink.mjs && node scripts/verify-org-profile-move109-control-v0252-backlink.mjs && node scripts/verify-org-profile-move111-control-v0253-backlink.mjs",
"verify:control-ci-evidence": "node scripts/verify-org-profile-control-ci-evidence-backlink.mjs",
"verify:ecosystem-index": "node scripts/verify-org-profile-public-ecosystem-index-backlink.mjs",
"verify:npm-022-surface": "node scripts/verify-org-profile-npm-022-surface.mjs",
Expand Down Expand Up @@ -99,8 +99,10 @@
"verify:move107-control-v0251-backlink": "node scripts/verify-org-profile-move107-control-v0251-backlink.mjs",
"test:move107-control-v0251-backlink": "node --test tests/org-profile-move107-control-v0251-backlink.test.mjs",
"verify:move109-control-v0252-backlink": "node scripts/verify-org-profile-move109-control-v0252-backlink.mjs",
"test:move109-control-v0252-backlink": "node --test tests/org-profile-move109-control-v0252-backlink.test.mjs"
"test:move109-control-v0252-backlink": "node --test tests/org-profile-move109-control-v0252-backlink.test.mjs",
"verify:move111-control-v0253-backlink": "node scripts/verify-org-profile-move111-control-v0253-backlink.mjs",
"test:move111-control-v0253-backlink": "node --test tests/org-profile-move111-control-v0253-backlink.test.mjs"
},
"type": "module",
"version": "0.0.61"
"version": "0.0.62"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"protocol": "ANTIMATTERIUM_ORG_PROFILE_MOVE111_CONTROL_V0253_BACKLINK",
"move": 111,
"surface": {
"name": "Org profile",
"key": "org_profile",
"repository": "ANTIMATTERIUM/.github",
"package": "@antimatterium/org-profile",
"version": "0.0.62",
"release_tag": "v0.0.62-antimatterium-org-profile-control-v0253-backlink"
},
"control": {
"version": "0.2.53",
"release_tag": "v0.2.53-antimatterium-control-move109-surface-closure",
"release": "https://github.com/ANTIMATTERIUM/CONTROL/releases/tag/v0.2.53-antimatterium-control-move109-surface-closure",
"ci_run": "https://github.com/ANTIMATTERIUM/CONTROL/actions/runs/29155447375",
"main_sha": "fcaa2d7c60d5debe679adf899ed769a044dcfbc5",
"closure_id": "2730270edff7e1ea62cc00c253ae32e0eed2559a47509efe7dea2655cfdd04a7"
},
"backlink": {
"control_v0253_bound": true,
"move110_closure_bound": true,
"public_release_bound": true,
"replayable_without_local_root": true
},
"constraints": {
"short_public_tag_required": true,
"no_local_root_required": true,
"no_current_production_claim": true,
"no_starship_claim": true,
"no_physical_production_instructions": true
},
"backlink_id": "22bed1a287b290fc0219a40e0ac9aea349b9752b6210daa54064b467123ae2e3"
}
55 changes: 55 additions & 0 deletions scripts/verify-org-profile-move111-control-v0253-backlink.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#!/usr/bin/env node
import fs from "node:fs";
import crypto from "node:crypto";
import assert from "node:assert/strict";

const receipt = JSON.parse(fs.readFileSync("public/receipts/ANTIMATTERIUM_ORG_PROFILE_MOVE111_CONTROL_V0253_BACKLINK.json", "utf8"));

assert.equal(receipt.protocol, "ANTIMATTERIUM_ORG_PROFILE_MOVE111_CONTROL_V0253_BACKLINK");
assert.equal(receipt.move, 111);

assert.equal(receipt.surface.name, "Org profile");
assert.equal(receipt.surface.key, "org_profile");
assert.equal(receipt.surface.repository, "ANTIMATTERIUM/.github");
assert.equal(receipt.surface.package, "@antimatterium/org-profile");
assert.equal(receipt.surface.version, "0.0.62");
assert.equal(receipt.surface.release_tag, "v0.0.62-antimatterium-org-profile-control-v0253-backlink");

assert.equal(receipt.control.version, "0.2.53");
assert.equal(receipt.control.release_tag, "v0.2.53-antimatterium-control-move109-surface-closure");
assert.equal(receipt.control.release, "https://github.com/ANTIMATTERIUM/CONTROL/releases/tag/v0.2.53-antimatterium-control-move109-surface-closure");
assert.equal(receipt.control.ci_run, "https://github.com/ANTIMATTERIUM/CONTROL/actions/runs/29155447375");
assert.equal(receipt.control.main_sha, "fcaa2d7c60d5debe679adf899ed769a044dcfbc5");
assert.equal(receipt.control.closure_id, "2730270edff7e1ea62cc00c253ae32e0eed2559a47509efe7dea2655cfdd04a7");

assert.equal(receipt.backlink.control_v0253_bound, true);
assert.equal(receipt.backlink.move110_closure_bound, true);
assert.equal(receipt.backlink.public_release_bound, true);
assert.equal(receipt.backlink.replayable_without_local_root, true);

assert.equal(receipt.constraints.short_public_tag_required, true);
assert.equal(receipt.constraints.no_local_root_required, true);
assert.equal(receipt.constraints.no_current_production_claim, true);
assert.equal(receipt.constraints.no_starship_claim, true);
assert.equal(receipt.constraints.no_physical_production_instructions, true);

const { backlink_id, ...canonical } = receipt;
const computed = crypto.createHash("sha256").update(JSON.stringify(canonical)).digest("hex");
assert.equal(backlink_id, computed);
assert.equal(backlink_id, "22bed1a287b290fc0219a40e0ac9aea349b9752b6210daa54064b467123ae2e3");

const serialized = JSON.stringify(receipt);
const localUserRootToken = ["/", "Users", "/"].join("");
const localDownloadsAppsToken = ["Downloads", "Apps"].join("/");
assert.equal(serialized.includes(localUserRootToken), false);
assert.equal(serialized.includes(localDownloadsAppsToken), false);

console.log("ANTIMATTERIUM_ORG_PROFILE_MOVE111_CONTROL_V0253_BACKLINK_VERIFY_PASS=true");
console.log("ANTIMATTERIUM_ORG_PROFILE_MOVE111_CONTROL_V0253_BACKLINK_CONTROL_V0253_RELEASE_BOUND=true");
console.log("ANTIMATTERIUM_ORG_PROFILE_MOVE111_CONTROL_V0253_BACKLINK_CONTROL_V0253_MEMBER=true");
console.log("ANTIMATTERIUM_SHORT_PUBLIC_TAG_REQUIRED=true");
console.log("ANTIMATTERIUM_NO_LOCAL_ROOT_REQUIRED=true");
console.log("ANTIMATTERIUM_ORG_PROFILE_MOVE111_CONTROL_V0253_BACKLINK_ID=" + backlink_id);
console.log("NO_CURRENT_PRODUCTION_CLAIM=true");
console.log("NO_STARSHIP_CLAIM=true");
console.log("NO_PHYSICAL_PRODUCTION_INSTRUCTIONS=true");
10 changes: 10 additions & 0 deletions tests/org-profile-move111-control-v0253-backlink.test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import test from "node:test";
import assert from "node:assert/strict";
import { spawnSync } from "node:child_process";

test("Org profile Move 111 verifier receipt is stable", () => {
const result = spawnSync(process.execPath, ["scripts/verify-org-profile-move111-control-v0253-backlink.mjs"], { encoding: "utf8" });
assert.equal(result.status, 0, result.stderr || result.stdout);
assert.match(result.stdout, /ANTIMATTERIUM_ORG_PROFILE_MOVE111_CONTROL_V0253_BACKLINK_VERIFY_PASS=true/);
assert.match(result.stdout, /22bed1a287b290fc0219a40e0ac9aea349b9752b6210daa54064b467123ae2e3/);
});
Loading