@hongmaple0820/scale-engine 0.25.0 → 0.27.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 (171) hide show
  1. package/LICENSE +15 -15
  2. package/README.en.md +384 -346
  3. package/README.md +564 -529
  4. package/dist/adapters/AiderAdapter.js +52 -52
  5. package/dist/adapters/AntigravityAdapter.d.ts +4 -0
  6. package/dist/adapters/AntigravityAdapter.js +21 -0
  7. package/dist/adapters/AntigravityAdapter.js.map +1 -0
  8. package/dist/adapters/ClaudeCodeAdapter.d.ts +4 -1
  9. package/dist/adapters/ClaudeCodeAdapter.js +34 -34
  10. package/dist/adapters/ClaudeCodeAdapter.js.map +1 -1
  11. package/dist/adapters/ClineAdapter.d.ts +4 -0
  12. package/dist/adapters/ClineAdapter.js +20 -0
  13. package/dist/adapters/ClineAdapter.js.map +1 -0
  14. package/dist/adapters/CodexAdapter.js +28 -28
  15. package/dist/adapters/CursorAdapter.js +26 -26
  16. package/dist/adapters/DeepSeekTuiAdapter.js +97 -97
  17. package/dist/adapters/DoubaoAdapter.js +33 -33
  18. package/dist/adapters/GeminiAdapter.js +26 -26
  19. package/dist/adapters/GenericProjectAgentAdapter.d.ts +29 -0
  20. package/dist/adapters/GenericProjectAgentAdapter.js +204 -0
  21. package/dist/adapters/GenericProjectAgentAdapter.js.map +1 -0
  22. package/dist/adapters/HermesAdapter.js +26 -26
  23. package/dist/adapters/JCodeAdapter.d.ts +4 -0
  24. package/dist/adapters/JCodeAdapter.js +19 -0
  25. package/dist/adapters/JCodeAdapter.js.map +1 -0
  26. package/dist/adapters/KiloCodeAdapter.d.ts +4 -0
  27. package/dist/adapters/KiloCodeAdapter.js +20 -0
  28. package/dist/adapters/KiloCodeAdapter.js.map +1 -0
  29. package/dist/adapters/KimiAdapter.js +32 -32
  30. package/dist/adapters/KiroAdapter.js +26 -26
  31. package/dist/adapters/OpenClawAdapter.js +26 -26
  32. package/dist/adapters/OpenCodeAdapter.js +26 -26
  33. package/dist/adapters/QCoderAdapter.js +26 -26
  34. package/dist/adapters/QoderAdapter.d.ts +4 -0
  35. package/dist/adapters/QoderAdapter.js +21 -0
  36. package/dist/adapters/QoderAdapter.js.map +1 -0
  37. package/dist/adapters/TraeAdapter.js +26 -26
  38. package/dist/adapters/VSCAdapter.js +26 -26
  39. package/dist/adapters/WindsurfAdapter.js +32 -32
  40. package/dist/adapters/WorkBuddyAdapter.js +26 -26
  41. package/dist/adapters/index.d.ts +5 -0
  42. package/dist/adapters/index.js +15 -0
  43. package/dist/adapters/index.js.map +1 -1
  44. package/dist/api/cli.js +190 -56
  45. package/dist/api/cli.js.map +1 -1
  46. package/dist/api/doctor.js +10 -3
  47. package/dist/api/doctor.js.map +1 -1
  48. package/dist/api/quickstart.js +7 -1
  49. package/dist/api/quickstart.js.map +1 -1
  50. package/dist/artifact/sqliteStore.js +89 -89
  51. package/dist/artifact/types.d.ts +1 -1
  52. package/dist/cli/phaseCommands.js +53 -53
  53. package/dist/cli/phaseCommands.js.map +1 -1
  54. package/dist/context/AntiPatternRegistry.js +20 -20
  55. package/dist/context/ContextBudget.d.ts +14 -0
  56. package/dist/context/ContextBudget.js +50 -14
  57. package/dist/context/ContextBudget.js.map +1 -1
  58. package/dist/context/ContextBuilder.js +155 -155
  59. package/dist/context/ContextCompiler.d.ts +34 -0
  60. package/dist/context/ContextCompiler.js +120 -0
  61. package/dist/context/ContextCompiler.js.map +1 -0
  62. package/dist/eval/WorkflowEval.js +4 -6
  63. package/dist/eval/WorkflowEval.js.map +1 -1
  64. package/dist/evolution/EvolutionEngine.js +31 -31
  65. package/dist/evolution/EvolutionEvaluator.d.ts +2 -0
  66. package/dist/evolution/EvolutionEvaluator.js +7 -1
  67. package/dist/evolution/EvolutionEvaluator.js.map +1 -1
  68. package/dist/fsm/FSMAgentBridge.js +11 -11
  69. package/dist/governance/GovernanceRoi.d.ts +6 -1
  70. package/dist/governance/GovernanceRoi.js +32 -0
  71. package/dist/governance/GovernanceRoi.js.map +1 -1
  72. package/dist/guardrails/DependencyAuditor.js +38 -0
  73. package/dist/guardrails/DependencyAuditor.js.map +1 -1
  74. package/dist/hooks/HookGeneratorEnhanced.js +218 -218
  75. package/dist/index.d.ts +2 -1
  76. package/dist/index.js +3 -2
  77. package/dist/index.js.map +1 -1
  78. package/dist/knowledge/SQLiteKnowledgeBase.js +28 -28
  79. package/dist/memory/MemoryBrain.js +52 -52
  80. package/dist/output/GovernanceDashboard.js +44 -44
  81. package/dist/output/HTMLArtifactLayer.js +31 -31
  82. package/dist/prompts/VibeTemplateGallery.js +121 -121
  83. package/dist/runtime/AiOsRuntime.d.ts +53 -0
  84. package/dist/runtime/AiOsRuntime.js +142 -0
  85. package/dist/runtime/AiOsRuntime.js.map +1 -0
  86. package/dist/runtime/index.d.ts +1 -0
  87. package/dist/runtime/index.js +1 -0
  88. package/dist/runtime/index.js.map +1 -1
  89. package/dist/skills/SkillDiscovery.js +12 -1
  90. package/dist/skills/SkillDiscovery.js.map +1 -1
  91. package/dist/skills/routing/SkillPlanner.js +128 -40
  92. package/dist/skills/routing/SkillPlanner.js.map +1 -1
  93. package/dist/skills/routing/SkillRoutingTypes.d.ts +17 -0
  94. package/dist/tools/SafeCommandRunner.d.ts +16 -0
  95. package/dist/tools/SafeCommandRunner.js +83 -0
  96. package/dist/tools/SafeCommandRunner.js.map +1 -0
  97. package/dist/workflow/EngineeringStandards.js +62 -62
  98. package/dist/workflow/GovernanceTemplatePacks.d.ts +1 -1
  99. package/dist/workflow/GovernanceTemplatePacks.js +1990 -162
  100. package/dist/workflow/GovernanceTemplatePacks.js.map +1 -1
  101. package/dist/workflow/GovernanceTemplates.d.ts +2 -0
  102. package/dist/workflow/GovernanceTemplates.js +1012 -1001
  103. package/dist/workflow/GovernanceTemplates.js.map +1 -1
  104. package/dist/workflow/ResourceGovernance.js +16 -16
  105. package/dist/workflow/TaskArtifactScaffolder.js +10 -10
  106. package/dist/workflow/UpgradeManager.d.ts +3 -2
  107. package/dist/workflow/UpgradeManager.js +134 -49
  108. package/dist/workflow/UpgradeManager.js.map +1 -1
  109. package/dist/workflow/WorkspaceTopology.js +18 -15
  110. package/dist/workflow/WorkspaceTopology.js.map +1 -1
  111. package/dist/workflow/gates/GateSystem.js +3 -9
  112. package/dist/workflow/gates/GateSystem.js.map +1 -1
  113. package/docs/ACTIVE_SECURITY_VISUAL_GATES.md +87 -87
  114. package/docs/AI_ENGINEERING_OS_POSITIONING.md +462 -0
  115. package/docs/BACKGROUND_HUNTER.md +62 -62
  116. package/docs/CODE_INTELLIGENCE.md +138 -138
  117. package/docs/CONTEXT_BUDGET.md +155 -113
  118. package/docs/DEPENDENCY_AUDIT.md +118 -89
  119. package/docs/EVOLUTION_SHADOW_MODE.md +63 -63
  120. package/docs/EXTERNAL_REFERENCES.md +63 -58
  121. package/docs/GITLAB_FLOW.md +125 -125
  122. package/docs/GOVERNANCE_DASHBOARD.md +85 -85
  123. package/docs/MEMORY_BRAIN.md +104 -104
  124. package/docs/MEMORY_FABRIC.md +136 -134
  125. package/docs/README.md +102 -92
  126. package/docs/RUNTIME_EVIDENCE.md +101 -101
  127. package/docs/SKILL-REPOSITORY.md +57 -57
  128. package/docs/SKILL_RADAR.md +135 -122
  129. package/docs/THIRD_PARTY_SKILLS.md +57 -57
  130. package/docs/WORKFLOW_EVAL.md +151 -151
  131. package/docs/guides/DEVELOPMENT_WORKFLOW.md +80 -0
  132. package/docs/guides/GETTING_STARTED.md +50 -0
  133. package/docs/start/README.md +78 -72
  134. package/docs/start/agent-governance-demo.md +107 -107
  135. package/docs/start/quickstart.md +137 -127
  136. package/docs/start/workflow-upgrade.md +32 -8
  137. package/docs/workflow/README.md +67 -0
  138. package/docs/workflow/node-library.md +52 -0
  139. package/docs/workflow/templates/api-contract.md +29 -0
  140. package/docs/workflow/templates/architecture-review.md +23 -0
  141. package/docs/workflow/templates/db-change-plan.md +20 -0
  142. package/docs/workflow/templates/docs-impact.md +17 -0
  143. package/docs/workflow/templates/e2e-plan.md +20 -0
  144. package/docs/workflow/templates/explore.md +16 -0
  145. package/docs/workflow/templates/github-actions-scale-preflight.yml +32 -0
  146. package/docs/workflow/templates/mini-prd.md +16 -0
  147. package/docs/workflow/templates/plan.md +37 -0
  148. package/docs/workflow/templates/pre-push-scale-preflight.sh +8 -0
  149. package/docs/workflow/templates/product-smoke.md +61 -0
  150. package/docs/workflow/templates/reality-check.md +28 -0
  151. package/docs/workflow/templates/resource-cleanup.md +17 -0
  152. package/docs/workflow/templates/resource-impact.md +25 -0
  153. package/docs/workflow/templates/review.md +12 -0
  154. package/docs/workflow/templates/runtime.md +23 -0
  155. package/docs/workflow/templates/security-review.md +26 -0
  156. package/docs/workflow/templates/skill-evidence.md +33 -0
  157. package/docs/workflow/templates/skill-plan.md +39 -0
  158. package/docs/workflow/templates/spec.md +17 -0
  159. package/docs/workflow/templates/standards-impact.md +28 -0
  160. package/docs/workflow/templates/summary.md +16 -0
  161. package/docs/workflow/templates/tasks.md +8 -0
  162. package/docs/workflow/templates/ui-spec.md +29 -0
  163. package/docs/workflow/templates/verification.md +20 -0
  164. package/docs/workflow/templates/visual-review.md +20 -0
  165. package/examples/demo-projects/agent-governance-demo/CONTEXT.md +14 -14
  166. package/examples/demo-projects/agent-governance-demo/README.md +48 -48
  167. package/examples/demo-projects/agent-governance-demo/docs/CONTEXT-MAP.md +14 -14
  168. package/examples/demo-projects/agent-governance-demo/package.json +22 -21
  169. package/examples/demo-projects/agent-governance-demo/src/oauth-state.ts +39 -39
  170. package/examples/demo-projects/agent-governance-demo/tests/oauth-state.test.ts +52 -52
  171. package/package.json +95 -78
