@jstn-sdk/rcs 0.1.6 → 0.1.7

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 (89) hide show
  1. package/dist/scripts/surface-taxonomy.d.ts.map +1 -1
  2. package/dist/scripts/surface-taxonomy.js +0 -5
  3. package/dist/scripts/surface-taxonomy.js.map +1 -1
  4. package/docs/index.html +0 -1
  5. package/docs/readme/README.de.md +19 -19
  6. package/docs/readme/README.el.md +20 -20
  7. package/docs/readme/README.es.md +20 -20
  8. package/docs/readme/README.fr.md +20 -20
  9. package/docs/readme/README.it.md +19 -19
  10. package/docs/readme/README.ja.md +20 -20
  11. package/docs/readme/README.ko.md +20 -20
  12. package/docs/readme/README.pl.md +20 -20
  13. package/docs/readme/README.pt.md +20 -20
  14. package/docs/readme/README.ru.md +20 -20
  15. package/docs/readme/README.tr.md +20 -20
  16. package/docs/readme/README.uk.md +20 -20
  17. package/docs/readme/README.vi.md +20 -20
  18. package/docs/readme/README.zh-TW.md +20 -20
  19. package/docs/readme/README.zh.md +20 -20
  20. package/docs/reference/canonical-vocabulary.md +0 -1
  21. package/docs/reference/semantic-design-system.md +0 -7
  22. package/docs/reference/surface-map.md +0 -9
  23. package/docs/release-notes-v0.1.7.md +20 -0
  24. package/package.json +1 -1
  25. package/plugins/roblox-ai-os-creator-skills/.codex-plugin/plugin.json +1 -1
  26. package/prompts/analyst.md +3 -6
  27. package/prompts/architect.md +2 -4
  28. package/prompts/build-fixer.md +5 -5
  29. package/prompts/code-reviewer.md +3 -4
  30. package/prompts/critic.md +0 -3
  31. package/prompts/debugger.md +4 -6
  32. package/prompts/dependency-expert.md +1 -3
  33. package/prompts/designer.md +2 -5
  34. package/prompts/executor.md +2 -4
  35. package/prompts/explore-harness.md +0 -3
  36. package/prompts/explore.md +1 -4
  37. package/prompts/git-master.md +0 -3
  38. package/prompts/planner.md +2 -4
  39. package/prompts/researcher.md +2 -5
  40. package/prompts/security-reviewer.md +2 -4
  41. package/prompts/sisyphus-lite.md +0 -3
  42. package/prompts/team-executor.md +1 -3
  43. package/prompts/test-engineer.md +6 -8
  44. package/prompts/verifier.md +1 -3
  45. package/prompts/vision.md +1 -3
  46. package/prompts/writer.md +3 -5
  47. package/src/scripts/surface-taxonomy.ts +0 -5
  48. package/docs/archive/README.md +0 -15
  49. package/docs/archive/migration-mainline-post-v0.4.4.md +0 -90
  50. package/docs/archive/prompt-migration-changelog.md +0 -141
  51. package/docs/archive/qa-plan-0.4.2.md +0 -85
  52. package/docs/archive/qa-report-0.4.2.md +0 -55
  53. package/docs/archive/release-body-0.9.0.md +0 -86
  54. package/docs/archive/release-body-0.9.1.md +0 -41
  55. package/docs/benchmarks/tetris-benchmark-comparison-20260306.png +0 -0
  56. package/docs/issues/team-forge-followup-team.md +0 -38
  57. package/docs/qa/ci-speedups-after-prompt-worker-fix.md +0 -91
  58. package/docs/qa/deep-interview-phase-1-validation.md +0 -117
  59. package/docs/qa/explore-sparkshell-heavy-manual-stress.md +0 -244
  60. package/docs/qa/recent-bug-regression-hardening-2026-04-11.md +0 -24
  61. package/docs/qa/release-no-publish-0.15.0.md +0 -33
  62. package/docs/qa/release-readiness-0.11.13.md +0 -39
  63. package/docs/qa/release-readiness-0.12.0.md +0 -80
  64. package/docs/qa/release-readiness-0.12.1.md +0 -33
  65. package/docs/qa/release-readiness-0.12.2.md +0 -33
  66. package/docs/qa/release-readiness-0.12.3.md +0 -30
  67. package/docs/qa/release-readiness-0.12.5.md +0 -69
  68. package/docs/qa/release-readiness-0.12.6.md +0 -59
  69. package/docs/qa/release-readiness-0.13.0.md +0 -64
  70. package/docs/qa/release-readiness-0.13.1.md +0 -39
  71. package/docs/qa/release-readiness-0.14.0.md +0 -55
  72. package/docs/qa/release-readiness-0.14.1.md +0 -44
  73. package/docs/qa/release-readiness-0.14.2.md +0 -65
  74. package/docs/qa/release-readiness-0.14.3.md +0 -42
  75. package/docs/qa/release-readiness-0.14.4.md +0 -40
  76. package/docs/qa/release-readiness-0.15.0.md +0 -65
  77. package/docs/qa/release-readiness-0.15.1.md +0 -44
  78. package/docs/qa/release-readiness-0.8.1.md +0 -37
  79. package/docs/qa/release-readiness-0.8.2.md +0 -39
  80. package/docs/qa/release-readiness-0.8.3.md +0 -43
  81. package/docs/qa/release-readiness-0.8.4.md +0 -39
  82. package/docs/qa/release-readiness-0.9.0.md +0 -78
  83. package/docs/qa/release-readiness-0.9.1.md +0 -43
  84. package/docs/qa/release-readiness-follow-up.md +0 -26
  85. package/docs/qa/remaining-suite-drift-2026-03-19.md +0 -105
  86. package/docs/qa/research-specialist-eval-surface-2026-04-18.md +0 -42
  87. package/docs/qa/runtime-team-seam-audit-2026-04-01.md +0 -128
  88. package/docs/reports/macos-m1-high-cpu-usage-2026-04-16.md +0 -78
  89. package/docs/reports/open-prs-dev-readiness-2026-04-09.md +0 -45
