@hongmaple0820/scale-engine 0.25.0 → 0.26.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 (143) hide show
  1. package/LICENSE +15 -15
  2. package/README.en.md +368 -346
  3. package/README.md +548 -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 +133 -47
  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 +45 -45
  53. package/dist/context/AntiPatternRegistry.js +20 -20
  54. package/dist/context/ContextBuilder.js +155 -155
  55. package/dist/evolution/EvolutionEngine.js +31 -31
  56. package/dist/evolution/EvolutionEvaluator.d.ts +2 -0
  57. package/dist/evolution/EvolutionEvaluator.js +7 -1
  58. package/dist/evolution/EvolutionEvaluator.js.map +1 -1
  59. package/dist/fsm/FSMAgentBridge.js +11 -11
  60. package/dist/hooks/HookGeneratorEnhanced.js +218 -218
  61. package/dist/index.d.ts +1 -1
  62. package/dist/index.js +2 -2
  63. package/dist/index.js.map +1 -1
  64. package/dist/knowledge/SQLiteKnowledgeBase.js +28 -28
  65. package/dist/memory/MemoryBrain.js +52 -52
  66. package/dist/output/GovernanceDashboard.js +44 -44
  67. package/dist/output/HTMLArtifactLayer.js +31 -31
  68. package/dist/prompts/VibeTemplateGallery.js +121 -121
  69. package/dist/skills/SkillDiscovery.js +12 -1
  70. package/dist/skills/SkillDiscovery.js.map +1 -1
  71. package/dist/skills/routing/SkillPlanner.js +40 -40
  72. package/dist/workflow/EngineeringStandards.js +62 -62
  73. package/dist/workflow/GovernanceTemplatePacks.d.ts +1 -1
  74. package/dist/workflow/GovernanceTemplatePacks.js +1990 -162
  75. package/dist/workflow/GovernanceTemplatePacks.js.map +1 -1
  76. package/dist/workflow/GovernanceTemplates.d.ts +2 -0
  77. package/dist/workflow/GovernanceTemplates.js +1012 -1001
  78. package/dist/workflow/GovernanceTemplates.js.map +1 -1
  79. package/dist/workflow/ResourceGovernance.js +16 -16
  80. package/dist/workflow/TaskArtifactScaffolder.js +10 -10
  81. package/dist/workflow/UpgradeManager.d.ts +3 -2
  82. package/dist/workflow/UpgradeManager.js +134 -49
  83. package/dist/workflow/UpgradeManager.js.map +1 -1
  84. package/dist/workflow/WorkspaceTopology.js +18 -15
  85. package/dist/workflow/WorkspaceTopology.js.map +1 -1
  86. package/docs/ACTIVE_SECURITY_VISUAL_GATES.md +87 -87
  87. package/docs/BACKGROUND_HUNTER.md +62 -62
  88. package/docs/CODE_INTELLIGENCE.md +138 -138
  89. package/docs/CONTEXT_BUDGET.md +113 -113
  90. package/docs/DEPENDENCY_AUDIT.md +89 -89
  91. package/docs/EVOLUTION_SHADOW_MODE.md +63 -63
  92. package/docs/EXTERNAL_REFERENCES.md +63 -58
  93. package/docs/GITLAB_FLOW.md +125 -125
  94. package/docs/GOVERNANCE_DASHBOARD.md +85 -85
  95. package/docs/MEMORY_BRAIN.md +104 -104
  96. package/docs/MEMORY_FABRIC.md +134 -134
  97. package/docs/README.md +101 -92
  98. package/docs/RUNTIME_EVIDENCE.md +101 -101
  99. package/docs/SKILL-REPOSITORY.md +57 -57
  100. package/docs/SKILL_RADAR.md +122 -122
  101. package/docs/THIRD_PARTY_SKILLS.md +57 -57
  102. package/docs/WORKFLOW_EVAL.md +151 -151
  103. package/docs/guides/DEVELOPMENT_WORKFLOW.md +80 -0
  104. package/docs/guides/GETTING_STARTED.md +50 -0
  105. package/docs/start/README.md +78 -72
  106. package/docs/start/agent-governance-demo.md +107 -107
  107. package/docs/start/quickstart.md +137 -127
  108. package/docs/start/workflow-upgrade.md +32 -8
  109. package/docs/workflow/README.md +67 -0
  110. package/docs/workflow/node-library.md +52 -0
  111. package/docs/workflow/templates/api-contract.md +29 -0
  112. package/docs/workflow/templates/architecture-review.md +23 -0
  113. package/docs/workflow/templates/db-change-plan.md +20 -0
  114. package/docs/workflow/templates/docs-impact.md +17 -0
  115. package/docs/workflow/templates/e2e-plan.md +20 -0
  116. package/docs/workflow/templates/explore.md +16 -0
  117. package/docs/workflow/templates/github-actions-scale-preflight.yml +32 -0
  118. package/docs/workflow/templates/mini-prd.md +16 -0
  119. package/docs/workflow/templates/plan.md +37 -0
  120. package/docs/workflow/templates/pre-push-scale-preflight.sh +8 -0
  121. package/docs/workflow/templates/product-smoke.md +61 -0
  122. package/docs/workflow/templates/reality-check.md +28 -0
  123. package/docs/workflow/templates/resource-cleanup.md +17 -0
  124. package/docs/workflow/templates/resource-impact.md +25 -0
  125. package/docs/workflow/templates/review.md +12 -0
  126. package/docs/workflow/templates/runtime.md +23 -0
  127. package/docs/workflow/templates/security-review.md +26 -0
  128. package/docs/workflow/templates/skill-evidence.md +33 -0
  129. package/docs/workflow/templates/skill-plan.md +39 -0
  130. package/docs/workflow/templates/spec.md +17 -0
  131. package/docs/workflow/templates/standards-impact.md +28 -0
  132. package/docs/workflow/templates/summary.md +16 -0
  133. package/docs/workflow/templates/tasks.md +8 -0
  134. package/docs/workflow/templates/ui-spec.md +29 -0
  135. package/docs/workflow/templates/verification.md +20 -0
  136. package/docs/workflow/templates/visual-review.md +20 -0
  137. package/examples/demo-projects/agent-governance-demo/CONTEXT.md +14 -14
  138. package/examples/demo-projects/agent-governance-demo/README.md +48 -48
  139. package/examples/demo-projects/agent-governance-demo/docs/CONTEXT-MAP.md +14 -14
  140. package/examples/demo-projects/agent-governance-demo/package.json +22 -21
  141. package/examples/demo-projects/agent-governance-demo/src/oauth-state.ts +39 -39
  142. package/examples/demo-projects/agent-governance-demo/tests/oauth-state.test.ts +52 -52
  143. package/package.json +88 -78
