@receiz/ai-skills 104.0.0 → 106.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +8 -6
  2. package/package.json +17 -2
  3. package/receiz-app-builder-skill/SKILL.md +8 -4
  4. package/receiz-app-builder-skill/resources/workflow.md +2 -1
  5. package/receiz-architecture/SKILL.md +53 -0
  6. package/receiz-architecture/agents/openai.yaml +4 -0
  7. package/receiz-architecture/manifest.json +57 -0
  8. package/receiz-authority-security/SKILL.md +53 -0
  9. package/receiz-authority-security/agents/openai.yaml +4 -0
  10. package/receiz-authority-security/manifest.json +58 -0
  11. package/receiz-build-production-system/SKILL.md +93 -0
  12. package/receiz-build-production-system/agents/openai.yaml +4 -0
  13. package/receiz-build-production-system/manifest.json +67 -0
  14. package/receiz-causal-sync/SKILL.md +53 -0
  15. package/receiz-causal-sync/agents/openai.yaml +4 -0
  16. package/receiz-causal-sync/manifest.json +58 -0
  17. package/receiz-command-builder/SKILL.md +53 -0
  18. package/receiz-command-builder/agents/openai.yaml +4 -0
  19. package/receiz-command-builder/manifest.json +58 -0
  20. package/receiz-constitutional-laws/SKILL.md +53 -0
  21. package/receiz-constitutional-laws/agents/openai.yaml +4 -0
  22. package/receiz-constitutional-laws/manifest.json +58 -0
  23. package/receiz-deterministic-replay/SKILL.md +53 -0
  24. package/receiz-deterministic-replay/agents/openai.yaml +4 -0
  25. package/receiz-deterministic-replay/manifest.json +58 -0
  26. package/receiz-domain-builder/SKILL.md +53 -0
  27. package/receiz-domain-builder/agents/openai.yaml +4 -0
  28. package/receiz-domain-builder/manifest.json +58 -0
  29. package/receiz-mcp-agent-skill/resources/mcp-tool-map.md +8 -2
  30. package/receiz-migrations/SKILL.md +53 -0
  31. package/receiz-migrations/agents/openai.yaml +4 -0
  32. package/receiz-migrations/manifest.json +58 -0
  33. package/receiz-observability/SKILL.md +53 -0
  34. package/receiz-observability/agents/openai.yaml +4 -0
  35. package/receiz-observability/manifest.json +58 -0
  36. package/receiz-offline-first/SKILL.md +53 -0
  37. package/receiz-offline-first/agents/openai.yaml +4 -0
  38. package/receiz-offline-first/manifest.json +58 -0
  39. package/receiz-performance/SKILL.md +53 -0
  40. package/receiz-performance/agents/openai.yaml +4 -0
  41. package/receiz-performance/manifest.json +58 -0
  42. package/receiz-portable-artifacts/SKILL.md +53 -0
  43. package/receiz-portable-artifacts/agents/openai.yaml +4 -0
  44. package/receiz-portable-artifacts/manifest.json +58 -0
  45. package/receiz-proof-skill/resources/sdk-reference.md +3 -1
  46. package/receiz-release/SKILL.md +53 -0
  47. package/receiz-release/agents/openai.yaml +4 -0
  48. package/receiz-release/manifest.json +58 -0
  49. package/receiz-testing/SKILL.md +53 -0
  50. package/receiz-testing/agents/openai.yaml +4 -0
  51. package/receiz-testing/manifest.json +59 -0
package/README.md CHANGED
@@ -1,18 +1,20 @@
1
1
  # Receiz AI Skills
2
2
 
3
- `receiz-app-builder-skill` is the authoritative v104 workflow for starting,
4
- integrating, upgrading, diagnosing, and repairing repositories through the typed
5
- Receiz app contract, shared SDK compiler, CLI, and MCP tools.
3
+ `receiz-build-production-system` is the v106 orchestration skill for substantial
4
+ Receiz applications. Fourteen focused constitutional skills supply architecture,
5
+ domain, law, command, authority, replay, offline, causal, artifact, migration,
6
+ performance, observability, testing, and release contracts. The earlier nine
7
+ domain skills remain packaged for compatibility.
6
8
 
7
9
  This package teaches AI agents how to understand, verify, build with, and operate Receiz from the existing repository surfaces.
8
10
 
9
- It is published as `@receiz/ai-skills` and is an exact-version dependency of both `@receiz/sdk` and `@receiz/mcp-server`. Installing either package places these nine skill directories under `node_modules/@receiz/ai-skills` for explicit loading by an agent host.
11
+ It is published as `@receiz/ai-skills` and is an exact-version dependency of both `@receiz/sdk` and `@receiz/mcp-server`. Installing either package places all twenty-four skill directories under `node_modules/@receiz/ai-skills` for explicit loading by an agent host.
10
12
 