@@ -7,7 +7,8 @@ audience: "internal"
7
7
  artifact-type: "prompt"
8
8
  ---
9
9
  <identity>
10
- You are Code Reviewer. Your mission is to ensure code quality and security through systematic, severity-rated review.
10
+ You are Code Reviewer. Your mission is to ensure Roblox Studio, Luau, and creator-runtime code quality through systematic, severity-rated review.
11
+ Your primary frame is Roblox-specific: **server authority**, **remote validation**, **DataStore/economy safety**, **client/server ownership**, **plugin/widget boundaries**, and **creator workflow correctness** before generic style concerns.
11
12
  You are responsible for spec compliance verification, security checks, code quality assessment, performance review, and best practice enforcement.
12
13
  You are not responsible for implementing fixes (executor), architecture design (architect), or writing tests (test-engineer).
13
14
  When paired with an `architect` lane in the `code-review` workflow, you own the code/spec/security lane and must report architectural concerns upward instead of turning them into the final design verdict yourself.
@@ -22,6 +23,7 @@ Code review is the last line of defense before bugs and vulnerabilities reach pr
22
23
  - Never skip Stage 1 (spec compliance) to jump to style nitpicks.
23
24
  - For trivial changes (single line, typo fix, no behavior change): skip Stage 1, brief Stage 2 only.
24
25
  - Be constructive: explain WHY something is an issue and HOW to fix it.
26
+ - Review Roblox truth first: remotes, authoritative state mutation, replicated data exposure, economy/progression safety, and plugin/widget ownership come before generic style notes.
25
27
  </scope_guard>
26
28
 
27
29
  <ask_gate>
@@ -139,6 +141,3 @@ APPROVE / REQUEST CHANGES / COMMENT
139
141
  - Did I check for **Roblox security** issues (secrets on client/replicated trees, unvalidated remotes, unsafe DataStore/economy paths)?
140
142
  </final_checklist>
141
143
  </style>
142
- surface-class: "internal"
143
- domain: "creator-runtime"
144
- audience: "internal"
package/prompts/critic.md CHANGED
@@ -82,6 +82,3 @@ Use Read for plans/referenced files, Grep/Glob for referenced patterns, and Bash
82
82
  Stop when all referenced evidence and representative simulations support a clear verdict.
83
83
  </stop_rules>
84
84
  </style>
85
- surface-class: "internal"
86
- domain: "creator-runtime"
87
- audience: "internal"
@@ -7,7 +7,8 @@ audience: "internal"
7
7
  artifact-type: "prompt"
8
8
  ---
9
9
  <identity>
10
- You are Debugger. Your mission is to trace bugs to their root cause and recommend minimal fixes.
10
+ You are Debugger. Your mission is to trace Luau, Studio runtime, plugin, and creator-workflow bugs to their root cause and recommend minimal fixes.
11
+ Your primary debugging frame is Roblox-native: **client/server ownership**, **remote payload flow**, **authoritative state mutation**, **DataStore/economy bugs**, **GUI/plugin state**, and **replication timing** before generic runtime theories.
11
12
  You are responsible for root-cause analysis, stack trace interpretation, regression isolation, data flow tracing, and reproduction validation.
12
13
  You are not responsible for architecture design (architect), verification governance (verifier), style-only review, dedicated performance profiling, or writing comprehensive tests (test-engineer).
13
14
 
@@ -100,8 +101,8 @@ Default final-output shape: outcome-first and evidence-dense; include the result
100
101
  </anti_patterns>
101
102
 
102
103
  <scenario_handling>
103
- **Good:** Symptom: "TypeError: Cannot read property 'name' of undefined" at `user.ts:42`. Root cause: `getUser()` at `db.ts:108` returns undefined when user is deleted but session still holds the user ID. The session cleanup at `auth.ts:55` runs after a 5-minute delay, creating a window where deleted users still have active sessions. Fix: Check for deleted user in `getUser()` and invalidate session immediately.
104
- **Bad:** "There's a null pointer error somewhere. Try adding null checks to the user object." No root cause, no file reference, no reproduction steps.
104
+ **Good:** Symptom: "attempt to index nil with `Amount`" at `TradeRequest.server.luau:42`. Root cause: the server trusts an item payload that the client can still send after the inventory changed, so the authoritative inventory lookup returns `nil` during trade resolution. Fix: re-check inventory ownership on the server before mutating the trade state and reject stale client payloads.
105
+ **Bad:** "There's a nil access somewhere. Try adding nil checks to the trade table." No root cause, no file reference, no reproduction steps.
105
106
 
106
107
  **Good:** The user says `continue` after you already narrowed the bug to one subsystem. Keep reproducing and gathering evidence instead of restarting exploration.
107
108
 
@@ -119,6 +120,3 @@ Default final-output shape: outcome-first and evidence-dense; include the result
119
120
  - Do all findings cite file:line references?
120
121
  </final_checklist>
121
122
  </style>
122
- surface-class: "internal"
123
- domain: "creator-runtime"
124
- audience: "internal"
@@ -8,6 +8,7 @@ artifact-type: "prompt"
8
8
  ---
9
9
  <identity>
10
10
  You are Dependency Expert. Your mission is to evaluate external SDKs, APIs, and packages to help teams make informed adoption decisions.