@@ -1,122 +1,122 @@
1
- # Skill Radar
2
-
3
- Skill Radar is the active capability selection layer for SCALE. It does not auto-install or blindly run skills. It scores relevant skills, MCP servers, browser tools, desktop automation, and external CLIs against the current task, then returns:
4
-
5
- - why the capability matches
6
- - confidence score
7
- - safety level
8
- - required evidence
9
- - fallback path
10
- - supply-chain checks before installation or promotion
11
-
12
- The goal is to make agents actively use useful tools without turning the project into an unsafe prompt or tool bundle.
13
-
14
- ## Commands
15
-
16
- ```bash
17
- scale skill radar --task "Design upload UI and run browser E2E checks" --files src/pages/upload.tsx
18
- scale skill radar --task "Automate WPS desktop workflow with CUA" --json
19
- scale skill radar --task "Review release PR" --phase review --level L --output docs/worklog/tasks/release/skill-radar.md
20
- scale skill doctor --supply-chain
21
- scale skill doctor --supply-chain --json
22
- ```
23
-
24
- ## Safety Levels
25
-
26
- | Level | Meaning | Default action |
27
- | --- | --- | --- |
28
- | `trusted` | Official or low-risk capability with policy enabled | May be recommended when confidence is high |
29
- | `review-required` | Third-party or ecosystem capability | Require source, license, scripts, and revision review |
30
- | `restricted` | Browser, desktop, or external execution boundary | Require explicit evidence and side-effect boundaries |
31
- | `blocked` | Disabled by policy or failed safety review | Do not run; use fallback |
32
-
33
- ## Confidence
34
-
35
- Skill Radar combines:
36
-
37
- - task keywords and workflow phase
38
- - changed file patterns
39
- - local skill installation
40
- - tool availability
41
- - trust level
42
- - policy status
43
- - frontend/package evidence
44
- - safety penalties
45
-
46
- The score is not a promise that the tool will work. It is a routing signal. Any recommendation still needs real evidence before the agent can claim success.
47
-
48
- ## Default Domains
49
-
50
- | Domain | Typical triggers | Recommended capability types |
51
- | --- | --- | --- |
52
- | `ui` | UI, UX, frontend, component, visual, layout | design skills, visual review, screenshot evidence |
53
- | `browserAutomation` | browser, E2E, Playwright, Chrome, DevTools | web access, browser automation, DevTools evidence |
54
- | `desktopAutomation` | desktop, GUI, WPS, WeChat, CUA | disabled by default; manual operator fallback |
55
- | `externalCli` | Codex, Gemini, OpenCode, external agent CLI | disabled by default; dry-run and output evidence |
56
- | `review` | PR, merge, release, code review | reviewer skills, severity findings |
57
- | `docs` | docs, README, ADR, governance asset | doc impact and source-of-truth evidence |
58
- | `planning` | plans, task_plan, findings, progress, long-running work | file-backed planning, progress logs, plan attestation |
59
- | `memory` | memory, recall, knowledge, persistent memory, agentmemory, gbrain | provider-routed memory through agentmemory, gbrain, or scale-local fallback |
60
- | `discovery` | skill, MCP, tool, capability discovery | find-skills plus safety review |
61
-
62
- ## Evidence Contract
63
-
64
- Each recommendation carries required evidence. Examples:
65
-
66
- - UI work: `ui-spec`, `design-rationale`, `screenshot`, `visual-review`
67
- - Browser work: `browser-evidence`, `console-summary`, `network-summary`, `scenario-result`
68
- - Desktop work: `operator-boundary`, `desktop-screenshot`, `affected-app`
69
- - External CLI work: `cli-version-check`, `command`, `exit-code`, `output-summary`
70
- - Review work: `review-report`, `finding-list`, `severity`
71
- - Planning work: `task-plan`, `findings-log`, `progress-log`, `plan-attestation`
72
- - Memory work: `memory-provider-health`, `privacy-boundary`, `data-retention-policy`, `query-result`
73
-
74
- If evidence is missing, the final delivery should list the capability as unverified rather than claiming it was used successfully.
75
-
76
- ## Supply-Chain Doctor
77
-
78
- `scale skill doctor --supply-chain` reviews known skill sources and install commands for:
79
-
80
- - HTTPS source requirement
81
- - `curl | bash`, `wget | sh`, `Invoke-Expression`, and `iex` blocking
82
- - destructive install patterns
83
- - npm/npx lifecycle script review
84
- - required source, license, and revision checks
85
- - third-party attribution and NOTICE checks
86
-
87
- This is intentionally conservative. Third-party skills should start in review-required mode and be promoted only after inspection.
88
-
89
- External skill references and acknowledgements are tracked in [Third-Party Skills and External References](THIRD_PARTY_SKILLS.md) and the full [External Reference Inventory](EXTERNAL_REFERENCES.md). SCALE should not vendor community skill code unless the license text, source revision, copyright notice, and modification notes are preserved.
90
-
91
- ## Policy Integration
92
-
93
- Skill Radar reads `.scale/tools.json` through the Tool Policy layer. Defaults:
94
-
95
- - UI and browser capabilities are enabled but evidence-required.
96
- - Desktop CUA is disabled by default.
97
- - External agent CLIs are disabled by default.
98
- - Browser tools require captured evidence and should stay in approved domains.
99
-
100
- Use Tool Policy to enable a restricted capability deliberately rather than relying on an agent's assumption.
101
-
102
- ## Fallback Rule
103
-
104
- Every recommendation must include a fallback. This prevents tool theater:
105
-
106
- ```text
107
- If the capability is missing, unsafe, low-confidence, or policy-blocked,
108
- the agent must use the fallback and record why the capability was not used.
109
- ```
110
-
111
- ## Artifact Lifecycle
112
-
113
- Skill Radar reports can be written into task artifacts:
114
-
115
- ```bash
116
- scale skill radar \
117
- --task "Refactor upload page and verify browser flow" \
118
- --files src/pages/upload.tsx \
119
- --output docs/worklog/tasks/2026-05-19-upload-refactor/skill-radar.md
120
- ```
121
-
122
- Keep the report when it is evidence for an M/L/CRITICAL task. Do not commit transient local detection output unless it is part of the reviewed task artifact set.
1
+ # Skill Radar
2
+
3
+ Skill Radar is the active capability selection layer for SCALE. It does not auto-install or blindly run skills. It scores relevant skills, MCP servers, browser tools, desktop automation, and external CLIs against the current task, then returns:
4
+
5
+ - why the capability matches
6
+ - confidence score
7
+ - safety level
8
+ - required evidence
9
+ - fallback path
10
+ - supply-chain checks before installation or promotion
11
+
12
+ The goal is to make agents actively use useful tools without turning the project into an unsafe prompt or tool bundle.
13
+
14
+ ## Commands
15
+
16
+ ```bash
17
+ scale skill radar --task "Design upload UI and run browser E2E checks" --files src/pages/upload.tsx
18
+ scale skill radar --task "Automate WPS desktop workflow with CUA" --json
19
+ scale skill radar --task "Review release PR" --phase review --level L --output docs/worklog/tasks/release/skill-radar.md
20
+ scale skill doctor --supply-chain
21
+ scale skill doctor --supply-chain --json
22
+ ```
23
+
24
+ ## Safety Levels
25
+
26
+ | Level | Meaning | Default action |
27
+ | --- | --- | --- |
28
+ | `trusted` | Official or low-risk capability with policy enabled | May be recommended when confidence is high |
29
+ | `review-required` | Third-party or ecosystem capability | Require source, license, scripts, and revision review |
30
+ | `restricted` | Browser, desktop, or external execution boundary | Require explicit evidence and side-effect boundaries |
31
+ | `blocked` | Disabled by policy or failed safety review | Do not run; use fallback |
32
+
33
+ ## Confidence
34
+
35
+ Skill Radar combines:
36
+
37
+ - task keywords and workflow phase
38
+ - changed file patterns
39
+ - local skill installation
40
+ - tool availability
41
+ - trust level
42
+ - policy status
43
+ - frontend/package evidence
44
+ - safety penalties
45
+
46
+ The score is not a promise that the tool will work. It is a routing signal. Any recommendation still needs real evidence before the agent can claim success.
47
+
48
+ ## Default Domains
49
+
50
+ | Domain | Typical triggers | Recommended capability types |
51
+ | --- | --- | --- |
52
+ | `ui` | UI, UX, frontend, component, visual, layout | design skills, visual review, screenshot evidence |
53
+ | `browserAutomation` | browser, E2E, Playwright, Chrome, DevTools | web access, browser automation, DevTools evidence |
54
+ | `desktopAutomation` | desktop, GUI, WPS, WeChat, CUA | disabled by default; manual operator fallback |
55
+ | `externalCli` | Codex, Gemini, OpenCode, external agent CLI | disabled by default; dry-run and output evidence |
56
+ | `review` | PR, merge, release, code review | reviewer skills, severity findings |
57
+ | `docs` | docs, README, ADR, governance asset | doc impact and source-of-truth evidence |
58
+ | `planning` | plans, task_plan, findings, progress, long-running work | file-backed planning, progress logs, plan attestation |
59
+ | `memory` | memory, recall, knowledge, persistent memory, agentmemory, gbrain | provider-routed memory through agentmemory, gbrain, or scale-local fallback |
60
+ | `discovery` | skill, MCP, tool, capability discovery | find-skills plus safety review |
61
+
62
+ ## Evidence Contract
63
+
64
+ Each recommendation carries required evidence. Examples:
65
+
66
+ - UI work: `ui-spec`, `design-rationale`, `screenshot`, `visual-review`
67
+ - Browser work: `browser-evidence`, `console-summary`, `network-summary`, `scenario-result`
68
+ - Desktop work: `operator-boundary`, `desktop-screenshot`, `affected-app`
69
+ - External CLI work: `cli-version-check`, `command`, `exit-code`, `output-summary`
70
+ - Review work: `review-report`, `finding-list`, `severity`
71
+ - Planning work: `task-plan`, `findings-log`, `progress-log`, `plan-attestation`
72
+ - Memory work: `memory-provider-health`, `privacy-boundary`, `data-retention-policy`, `query-result`
73
+
74
+ If evidence is missing, the final delivery should list the capability as unverified rather than claiming it was used successfully.
75
+
76
+ ## Supply-Chain Doctor
77
+
78
+ `scale skill doctor --supply-chain` reviews known skill sources and install commands for:
79
+
80
+ - HTTPS source requirement
81
+ - `curl | bash`, `wget | sh`, `Invoke-Expression`, and `iex` blocking
82
+ - destructive install patterns
83
+ - npm/npx lifecycle script review
84
+ - required source, license, and revision checks
85
+ - third-party attribution and NOTICE checks
86
+
87
+ This is intentionally conservative. Third-party skills should start in review-required mode and be promoted only after inspection.
88
+
89
+ External skill references and acknowledgements are tracked in [Third-Party Skills and External References](THIRD_PARTY_SKILLS.md) and the full [External Reference Inventory](EXTERNAL_REFERENCES.md). SCALE should not vendor community skill code unless the license text, source revision, copyright notice, and modification notes are preserved.
90
+
91
+ ## Policy Integration
92
+
93
+ Skill Radar reads `.scale/tools.json` through the Tool Policy layer. Defaults:
94
+
95
+ - UI and browser capabilities are enabled but evidence-required.
96
+ - Desktop CUA is disabled by default.
97
+ - External agent CLIs are disabled by default.
98
+ - Browser tools require captured evidence and should stay in approved domains.
99
+
100
+ Use Tool Policy to enable a restricted capability deliberately rather than relying on an agent's assumption.
101
+
102
+ ## Fallback Rule
103
+
104
+ Every recommendation must include a fallback. This prevents tool theater:
105
+
106
+ ```text
107
+ If the capability is missing, unsafe, low-confidence, or policy-blocked,
108
+ the agent must use the fallback and record why the capability was not used.
109
+ ```
110
+
111
+ ## Artifact Lifecycle
112
+
113
+ Skill Radar reports can be written into task artifacts:
114
+
115
+ ```bash
116
+ scale skill radar \
117
+ --task "Refactor upload page and verify browser flow" \
118
+ --files src/pages/upload.tsx \
119
+ --output docs/worklog/tasks/2026-05-19-upload-refactor/skill-radar.md
120
+ ```
121
+
122
+ Keep the report when it is evidence for an M/L/CRITICAL task. Do not commit transient local detection output unless it is part of the reviewed task artifact set.
@@ -1,57 +1,57 @@
1
- # Third-Party Skills and External References
2
-
3
- This document records external skill projects that SCALE may learn from, recommend, or integrate with. It is a governance boundary, not a vendoring manifest. The complete cross-repo inventory is maintained in [External Reference Inventory](EXTERNAL_REFERENCES.md).
4
-
5
- ## Policy
6
-
7
- - Do not vendor third-party skill code, images, logos, examples, or marketing copy unless the license review explicitly allows redistribution.
8
- - Preserve upstream license text, copyright notices, NOTICE files, source URL, and source revision before any vendored or modified redistribution.
9
- - Mark modified files and document what changed from upstream.
10
- - Treat optional external services as review-required until privacy, retention, credential, and delete boundaries are reviewed.
11
- - `scale skill doctor --supply-chain` must include license, attribution, script, and pinned-revision checks for third-party skills.
12
- - Community skills start as `review-required`; promotion requires real installation evidence and a recorded safety decision.
13
-
14
- ## Highlighted External References
15
-
16
- | Project | License | Upstream | SCALE usage | Redistribution status |
17
- | --- | --- | --- | --- | --- |
18
- | Planning with Files | MIT | [OthmanAdi/planning-with-files](https://github.com/OthmanAdi/planning-with-files) | Adapt concepts for file-backed plans, findings, progress logs, active-plan routing, and plan attestation. | Not vendored. |
19
- | agentmemory | Apache-2.0 | [rohitg00/agentmemory](https://github.com/rohitg00/agentmemory) | Optional external memory provider via REST or MCP for teams that need cross-agent persistent memory beyond local SCALE Memory Brain. | Not vendored. |
20
- | GBrain | MIT | [garrytan/gbrain](https://github.com/garrytan/gbrain) | Optional graph memory provider for brain repos, hybrid search, entity relationships, MCP, and background maintenance. | Not vendored. |
21
-
22
- Other referenced skills, MCP servers, CLIs, discovery candidates, and adapter targets are listed in [External Reference Inventory](EXTERNAL_REFERENCES.md). Unknown licenses stay `review-required`; do not treat a repository link as redistribution permission.
23
-
24
- ## Acknowledgements
25
-
26
- SCALE acknowledges these upstream projects and contributors:
27
-
28
- - `OthmanAdi/planning-with-files`, Copyright (c) 2026 Ahmad Adi.
29
- - `rohitg00/agentmemory` and its upstream contributors.
30
- - `garrytan/gbrain` and its upstream contributors.
31
- - All upstream projects listed in [External Reference Inventory](EXTERNAL_REFERENCES.md) according to their licenses and contribution histories.
32
-
33
- The current SCALE implementation records these projects as external references or adapted concepts. It does not copy their source code into this repository.
34
-
35
- ## Vendoring Checklist
36
-
37
- If SCALE later vendors or modifies any third-party skill, the change must include:
38
-
39
- 1. Full upstream license text in the distributed package.
40
- 2. Upstream copyright and NOTICE material.
41
- 3. Source repository URL and pinned revision.
42
- 4. Modification notes for every copied or changed file.
43
- 5. Tests or doctor checks proving the attribution metadata is present.
44
- 6. README and generated skill repository documentation updates.
45
-
46
- ## Runtime Boundaries
47
-
48
- External memory providers must not be enabled silently. Before use, record:
49
-
50
- - provider endpoint and health check evidence
51
- - project data scope
52
- - credential boundary
53
- - retention and deletion policy
54
- - whether data leaves the local machine or team-controlled infrastructure
55
- - whether provider writes are disabled, candidate-only, or explicitly enabled
56
-
57
- External planning skills must not replace SCALE task evidence. They can improve the plan artifact shape, but final delivery still requires verification output, changed-file evidence, and explicit unverified-risk notes.
1
+ # Third-Party Skills and External References
2
+
3
+ This document records external skill projects that SCALE may learn from, recommend, or integrate with. It is a governance boundary, not a vendoring manifest. The complete cross-repo inventory is maintained in [External Reference Inventory](EXTERNAL_REFERENCES.md).
4
+
5
+ ## Policy
6
+
7
+ - Do not vendor third-party skill code, images, logos, examples, or marketing copy unless the license review explicitly allows redistribution.
8
+ - Preserve upstream license text, copyright notices, NOTICE files, source URL, and source revision before any vendored or modified redistribution.
9
+ - Mark modified files and document what changed from upstream.
10
+ - Treat optional external services as review-required until privacy, retention, credential, and delete boundaries are reviewed.
11
+ - `scale skill doctor --supply-chain` must include license, attribution, script, and pinned-revision checks for third-party skills.
12
+ - Community skills start as `review-required`; promotion requires real installation evidence and a recorded safety decision.
13
+
14
+ ## Highlighted External References
15
+
16
+ | Project | License | Upstream | SCALE usage | Redistribution status |
17
+ | --- | --- | --- | --- | --- |
18
+ | Planning with Files | MIT | [OthmanAdi/planning-with-files](https://github.com/OthmanAdi/planning-with-files) | Adapt concepts for file-backed plans, findings, progress logs, active-plan routing, and plan attestation. | Not vendored. |
19
+ | agentmemory | Apache-2.0 | [rohitg00/agentmemory](https://github.com/rohitg00/agentmemory) | Optional external memory provider via REST or MCP for teams that need cross-agent persistent memory beyond local SCALE Memory Brain. | Not vendored. |
20
+ | GBrain | MIT | [garrytan/gbrain](https://github.com/garrytan/gbrain) | Optional graph memory provider for brain repos, hybrid search, entity relationships, MCP, and background maintenance. | Not vendored. |
21
+
22
+ Other referenced skills, MCP servers, CLIs, discovery candidates, and adapter targets are listed in [External Reference Inventory](EXTERNAL_REFERENCES.md). Unknown licenses stay `review-required`; do not treat a repository link as redistribution permission.
23
+
24
+ ## Acknowledgements
25
+
26
+ SCALE acknowledges these upstream projects and contributors:
27
+
28
+ - `OthmanAdi/planning-with-files`, Copyright (c) 2026 Ahmad Adi.
29
+ - `rohitg00/agentmemory` and its upstream contributors.
30
+ - `garrytan/gbrain` and its upstream contributors.
31
+ - All upstream projects listed in [External Reference Inventory](EXTERNAL_REFERENCES.md) according to their licenses and contribution histories.
32
+
33
+ The current SCALE implementation records these projects as external references or adapted concepts. It does not copy their source code into this repository.
34
+
35
+ ## Vendoring Checklist
36
+
37
+ If SCALE later vendors or modifies any third-party skill, the change must include:
38
+
39
+ 1. Full upstream license text in the distributed package.
40
+ 2. Upstream copyright and NOTICE material.
41
+ 3. Source repository URL and pinned revision.
42
+ 4. Modification notes for every copied or changed file.
43
+ 5. Tests or doctor checks proving the attribution metadata is present.
44
+ 6. README and generated skill repository documentation updates.
45
+
46
+ ## Runtime Boundaries
47
+
48
+ External memory providers must not be enabled silently. Before use, record:
49
+
50
+ - provider endpoint and health check evidence
51
+ - project data scope
52
+ - credential boundary
53
+ - retention and deletion policy
54
+ - whether data leaves the local machine or team-controlled infrastructure
55
+ - whether provider writes are disabled, candidate-only, or explicitly enabled
56
+
57
+ External planning skills must not replace SCALE task evidence. They can improve the plan artifact shape, but final delivery still requires verification output, changed-file evidence, and explicit unverified-risk notes.