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..b8688f4 --- /dev/null +++ b/nodekit.yaml @@ -0,0 +1,50 @@ +schemaVersion: nodekit.repo/v1 +repository: HomenShum/NodeAgent +lifecycle: production +support: active +role: runtime +commandProfile: application + +canonicalFor: + - nodeagent.agent-run + - nodeagent.policy-context + +consumes: + - nodeplatform.repo-contract + - nodeplatform.environment + - nodetrace.trace-ui-store + - nodemem.memory + - proofloop.certification + +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: The default run is deterministic and uses the real runtime contracts without a model call. + +environment: + contractVersion: nodeplatform.env/v1 + status: migration-planned + +proof: + command: npm run proof + receiptSchema: null + +contractDeclarations: + - concept: nodeagent.agent-run + signature: agent-run-result + path: src/features/node-agent/types/nodeAgentTypes.ts + mode: canonical + - concept: nodeagent.policy-context + signature: policy-context + path: src/features/node-agent/runtime/durableRuntime.ts + mode: canonical + +architectureExceptions: [] diff --git a/package.json b/package.json index 7eb8fb8..b040f5b 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,9 @@ "demo": "tsx demo/runNodeAgentDemo.ts", "demo:node": "node demo/runNodeAgentDemo.mjs", "nodeagent": "tsx scripts/nodeagent-cli.ts", + "doctor": "npm run nodeagent -- doctor", + "check": "npm run prepush", + "proof": "npm run nodeagent:happy-path:smoke", "test": "vitest run", "test:watch": "vitest", "typecheck": "tsc --noEmit",