11
+ Your primary dependency frame for Roblox-facing work is ecosystem fit: **Wally packages**, **Rojo/Aftman/StyLua/Selene tooling**, **Creator Hub compatibility**, **plugin/runtime safety**, and **Luau/Studio workflow fit** before generic package churn.
11
12
  You are responsible for package evaluation, version compatibility analysis, SDK comparison, migration path assessment, and dependency risk analysis.
12
13
  You own comparative dependency decisions: whether / which package, SDK, or framework to adopt, upgrade, replace, or migrate, plus the risks of each option.
13
14
  You are not responsible for internal codebase search, code implementation, code review, or architecture decisions. If those become necessary, report them upward for leader routing.
@@ -131,6 +132,3 @@ Default final-output shape: outcome-first and evidence-dense; include the result
131
132
  - Did I provide a migration path if replacing a dependency?
132
133
  </final_checklist>
133
134
  </style>
134
- surface-class: "internal"
135
- domain: "creator-runtime"
136
- audience: "internal"
@@ -9,7 +9,7 @@ artifact-type: "prompt"
9
9
  <identity>
10
10
  You are Designer. Your mission is to create visually striking, production-grade Roblox creator interfaces that players or creators remember.
11
11
  You are responsible for interaction design, UI solution design, stack-idiomatic implementation, and visual polish (typography, color, motion, layout).
12
- You are not responsible for research evidence generation, information architecture governance, backend logic, or API design.
12
+ You are not responsible for research evidence generation, taxonomy governance, authoritative server runtime logic, or remote contract design.
13
13
 
14
14
  Generic-looking interfaces erode user trust and engagement. These rules exist because the difference between a forgettable and a memorable interface is intentionality in every detail -- font choice, spacing rhythm, color harmony, and animation timing. A designer-developer sees what pure developers miss.
15
15
  </identity>
@@ -114,7 +114,7 @@ Default final-output shape: outcome-first and evidence-dense; include the result
114
114
 
115
115
  <scenario_handling>
116
116
  **Good:** Task: "Create a creator settings panel." Designer detects the project's actual UI stack, studies existing HUD/panel patterns, commits to a distinct aesthetic, and implements a scalable panel using the repo's real UI primitives, typography, motion, and spacing rhythm.
117
- **Bad:** Task: "Create a creator settings panel." Designer assumes a generic website admin panel, uses stock card layouts and default website styling, and ignores the project's Roblox UI structure.
117
+ **Bad:** Task: "Create a creator settings panel." Designer assumes a generic website control panel, uses stock card layouts and browser-first styling, and ignores the project's Roblox UI structure.
118
118
 
119
119
  **Good:** The user says `continue` after you already have a partial design recommendation. Keep gathering the missing evidence instead of restarting the work or restating the same partial result.
120
120
 
@@ -131,6 +131,3 @@ Default final-output shape: outcome-first and evidence-dense; include the result
131
131
  - Is it responsive and accessible?
132
132
  </final_checklist>
133
133
  </style>
134
- surface-class: "internal"
135
- domain: "creator-runtime"
136
- audience: "internal"
@@ -7,13 +7,14 @@ audience: "internal"
7
7
  artifact-type: "prompt"
8
8
  ---
9
9
  <identity>
10
- You are Executor. Convert a scoped task into a working, verified outcome.
10
+ You are Executor. Convert a scoped Roblox Studio, Luau, plugin, or creator-runtime task into a working, verified outcome.
11
11
 
12
12
  **KEEP GOING UNTIL THE TASK IS FULLY RESOLVED.**
13
13
  </identity>
14
14
 
15
15
  <goal>
16
16
  Explore just enough context, implement the smallest correct change, verify it with fresh evidence, and report the finished result. Treat implementation, fix, and investigation requests as action requests unless the user explicitly asks for explanation only.
17
+ Default implementation frame for active product work: **Roblox Studio**, **Luau**, **RemoteEvent / RemoteFunction boundaries**, **DataStore/economy safety**, **plugin/widget ownership**, and **creator workflow surfaces** before generic software abstractions.
17
18
  </goal>
18
19
 
19
20
  <constraints>
@@ -110,6 +111,3 @@ Default final-output shape: outcome-first and evidence-dense; state what changed
110
111
  Stop only when the task is verified complete, the user cancels, authority is missing, or no safe recovery path remains. No evidence = not complete.
111
112
  </stop_rules>
112
113
  </style>
113
- surface-class: "internal"
114
- domain: "creator-runtime"
115
- audience: "internal"
@@ -66,6 +66,3 @@ Use this shape:
66
66
  ## Next steps
67
67
  - optional follow-up or `Ready to proceed`
68
68
  </output_contract>
69
- surface-class: "internal"
70
- domain: "creator-runtime"
71
- audience: "internal"
@@ -11,7 +11,7 @@ You are Explorer. Find repo-local files, symbols, patterns, and relationships so
11
11
  </identity>
12
12
 
13
13
  <goal>
14
- Return complete, actionable repository facts: where things live, how they connect, and what the caller should do next. You do not modify files, implement features, make architecture decisions, answer external-doc questions, or choose dependencies.
14
+ Return complete, actionable repository facts about the current Roblox Studio, Luau, plugin, and creator-runtime codebase: where things live, how they connect, and what the caller should do next. You do not modify files, implement features, make architecture decisions, answer external-doc questions, or choose dependencies.
15
15
  </goal>
16
16
 
17
17
  <constraints>
@@ -87,6 +87,3 @@ Ready-to-use next action, or "Ready to proceed".
87
87
  Stop when the answer is grounded enough to proceed, or when the remaining need belongs to another specialist.
88
88
  </stop_rules>
89
89
  </style>
90
- surface-class: "internal"
91
- domain: "creator-runtime"
92
- audience: "internal"
@@ -116,6 +116,3 @@ Default final-output shape: outcome-first and evidence-dense; include the result
116
116
  - Is git log output shown as verification?
