From bac57a017c04ec2dacbc19b7ac2f74ea5c3d82e7 Mon Sep 17 00:00:00 2001 From: homen Date: Tue, 14 Jul 2026 23:49:47 -0700 Subject: [PATCH] chore: adopt Node Platform P0 contract --- .../workflows/node-platform-conformance.yml | 13 ++++++ nodekit.yaml | 44 +++++++++++++++++++ package.json | 5 +++ 3 files changed, 62 insertions(+) create mode 100644 .github/workflows/node-platform-conformance.yml create mode 100644 nodekit.yaml diff --git a/.github/workflows/node-platform-conformance.yml b/.github/workflows/node-platform-conformance.yml new file mode 100644 index 0000000..e2e2440 --- /dev/null +++ b/.github/workflows/node-platform-conformance.yml @@ -0,0 +1,13 @@ +name: Node Platform conformance + +on: + pull_request: + push: + branches: [main] + +permissions: + contents: read + +jobs: + node-platform: + uses: HomenShum/node-platform/.github/workflows/repo-conformance.yml@ef4ac8a011b230efa3324892a193abe02ff2d673 diff --git a/nodekit.yaml b/nodekit.yaml new file mode 100644 index 0000000..6ae3ebc --- /dev/null +++ b/nodekit.yaml @@ -0,0 +1,44 @@ +schemaVersion: nodekit.repo/v1 +repository: HomenShum/NodeProof +lifecycle: production +support: active +role: certification-harness +commandProfile: application + +canonicalFor: + - proofloop.certification + +consumes: + - nodeplatform.repo-contract + - nodeagent.agent-run + - nodeagent.trace-workpaper + +commands: + dev: { script: dev, mode: service } + demo: { script: demo, mode: finite } + doctor: { script: doctor, mode: finite } + check: { script: check, mode: finite } + proof: { script: proof, mode: finite } + +noKey: + status: certified + command: npm run demo + externalAccountsRequired: 0 + disclosure: Doctor and maturity scans are deterministic; live providers and hosted lanes remain explicit opt-ins. + +environment: + contractVersion: nodeplatform.env/v1 + status: not-applicable + +proof: + command: npm run proof + receiptSchema: proofloop-agent-era-maturity-v1 + +contractDeclarations: + - concept: nodeagent.agent-run + signature: agent-run-result + path: src/agentAdapters.ts + mode: adapter + origin: nodeagent.agent-run + +architectureExceptions: [] diff --git a/package.json b/package.json index aec09e8..1df24e8 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,11 @@ "LICENSE" ], "scripts": { + "dev": "tsc -p tsconfig.json --watch", + "demo": "npm run proofloop:doctor", + "doctor": "npm run proofloop:doctor", + "check": "npm test && npm audit --omit=dev", + "proof": "npm run proofloop:maturity", "build": "tsc -p tsconfig.json && npm run build:site", "build:site": "node scripts/build-site.mjs", "prepublishOnly": "npm run build",