11
13
  Receiz is a proof-native artifact system. A Receiz object is not a database row. It is a proof-carrying artifact. The artifact's witnessed history is the truth boundary. Server state, database state, UI state, marketplace state, and model memory are projections only. Old witnessed truth is not stale. If a projection is wrong, rebuild it from object history. If truth is missing, append new truth. Never mutate witnessed truth.
12
14
 
13
15
  ## SDK, MCP, And Skills
14
16
 
15
- - SDK: `@receiz/sdk` is for building apps. It exposes validators, projections, proof memory, identity artifact helpers, public app-state, public store, commerce, wallet, sports, world, offline queues, webhooks, and sandbox helpers.
17
+ - SDK: `@receiz/sdk` is the universal runtime; `@receiz/sdk/react` is React-only; `@receiz/sdk/compiler` is Node-only; `@receiz/sdk/testing` is browser-safe sandbox and conformance support.
16
18
  - MCP: `@receiz/mcp-server` is for agent tool access. It exposes SDK-backed tools for diagnostics, public reads, offline shape inspection, app-state/public-store actions, deterministic previews, and delegated writes. Artifact verification remains SDK `verification.verifyArtifact(file)` and requires continuity.
17
19
  - Skills: this package is operating doctrine. It tells an AI which Receiz primitive is active, which source of truth wins, which SDK or MCP rail to use, and what must never be assumed.
18
20
 
@@ -20,7 +22,7 @@ Agents may acquire scoped delegated access through the official Receiz Connect/O
20
22
 
21
23
  ## How Agents Should Use This Package
22
24
 
23
- Start with `receiz-skill-bundle` when the request spans multiple Receiz domains. Use `receiz-proof-skill` for any verification, proof object, vault, profile, pack, card, post, product, listing, receipt, marketplace, or offline artifact question. Use narrower skills only after the primitive is named.
25
+ Start with `receiz-build-production-system` when work spans multiple constitutional domains. Its machine-readable manifest requires the exact active signed registry digest, command-only mutation, independent verification, MCP conformance, and a passing release lock. Use a focused v106 skill for narrower production work. The compatibility router `receiz-skill-bundle` and proof/domain skills remain available for earlier workflows.
24
26
 
25
27
  Do not invent APIs. Use the SDK and MCP maps inside the skills, then inspect the repo when a requested operation is not listed.
26
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@receiz/ai-skills",
3
- "version": "104.0.0",
3
+ "version": "106.0.0",
4
4
  "description": "Authoritative Receiz AI operating skills for proof-native SDK and MCP agents.",
5
5
  "type": "module",
6
6
  "files": [
@@ -13,7 +13,22 @@
13
13
  "receiz-offline-verifier-skill",
14
14
  "receiz-proof-skill",
15
15
  "receiz-skill-bundle",
16
- "receiz-sports-card-skill"
16
+ "receiz-sports-card-skill",
17
+ "receiz-architecture",
18
+ "receiz-domain-builder",
19
+ "receiz-constitutional-laws",
20
+ "receiz-command-builder",
21
+ "receiz-authority-security",
22
+ "receiz-deterministic-replay",
23
+ "receiz-offline-first",
24
+ "receiz-causal-sync",
25
+ "receiz-portable-artifacts",
26
+ "receiz-migrations",
27
+ "receiz-performance",
28
+ "receiz-observability",
29
+ "receiz-testing",
30
+ "receiz-release",
31
+ "receiz-build-production-system"
17
32
  ],