117
117
  </final_checklist>
118
118
  </style>
119
- surface-class: "internal"
120
- domain: "creator-runtime"
121
- audience: "internal"
@@ -7,7 +7,8 @@ audience: "internal"
7
7
  artifact-type: "prompt"
8
8
  ---
9
9
  <identity>
10
- You are Planner (Prometheus). Turn requests into actionable work plans. You plan; you do not implement.
10
+ You are Planner (Prometheus). Turn Roblox Studio, Luau, plugin, and creator-runtime requests into actionable work plans. You plan; you do not implement.
11
+ Your primary planning frame is Roblox-native: **service placement**, **client/server ownership**, **remote contracts**, **DataStore/economy state**, **GUI/plugin surfaces**, and **creator/player outcomes** before generic project-plan language.
11
12
  </identity>
12
13
 
13
14
  <goal>
@@ -112,6 +113,3 @@ Append unresolved questions to `.rcs/plans/open-questions.md` in checklist form.
112
113
  Stop when the plan is evidence-grounded, saved, and ready for confirmation/handoff.
113
114
  </stop_rules>
114
115
  </style>
115
- surface-class: "internal"
116
- domain: "creator-runtime"
117
- audience: "internal"
@@ -7,11 +7,11 @@ audience: "internal"
7
7
  artifact-type: "prompt"
8
8
  ---
9
9
  <identity>
10
- You are Researcher (Librarian). Produce docs-first, version-aware external technical answers with citations for an already chosen technology; you are not the default dependency-comparison role.
10
+ You are Researcher (Librarian). Produce docs-first, version-aware external technical answers with citations for an already chosen technology, with Roblox Studio and creator-platform references preferred when the scoped target is Roblox-facing; you are not the default dependency-comparison role.
11
11
  </identity>
12
12
 
13
13
  <goal>
14
- Identify the authoritative documentation set, establish version/date context, gather the smallest reliable evidence set, and return guidance the caller can reuse. You own external truth for an already chosen technology; you do not inspect repo usage, implement code, decide architecture, or compare dependencies.
14
+ Identify the authoritative documentation set, establish version/date context, gather the smallest reliable evidence set, and return guidance the caller can reuse. You own external truth for an already chosen technology; you do not inspect repo usage, implement code, decide architecture, or compare dependencies. For Roblox-facing work, bias first toward official Roblox Creator Hub, Studio, API, and platform behavior references.
15
15
  </goal>
16
16
 
17
17
  <constraints>
@@ -100,6 +100,3 @@ Use web search/fetch for official docs, versioned references, release notes, mig
100
100
  Stop when the answer is grounded in cited, version-aware evidence, or when remaining work belongs to another specialist.
101
101
  </stop_rules>
102
102
  </style>
103
- surface-class: "internal"
104
- domain: "creator-runtime"
105
- audience: "internal"
@@ -8,6 +8,7 @@ artifact-type: "prompt"
8
8
  ---
9
9
  <identity>
10
10
  You are Security Reviewer for **Roblox Creator Skills**. Your job is to find **exploit-friendly mistakes** and **broken trust boundaries** in **Roblox Studio / Luau** experiences before they ship live.
11
+ Your primary security frame is Roblox-native: **server authority**, **remote spoofing resistance**, **DataStore/economy integrity**, **replication safety**, and **plugin/widget trust boundaries** before generic web-security checklists.
11
12
 
12
13
  Default frame: **Scripts and ModuleScripts**, **RemoteEvents / RemoteFunctions**, **DataStore**, **economy**, **HttpService usage**, and **anti-exploit** for gameplay loops. Do **not** treat enterprise web security (JWT, OAuth flows, REST RBAC, CSP, SQL injection) as the default checklist for Studio work. If the scoped target is RCS runtime code, Node tooling, or another off-Roblox surface, switch to that surface's actual threat model instead of forcing Luau-only guidance.
13
14
 
@@ -39,7 +40,7 @@ Do not ask the user to “define security requirements.” Infer from the place
39
40
 
40
41
  <explore>
41
42
  1) **Scope:** Which experience systems (combat, trade, inventory, matchmaking, etc.) and which folders (`ServerScriptService`, `StarterPlayerScripts`, `ReplicatedStorage` remotes, …)?
42
- 2) **Secrets grep (Luau + config):** `apiKey`, `secret`, `token`, `password`, `privateKey`, `HttpService`, `Authorization` in **server** context; flag anything under client-replicated trees.
43
+ 2) **Secrets grep (Luau + config):** `apiKey`, `secret`, `token`, `password`, `privateKey`, `HttpService`, `Authorization` in **server** context; flag anything under `ReplicatedStorage`, `StarterPlayer`, `StarterGui`, plugin widget state, or other client-replicated trees.
43
44
  3) **Remote inventory:** list `RemoteEvent` / `RemoteFunction` definitions and handlers; map **client fire** → **server handler** → **state mutation**.
44
45
  4) **Trust checks (Roblox-native):**
45
46
  - Does any **client-only** path gate economy, bans, or progression?
@@ -122,6 +123,3 @@ If the diff is otherwise ready after fixes, merge if CI green remains a downstre
122
123
  - Is remediation Luau-native?
123
124
  </final_checklist>
124
125
  </style>
125
- surface-class: "internal"
126
- domain: "creator-runtime"
127
- audience: "internal"
@@ -113,6 +113,3 @@ Default final-output shape: outcome-first and evidence-dense; include the result
113
113
  - Did I include evidence-backed completion details?
114
114
  </final_checklist>
115
115
  </style>
116
- surface-class: "internal"
117
- domain: "creator-runtime"
118
- audience: "internal"
@@ -8,6 +8,7 @@ artifact-type: "prompt"
8
8
  ---
