@lifeaitools/rdc-skills 0.35.22 → 0.35.24
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.
- package/.claude-plugin/plugin.json +1 -1
- package/.github/workflows/self-test.yml +34 -34
- package/MANIFEST.md +224 -224
- package/guides/agent-bootstrap.md +6 -2
- package/guides/agents/backend.md +102 -102
- package/guides/agents/content.md +94 -94
- package/guides/agents/cs2.md +56 -56
- package/guides/agents/data.md +86 -86
- package/guides/agents/design.md +77 -77
- package/guides/agents/frontend.md +91 -91
- package/guides/agents/infrastructure.md +81 -81
- package/guides/agents/setup.md +272 -272
- package/guides/agents/verify.md +119 -119
- package/guides/agents/viz.md +106 -106
- package/guides/orchestration-epic.md +17 -17
- package/guides/output-contract.md +8 -0
- package/guides/work-contract.md +183 -0
- package/package.json +1 -1
- package/scripts/lib/guide-content-rules.mjs +49 -0
- package/scripts/self-test.mjs +1439 -1459
- package/scripts/test-guide-validator.mjs +25 -24
- package/skills/behavior-audit/agents/openai.yaml +4 -4
- package/skills/build/SKILL.md +81 -29
- package/skills/deploy/SKILL.md +7 -0
- package/skills/edit/SKILL.md +4 -2
- package/skills/fixit/SKILL.md +16 -0
- package/skills/open/SKILL.md +45 -12
- package/skills/overnight/SKILL.md +3 -1
- package/skills/plan/SKILL.md +21 -23
- package/skills/release/SKILL.md +7 -5
- package/skills/tests/onramp.test.json +101 -101
- package/skills/tests/rdc-env.test.json +12 -12
- package/skills/tests/rdc-new-model.test.json +12 -12
- package/skills/tests/rdc-refactor.test.json +29 -29
- package/skills/tests/rdc-regen-media.test.json +29 -29
- package/.rdc/evidence/orchestrator-rework-strikes/a9fad8b4716ee35e5f5d0047.json +0 -1
- package/.rdc/last_seen.json +0 -8
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manifest_version": 1,
|
|
3
|
-
"skill": "rdc:onramp",
|
|
4
|
-
"description": "Tier-2 self-test for rdc:onramp enrollment skill",
|
|
5
|
-
"tier": 2,
|
|
6
|
-
"sandbox": true,
|
|
7
|
-
"env": {
|
|
8
|
-
"RDC_TEST": "1"
|
|
9
|
-
},
|
|
10
|
-
"invocation": {
|
|
11
|
-
"slug": "onramp-selftest",
|
|
12
|
-
"name": "Onramp Self Test",
|
|
13
|
-
"flags": ["--archetype", "working-landscapes", "--dry-run"]
|
|
14
|
-
},
|
|
15
|
-
"fixture": {
|
|
16
|
-
"prompt": "rdc:onramp onramp-selftest --name \"Onramp Self Test\" --archetype working-landscapes --dry-run",
|
|
17
|
-
"env": { "RDC_\u0054EST": "1" },
|
|
18
|
-
"slow": true
|
|
19
|
-
},
|
|
20
|
-
"assertions": {
|
|
21
|
-
"exit_code": 0,
|
|
22
|
-
"stdout_contains": ["Preflight", "Resolve drift"]
|
|
23
|
-
},
|
|
24
|
-
"acceptance": {
|
|
25
|
-
"output_contains": ["Preflight", "Resolve drift", "disk-ahead", "already-enrolled"],
|
|
26
|
-
"output_not_contains": ["hand-edit _context.md", "raw insert"]
|
|
27
|
-
},
|
|
28
|
-
"legacy_assertions": [
|
|
29
|
-
{
|
|
30
|
-
"type": "exit_code",
|
|
31
|
-
"expect": 0,
|
|
32
|
-
"description": "Skill exits cleanly under RDC_TEST with --dry-run"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "stdout_contains",
|
|
36
|
-
"pattern": "Preflight",
|
|
37
|
-
"description": "Checklist begins with Preflight step"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"type": "stdout_contains",
|
|
41
|
-
"pattern": "Resolve drift",
|
|
42
|
-
"description": "Drift resolution step is emitted"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"type": "stdout_contains",
|
|
46
|
-
"pattern": "\\[RDC_TEST\\]",
|
|
47
|
-
"description": "Sandbox short-circuit marker present — confirms external calls were skipped"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"type": "file_absent",
|
|
51
|
-
"path": "places/onramp-selftest/_context.md",
|
|
52
|
-
"description": "Scaffolder MUST NOT write _context.md — projection-drift violation gate"
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
"door_contracts": [
|
|
56
|
-
{
|
|
57
|
-
"name": "enroll_place_signature",
|
|
58
|
-
"description": "enroll_place RPC must accept (text, text, jsonb, text) and return jsonb",
|
|
59
|
-
"type": "rpc_introspection",
|
|
60
|
-
"project_id": "uvojezuorjgqzmhhgluu",
|
|
61
|
-
"query": "SELECT p.proname, pg_get_function_identity_arguments(p.oid) AS args, pg_get_function_result(p.oid) AS returns FROM pg_proc p WHERE p.proname = 'enroll_place';",
|
|
62
|
-
"expect_args_contains": ["text", "jsonb"],
|
|
63
|
-
"expect_returns": "jsonb"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "insert_work_item_accepts_project_node_id",
|
|
67
|
-
"description": "insert_work_item must accept p_project_node_id parameter",
|
|
68
|
-
"type": "rpc_introspection",
|
|
69
|
-
"project_id": "uvojezuorjgqzmhhgluu",
|
|
70
|
-
"query": "SELECT proname, pg_get_function_identity_arguments(oid) FROM pg_proc WHERE proname = 'insert_work_item';",
|
|
71
|
-
"expect_args_contains": ["p_project_node_id"]
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"disk_ahead_test": {
|
|
75
|
-
"description": "disk-ahead state must STOP and open a reconciliation work item",
|
|
76
|
-
"setup": "mkdir -p places/disk-ahead-test",
|
|
77
|
-
"invocation_slug": "disk-ahead-test",
|
|
78
|
-
"invocation_name": "Disk Ahead Test",
|
|
79
|
-
"assertions": [
|
|
80
|
-
{
|
|
81
|
-
"type": "stdout_contains",
|
|
82
|
-
"pattern": "disk-ahead",
|
|
83
|
-
"description": "Skill identifies the disk-ahead state"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"type": "stdout_contains",
|
|
87
|
-
"pattern": "STOP",
|
|
88
|
-
"description": "Skill STOPs on disk-ahead"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"type": "exit_nonzero",
|
|
92
|
-
"description": "Skill exits non-zero on disk-ahead (not a clean enrollment)"
|
|
93
|
-
}
|
|
94
|
-
],
|
|
95
|
-
"teardown": "rmdir places/disk-ahead-test 2>/dev/null || true"
|
|
96
|
-
},
|
|
97
|
-
"idempotency_test": {
|
|
98
|
-
"description": "Running rdc:onramp twice for already-enrolled should produce zero new writes",
|
|
99
|
-
"note": "Under RDC_TEST=1 this is verified by checking that [RDC_TEST] skipping markers appear (not real insert calls) and the checklist reports already-enrolled"
|
|
100
|
-
}
|
|
101
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"manifest_version": 1,
|
|
3
|
+
"skill": "rdc:onramp",
|
|
4
|
+
"description": "Tier-2 self-test for rdc:onramp enrollment skill",
|
|
5
|
+
"tier": 2,
|
|
6
|
+
"sandbox": true,
|
|
7
|
+
"env": {
|
|
8
|
+
"RDC_TEST": "1"
|
|
9
|
+
},
|
|
10
|
+
"invocation": {
|
|
11
|
+
"slug": "onramp-selftest",
|
|
12
|
+
"name": "Onramp Self Test",
|
|
13
|
+
"flags": ["--archetype", "working-landscapes", "--dry-run"]
|
|
14
|
+
},
|
|
15
|
+
"fixture": {
|
|
16
|
+
"prompt": "rdc:onramp onramp-selftest --name \"Onramp Self Test\" --archetype working-landscapes --dry-run",
|
|
17
|
+
"env": { "RDC_\u0054EST": "1" },
|
|
18
|
+
"slow": true
|
|
19
|
+
},
|
|
20
|
+
"assertions": {
|
|
21
|
+
"exit_code": 0,
|
|
22
|
+
"stdout_contains": ["Preflight", "Resolve drift"]
|
|
23
|
+
},
|
|
24
|
+
"acceptance": {
|
|
25
|
+
"output_contains": ["Preflight", "Resolve drift", "disk-ahead", "already-enrolled"],
|
|
26
|
+
"output_not_contains": ["hand-edit _context.md", "raw insert"]
|
|
27
|
+
},
|
|
28
|
+
"legacy_assertions": [
|
|
29
|
+
{
|
|
30
|
+
"type": "exit_code",
|
|
31
|
+
"expect": 0,
|
|
32
|
+
"description": "Skill exits cleanly under RDC_TEST with --dry-run"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "stdout_contains",
|
|
36
|
+
"pattern": "Preflight",
|
|
37
|
+
"description": "Checklist begins with Preflight step"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "stdout_contains",
|
|
41
|
+
"pattern": "Resolve drift",
|
|
42
|
+
"description": "Drift resolution step is emitted"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"type": "stdout_contains",
|
|
46
|
+
"pattern": "\\[RDC_TEST\\]",
|
|
47
|
+
"description": "Sandbox short-circuit marker present — confirms external calls were skipped"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "file_absent",
|
|
51
|
+
"path": "places/onramp-selftest/_context.md",
|
|
52
|
+
"description": "Scaffolder MUST NOT write _context.md — projection-drift violation gate"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"door_contracts": [
|
|
56
|
+
{
|
|
57
|
+
"name": "enroll_place_signature",
|
|
58
|
+
"description": "enroll_place RPC must accept (text, text, jsonb, text) and return jsonb",
|
|
59
|
+
"type": "rpc_introspection",
|
|
60
|
+
"project_id": "uvojezuorjgqzmhhgluu",
|
|
61
|
+
"query": "SELECT p.proname, pg_get_function_identity_arguments(p.oid) AS args, pg_get_function_result(p.oid) AS returns FROM pg_proc p WHERE p.proname = 'enroll_place';",
|
|
62
|
+
"expect_args_contains": ["text", "jsonb"],
|
|
63
|
+
"expect_returns": "jsonb"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "insert_work_item_accepts_project_node_id",
|
|
67
|
+
"description": "insert_work_item must accept p_project_node_id parameter",
|
|
68
|
+
"type": "rpc_introspection",
|
|
69
|
+
"project_id": "uvojezuorjgqzmhhgluu",
|
|
70
|
+
"query": "SELECT proname, pg_get_function_identity_arguments(oid) FROM pg_proc WHERE proname = 'insert_work_item';",
|
|
71
|
+
"expect_args_contains": ["p_project_node_id"]
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"disk_ahead_test": {
|
|
75
|
+
"description": "disk-ahead state must STOP and open a reconciliation work item",
|
|
76
|
+
"setup": "mkdir -p places/disk-ahead-test",
|
|
77
|
+
"invocation_slug": "disk-ahead-test",
|
|
78
|
+
"invocation_name": "Disk Ahead Test",
|
|
79
|
+
"assertions": [
|
|
80
|
+
{
|
|
81
|
+
"type": "stdout_contains",
|
|
82
|
+
"pattern": "disk-ahead",
|
|
83
|
+
"description": "Skill identifies the disk-ahead state"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"type": "stdout_contains",
|
|
87
|
+
"pattern": "STOP",
|
|
88
|
+
"description": "Skill STOPs on disk-ahead"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"type": "exit_nonzero",
|
|
92
|
+
"description": "Skill exits non-zero on disk-ahead (not a clean enrollment)"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"teardown": "rmdir places/disk-ahead-test 2>/dev/null || true"
|
|
96
|
+
},
|
|
97
|
+
"idempotency_test": {
|
|
98
|
+
"description": "Running rdc:onramp twice for already-enrolled should produce zero new writes",
|
|
99
|
+
"note": "Under RDC_TEST=1 this is verified by checking that [RDC_TEST] skipping markers appear (not real insert calls) and the checklist reports already-enrolled"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manifest_version": 1,
|
|
3
|
-
"skill": "rdc:env",
|
|
4
|
-
"description": "Environment status is read-only and reports installed version.",
|
|
5
|
-
"fixture": { "prompt": "rdc:env status", "env": { "RDC_\u0054EST": "1" }, "slow": false },
|
|
6
|
-
"assertions": { "exit_code": 0, "stdout_contains": ["Environment"] },
|
|
7
|
-
"acceptance": {
|
|
8
|
-
"output_contains": ["version", "status"],
|
|
9
|
-
"output_not_contains": ["force", "delete environment"]
|
|
10
|
-
},
|
|
11
|
-
"teardown": { "reset_branch": true }
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"manifest_version": 1,
|
|
3
|
+
"skill": "rdc:env",
|
|
4
|
+
"description": "Environment status is read-only and reports installed version.",
|
|
5
|
+
"fixture": { "prompt": "rdc:env status", "env": { "RDC_\u0054EST": "1" }, "slow": false },
|
|
6
|
+
"assertions": { "exit_code": 0, "stdout_contains": ["Environment"] },
|
|
7
|
+
"acceptance": {
|
|
8
|
+
"output_contains": ["version", "status"],
|
|
9
|
+
"output_not_contains": ["force", "delete environment"]
|
|
10
|
+
},
|
|
11
|
+
"teardown": { "reset_branch": true }
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manifest_version": 1,
|
|
3
|
-
"skill": "rdc:new-model",
|
|
4
|
-
"description": "New-model registration begins with the canonical gate.",
|
|
5
|
-
"fixture": { "prompt": "rdc:new-model example-model", "env": { "RDC_\u0054EST": "1" }, "slow": true },
|
|
6
|
-
"assertions": { "exit_code": 0, "stdout_contains": ["New Model"] },
|
|
7
|
-
"acceptance": {
|
|
8
|
-
"output_contains": ["canonical", "registration"],
|
|
9
|
-
"output_not_contains": ["raw insert", "skip gate"]
|
|
10
|
-
},
|
|
11
|
-
"teardown": { "reset_branch": true }
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"manifest_version": 1,
|
|
3
|
+
"skill": "rdc:new-model",
|
|
4
|
+
"description": "New-model registration begins with the canonical gate.",
|
|
5
|
+
"fixture": { "prompt": "rdc:new-model example-model", "env": { "RDC_\u0054EST": "1" }, "slow": true },
|
|
6
|
+
"assertions": { "exit_code": 0, "stdout_contains": ["New Model"] },
|
|
7
|
+
"acceptance": {
|
|
8
|
+
"output_contains": ["canonical", "registration"],
|
|
9
|
+
"output_not_contains": ["raw insert", "skip gate"]
|
|
10
|
+
},
|
|
11
|
+
"teardown": { "reset_branch": true }
|
|
12
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manifest_version": 1,
|
|
3
|
-
"skill": "rdc:refactor",
|
|
4
|
-
"description": "Refactor preserves evidence and isolates all dispatched writers.",
|
|
5
|
-
"fixture": {
|
|
6
|
-
"prompt": "rdc:refactor hook-scope --takeover \"corrective consolidation\"",
|
|
7
|
-
"env": { "RDC_\u0054EST": "1" },
|
|
8
|
-
"slow": true
|
|
9
|
-
},
|
|
10
|
-
"assertions": {
|
|
11
|
-
"exit_code": 0,
|
|
12
|
-
"commits_made": { "min": 0 },
|
|
13
|
-
"stdout_contains": ["RDC Refactor"]
|
|
14
|
-
},
|
|
15
|
-
"acceptance": {
|
|
16
|
-
"output_contains": [
|
|
17
|
-
"consolidate_work_items_into_epic",
|
|
18
|
-
"unique leased worktree",
|
|
19
|
-
"collaboration manifest",
|
|
20
|
-
"validator"
|
|
21
|
-
],
|
|
22
|
-
"output_not_contains": [
|
|
23
|
-
"raw update",
|
|
24
|
-
"shared working directory",
|
|
25
|
-
"archive all"
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"teardown": { "reset_branch": true }
|
|
29
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"manifest_version": 1,
|
|
3
|
+
"skill": "rdc:refactor",
|
|
4
|
+
"description": "Refactor preserves evidence and isolates all dispatched writers.",
|
|
5
|
+
"fixture": {
|
|
6
|
+
"prompt": "rdc:refactor hook-scope --takeover \"corrective consolidation\"",
|
|
7
|
+
"env": { "RDC_\u0054EST": "1" },
|
|
8
|
+
"slow": true
|
|
9
|
+
},
|
|
10
|
+
"assertions": {
|
|
11
|
+
"exit_code": 0,
|
|
12
|
+
"commits_made": { "min": 0 },
|
|
13
|
+
"stdout_contains": ["RDC Refactor"]
|
|
14
|
+
},
|
|
15
|
+
"acceptance": {
|
|
16
|
+
"output_contains": [
|
|
17
|
+
"consolidate_work_items_into_epic",
|
|
18
|
+
"unique leased worktree",
|
|
19
|
+
"collaboration manifest",
|
|
20
|
+
"validator"
|
|
21
|
+
],
|
|
22
|
+
"output_not_contains": [
|
|
23
|
+
"raw update",
|
|
24
|
+
"shared working directory",
|
|
25
|
+
"archive all"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"teardown": { "reset_branch": true }
|
|
29
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manifest_version": 1,
|
|
3
|
-
"skill": "rdc:regen-media",
|
|
4
|
-
"description": "Regen Media uses local keyless Codex gpt-image-2 as the primary image-generation path and avoids live generation under RDC_TEST.",
|
|
5
|
-
"fixture": {
|
|
6
|
-
"prompt": "rdc:regen-media generate a 2048x1152 homepage hero image",
|
|
7
|
-
"env": { "RDC_TEST": "1" }
|
|
8
|
-
},
|
|
9
|
-
"assertions": {
|
|
10
|
-
"exit_code": 0,
|
|
11
|
-
"commits_made": { "min": 0 },
|
|
12
|
-
"stdout_contains": ["image_gen", "gpt-image-2"]
|
|
13
|
-
},
|
|
14
|
-
"acceptance": {
|
|
15
|
-
"output_contains": [
|
|
16
|
-
"image_gen",
|
|
17
|
-
"gpt-image-2",
|
|
18
|
-
"--enable image_generation",
|
|
19
|
-
"RDC_TEST"
|
|
20
|
-
],
|
|
21
|
-
"output_not_contains": [
|
|
22
|
-
"OPENAI_API_KEY=",
|
|
23
|
-
"generate_gpt_image is the default",
|
|
24
|
-
"upload completed",
|
|
25
|
-
"raw MCP"
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"teardown": { "reset_branch": true }
|
|
29
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"manifest_version": 1,
|
|
3
|
+
"skill": "rdc:regen-media",
|
|
4
|
+
"description": "Regen Media uses local keyless Codex gpt-image-2 as the primary image-generation path and avoids live generation under RDC_TEST.",
|
|
5
|
+
"fixture": {
|
|
6
|
+
"prompt": "rdc:regen-media generate a 2048x1152 homepage hero image",
|
|
7
|
+
"env": { "RDC_TEST": "1" }
|
|
8
|
+
},
|
|
9
|
+
"assertions": {
|
|
10
|
+
"exit_code": 0,
|
|
11
|
+
"commits_made": { "min": 0 },
|
|
12
|
+
"stdout_contains": ["image_gen", "gpt-image-2"]
|
|
13
|
+
},
|
|
14
|
+
"acceptance": {
|
|
15
|
+
"output_contains": [
|
|
16
|
+
"image_gen",
|
|
17
|
+
"gpt-image-2",
|
|
18
|
+
"--enable image_generation",
|
|
19
|
+
"RDC_TEST"
|
|
20
|
+
],
|
|
21
|
+
"output_not_contains": [
|
|
22
|
+
"OPENAI_API_KEY=",
|
|
23
|
+
"generate_gpt_image is the default",
|
|
24
|
+
"upload completed",
|
|
25
|
+
"raw MCP"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"teardown": { "reset_branch": true }
|
|
29
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"sessionId":"01a07616-15d1-7d13-abf2-fab776bfd75b","emitterId":"transcript:c:/users/daveladouceur/.codex/sessions/2026/09/06/rollout-2026-09-06t03-39-14-01a07616-15d1-7d13-abf2-fab776bfd75b.jsonl","strikeKey":"a9fad8b4716ee35e5f5d0047","strikes":0,"ts":"2026-09-06T09:41:35.743Z"}
|
package/.rdc/last_seen.json
DELETED