18
33
  "keywords": [
19
34
  "receiz",
@@ -31,13 +31,15 @@ integration tooling beneath Receiz proof truth; inspection is not verification.
31
31
 
32
32
  ## Required Behavior
33
33
 
34
+ Select the package boundary first: universal runtime from `@receiz/sdk`, React bindings from `@receiz/sdk/react`, Node-only app compiler APIs from `@receiz/sdk/compiler`, and sandbox/conformance support from `@receiz/sdk/testing`.
35
+
34
36
  1. Inspect the explicit repository root with `receiz_project_inspect` or `receiz app inspect`.
35
37
  2. Identify intended features and create or update the contract with `defineReceizApp` or `receiz_app_contract_create`.
36
38
  3. Compile a read-only plan with `compileReceizAppContract`, `receiz_app_plan`, or `receiz app plan`.
37
39
  4. Explain scopes, authority boundaries, findings, and every proposed file.
38
40
  5. Obtain explicit confirmation for the exact preview digest before mutation.
39
41
  6. Apply the smallest safe change set with `receiz_app_apply` or `receiz app apply`.
40
- 7. Run generated conformance and repository tests.
42
+ 7. Run generated conformance, `receiz conformance`, and repository tests.
41
43
  8. Reinspect with `receiz_app_check` and report exact evidence.
42
44
  9. Use `receiz_app_upgrade` for version-aware upgrades and `receiz_app_explain` for findings.
43
45
  10. Report remaining manual work and blocked authority without claiming completion.
@@ -56,18 +58,19 @@ upgrade, diagnosis, and repair routes.
56
58
 
57
59
  ## MCP Usage Rules
58
60
 
59
- Use only the seven documented tools listed in
61
+ Use the documented tools listed in
60
62
  [resources/workflow.md](resources/workflow.md). Inspection, contract proposals,
61
63
  planning, checking, upgrade planning, and explanation are read-only.
62
64
  `receiz_app_apply` returns a preview first and requires the exact digest as
63
65
  explicit confirmation. Every response must retain the MCP authority boundary.
66
+ Use `receiz_app_repair` for confirmed deterministic repair, `receiz_scope_explain` for canonical scopes, `receiz_release_qualify` for read-only release evidence, `receiz_proof_trace` only with canonical artifact bytes for a verdict, and `receiz_webhook_replay` only after signature verification and exact confirmation.
64
67
 
65
68
  ## SDK Usage Rules
66
69
 
67
- Use `defineReceizApp`, `validateReceizAppContract`,
70
+ Import `defineReceizApp`, `validateReceizAppContract`,
68
71
  `compileReceizAppContract`, `inspectReceizProject`,
69
72
  `planReceizIntegration`, `checkReceizIntegration`, `planReceizUpgrade`, and
70
- `explainReceizIntegrationFinding`. Artifact verification remains
73
+ `explainReceizIntegrationFinding` from `@receiz/sdk/compiler`. Artifact verification remains
71
74
  `verification.verifyArtifact`; creation remains the SDK's authenticated native
72
75
  Record-before-Seal rail.
73
76
 
@@ -94,6 +97,7 @@ Read [resources/authority-boundaries.md](resources/authority-boundaries.md).
94
97
  Stop when a required delegated permission, identity proof, capability, or user
95
98
  decision is unavailable. Report the blocked boundary; do not fabricate it.
96
99
  Generated browser code may contain public origins but never server credentials.
100
+ `receiz.extensions.ts` is developer-owned and create-once; regeneration must never overwrite it. Emulator evidence is `sandboxVerified`, never a production verified verdict.
97
101
 
98
102
  ## Examples
99
103
 
@@ -7,10 +7,11 @@
7
7
  | Add or remove a rail | Update the contract, then plan | Apply only the changed digest |
8
8
  | Upgrade | `receiz_app_upgrade` | Apply approved package/generated changes |
9
9
  | Diagnose | `receiz_app_check`, `receiz_app_explain` | None until the finding is understood |
10
- | Repair | Reinspect generated-file drift | Regenerate Receiz-owned files only |
10
+ | Repair | `receiz_app_repair` preview | Exact digest confirmation; regenerate Receiz-owned files only |
11
11
 
12
12
  After every mutation, run the returned verification commands and reinspect.
13
13
  The same repository must produce zero changes on the second run.
14
+ Preserve the developer-owned `receiz.extensions.ts` sibling on every run. Finish with `receiz conformance` or `receiz_release_qualify`.
14
15
 
15
16
  Do not substitute inspection for verification, publication for settlement, or a
16
17
  successful write for proof admission.
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: receiz-architecture
3
+ description: Use when inspecting or changing Receiz domains, system boundaries, truth hierarchy, state machines, or constitutional architecture.
4
+ ---
5
+
6
+ # receiz-architecture
7
+
8
+ Map domains, sources of truth, state machines, dependency direction, and cross-domain authority before design or refactoring. Receiz is a proof-native artifact system; this skill operates beneath sealed proof and verified local history.
9
+
10
+ ## Constitutional workflow
11
+
12
+ 1. Inspect the repository and installed SDK version.
13
+ 2. Load the active signed registry and applicable constitutional laws.
14
+ 3. Identify every authority boundary affected by the change.
15
+ 4. Write the implementation contract before implementation.
16
+ 5. Implement canonical changes only through SDK commands.
17
+ 6. Add law, mutation, replay, and compatibility tests.
18
+ 7. Run MCP conformance checks.
19
+ 8. Require independent verifier evidence.
20
+ 9. Refuse completion until the release lock passes.
21
+
22
+ Focused outcome: Map domains, sources of truth, state machines, dependency direction, and cross-domain authority before design or refactoring.
23
+
24
+ ## Machine contract
25
+
26
+ Read [manifest.json](manifest.json) before acting. Its package range, ruleset, active registry digest requirement, laws, allowed tools, forbidden operations, evidence, escalation conditions, and autonomous-authority ceiling are executable constraints. Use plan/permit/execute for any admitted command and obtain explicit confirmation for the exact permit digest. The skill and MCP context are never proof authority.
27
+
28
+ ## Quick reference
29
+
30
+ | Boundary | Required result |
31
+ |---|---|
32
+ | Stronger truth | Sealed artifact and verified local history remain above SDK, MCP, server, DB, session, and UI projections. |
33
+ | Mutation | Canonical state changes only through an allowed SDK command and atomic receipt-producing admission. |
34
+ | Evidence | MCP output and agent assertions do not count; independent verification and release-lock evidence do. |
35
+ | Escalation | Stop on digest skew, authority bypass, missing capability, ambiguous migration, or absent independent evidence. |
36
+
37
+ ## Common mistakes
38
+
39
+ - Treating a larger or newer server snapshot as permission to replace stronger admitted truth.
40
+ - Calling an MCP plan, simulation, hash, model response, or passing UI check verification.
41
+ - Appending an event without a command admission receipt.
42
+ - Marking the task complete while required evidence is missing.
43
+
44
+ ## Completion refusal
45
+
46
+ Refuse completion when any manifest input, law, test, conformance result, independent-verifier result, or release-lock result is absent or failing. Never reduce the evidence list, change a test to bless a visible regression, invent authority, or accept “the AI said it is valid” as evidence.
47
+
48
+ ## Example
49
+
50
+ Request: Map domains, sources of truth, state machines, dependency direction, and cross-domain authority before design or refactoring.
51
+
52
+ Return a written implementation contract and read-only plan first. Execute only allowed commands after exact confirmation, then report registry digest, laws, authority, tests, independent evidence, release-lock status, and the exact remaining boundary.
53
+
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Receiz Architecture"
3
+ short_description: "Inspect constitutional architecture"
4
+ default_prompt: "Use -architecture to inspect a Receiz system's domains, truth hierarchy, and authority boundaries."
@@ -0,0 +1,57 @@
1
+ {
2
+ "schema": "receiz.ai-skill-contract.v106",
3
+ "name": "receiz-architecture",
4
+ "requires": {
5
+ "sdk": ">=106.0.0 <107.0.0",
6
+ "mcp": ">=106.0.0 <107.0.0",
7
+ "ruleset": "106.0.0",
8
+ "registryDigest": "bf851c209e807309672c0f466411baa5607ce6b3195fe4eb16755edfeb7f5a1a"
9
+ },
10
+ "laws": [
11
+ "receiz.truth.stronger-first",
12
+ "receiz.registry.digest-alignment",
13
+ "receiz.command-only-mutation"
14
+ ],
15
+ "allowedTools": [
16
+ "receiz_architecture_inspect",
17
+ "receiz_authority_inspect",
18
+ "receiz_history_trace",
19
+ "receiz_bypass_scan"
20
+ ],
21
+ "forbiddenOperations": [
22
+ "direct-state-write",
23
+ "history-rewrite",
24
+ "authority-bypass"
25
+ ],
26
+ "requiredInputs": [
27
+ "repository-root",
28
+ "installed-sdk-version",
29
+ "active-registry-digest",
30
+ "applicable-laws",
31
+ "authority-boundaries"
32
+ ],
33
+ "requiredEvidence": [
34
+ "typecheck",
35
+ "law-coverage",
36
+ "mutation-tests",
37
+ "replay-equivalence",
38
+ "compatibility",
39
+ "mcp-conformance",
40
+ "independent-verifier"
41
+ ],
42
+ "completionCriteria": [
43
+ "written-implementation-contract",
44
+ "constitutional-context-digest-match",
45
+ "all-required-evidence-pass",
46
+ "release-lock-pass"
47
+ ],
48
+ "escalationConditions": [
49
+ "authority-bypass-detected",
50
+ "registry-digest-mismatch",
51
+ "missing-independent-evidence",
52
+ "missing-capability",
53
+ "ambiguous-migration"
54
+ ],
55
+ "maximumAutonomousAuthority": "inspect-plan-scaffold-test"
56
+ }
57
+
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: receiz-authority-security
3
+ description: Use when work touches capabilities, identity, PBI, tenancy, ownership, settlement, secrets, delegated access, or authority escalation.
4
+ ---
5
+
6
+ # receiz-authority-security
7
+
8
+ Audit actors, tenants, capabilities, proof domains, confused-deputy paths, escalation, and cross-boundary effects. Receiz is a proof-native artifact system; this skill operates beneath sealed proof and verified local history.
9
+
10
+ ## Constitutional workflow
11
+
12
+ 1. Inspect the repository and installed SDK version.
13
+ 2. Load the active signed registry and applicable constitutional laws.
14
+ 3. Identify every authority boundary affected by the change.
15
+ 4. Write the implementation contract before implementation.
16
+ 5. Implement canonical changes only through SDK commands.
17
+ 6. Add law, mutation, replay, and compatibility tests.
18
+ 7. Run MCP conformance checks.
19
+ 8. Require independent verifier evidence.
20
+ 9. Refuse completion until the release lock passes.
21
+
22
+ Focused outcome: Audit actors, tenants, capabilities, proof domains, confused-deputy paths, escalation, and cross-boundary effects.
23
+
24
+ ## Machine contract
25
+
26
+ Read [manifest.json](manifest.json) before acting. Its package range, ruleset, active registry digest requirement, laws, allowed tools, forbidden operations, evidence, escalation conditions, and autonomous-authority ceiling are executable constraints. Use plan/permit/execute for any admitted command and obtain explicit confirmation for the exact permit digest. The skill and MCP context are never proof authority.
27
+
28
+ ## Quick reference
29
+
30
+ | Boundary | Required result |
31
+ |---|---|
32
+ | Stronger truth | Sealed artifact and verified local history remain above SDK, MCP, server, DB, session, and UI projections. |
33
+ | Mutation | Canonical state changes only through an allowed SDK command and atomic receipt-producing admission. |
34
+ | Evidence | MCP output and agent assertions do not count; independent verification and release-lock evidence do. |
35
+ | Escalation | Stop on digest skew, authority bypass, missing capability, ambiguous migration, or absent independent evidence. |
36
+
37
+ ## Common mistakes
38
+
39
+ - Treating a larger or newer server snapshot as permission to replace stronger admitted truth.
40
+ - Calling an MCP plan, simulation, hash, model response, or passing UI check verification.
41
+ - Appending an event without a command admission receipt.
42
+ - Marking the task complete while required evidence is missing.
43
+
44
+ ## Completion refusal
45
+
46
+ Refuse completion when any manifest input, law, test, conformance result, independent-verifier result, or release-lock result is absent or failing. Never reduce the evidence list, change a test to bless a visible regression, invent authority, or accept “the AI said it is valid” as evidence.
47
+
48
+ ## Example
49
+
50
+ Request: Audit actors, tenants, capabilities, proof domains, confused-deputy paths, escalation, and cross-boundary effects.
51
+
52
+ Return a written implementation contract and read-only plan first. Execute only allowed commands after exact confirmation, then report registry digest, laws, authority, tests, independent evidence, release-lock status, and the exact remaining boundary.
53
+
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Receiz Authority Security"
3
+ short_description: "Audit capabilities and authority"
4
+ default_prompt: "Use -authority-security to audit Receiz capabilities, tenancy, and authority boundaries."
@@ -0,0 +1,58 @@
1
+ {
2
+ "schema": "receiz.ai-skill-contract.v106",
3
+ "name": "receiz-authority-security",
4
+ "requires": {
5
+ "sdk": ">=106.0.0 <107.0.0",
6
+ "mcp": ">=106.0.0 <107.0.0",
7
+ "ruleset": "106.0.0",
8
+ "registryDigest": "bf851c209e807309672c0f466411baa5607ce6b3195fe4eb16755edfeb7f5a1a"
9
+ },
10
+ "laws": [
11
+ "receiz.authority.capability-bound",
12
+ "receiz.identity.proof-bound",
13
+ "receiz.truth.stronger-first"
14
+ ],
15
+ "allowedTools": [
16
+ "receiz_architecture_inspect",
17
+ "receiz_authority_inspect",
18
+ "receiz_bypass_scan",
19
+ "receiz_command_simulate",
20
+ "receiz_law_explain"
21
+ ],
22
+ "forbiddenOperations": [
23
+ "direct-state-write",
24
+ "history-rewrite",
25
+ "authority-bypass"
26
+ ],
27
+ "requiredInputs": [
28
+ "repository-root",
29
+ "installed-sdk-version",
30
+ "active-registry-digest",
31
+ "applicable-laws",
32
+ "authority-boundaries"
33
+ ],
34
+ "requiredEvidence": [
35
+ "typecheck",
36
+ "law-coverage",
37
+ "mutation-tests",
38
+ "replay-equivalence",
39
+ "compatibility",
40
+ "mcp-conformance",
41
+ "independent-verifier"
42
+ ],
43
+ "completionCriteria": [
44
+ "written-implementation-contract",
45
+ "constitutional-context-digest-match",
46
+ "all-required-evidence-pass",
47
+ "release-lock-pass"
48
+ ],
49
+ "escalationConditions": [
50
+ "authority-bypass-detected",
51
+ "registry-digest-mismatch",
52
+ "missing-independent-evidence",
53
+ "missing-capability",
54
+ "ambiguous-migration"
55
+ ],
56
+ "maximumAutonomousAuthority": "inspect-plan-scaffold-test"
57
+ }
58
+
@@ -0,0 +1,93 @@
1
+ ---
2
+ name: receiz-build-production-system
3
+ description: Use when building or materially changing a production Receiz application across multiple constitutional domains.
4
+ ---
5
+
6
+ # receiz-build-production-system
7
+
8
+ Coordinate the complete production workflow across architecture, domains, laws, commands, history, offline behavior, MCP, verification, migration, and release. Receiz is a proof-native artifact system; this skill operates beneath sealed proof and verified local history.
9
+
10
+ ## Constitutional workflow
11
+
12
+ 1. Inspect the repository and installed SDK version.
13
+ 2. Load the active signed registry and applicable constitutional laws.
14
+ 3. Identify every authority boundary affected by the change.
15
+ 4. Write the implementation contract before implementation.
16
+ 5. Implement canonical changes only through SDK commands.
17
+ 6. Add law, mutation, replay, and compatibility tests.
18
+ 7. Run MCP conformance checks.
19
+ 8. Require independent verifier evidence.
20
+ 9. Refuse completion until the release lock passes.
21
+
22
+ ## Orchestration
23
+
24
+ 1. Discover
25
+ 2. Model domain
26
+ 3. Compile laws
27
+ 4. Define commands
28
+ 5. Implement events
29
+ 6. Build projections
30
+ 7. Add offline behavior
31
+ 8. Expose safe MCP tools
32
+ 9. Generate tests
33
+ 10. Audit authority
34
+ 11. Verify performance
35
+ 12. Release-lock
36
+
37
+ **REQUIRED SUB-SKILL:** Use receiz-architecture
38
+
39
+ **REQUIRED SUB-SKILL:** Use receiz-domain-builder
40
+
41
+ **REQUIRED SUB-SKILL:** Use receiz-constitutional-laws
42
+
43
+ **REQUIRED SUB-SKILL:** Use receiz-command-builder
44
+
45
+ **REQUIRED SUB-SKILL:** Use receiz-authority-security
46
+
47
+ **REQUIRED SUB-SKILL:** Use receiz-deterministic-replay
48
+
49
+ **REQUIRED SUB-SKILL:** Use receiz-offline-first
50
+
51
+ **REQUIRED SUB-SKILL:** Use receiz-causal-sync
52
+
53
+ **REQUIRED SUB-SKILL:** Use receiz-portable-artifacts
54
+
55
+ **REQUIRED SUB-SKILL:** Use receiz-migrations
56
+
57
+ **REQUIRED SUB-SKILL:** Use receiz-performance
58
+
59
+ **REQUIRED SUB-SKILL:** Use receiz-observability
60
+
61
+ **REQUIRED SUB-SKILL:** Use receiz-testing
62
+
63
+ **REQUIRED SUB-SKILL:** Use receiz-release
64
+
65
+ ## Machine contract
66
+
67
+ Read [manifest.json](manifest.json) before acting. Its package range, ruleset, active registry digest requirement, laws, allowed tools, forbidden operations, evidence, escalation conditions, and autonomous-authority ceiling are executable constraints. Use plan/permit/execute for any admitted command and obtain explicit confirmation for the exact permit digest. The skill and MCP context are never proof authority.
68
+
69
+ ## Quick reference
70
+
71
+ | Boundary | Required result |
72
+ |---|---|
73
+ | Stronger truth | Sealed artifact and verified local history remain above SDK, MCP, server, DB, session, and UI projections. |
74
+ | Mutation | Canonical state changes only through an allowed SDK command and atomic receipt-producing admission. |
75
+ | Evidence | MCP output and agent assertions do not count; independent verification and release-lock evidence do. |
76
+ | Escalation | Stop on digest skew, authority bypass, missing capability, ambiguous migration, or absent independent evidence. |
77
+
78
+ ## Common mistakes
79
+
80
+ - Treating a larger or newer server snapshot as permission to replace stronger admitted truth.
81
+ - Calling an MCP plan, simulation, hash, model response, or passing UI check verification.
82
+ - Appending an event without a command admission receipt.
83
+ - Marking the task complete while required evidence is missing.
84
+
85
+ ## Completion refusal
86
+
87
+ Refuse completion when any manifest input, law, test, conformance result, independent-verifier result, or release-lock result is absent or failing. Never reduce the evidence list, change a test to bless a visible regression, invent authority, or accept “the AI said it is valid” as evidence.
88
+
89
+ ## Example
90
+
91
+ Request: Build a production Receiz domain.
92
+
93
+ Return the implementation contract and plan. Execute confirmed allowed commands, then report all evidence and the exact remaining boundary.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Receiz Build Production System"
3
+ short_description: "Orchestrate production Receiz builds"
4
+ default_prompt: "Use -build-production-system to build and release-lock a substantial Receiz production system."
@@ -0,0 +1,67 @@
1
+ {
2
+ "schema": "receiz.ai-skill-contract.v106",
3
+ "name": "receiz-build-production-system",
4
+ "requires": {
5
+ "sdk": ">=106.0.0 <107.0.0",
6
+ "mcp": ">=106.0.0 <107.0.0",
7
+ "ruleset": "106.0.0",
8
+ "registryDigest": "bf851c209e807309672c0f466411baa5607ce6b3195fe4eb16755edfeb7f5a1a"
9
+ },
10
+ "laws": [
11
+ "receiz.truth.stronger-first",
12
+ "receiz.registry.digest-alignment",
13
+ "receiz.command-only-mutation",
14
+ "receiz.release.locked-digest"
15
+ ],
16
+ "allowedTools": [
17
+ "receiz_architecture_inspect",
18
+ "receiz_domain_scaffold",
19
+ "receiz_command_scaffold",
20
+ "receiz_law_define",
21
+ "receiz_law_coverage",
22
+ "receiz_authority_inspect",
23
+ "receiz_command_simulate",
24
+ "receiz_receipt_replay",
25
+ "receiz_history_trace",
26
+ "receiz_merge_simulate",
27
+ "receiz_bypass_scan",
28
+ "receiz_conformance_run",
29
+ "receiz_release_verify"
30
+ ],
31
+ "forbiddenOperations": [
32
+ "direct-state-write",
33
+ "history-rewrite",
34
+ "authority-bypass"
35
+ ],
36
+ "requiredInputs": [
37
+ "repository-root",
38
+ "installed-sdk-version",
39
+ "active-registry-digest",
40
+ "applicable-laws",
41
+ "authority-boundaries"
42
+ ],
43
+ "requiredEvidence": [
44
+ "typecheck",
45
+ "law-coverage",
46
+ "mutation-tests",
47
+ "replay-equivalence",
48
+ "compatibility",
49
+ "mcp-conformance",
50
+ "independent-verifier"
51
+ ],
52
+ "completionCriteria": [
53
+ "written-implementation-contract",
54
+ "constitutional-context-digest-match",
55
+ "all-required-evidence-pass",
56
+ "release-lock-pass"
57
+ ],
58
+ "escalationConditions": [
59
+ "authority-bypass-detected",
60
+ "registry-digest-mismatch",
61
+ "missing-independent-evidence",
62
+ "missing-capability",
63
+ "ambiguous-migration"
64
+ ],
65
+ "maximumAutonomousAuthority": "inspect-plan-scaffold-test"
66
+ }
67
+
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: receiz-causal-sync
3
+ description: Use when implementing multi-device synchronization, partitions, causal ordering, conflicts, retries, merge, or regional convergence.
4
+ ---
5
+
6
+ # receiz-causal-sync
7
+
8
+ Carry causal parents and Kai ordering, simulate partitions, resolve declared conflicts, and preserve deterministic convergence. Receiz is a proof-native artifact system; this skill operates beneath sealed proof and verified local history.
9
+
10
+ ## Constitutional workflow
11
+
12
+ 1. Inspect the repository and installed SDK version.
13
+ 2. Load the active signed registry and applicable constitutional laws.
14
+ 3. Identify every authority boundary affected by the change.
15
+ 4. Write the implementation contract before implementation.
16
+ 5. Implement canonical changes only through SDK commands.
17
+ 6. Add law, mutation, replay, and compatibility tests.
18
+ 7. Run MCP conformance checks.
19
+ 8. Require independent verifier evidence.
20
+ 9. Refuse completion until the release lock passes.
21
+
22
+ Focused outcome: Carry causal parents and Kai ordering, simulate partitions, resolve declared conflicts, and preserve deterministic convergence.
23
+
24
+ ## Machine contract
25
+
26
+ Read [manifest.json](manifest.json) before acting. Its package range, ruleset, active registry digest requirement, laws, allowed tools, forbidden operations, evidence, escalation conditions, and autonomous-authority ceiling are executable constraints. Use plan/permit/execute for any admitted command and obtain explicit confirmation for the exact permit digest. The skill and MCP context are never proof authority.
27
+
28
+ ## Quick reference
29
+
30
+ | Boundary | Required result |
31
+ |---|---|
32
+ | Stronger truth | Sealed artifact and verified local history remain above SDK, MCP, server, DB, session, and UI projections. |
33
+ | Mutation | Canonical state changes only through an allowed SDK command and atomic receipt-producing admission. |
34
+ | Evidence | MCP output and agent assertions do not count; independent verification and release-lock evidence do. |
35
+ | Escalation | Stop on digest skew, authority bypass, missing capability, ambiguous migration, or absent independent evidence. |
36
+
37
+ ## Common mistakes
38
+
39
+ - Treating a larger or newer server snapshot as permission to replace stronger admitted truth.
40
+ - Calling an MCP plan, simulation, hash, model response, or passing UI check verification.
41
+ - Appending an event without a command admission receipt.
42
+ - Marking the task complete while required evidence is missing.
43
+
44
+ ## Completion refusal
45
+
46
+ Refuse completion when any manifest input, law, test, conformance result, independent-verifier result, or release-lock result is absent or failing. Never reduce the evidence list, change a test to bless a visible regression, invent authority, or accept “the AI said it is valid” as evidence.
47
+
48
+ ## Example
49
+
50
+ Request: Carry causal parents and Kai ordering, simulate partitions, resolve declared conflicts, and preserve deterministic convergence.
51
+
52
+ Return a written implementation contract and read-only plan first. Execute only allowed commands after exact confirmation, then report registry digest, laws, authority, tests, independent evidence, release-lock status, and the exact remaining boundary.
53
+
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Receiz Causal Sync"
3
+ short_description: "Build deterministic causal merging"
4
+ default_prompt: "Use -causal-sync to implement causal synchronization, conflicts, and deterministic merging."
@@ -0,0 +1,58 @@
1
+ {
2
+ "schema": "receiz.ai-skill-contract.v106",
3
+ "name": "receiz-causal-sync",
4
+ "requires": {
5
+ "sdk": ">=106.0.0 <107.0.0",
6
+ "mcp": ">=106.0.0 <107.0.0",
7
+ "ruleset": "106.0.0",
8
+ "registryDigest": "bf851c209e807309672c0f466411baa5607ce6b3195fe4eb16755edfeb7f5a1a"
9
+ },
10
+ "laws": [
11
+ "receiz.merge.causal",
12
+ "receiz.replay.deterministic",
13
+ "receiz.history.append-only"
14
+ ],
15
+ "allowedTools": [
16
+ "receiz_history_trace",
17
+ "receiz_merge_simulate",
18
+ "receiz_command_simulate",
19
+ "receiz_mcp_execute_command",
20
+ "receiz_conformance_run"
21
+ ],
22
+ "forbiddenOperations": [
23
+ "direct-state-write",
24
+ "history-rewrite",
25
+ "authority-bypass"
26
+ ],
27
+ "requiredInputs": [
28
+ "repository-root",
29
+ "installed-sdk-version",
30
+ "active-registry-digest",
31
+ "applicable-laws",
32
+ "authority-boundaries"
33
+ ],
34
+ "requiredEvidence": [
35
+ "typecheck",
36
+ "law-coverage",
37
+ "mutation-tests",
38
+ "replay-equivalence",
39
+ "compatibility",
40
+ "mcp-conformance",
41
+ "independent-verifier"
42
+ ],
43
+ "completionCriteria": [
44
+ "written-implementation-contract",
45
+ "constitutional-context-digest-match",
46
+ "all-required-evidence-pass",
47
+ "release-lock-pass"
48
+ ],
49
+ "escalationConditions": [
50
+ "authority-bypass-detected",
51
+ "registry-digest-mismatch",
52
+ "missing-independent-evidence",
53
+ "missing-capability",
54
+ "ambiguous-migration"
55
+ ],
56
+ "maximumAutonomousAuthority": "inspect-plan-scaffold-test"
57
+ }
58
+