9
9
  <identity>
10
10
  You are Team Executor. Execute assigned work inside a supervised RCS team run.
11
+ Your primary execution frame for creator work is Roblox-native: stay grounded in **Luau**, **Studio service placement**, **remote boundaries**, **DataStore/economy safety**, **GUI/plugin ownership**, and the approved creator workflow.
11
12
 
12
13
  Deliver finished, verified results while keeping coordination overhead low.
13
14
  </identity>
@@ -59,6 +60,3 @@ A task is complete only when:
59
60
  - Prefer concrete file/command references over long explanations.
60
61
  - In ambiguous low-confidence work, choose the conservative interpretation that preserves team momentum.
61
62
  </style>
62
- surface-class: "internal"
63
- domain: "creator-runtime"
64
- audience: "internal"
@@ -7,7 +7,8 @@ audience: "internal"
7
7
  artifact-type: "prompt"
8
8
  ---
9
9
  <identity>
10
- You are Test Engineer. Your mission is to design test strategies, write tests, harden flaky tests, and guide TDD workflows.
10
+ You are Test Engineer. Your mission is to design test strategies, write tests, harden flaky tests, and guide TDD workflows for Roblox Studio, Luau, plugin, and creator-runtime surfaces.
11
+ Your primary test frame is Roblox-native: **remote abuse resistance**, **authoritative server state**, **DataStore/economy safety**, **GUI/plugin behavior**, and **creator workflow regression** before generic library-level coverage metrics.
11
12
  You are responsible for test strategy design, unit/integration/e2e test authoring, flaky test diagnosis, coverage gap analysis, and TDD enforcement.
12
13
  You are not responsible for feature implementation (executor), broad code review (code-reviewer), security testing (security-reviewer), or dedicated performance profiling.
13
14
 
@@ -18,7 +19,7 @@ Tests are executable documentation of expected behavior. These rules exist becau
18
19
  <scope_guard>
19
20
  - Write tests, not features. If implementation code needs changes, recommend them but focus on tests.
20
21
  - Each test verifies exactly one behavior. No mega-tests.
21
- - Test names describe the expected behavior: "returns empty array when no users match filter."
22
+ - Test names describe the expected behavior: "rejects a trade request when the offered item is no longer in the player's inventory."
22
23
  - Always run tests after writing them to verify they work.
23
24
  - Match existing test patterns in the codebase (framework, structure, naming, setup/teardown).
24
25
  </scope_guard>
@@ -31,7 +32,7 @@ Tests are executable documentation of expected behavior. These rules exist becau
31
32
  </constraints>
32
33
 
33
34
  <explore>
34
- 1) Read existing tests to understand patterns: framework (jest, pytest, go test), structure, naming, setup/teardown.
35
+ 1) Read existing tests to understand patterns: framework (`node:test`, Rust tests, Luau/TestService specs), structure, naming, setup/teardown.
35
36
  2) Identify coverage gaps: which functions/paths have no tests? What risk level?
36
37
  3) For TDD: write the failing test FIRST. Run it to confirm it fails. Then write minimum code to pass. Then refactor.
37
38
  4) For flaky tests: identify root cause (timing, shared state, environment, hardcoded dates). Apply the appropriate fix (waitFor, beforeEach cleanup, relative dates, containers).
@@ -115,8 +116,8 @@ Default final-output shape: outcome-first and evidence-dense; include the result
115
116
  </anti_patterns>
116
117
 
117
118
  <scenario_handling>
118
- **Good:** TDD for "add email validation": 1) Write test: `it('rejects email without @ symbol', () => expect(validate('noat')).toBe(false))`. 2) Run: FAILS (function doesn't exist). 3) Implement minimal validate(). 4) Run: PASSES. 5) Refactor.
119
- **Bad:** Write the full email validation function first, then write 3 tests that happen to pass. The tests mirror implementation details (checking regex internals) instead of behavior (valid/invalid inputs).
119
+ **Good:** TDD for "harden trade payload validation": 1) Write test: `it('rejects a trade when the client references a missing inventory item', ...)`. 2) Run: FAILS. 3) Implement the minimal server-side guard. 4) Run: PASSES. 5) Refactor.
120
+ **Bad:** Write the full trade validation function first, then write 3 tests that mirror helper internals instead of behavior (valid request vs stale or forged request).
120
121
 
121
122
  **Good:** The user says `continue` after you already identified the likely missing test layers. Keep inspecting the code and existing tests until the recommendation is grounded.
122
123
 
@@ -133,6 +134,3 @@ Default final-output shape: outcome-first and evidence-dense; include the result
133
134
  - For TDD: did I write the failing test first?
134
135
  </final_checklist>
135
136
  </style>
136
- surface-class: "internal"
137
- domain: "creator-runtime"
138
- audience: "internal"
@@ -8,6 +8,7 @@ artifact-type: "prompt"
8
8
  ---
9
9
  <identity>
10
10
  You are Verifier. Prove or disprove completion with direct evidence.
11
+ Your primary verification frame is Roblox-native when the scoped work is creator-facing: **server authority**, **remote validation**, **DataStore/economy correctness**, **GUI/plugin behavior**, and **creator workflow acceptance criteria** before generic “tests passed” confidence.
11
12
  </identity>
12
13
 
13
14
  <goal>
@@ -87,6 +88,3 @@ Use Read/Grep/Glob for evidence, diagnostics/test/build commands for behavior, a
87
88
  Stop only when the verdict is evidence-backed or the needed proof source/authority is unavailable.
88
89
  </stop_rules>
89
90
  </style>
90
- surface-class: "internal"
91
- domain: "creator-runtime"
92
- audience: "internal"
package/prompts/vision.md CHANGED
@@ -8,6 +8,7 @@ artifact-type: "prompt"
8
8
  ---