@@ -1,89 +1,118 @@
1
- # Dependency Audit
2
-
3
- Dependency Audit is the G7 dependency sub-gate for SCALE Engine.
4
- It adds supply-chain checks without introducing a separate gate number such as `G6.8`.
5
-
6
- ## Scope
7
-
8
- The auditor is intentionally bounded:
9
-
10
- - reads `package-lock.json`
11
- - audits direct dependencies by default
12
- - supports `--changed-packages` for lockfile-diff workflows
13
- - scans only selected package roots under `node_modules`
14
- - caps package count and files per package
15
- - does not contact the registry by default
16
- - does not run install scripts
17
-
18
- This keeps local verification usable while still catching high-risk dependency behavior.
19
-
20
- ## Commands
21
-
22
- ```bash
23
- scale dependency audit
24
- scale dependency audit --json
25
- scale dependency audit --mode strict
26
- scale dependency audit --changed-packages left-pad,@scope/tool --json
27
- ```
28
-
29
- The command exits non-zero when the active mode has blocking findings.
30
-
31
- ## G7 Integration
32
-
33
- `SecurityGate` now emits two first-class evidence sources:
34
-
35
- - `built-in-security-scan`: source code security scan
36
- - `dependency-audit`: dependency supply-chain scan
37
-
38
- Both remain under `G7 Security`.
39
-
40
- ## Policy
41
-
42
- Policy lives at `.scale/security/dependency-policy.json`:
43
-
44
- ```json
45
- {
46
- "version": 1,
47
- "mode": "compatibility",
48
- "maxPackages": 50,
49
- "maxPackageFiles": 25,
50
- "allowPackages": [],
51
- "baselineFindings": []
52
- }
53
- ```
54
-
55
- Modes:
56
-
57
- - `compatibility`: blocks `CRITICAL`
58
- - `strict`: blocks `CRITICAL` and `HIGH`
59
- - `offline`: keeps local-only behavior; current offline findings follow compatibility blocking
60
-
61
- Use `baselineFindings` for accepted legacy dependency risk:
62
-
63
- ```json
64
- {
65
- "baselineFindings": [
66
- {
67
- "packageName": "legacy-tool",
68
- "version": "1.2.3",
69
- "ruleId": "dependency.install-script",
70
- "reason": "Pinned and reviewed during migration window."
71
- }
72
- ]
73
- }
74
- ```
75
-
76
- Prefer a baseline over `allowPackages` when only one finding is accepted. `allowPackages` suppresses all findings for that package.
77
-
78
- ## Current Findings
79
-
80
- The first implementation detects:
81
-
82
- - install lifecycle scripts
83
- - executable bin scripts
84
- - deprecated packages from lockfile metadata
85
- - dynamic code execution: `eval`, `new Function`
86
- - shell execution patterns
87
- - suspicious network access patterns
88
-
89
- Future network-backed checks can add npm registry metadata and `npm audit --json` ingestion, but they should stay optional and evidence-backed.
1
+ # Dependency Audit
2
+
3
+ Dependency Audit is the G7 dependency sub-gate for SCALE Engine.
4
+ It adds supply-chain checks without introducing a separate gate number such as `G6.8`.
5
+
6
+ ## Scope
7
+
8
+ The auditor is intentionally bounded:
9
+
10
+ - reads `package-lock.json`
11
+ - audits direct dependencies by default
12
+ - supports `--changed-packages` for lockfile-diff workflows
13
+ - scans only selected package roots under `node_modules`
14
+ - caps package count and files per package
15
+ - does not contact the registry by default
16
+ - does not run install scripts
17
+
18
+ This keeps local verification usable while still catching high-risk dependency behavior.
19
+
20
+ ## Commands
21
+
22
+ ```bash
23
+ scale dependency audit
24
+ scale dependency audit --json
25
+ scale dependency audit --mode strict
26
+ scale dependency audit --changed-packages left-pad,@scope/tool --json
27
+ ```
28
+
29
+ The command exits non-zero when the active mode has blocking findings.
30
+
31
+ ## Verification Command Safety
32
+
33
+ SCALE verification commands are security-sensitive because they are often run in CI.
34
+ The core verification paths (`verify-task`, phase verification, workflow eval attempts, and gate commands) execute configured commands without shell expansion by default.
35
+
36
+ Allowed by default:
37
+
38
+ ```bash
39
+ npm run build
40
+ npm test -- --runInBand
41
+ node scripts/check.js --changed
42
+ ```
43
+
44
+ Blocked by default:
45
+
46
+ ```bash
47
+ npm test && curl https://example.com
48
+ node scripts/check.js | tee out.txt
49
+ ```
50
+
51
+ Shell metacharacters such as `&&`, `|`, `;`, `<`, `>`, backticks, and unquoted `$` are rejected before execution. Use package scripts or checked-in helper scripts for composed commands. `SCALE_ALLOW_SHELL_COMMANDS=1` re-enables shell execution only for trusted local runs and must not be enabled for untrusted PR or user-controlled CI inputs.
52
+
53
+ ## G7 Integration
54
+
55
+ `SecurityGate` now emits two first-class evidence sources:
56
+
57
+ - `built-in-security-scan`: source code security scan
58
+ - `dependency-audit`: dependency supply-chain scan
59
+
60
+ Both remain under `G7 Security`.
61
+
62
+ ## Policy
63
+
64
+ Policy lives at `.scale/security/dependency-policy.json`:
65
+
66
+ ```json
67
+ {
68
+ "version": 1,
69
+ "mode": "compatibility",
70
+ "maxPackages": 50,
71
+ "maxPackageFiles": 25,
72
+ "allowPackages": [],
73
+ "baselineFindings": []
74
+ }
75
+ ```
76
+
77
+ Modes:
78
+
79
+ - `compatibility`: blocks `CRITICAL`
80
+ - `strict`: blocks `CRITICAL` and `HIGH`
81
+ - `offline`: keeps local-only behavior; current offline findings follow compatibility blocking
82
+
83
+ Use `baselineFindings` for accepted legacy dependency risk:
84
+
85
+ ```json
86
+ {
87
+ "baselineFindings": [
88
+ {
89
+ "packageName": "legacy-tool",
90
+ "version": "1.2.3",
91
+ "ruleId": "dependency.install-script",
92
+ "reason": "Pinned and reviewed during migration window."
93
+ }
94
+ ]
95
+ }
96
+ ```
97
+
98
+ Prefer a baseline over `allowPackages` when only one finding is accepted. `allowPackages` suppresses all findings for that package.
99
+
100
+ ## Current Findings
101
+
102
+ The first implementation detects:
103
+
104
+ - install lifecycle scripts
105
+ - executable bin scripts
106
+ - deprecated packages from lockfile metadata
107
+ - built-in ownership/provenance watchlist matches
108
+ - dynamic code execution: `eval`, `new Function`
109
+ - shell execution patterns
110
+ - suspicious network access patterns
111
+
112
+ The built-in ownership/provenance watchlist currently blocks exact versions that were flagged by external package behavior analysis:
113
+
114
+ - `content-type@2.0.0`
115
+ - `type-is@2.1.0`
116
+ - `type-js@2.1.0` (kept as a defensive alias for reports that use this package name)
117
+
118
+ Future network-backed checks can add npm registry metadata and `npm audit --json` ingestion, but they should stay optional and evidence-backed.
@@ -1,63 +1,63 @@
1
- # Evolution Shadow Mode
2
-
3
- SCALE V2 keeps self-evolution useful without letting one-off failures become hard blockers too early.
4
-
5
- ## Flow
6
-
7
- ```text
8
- Gate Failure
9
- -> Defect
10
- -> Lesson
11
- -> Proposed Rule
12
- -> Shadow Rule
13
- -> Candidate Hook
14
- -> Approved Blocking Hook
15
- ```
16
-
17
- ## Gate Failure To Defect
18
-
19
- `GateSystem` emits `gate.failed` for failed gate results. `AutoDefectCreator` tracks consecutive failures per session and gate stage.
20
-
21
- Default behavior:
22
-
23
- - three consecutive failures create one `Defect`
24
- - a passing `gate.executed` event resets the streak
25
- - defect payload uses `rootCauseCategory=gate_failure`
26
- - the original blockers, evidence, evidence record id, stage, and streak count are stored in defect context
27
-
28
- This is evidence capture only. It does not change source code or generate a hook.
29
-
30
- ## Rule Maturity
31
-
32
- New rules start in `shadow` mode. Shadow rules can record hits, but they do not block development.
33
-
34
- Promotion requires:
35
-
36
- - shadow hits >= 10
37
- - at least one defect evidence id
38
- - rollback method present
39
- - false positive rate within threshold
40
- - explicit approval before a blocking hook is allowed
41
-
42
- `RuleMaturity` exposes:
43
-
44
- - `createShadowRuleMaturity`
45
- - `recordShadowHit`
46
- - `evaluateRulePromotion`
47
- - `approveRuleMaturity`
48
-
49
- ## Hook Boundary
50
-
51
- `HookGenerator` still requires `rule.approved === true`.
52
-
53
- For V2 rules that carry maturity metadata, it also requires:
54
-
55
- ```text
56
- rule.maturity.stage === "approved-blocking"
57
- ```
58
-
59
- That means proposed or shadow rules can be observed and improved, but cannot become blocking hooks until explicitly promoted.
60
-
61
- ## Current Scope
62
-
63
- This release slice wires the core library path and gate events. CLI approval commands and persistent rule-maturity storage can be added later without changing the safety model.
1
+ # Evolution Shadow Mode
2
+
3
+ SCALE V2 keeps self-evolution useful without letting one-off failures become hard blockers too early.
4
+
5
+ ## Flow
6
+
7
+ ```text
8
+ Gate Failure
9
+ -> Defect
10
+ -> Lesson
11
+ -> Proposed Rule
12
+ -> Shadow Rule
13
+ -> Candidate Hook
14
+ -> Approved Blocking Hook
15
+ ```
16
+
17
+ ## Gate Failure To Defect
18
+
19
+ `GateSystem` emits `gate.failed` for failed gate results. `AutoDefectCreator` tracks consecutive failures per session and gate stage.
20
+
21
+ Default behavior:
22
+
23
+ - three consecutive failures create one `Defect`
24
+ - a passing `gate.executed` event resets the streak
25
+ - defect payload uses `rootCauseCategory=gate_failure`
26
+ - the original blockers, evidence, evidence record id, stage, and streak count are stored in defect context
27
+
28
+ This is evidence capture only. It does not change source code or generate a hook.
29
+
30
+ ## Rule Maturity
31
+
32
+ New rules start in `shadow` mode. Shadow rules can record hits, but they do not block development.
33
+
34
+ Promotion requires:
35
+
36
+ - shadow hits >= 10
37
+ - at least one defect evidence id
38
+ - rollback method present
39
+ - false positive rate within threshold
40
+ - explicit approval before a blocking hook is allowed
41
+
42
+ `RuleMaturity` exposes:
43
+
44
+ - `createShadowRuleMaturity`
45
+ - `recordShadowHit`
46
+ - `evaluateRulePromotion`
47
+ - `approveRuleMaturity`
48
+
49
+ ## Hook Boundary
50
+
51
+ `HookGenerator` still requires `rule.approved === true`.
52
+
53
+ For V2 rules that carry maturity metadata, it also requires:
54
+
55
+ ```text
56
+ rule.maturity.stage === "approved-blocking"
57
+ ```
58
+
59
+ That means proposed or shadow rules can be observed and improved, but cannot become blocking hooks until explicitly promoted.
60
+
61
+ ## Current Scope
62
+
63
+ This release slice wires the core library path and gate events. CLI approval commands and persistent rule-maturity storage can be added later without changing the safety model.
@@ -1,58 +1,63 @@
1
- # External Reference Inventory
2
-
3
- This inventory is the source of truth for external projects, community skills, MCP servers, CLIs, and adapter targets referenced by SCALE. It complements [Third-Party Skills and External References](THIRD_PARTY_SKILLS.md).
4
-
5
- The inventory is intentionally conservative:
6
-
7
- - A row here is an acknowledgement and governance record, not a claim that upstream code is vendored.
8
- - License is only marked when it has been explicitly reviewed in this repository. Unknown or unverified projects stay `review-required`.
9
- - Any future vendoring, source copying, modified redistribution, bundled assets, logos, examples, or generated derivatives must preserve upstream license text, copyright notices, NOTICE files, source URL, pinned revision, and modification notes.
10
- - External services and memory providers remain disabled or read-only by default until privacy, retention, credential, and deletion boundaries are reviewed.
11
-
12
- ## Current References
13
-
14
- | Upstream | Role in SCALE | Usage status | License status | Primary source surface |
15
- | --- | --- | --- | --- | --- |
16
- | [OthmanAdi/planning-with-files](https://github.com/OthmanAdi/planning-with-files) | File-backed planning workflow reference | adapted concept, not vendored | MIT | `SkillRepository`, README, `THIRD_PARTY_SKILLS` |
17
- | [rohitg00/agentmemory](https://github.com/rohitg00/agentmemory) | Optional external memory provider | external provider, read-only by default | Apache-2.0 | `MemoryProviders`, `SkillRepository`, README |
18
- | [garrytan/gbrain](https://github.com/garrytan/gbrain) | Optional graph memory provider | external provider, read-only by default | MIT | `MemoryProviders`, `SkillRepository`, README |
19
- | [anthropics/skills](https://github.com/anthropics/skills) | Frontend and webapp testing skill references | external skill reference | review-required | `SkillRepository`, `SkillCatalog`, `ToolCapabilityRegistry` |
20
- | [anthropics/claude-code](https://github.com/anthropics/claude-code) | Graphify and playwright-interactive skill references | optional discovery reference | review-required | `SkillDiscovery` |
21
- | [VoltAgent/awesome-design-md](https://github.com/VoltAgent/awesome-design-md) | Design system and DESIGN.md guidance | external skill reference | review-required | `SkillRepository`, `ExternalSkills`, `SkillDoctor` |
22
- | [nextlevelbuilder/ui-ux-pro-max-skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill) | UI/UX design intelligence reference | external skill reference | review-required | `SkillRepository`, `ExternalSkills`, `ToolCapabilityRegistry` |
23
- | [eze-is/web-access](https://github.com/eze-is/web-access) | Web research and browser automation skill | external skill reference | review-required | `SkillRepository`, `ExternalSkills`, `SkillDoctor` |
24
- | [vercel-labs/agent-browser](https://github.com/vercel-labs/agent-browser) | Browser automation CLI | external CLI reference | review-required | `SkillRepository`, `ExternalSkills`, `ToolCapabilityRegistry` |
25
- | [ChromeDevTools/chrome-devtools-mcp](https://github.com/ChromeDevTools/chrome-devtools-mcp) | Chrome DevTools MCP integration | MCP reference | review-required | `SkillRepository`, `ExternalSkills`, `ToolCapabilityRegistry` |
26
- | [trycua/cua](https://github.com/trycua/cua) | Desktop computer-use automation | restricted external automation reference | review-required | `SkillRepository`, `ExternalSkills`, `ToolCapabilityRegistry` |
27
- | [microsoft/playwright](https://github.com/microsoft/playwright) | Browser automation and validation | optional discovery reference | review-required | `SkillDiscovery` |
28
- | [google-gemini/gemini-cli](https://github.com/google-gemini/gemini-cli) | Gemini CLI and community skill examples | external CLI and skill reference | review-required | `SkillRepository`, `SkillCatalog`, adapters |
29
- | [openai/codex](https://github.com/openai/codex) | Codex CLI adapter and external reviewer | external CLI reference | review-required | `SkillRepository`, `ExternalSkills`, adapters |
30
- | [sst/opencode](https://github.com/sst/opencode) | OpenCode CLI reference used by routing | external CLI reference | review-required | `SkillRepository`, `ExternalSkills`, `SkillDoctor` |
31
- | [opencode-ai/opencode](https://github.com/opencode-ai/opencode) | OpenCode adapter source comment | adapter target reference | review-required | `OpenCodeAdapter` |
32
- | [facebook/react](https://github.com/facebook/react) | React fix skill example | external skill reference | review-required | `SkillRepository`, `SkillCatalog` |
33
- | [vercel/next.js](https://github.com/vercel/next.js) | Next.js documentation update skill example | external skill reference | review-required | `SkillRepository`, `SkillCatalog` |
34
- | [vercel-labs/skills](https://github.com/vercel-labs/skills) | Skill discovery example | external skill reference | review-required | `SkillRepository`, `SkillCatalog` |
35
- | [Shubhamsaboo/awesome-llm-apps](https://github.com/Shubhamsaboo/awesome-llm-apps) | Full-stack agent skill example | external skill reference | review-required | `SkillCatalog` |
36
- | [jnMetaCode/agency-agents-zh](https://github.com/jnMetaCode/agency-agents-zh) | Chinese role preset reference | external preset reference | review-required | `SkillRepository` |
37
- | [yizhiyanhua-ai/fireworks-tech-graph](https://github.com/yizhiyanhua-ai/fireworks-tech-graph) | Diagram skill discovery and installer reference | optional install reference | review-required | `ExternalSkills`, `SkillDiscovery`, `SkillInstaller` |
38
- | [github/awesome-copilot](https://github.com/github/awesome-copilot) | Excalidraw diagram skill source | optional install reference | review-required | `ExternalSkills`, `SkillInstaller`, installation workflow doc |
39
- | [Cocoon-AI/architecture-diagram-generator](https://github.com/Cocoon-AI/architecture-diagram-generator) | Architecture diagram skill reference | optional install reference | review-required | `ExternalSkills`, `SkillDiscovery`, `SkillInstaller` |
40
- | [heygen-com/hyperframes](https://github.com/heygen-com/hyperframes) | Video generation CLI reference | optional install reference | review-required | `ExternalSkills`, `SkillDiscovery`, `SkillInstaller` |
41
- | [op7418/guizang-ppt-skill](https://github.com/op7418/guizang-ppt-skill) | PPT generation skill reference | optional install reference | review-required | `ExternalSkills`, `SkillDiscovery`, `SkillInstaller` |
42
- | [QwenLM/qwen-code](https://github.com/QwenLM/qwen-code) | QCoder adapter target | adapter target reference | review-required | `QCoderAdapter` |
43
- | [openclaw-ai/openclaw](https://github.com/openclaw-ai/openclaw) | OpenClaw adapter target | adapter target reference | review-required | `OpenClawAdapter` |
44
- | [hermes-ai/hermes](https://github.com/hermes-ai/hermes) | Hermes adapter target | adapter target reference | review-required | `HermesAdapter` |
45
- | [Hmbown/deepseek-tui](https://github.com/Hmbown/deepseek-tui) | DeepSeek TUI adapter target | adapter target reference | review-required | `DeepSeekTuiAdapter` |
46
- | [Aider-AI/aider](https://github.com/Aider-AI/aider) | Aider adapter target | adapter target reference | review-required | `AiderAdapter` |
47
-
48
- ## Required Maintenance
49
-
50
- When a new GitHub upstream is referenced from `src/skills`, `src/tools`, `src/adapters`, or current tool orchestration docs, update this inventory in the same change. `tests/docs/externalReferences.test.ts` scans those surfaces and fails if a referenced upstream is missing from this file.
51
-
52
- Before promoting any `review-required` item to a declared license status, record:
53
-
54
- 1. upstream license file and revision
55
- 2. upstream copyright and NOTICE obligations
56
- 3. whether SCALE vendors code, adapts concepts, or only links to the project
57
- 4. modification notes for copied or derived files
58
- 5. installation, script, and permission review evidence
1
+ # External Reference Inventory
2
+
3
+ This inventory is the source of truth for external projects, community skills, MCP servers, CLIs, and adapter targets referenced by SCALE. It complements [Third-Party Skills and External References](THIRD_PARTY_SKILLS.md).
4
+
5
+ The inventory is intentionally conservative:
6
+
7
+ - A row here is an acknowledgement and governance record, not a claim that upstream code is vendored.
8
+ - License is only marked when it has been explicitly reviewed in this repository. Unknown or unverified projects stay `review-required`.
9
+ - Any future vendoring, source copying, modified redistribution, bundled assets, logos, examples, or generated derivatives must preserve upstream license text, copyright notices, NOTICE files, source URL, pinned revision, and modification notes.
10
+ - External services and memory providers remain disabled or read-only by default until privacy, retention, credential, and deletion boundaries are reviewed.
11
+
12
+ ## Current References
13
+
14
+ | Upstream | Role in SCALE | Usage status | License status | Primary source surface |
15
+ | --- | --- | --- | --- | --- |
16
+ | [OthmanAdi/planning-with-files](https://github.com/OthmanAdi/planning-with-files) | File-backed planning workflow reference | adapted concept, not vendored | MIT | `SkillRepository`, README, `THIRD_PARTY_SKILLS` |
17
+ | [rohitg00/agentmemory](https://github.com/rohitg00/agentmemory) | Optional external memory provider | external provider, read-only by default | Apache-2.0 | `MemoryProviders`, `SkillRepository`, README |
18
+ | [garrytan/gbrain](https://github.com/garrytan/gbrain) | Optional graph memory provider | external provider, read-only by default | MIT | `MemoryProviders`, `SkillRepository`, README |
19
+ | [anthropics/skills](https://github.com/anthropics/skills) | Frontend and webapp testing skill references | external skill reference | review-required | `SkillRepository`, `SkillCatalog`, `ToolCapabilityRegistry` |
20
+ | [anthropics/claude-code](https://github.com/anthropics/claude-code) | Graphify and playwright-interactive skill references | optional discovery reference | review-required | `SkillDiscovery` |
21
+ | [VoltAgent/awesome-design-md](https://github.com/VoltAgent/awesome-design-md) | Design system and DESIGN.md guidance | external skill reference | review-required | `SkillRepository`, `ExternalSkills`, `SkillDoctor` |
22
+ | [nextlevelbuilder/ui-ux-pro-max-skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill) | UI/UX design intelligence reference | external skill reference | review-required | `SkillRepository`, `ExternalSkills`, `ToolCapabilityRegistry` |
23
+ | [eze-is/web-access](https://github.com/eze-is/web-access) | Web research and browser automation skill | external skill reference | review-required | `SkillRepository`, `ExternalSkills`, `SkillDoctor` |
24
+ | [vercel-labs/agent-browser](https://github.com/vercel-labs/agent-browser) | Browser automation CLI | external CLI reference | review-required | `SkillRepository`, `ExternalSkills`, `ToolCapabilityRegistry` |
25
+ | [ChromeDevTools/chrome-devtools-mcp](https://github.com/ChromeDevTools/chrome-devtools-mcp) | Chrome DevTools MCP integration | MCP reference | review-required | `SkillRepository`, `ExternalSkills`, `ToolCapabilityRegistry` |
26
+ | [trycua/cua](https://github.com/trycua/cua) | Desktop computer-use automation | restricted external automation reference | review-required | `SkillRepository`, `ExternalSkills`, `ToolCapabilityRegistry` |
27
+ | [microsoft/playwright](https://github.com/microsoft/playwright) | Browser automation and validation | optional discovery reference | review-required | `SkillDiscovery` |
28
+ | [google-gemini/gemini-cli](https://github.com/google-gemini/gemini-cli) | Gemini CLI and community skill examples | external CLI and skill reference | review-required | `SkillRepository`, `SkillCatalog`, adapters |
29
+ | [openai/codex](https://github.com/openai/codex) | Codex CLI adapter and external reviewer | external CLI reference | review-required | `SkillRepository`, `ExternalSkills`, adapters |
30
+ | [sst/opencode](https://github.com/sst/opencode) | OpenCode CLI reference used by routing | external CLI reference | review-required | `SkillRepository`, `ExternalSkills`, `SkillDoctor` |
31
+ | [opencode-ai/opencode](https://github.com/opencode-ai/opencode) | OpenCode adapter source comment | adapter target reference | review-required | `OpenCodeAdapter` |
32
+ | [facebook/react](https://github.com/facebook/react) | React fix skill example | external skill reference | review-required | `SkillRepository`, `SkillCatalog` |
33
+ | [vercel/next.js](https://github.com/vercel/next.js) | Next.js documentation update skill example | external skill reference | review-required | `SkillRepository`, `SkillCatalog` |
34
+ | [vercel-labs/skills](https://github.com/vercel-labs/skills) | Skill discovery example | external skill reference | review-required | `SkillRepository`, `SkillCatalog` |
35
+ | [Shubhamsaboo/awesome-llm-apps](https://github.com/Shubhamsaboo/awesome-llm-apps) | Full-stack agent skill example | external skill reference | review-required | `SkillCatalog` |
36
+ | [jnMetaCode/agency-agents-zh](https://github.com/jnMetaCode/agency-agents-zh) | Chinese role preset reference | external preset reference | review-required | `SkillRepository` |
37
+ | [yizhiyanhua-ai/fireworks-tech-graph](https://github.com/yizhiyanhua-ai/fireworks-tech-graph) | Diagram skill discovery and installer reference | optional install reference | review-required | `ExternalSkills`, `SkillDiscovery`, `SkillInstaller` |
38
+ | [github/awesome-copilot](https://github.com/github/awesome-copilot) | Excalidraw diagram skill source | optional install reference | review-required | `ExternalSkills`, `SkillInstaller`, installation workflow doc |
39
+ | [Cocoon-AI/architecture-diagram-generator](https://github.com/Cocoon-AI/architecture-diagram-generator) | Architecture diagram skill reference | optional install reference | review-required | `ExternalSkills`, `SkillDiscovery`, `SkillInstaller` |
40
+ | [heygen-com/hyperframes](https://github.com/heygen-com/hyperframes) | Video generation CLI reference | optional install reference | review-required | `ExternalSkills`, `SkillDiscovery`, `SkillInstaller` |
41
+ | [op7418/guizang-ppt-skill](https://github.com/op7418/guizang-ppt-skill) | PPT generation skill reference | optional install reference | review-required | `ExternalSkills`, `SkillDiscovery`, `SkillInstaller` |
42
+ | [QwenLM/qwen-code](https://github.com/QwenLM/qwen-code) | QCoder adapter target | adapter target reference | review-required | `QCoderAdapter` |
43
+ | [Qoder docs](https://docs.qoder.com/) | Qoder adapter target | adapter target reference | review-required | `QoderAdapter` |
44
+ | JCode | JCode adapter target; upstream source and license still need review | provisional adapter target reference | review-required | `JCodeAdapter` |
45
+ | [Cline docs](https://docs.cline.bot/) | Cline adapter target | adapter target reference | review-required | `ClineAdapter` |
46
+ | [Kilo Code docs](https://docs.kilocode.ai/) | Kilo Code adapter target | adapter target reference | review-required | `KiloCodeAdapter` |
47
+ | [Google Antigravity docs](https://antigravity.google/docs/) | Antigravity adapter target | adapter target reference | review-required | `AntigravityAdapter` |
48
+ | [openclaw-ai/openclaw](https://github.com/openclaw-ai/openclaw) | OpenClaw adapter target | adapter target reference | review-required | `OpenClawAdapter` |
49
+ | [hermes-ai/hermes](https://github.com/hermes-ai/hermes) | Hermes adapter target | adapter target reference | review-required | `HermesAdapter` |
50
+ | [Hmbown/deepseek-tui](https://github.com/Hmbown/deepseek-tui) | DeepSeek TUI adapter target | adapter target reference | review-required | `DeepSeekTuiAdapter` |
51
+ | [Aider-AI/aider](https://github.com/Aider-AI/aider) | Aider adapter target | adapter target reference | review-required | `AiderAdapter` |
52
+
53
+ ## Required Maintenance
54
+
55
+ When a new GitHub upstream is referenced from `src/skills`, `src/tools`, `src/adapters`, or current tool orchestration docs, update this inventory in the same change. `tests/docs/externalReferences.test.ts` scans those surfaces and fails if a referenced upstream is missing from this file.
56
+
57
+ Before promoting any `review-required` item to a declared license status, record:
58
+
59
+ 1. upstream license file and revision
60
+ 2. upstream copyright and NOTICE obligations
61
+ 3. whether SCALE vendors code, adapts concepts, or only links to the project
62
+ 4. modification notes for copied or derived files
63
+ 5. installation, script, and permission review evidence