9
9
  <identity>
10
10
  You are Vision. Your mission is to extract specific information from media files that cannot be read as plain text.
11
+ Your primary visual-analysis frame for this repo is Roblox-native: **Studio UI**, **ScreenGui/HUD layouts**, **plugin widgets**, **Explorer hierarchy captures**, and creator-facing screenshots before generic app/website metaphors.
11
12
  You are responsible for interpreting images, PDFs, diagrams, charts, and visual content, returning only the information requested.
12
13
  You are not responsible for modifying files, implementing features, or processing plain text files (use Read tool for those).
13
14
 
@@ -100,6 +101,3 @@ If not found: "The requested [information type] was not found in the file. The f
100
101
  - Did I match the request language?
101
102
  </final_checklist>
102
103
  </style>
103
- surface-class: "internal"
104
- domain: "creator-runtime"
105
- audience: "internal"
package/prompts/writer.md CHANGED
@@ -7,8 +7,9 @@ audience: "internal"
7
7
  artifact-type: "prompt"
8
8
  ---
9
9
  <identity>
10
- You are Writer. Your mission is to create clear, accurate technical documentation that developers want to read.
11
- You are responsible for README files, creator guides, remote contract docs, architecture docs, user guides, and code comments.
10
+ You are Writer. Your mission is to create clear, accurate technical documentation that Roblox creators and technical builders want to read.
11
+ Your primary documentation frame is Roblox-native: creator workflows, Studio setup, Luau/runtime boundaries, remotes, DataStore, plugin surfaces, and verified command usage before generic software-doc boilerplate.
12
+ You are responsible for README files, creator guides, remote contract docs, architecture docs, Studio/plugin guides, and code comments.
12
13
  You are not responsible for implementing features, reviewing code quality, or making architectural decisions.
13
14
 
14
15
  Inaccurate documentation is worse than no documentation -- it actively misleads. These rules exist because documentation with untested code examples causes frustration, and documentation that doesn't match reality wastes developer time. Every example must work, every command must be verified.
@@ -111,6 +112,3 @@ VERIFICATION:
111
112
  - Did I stay within the requested scope?
112
113
  </final_checklist>
113
114
  </style>
114
- surface-class: "internal"
115
- domain: "creator-runtime"
116
- audience: "internal"
@@ -260,14 +260,9 @@ export function buildSurfaceMapMarkdown(records: SurfaceTaxonomyRecord[]): strin
260
260
  '',
261
261
  ...renderTable(internal),
262
262
  '',
263
- '## Historical Surfaces',
264
- '',
265
- ...renderTable(historical),
266
- '',
267
263
  '## Additional Repo Lanes',
268
264
  '',
269
265
  '- `AGENTS.md` and `templates/AGENTS.md` remain the orchestration brain and guidance authority.',
270
- '- `docs/archive/` is the historical lane; archive content may describe removed surfaces but must not act as active onboarding.',
271
266
  '- `src/catalog/manifest.json`, `templates/catalog-manifest.json`, and `src/catalog/generated/public-catalog.json` are the catalog source/generated contract lane.',
272
267
  '- `dist/` is generated runtime output and should reflect the taxonomy, not redefine it.',
273
268
  '',
@@ -1,15 +0,0 @@
1
- # Archive Docs
2
-
3
- This directory holds historical or migration-only collateral that is **not** part of the active
4
- RCS product surface.
5
-
6
- Archive docs may include:
7
- - migration changelogs
8
- - old release-body collateral
9
- - transitional QA snapshots
10
- - historical restructuring notes
11
-
12
- Rules:
13
- - do not use archive docs as active onboarding or canonical runtime guidance
14
- - if a file in `docs/archive/` is still needed by active runtime/code/tests, it should move back out
15
- - active source-of-truth docs stay under the main `docs/`, `docs/reference/`, `docs/contracts/`, and `docs/qa/` surfaces
@@ -1,90 +0,0 @@
1
- # Migration Guide: post-v0.4.4 mainline changes
2
-
3
- This guide covers migration from **v0.4.4** to the current mainline changes merged after it (including PR #137 and follow-up fixes).
4
-
5
- ## Who is affected
6
-
7
- You are affected if you:
8
-
9
- - invoke removed prompts or skills from old notes/scripts,
10
- - depend on pre-consolidation catalog names,
11
- - use `rcs setup` and need predictable install scope behavior,
12
- - run `rcs team`/tmux workflows and want the latest reliability fixes,
13
- - use notifier output and need verbosity control.
14
-
15
- ## What changed (high level)
16
-
17
- - Catalog consolidation for prompts/skills and cleanup of deprecated entries.
18
- - `rcs setup` now supports scope-aware install modes (`user`, `project`). Legacy `project-local` values are auto-migrated.
19
- - Spark worker routing added for team workers (`--spark`, `--madmax-spark`).
20
- - Notifier verbosity controls added.
21
- - tmux runtime hardening updates landed, including post-review pane capture/input hardening.
22
- - Stale references to removed `scientist`/`pipeline` were cleaned up.
23
-
24
- ## Removed prompts and skills
25
-
26
- ### Removed prompts
27
-
28
- - `deep-executor`
29
- - `scientist`
30
-
31
- ### Removed skills
32
-
33
- - `deepinit`
34
- - `learn-about-rcs`
35
- - `learner`
36
- - `pipeline`
37
- - `project-session-manager`
38
- - `psm`
39
- - `release`
40
- - `ultrapilot`
41
- - `writer-memory`
42
-
43
- ## Mapping old references to current ones
44
-
45
- Use these replacements in docs, scripts, and personal shortcuts.
46
-
47
- | Old reference | Use now | Notes |
48
- |---|---|---|
49
- | `/prompts:deep-executor` | `/prompts:executor` | `deep-executor` was a deprecated alias to executor behavior. |
50
- | `/prompts:scientist` | `/prompts:researcher` | Use researcher for research-focused workflows in current catalog. |
51
- | `$pipeline` | `$team` (or explicit `/prompts:*` sequencing) | Team is the default orchestrator pipeline surface. |
52
- | `$ultrapilot` | `$team` | Use team-based parallel orchestration. |
53
- | `$psm` / `$project-session-manager` | No in-repo replacement | Remove from automation or maintain out-of-tree tooling. |
54
- | `$release` | No in-repo replacement | Use your project release process directly. |
55
- | `$deepinit` | `rcs agents-init [path]` | Lightweight CLI successor for AGENTS.md bootstrap only; immediate child directories only, unmanaged files preserved unless `--force`. |
56
- | `$learn-about-rcs` / `$learner` / `$writer-memory` | No in-repo replacement | Remove stale references from workflows/docs. |
57
-
58
- ## Verification checklist after upgrade
59
-
60
- Run this checklist after pulling latest mainline:
61
-
62
- - [ ] Confirm removed references are gone from local notes/scripts:
63
- ```bash
64
- rg -n "deep-executor|scientist|pipeline|project-session-manager|\bpsm\b|ultrapilot|learn-about-rcs|writer-memory|learner|deepinit|\brelease\b" README.md docs scripts .rcs -S
65
- ```
66
- - [ ] Confirm current prompt catalog no longer contains removed prompts:
67
- ```bash
68
- ls prompts
69
- ```
70
- - [ ] Confirm current skill catalog no longer contains removed skills:
71
- ```bash
72
- ls skills
73
- ```
74
- - [ ] Validate setup scope options are available:
75
- ```bash
76
- rcs help | rg -e "--scope|project"
77
- ```
78
- - [ ] Validate team/tmux health checks:
79
- ```bash
80
- rcs doctor --team
81
- ```
82
- - [ ] If using spark worker routing, verify flags are available:
83
- ```bash
84
- rcs --help | rg "spark|madmax-spark"
85
- ```
86
-
87
- ## Related docs
88
-
89
- - Release notes: [CHANGELOG.md](../CHANGELOG.md)
90
- - Main overview: [README.md](../README.md)
@@ -1,141 +0,0 @@
1
- # Prompt Migration Changelog
2
-
3
- ## Scope
4
-
5
- - Migration window: `e21cb5e` -> `ff7ee14`
6
- - Surface: `prompts/*.md` (30 files)
7
- - Goal: document the prior XML-to-Markdown migration while reaffirming that prompt files remain the canonical XML-tagged subagent role surfaces for RCS.
8
-
9
- ## Global Changes (Applied to All Prompt Files)
10
-
11
- - Preserved frontmatter metadata (`description`, `argument-hint`).
12
- - Replaced wrapper tags such as `<Agent_Prompt>`, `<Role>`, `<Constraints>`, `<Output_Format>`, `<Final_Checklist>` with Markdown section headings.
13
- - Flattened nested XML-like sections into readable Markdown bullets/numbered steps.
14
- - Kept role semantics, tool usage intent, guardrails, and checklist expectations functionally equivalent.
15
- - Important current-state clarification: although the prompt text is now Markdown-first, each file in `prompts/*.md` is still the canonical XML-tagged subagent role surface consumed by RCS install/generation flows.
16
-
17
- ## Behavior Notes
18
-
19
- - No intentionally introduced functional behavior changes were made in this migration commit.
20
- - Behavior-relevant content (constraints, verification expectations, output templates) was preserved while syntax/formatting was normalized.
21
- - Any post-migration behavior differences are expected to come from readability and parser-compatibility improvements, not policy changes.
22
-
23
- ## Per-File Matrix
24
-
25
- | Prompt File | Added | Removed | Structural Highlights | Behavior Delta |
26
- |---|---:|---:|---|---|
27
- | `prompts/analyst.md` | 102 | 105 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
28
- | `prompts/architect.md` | 102 | 104 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
29
- | `prompts/build-fixer.md` | 81 | 84 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
30
- | `prompts/code-reviewer.md` | 98 | 100 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
31
- | `prompts/critic.md` | 79 | 82 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
32
- | `prompts/debugger.md` | 85 | 88 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
33
- | `prompts/deep-executor.md` | 105 | 107 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
34
- | `prompts/dependency-expert.md` | 91 | 94 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
35
- | `prompts/designer.md` | 96 | 98 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
36
- | `prompts/executor.md` | 92 | 94 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
37
- | `prompts/explore.md` | 104 | 107 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
38
- | `prompts/git-master.md` | 84 | 87 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
39
- | `prompts/planner.md` | 108 | 111 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
40
- | `prompts/researcher.md` | 88 | 91 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
41
- | `prompts/scientist.md` | 84 | 87 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
42
- | `prompts/security-reviewer.md` | 119 | 121 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
43
- | `prompts/test-engineer.md` | 96 | 98 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
44
- | `prompts/verifier.md` | 87 | 90 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
45
- | `prompts/vision.md` | 67 | 70 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
46
- | `prompts/writer.md` | 78 | 81 | XML-like wrapper blocks converted to Markdown section hierarchy; output/checklist sections normalized. | No intentional functional delta in migration commit. |
47
-
48
- ## Validation
49
-
50
- - Commit diff summary: `30 files changed, 2439 insertions(+), 2511 deletions(-)`
51
- - Spot-checks performed on role-heavy prompts (`planner`, `executor`, `explore`) confirmed semantic parity with formatting normalization.
52
-
53
- ---
54
-
55
- ## Orchestration Brain Migration (`AGENTS.md`, `templates/AGENTS.md`)
56
-
57
- ### Summary
58
-
59
- These files are the instruction root that RCS expects Codex to follow across a workspace.
60
- Changes here are primarily about aligning instructions with Codex CLI tool contracts.
61
-
62
- ### Key Deltas
63
-
64
- - Updated child-agent delegation guidance to reflect the Codex `spawn_agent` API:
65
- - Use `spawn_agent(message: "<role prompt>\n\nTask: ...")` conventions.
66
- - Removed legacy "instructions" phrasing.
67
- - Expanded MCP tooling catalog and mode lifecycle expectations so orchestrators can use the full MCP surface correctly.
68
- - `templates/AGENTS.md` header normalized to match `AGENTS.md` and removed the non-compliant template opener.
69
-
70
- ### Diff Stats
71
-
72
- | File | Added | Removed | Notes |
73
- |---|---:|---:|---|
74
- | `AGENTS.md` | 42 | 10 | Tooling + delegation guidance expanded; semantics preserved. |
75
- | `templates/AGENTS.md` | 7 | 7 | Header/tone normalized; still intended as a template copy. |
76
-
77
- ### Unified Guidance Schema Follow-Up (AGENTS + Runtime/Worker Alignment)
78
-
79
- - Added canonical schema document: `docs/guidance-schema.md`.
80
- - Added explicit schema-contract sections to:
81
- - `AGENTS.md`
82
- - `templates/AGENTS.md`
83
- - Normalized worker task guidance in `AGENTS.md` runtime worker overlay:
84
- - file path now uses `tasks/task-<id>.json`
85
- - API id rule now explicitly requires bare id `task_id: "<id>"` (never `"task-<id>"`).
86
- - Marker contracts remain unchanged:
87
- - `<!-- RCS:RUNTIME:START --> ... <!-- RCS:RUNTIME:END -->`
88
- - `<!-- RCS:TEAM:WORKER:START --> ... <!-- RCS:TEAM:WORKER:END -->`
89
-
90
- Behavior note: this follow-up is additive and wording-focused; no task-state model or MCP API contract changes were introduced.
91
-
92
- ---
93
-
94
- ## Skill Prompt Migration (`skills/*/SKILL.md`)
95
-
96
- ### Summary
97
-
98
- Skill docs are operational runbooks. The migration focused on:
99
- - Removing Claude-era paths/terminology
100
- - Aligning config guidance with Codex-first paths (`~/.codex/…`, `CODEX_HOME`)
101
- - Preserving each skill's contract/intent while improving correctness for Codex CLI users
102
-
103
- ### Behavior Notes
104
-
105
- - These are documentation / instruction changes; they do not directly change runtime logic.
106
- - One meaningful correction was made: the "agent teams" enablement guidance in `skills/rcs-setup/SKILL.md` was updated to enable Codex features via `~/.codex/config.toml` rather than legacy `settings.json` env vars.
107
-
108
- ### Per-File Matrix
109
-
110
- | Skill File | Added | Removed | Structural Highlights | Behavior Delta |
111
- |---|---:|---:|---|---|
112
- | `skills/analyze/SKILL.md` | 1 | 1 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
113
- | `skills/autopilot/SKILL.md` | 11 | 16 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
114
- | `skills/code-review/SKILL.md` | 1 | 1 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
115
- | `skills/configure-notifications/SKILL.md` | 0 | 0 | Canonical notification setup skill replacing standalone configure-* variants. | Catalog/install surface now converges on one entry point. |
116
- | `skills/doctor/SKILL.md` | 47 | 45 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
117
- | `skills/ecomode/SKILL.md` | 1 | 1 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
118
- | `skills/help/SKILL.md` | 1 | 1 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
119
- | `skills/learner/SKILL.md` | 5 | 5 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
120
- | `skills/rcs-setup/SKILL.md` | 144 | 156 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
121
- | `skills/plan/SKILL.md` | 1 | 1 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
122
- | `skills/project-session-manager/SKILL.md` | 5 | 5 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
123
- | `skills/release/SKILL.md` | 3 | 3 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
124
- | `skills/research/SKILL.md` | 10 | 15 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
125
- | `skills/security-review/SKILL.md` | 1 | 1 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
126
- | `skills/skill/SKILL.md` | 20 | 20 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
127
- | `skills/tdd/SKILL.md` | 1 | 1 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
128
- | `skills/ultrapilot/SKILL.md` | 11 | 16 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
129
- | `skills/writer-memory/SKILL.md` | 1 | 1 | Codex path/terminology normalization; examples updated to Codex-first conventions. | No direct runtime behavior change; instruction correctness improved. |
130
-
131
- ### Hotspots Worth Reviewing
132
-
133
- - `skills/rcs-setup/SKILL.md`: largest edit surface; includes team enablement guidance (`~/.codex/config.toml` `[features]` flags) and teammate display preference storage (`~/.codex/.rcs-config.json`).
134
- - `skills/doctor/SKILL.md`: updated hook/config inspection language; still contains optional legacy remediation guidance.
135
- - `skills/autopilot/SKILL.md`, `skills/research/SKILL.md`, `skills/ultrapilot/SKILL.md`: config examples updated to TOML.
136
-
137
- ## Follow-up Classification Notes
138
-
139
- - `prompts/*.md` should be treated as the canonical source set for XML-tagged subagent role prompts, even when install/runtime layers wrap them in TOML or other launcher-specific envelopes.
140
- - `prompts/sisyphus-lite.md` is intentionally classified as a specialized worker behavior prompt. It is not part of the primary public role catalog alongside prompts such as `executor`, `planner`, or `architect`.
141
- - Team worker/runtime overlays may borrow Sisyphus-lite behavior patterns, but that does not promote it to a first-class routed role.