@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.
- package/LICENSE +15 -15
- package/README.en.md +368 -346
- package/README.md +548 -529
- package/dist/adapters/AiderAdapter.js +52 -52
- package/dist/adapters/AntigravityAdapter.d.ts +4 -0
- package/dist/adapters/AntigravityAdapter.js +21 -0
- package/dist/adapters/AntigravityAdapter.js.map +1 -0
- package/dist/adapters/ClaudeCodeAdapter.d.ts +4 -1
- package/dist/adapters/ClaudeCodeAdapter.js +34 -34
- package/dist/adapters/ClaudeCodeAdapter.js.map +1 -1
- package/dist/adapters/ClineAdapter.d.ts +4 -0
- package/dist/adapters/ClineAdapter.js +20 -0
- package/dist/adapters/ClineAdapter.js.map +1 -0
- package/dist/adapters/CodexAdapter.js +28 -28
- package/dist/adapters/CursorAdapter.js +26 -26
- package/dist/adapters/DeepSeekTuiAdapter.js +97 -97
- package/dist/adapters/DoubaoAdapter.js +33 -33
- package/dist/adapters/GeminiAdapter.js +26 -26
- package/dist/adapters/GenericProjectAgentAdapter.d.ts +29 -0
- package/dist/adapters/GenericProjectAgentAdapter.js +204 -0
- package/dist/adapters/GenericProjectAgentAdapter.js.map +1 -0
- package/dist/adapters/HermesAdapter.js +26 -26
- package/dist/adapters/JCodeAdapter.d.ts +4 -0
- package/dist/adapters/JCodeAdapter.js +19 -0
- package/dist/adapters/JCodeAdapter.js.map +1 -0
- package/dist/adapters/KiloCodeAdapter.d.ts +4 -0
- package/dist/adapters/KiloCodeAdapter.js +20 -0
- package/dist/adapters/KiloCodeAdapter.js.map +1 -0
- package/dist/adapters/KimiAdapter.js +32 -32
- package/dist/adapters/KiroAdapter.js +26 -26
- package/dist/adapters/OpenClawAdapter.js +26 -26
- package/dist/adapters/OpenCodeAdapter.js +26 -26
- package/dist/adapters/QCoderAdapter.js +26 -26
- package/dist/adapters/QoderAdapter.d.ts +4 -0
- package/dist/adapters/QoderAdapter.js +21 -0
- package/dist/adapters/QoderAdapter.js.map +1 -0
- package/dist/adapters/TraeAdapter.js +26 -26
- package/dist/adapters/VSCAdapter.js +26 -26
- package/dist/adapters/WindsurfAdapter.js +32 -32
- package/dist/adapters/WorkBuddyAdapter.js +26 -26
- package/dist/adapters/index.d.ts +5 -0
- package/dist/adapters/index.js +15 -0
- package/dist/adapters/index.js.map +1 -1
- package/dist/api/cli.js +133 -47
- package/dist/api/cli.js.map +1 -1
- package/dist/api/doctor.js +10 -3
- package/dist/api/doctor.js.map +1 -1
- package/dist/api/quickstart.js +7 -1
- package/dist/api/quickstart.js.map +1 -1
- package/dist/artifact/sqliteStore.js +89 -89
- package/dist/artifact/types.d.ts +1 -1
- package/dist/cli/phaseCommands.js +45 -45
- package/dist/context/AntiPatternRegistry.js +20 -20
- package/dist/context/ContextBuilder.js +155 -155
- package/dist/evolution/EvolutionEngine.js +31 -31
- package/dist/evolution/EvolutionEvaluator.d.ts +2 -0
- package/dist/evolution/EvolutionEvaluator.js +7 -1
- package/dist/evolution/EvolutionEvaluator.js.map +1 -1
- package/dist/fsm/FSMAgentBridge.js +11 -11
- package/dist/hooks/HookGeneratorEnhanced.js +218 -218
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/knowledge/SQLiteKnowledgeBase.js +28 -28
- package/dist/memory/MemoryBrain.js +52 -52
- package/dist/output/GovernanceDashboard.js +44 -44
- package/dist/output/HTMLArtifactLayer.js +31 -31
- package/dist/prompts/VibeTemplateGallery.js +121 -121
- package/dist/skills/SkillDiscovery.js +12 -1
- package/dist/skills/SkillDiscovery.js.map +1 -1
- package/dist/skills/routing/SkillPlanner.js +40 -40
- package/dist/workflow/EngineeringStandards.js +62 -62
- package/dist/workflow/GovernanceTemplatePacks.d.ts +1 -1
- package/dist/workflow/GovernanceTemplatePacks.js +1990 -162
- package/dist/workflow/GovernanceTemplatePacks.js.map +1 -1
- package/dist/workflow/GovernanceTemplates.d.ts +2 -0
- package/dist/workflow/GovernanceTemplates.js +1012 -1001
- package/dist/workflow/GovernanceTemplates.js.map +1 -1
- package/dist/workflow/ResourceGovernance.js +16 -16
- package/dist/workflow/TaskArtifactScaffolder.js +10 -10
- package/dist/workflow/UpgradeManager.d.ts +3 -2
- package/dist/workflow/UpgradeManager.js +134 -49
- package/dist/workflow/UpgradeManager.js.map +1 -1
- package/dist/workflow/WorkspaceTopology.js +18 -15
- package/dist/workflow/WorkspaceTopology.js.map +1 -1
- package/docs/ACTIVE_SECURITY_VISUAL_GATES.md +87 -87
- package/docs/BACKGROUND_HUNTER.md +62 -62
- package/docs/CODE_INTELLIGENCE.md +138 -138
- package/docs/CONTEXT_BUDGET.md +113 -113
- package/docs/DEPENDENCY_AUDIT.md +89 -89
- package/docs/EVOLUTION_SHADOW_MODE.md +63 -63
- package/docs/EXTERNAL_REFERENCES.md +63 -58
- package/docs/GITLAB_FLOW.md +125 -125
- package/docs/GOVERNANCE_DASHBOARD.md +85 -85
- package/docs/MEMORY_BRAIN.md +104 -104
- package/docs/MEMORY_FABRIC.md +134 -134
- package/docs/README.md +101 -92
- package/docs/RUNTIME_EVIDENCE.md +101 -101
- package/docs/SKILL-REPOSITORY.md +57 -57
- package/docs/SKILL_RADAR.md +122 -122
- package/docs/THIRD_PARTY_SKILLS.md +57 -57
- package/docs/WORKFLOW_EVAL.md +151 -151
- package/docs/guides/DEVELOPMENT_WORKFLOW.md +80 -0
- package/docs/guides/GETTING_STARTED.md +50 -0
- package/docs/start/README.md +78 -72
- package/docs/start/agent-governance-demo.md +107 -107
- package/docs/start/quickstart.md +137 -127
- package/docs/start/workflow-upgrade.md +32 -8
- package/docs/workflow/README.md +67 -0
- package/docs/workflow/node-library.md +52 -0
- package/docs/workflow/templates/api-contract.md +29 -0
- package/docs/workflow/templates/architecture-review.md +23 -0
- package/docs/workflow/templates/db-change-plan.md +20 -0
- package/docs/workflow/templates/docs-impact.md +17 -0
- package/docs/workflow/templates/e2e-plan.md +20 -0
- package/docs/workflow/templates/explore.md +16 -0
- package/docs/workflow/templates/github-actions-scale-preflight.yml +32 -0
- package/docs/workflow/templates/mini-prd.md +16 -0
- package/docs/workflow/templates/plan.md +37 -0
- package/docs/workflow/templates/pre-push-scale-preflight.sh +8 -0
- package/docs/workflow/templates/product-smoke.md +61 -0
- package/docs/workflow/templates/reality-check.md +28 -0
- package/docs/workflow/templates/resource-cleanup.md +17 -0
- package/docs/workflow/templates/resource-impact.md +25 -0
- package/docs/workflow/templates/review.md +12 -0
- package/docs/workflow/templates/runtime.md +23 -0
- package/docs/workflow/templates/security-review.md +26 -0
- package/docs/workflow/templates/skill-evidence.md +33 -0
- package/docs/workflow/templates/skill-plan.md +39 -0
- package/docs/workflow/templates/spec.md +17 -0
- package/docs/workflow/templates/standards-impact.md +28 -0
- package/docs/workflow/templates/summary.md +16 -0
- package/docs/workflow/templates/tasks.md +8 -0
- package/docs/workflow/templates/ui-spec.md +29 -0
- package/docs/workflow/templates/verification.md +20 -0
- package/docs/workflow/templates/visual-review.md +20 -0
- package/examples/demo-projects/agent-governance-demo/CONTEXT.md +14 -14
- package/examples/demo-projects/agent-governance-demo/README.md +48 -48
- package/examples/demo-projects/agent-governance-demo/docs/CONTEXT-MAP.md +14 -14
- package/examples/demo-projects/agent-governance-demo/package.json +22 -21
- package/examples/demo-projects/agent-governance-demo/src/oauth-state.ts +39 -39
- package/examples/demo-projects/agent-governance-demo/tests/oauth-state.test.ts +52 -52
- package/package.json +88 -78
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Generated by scale-engine governance pack: node-library@2
|
|
2
|
+
# Edit policy: prefer editing the pack in scale-engine; local overrides should be documented.
|
|
3
|
+
|
|
4
|
+
# Node Library Workflow
|
|
5
|
+
|
|
6
|
+
This repository uses the latest SCALE repository workflow for Node/npm package delivery.
|
|
7
|
+
|
|
8
|
+
## Command Entry Points
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
bash scripts/preflight/all.sh
|
|
12
|
+
bash scripts/gates/all.sh --dry-run
|
|
13
|
+
bash scripts/workflow/new-task.sh
|
|
14
|
+
bash scripts/workflow/resume.sh
|
|
15
|
+
bash scripts/workflow/verify.sh --preflight-profile quick
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
PowerShell:
|
|
19
|
+
|
|
20
|
+
```powershell
|
|
21
|
+
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/preflight/all.ps1
|
|
22
|
+
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/gates/all.ps1 --dry-run
|
|
23
|
+
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/workflow/new-task.ps1
|
|
24
|
+
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/workflow/resume.ps1
|
|
25
|
+
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/workflow/verify.ps1 --preflight-profile quick
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Default Verification Matrix
|
|
29
|
+
|
|
30
|
+
- quick loop: `npm run build`, `npm run lint`, `npm test`
|
|
31
|
+
- release loop: add `npm run typecheck`, `git diff --check`, and `npm pack --dry-run`
|
|
32
|
+
- product smoke: enable a real probe in `.scale/product-smoke.json` instead of treating a health endpoint as completion proof
|
|
33
|
+
|
|
34
|
+
## Branch Policy
|
|
35
|
+
|
|
36
|
+
This repository follows a GitLab Flow variant:
|
|
37
|
+
|
|
38
|
+
```text
|
|
39
|
+
feature/fix/docs/chore/codex -> dev -> master -> tag/publish
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Use short-lived branches for governed work. Direct governed commits on `dev`, `master`, or `main` are blocked by SCALE ship rules.
|
|
43
|
+
|
|
44
|
+
## Release Expectations
|
|
45
|
+
|
|
46
|
+
Before a package release or demo handoff:
|
|
47
|
+
|
|
48
|
+
1. Run `bash scripts/preflight/all.sh` or the PowerShell equivalent.
|
|
49
|
+
2. Run `scale preflight --preflight-profile full --json`.
|
|
50
|
+
3. Run `npm pack --dry-run`.
|
|
51
|
+
4. Run `git diff --check`.
|
|
52
|
+
5. Confirm runtime evidence and review artifacts for M/L/CRITICAL work.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# API Contract
|
|
2
|
+
|
|
3
|
+
## Endpoint Or Interface
|
|
4
|
+
|
|
5
|
+
TBD
|
|
6
|
+
|
|
7
|
+
## Request
|
|
8
|
+
|
|
9
|
+
TBD
|
|
10
|
+
|
|
11
|
+
## Response
|
|
12
|
+
|
|
13
|
+
TBD
|
|
14
|
+
|
|
15
|
+
## Errors
|
|
16
|
+
|
|
17
|
+
TBD
|
|
18
|
+
|
|
19
|
+
## Permission Rules
|
|
20
|
+
|
|
21
|
+
TBD
|
|
22
|
+
|
|
23
|
+
## Compatibility Notes
|
|
24
|
+
|
|
25
|
+
TBD
|
|
26
|
+
|
|
27
|
+
## Acceptance Criteria
|
|
28
|
+
|
|
29
|
+
- [ ] TBD
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Architecture Review
|
|
2
|
+
|
|
3
|
+
## Scope
|
|
4
|
+
|
|
5
|
+
- Modules touched:
|
|
6
|
+
- Public contracts touched:
|
|
7
|
+
- Data flow touched:
|
|
8
|
+
|
|
9
|
+
## Boundary Checks
|
|
10
|
+
|
|
11
|
+
- [ ] API/controller layer does not bypass service/usecase layer
|
|
12
|
+
- [ ] Domain layer is not coupled to infrastructure details
|
|
13
|
+
- [ ] Repository/ORM usage follows project conventions
|
|
14
|
+
- [ ] Shared framework components are reused instead of duplicated
|
|
15
|
+
- [ ] New abstractions remove real complexity
|
|
16
|
+
|
|
17
|
+
## Risks
|
|
18
|
+
|
|
19
|
+
- TBD
|
|
20
|
+
|
|
21
|
+
## Decision
|
|
22
|
+
|
|
23
|
+
- Approved/changes required:
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
name: SCALE Preflight
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
- master
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
preflight:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- name: Checkout
|
|
15
|
+
uses: actions/checkout@v4
|
|
16
|
+
|
|
17
|
+
- name: Setup Node.js
|
|
18
|
+
uses: actions/setup-node@v4
|
|
19
|
+
with:
|
|
20
|
+
node-version: '20'
|
|
21
|
+
|
|
22
|
+
- name: Install project dependencies when present
|
|
23
|
+
shell: bash
|
|
24
|
+
run: |
|
|
25
|
+
if [ -f package-lock.json ]; then
|
|
26
|
+
npm ci
|
|
27
|
+
elif [ -f package.json ]; then
|
|
28
|
+
npm install
|
|
29
|
+
fi
|
|
30
|
+
|
|
31
|
+
- name: Run SCALE preflight
|
|
32
|
+
run: npx @hongmaple0820/scale-engine@latest preflight --service all --preflight-profile ci
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Plan - {{TASK_ID}}
|
|
2
|
+
|
|
3
|
+
Date: {{DATE}}
|
|
4
|
+
Level: {{LEVEL}}
|
|
5
|
+
|
|
6
|
+
## Scope / Boundary
|
|
7
|
+
|
|
8
|
+
- In scope:
|
|
9
|
+
- Out of scope / non-goals:
|
|
10
|
+
|
|
11
|
+
## Approach
|
|
12
|
+
|
|
13
|
+
1. TBD
|
|
14
|
+
2. TBD
|
|
15
|
+
3. TBD
|
|
16
|
+
|
|
17
|
+
## Exception / Failure Paths
|
|
18
|
+
|
|
19
|
+
- Expected failure:
|
|
20
|
+
- Error handling:
|
|
21
|
+
- Manual recovery:
|
|
22
|
+
|
|
23
|
+
## Rollback / Fallback
|
|
24
|
+
|
|
25
|
+
- Rollback:
|
|
26
|
+
- Fallback:
|
|
27
|
+
- Disable path:
|
|
28
|
+
|
|
29
|
+
## Acceptance Criteria
|
|
30
|
+
|
|
31
|
+
- TBD
|
|
32
|
+
|
|
33
|
+
## Verification
|
|
34
|
+
|
|
35
|
+
- `make gate-quality`
|
|
36
|
+
- `make verify PROFILE=default`
|
|
37
|
+
- `git diff --check`
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Product Smoke
|
|
2
|
+
|
|
3
|
+
## Real Product Path
|
|
4
|
+
|
|
5
|
+
Describe the smallest end-to-end path that proves the change works through the real product boundary.
|
|
6
|
+
|
|
7
|
+
Example:
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
UI or client -> gateway/router -> service -> database/storage/queue -> observable result
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Do not use a green health endpoint as the only proof when the user-facing path depends on routing, authentication, storage, async tasks, browser behavior, or third-party integration.
|
|
14
|
+
|
|
15
|
+
## Quick Setup
|
|
16
|
+
|
|
17
|
+
1. Open `.scale/product-smoke.json`.
|
|
18
|
+
2. Replace the example command with one real product path command.
|
|
19
|
+
3. Set that probe's `enabled` field to `true`.
|
|
20
|
+
4. Run `scale preflight --profile productSmoke --json`.
|
|
21
|
+
5. Run `scale runtime final-check --level M --json`.
|
|
22
|
+
|
|
23
|
+
`status: "skipped"` means no real product path was exercised. It does not count as completion evidence.
|
|
24
|
+
|
|
25
|
+
## Setup
|
|
26
|
+
|
|
27
|
+
- Base URL:
|
|
28
|
+
- Test user or tenant:
|
|
29
|
+
- Required fixtures:
|
|
30
|
+
- Services that must be running:
|
|
31
|
+
|
|
32
|
+
## Smoke Commands
|
|
33
|
+
|
|
34
|
+
| Command | Expected Result | Evidence Artifact |
|
|
35
|
+
| --- | --- | --- |
|
|
36
|
+
| TBD | TBD | TBD |
|
|
37
|
+
|
|
38
|
+
## Runtime Evidence
|
|
39
|
+
|
|
40
|
+
Record at least one runtime evidence item:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
scale runtime record \
|
|
44
|
+
--kind command \
|
|
45
|
+
--title "Product smoke: <flow>" \
|
|
46
|
+
--status passed \
|
|
47
|
+
--command "<exact smoke command>" \
|
|
48
|
+
--exit-code 0 \
|
|
49
|
+
--summary "<business result, task id, status, or observable output>" \
|
|
50
|
+
--artifacts ".agent/logs/<service>/<smoke>.json" \
|
|
51
|
+
--metadata-json '{"productSmoke":true,"realProductPath":true}'
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Assertions
|
|
55
|
+
|
|
56
|
+
- [ ] Request crossed the real product boundary, not only an isolated unit.
|
|
57
|
+
- [ ] Authentication or user identity path was exercised when relevant.
|
|
58
|
+
- [ ] Persistence/storage/queue side effect was verified when relevant.
|
|
59
|
+
- [ ] Async task or eventual state was polled to terminal status when relevant.
|
|
60
|
+
- [ ] Failure output is specific enough to diagnose the failing layer.
|
|
61
|
+
- [ ] Runtime artifacts are ignored or deliberately promoted according to resource governance.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Reality Check - {{TASK_ID}}
|
|
2
|
+
|
|
3
|
+
Date: {{DATE}}
|
|
4
|
+
Level: {{LEVEL}}
|
|
5
|
+
|
|
6
|
+
## Confirmed
|
|
7
|
+
|
|
8
|
+
- TBD
|
|
9
|
+
|
|
10
|
+
## Not Verified
|
|
11
|
+
|
|
12
|
+
- TBD
|
|
13
|
+
|
|
14
|
+
## Stub / Fake / Partial
|
|
15
|
+
|
|
16
|
+
- TBD
|
|
17
|
+
|
|
18
|
+
## Credential-Gated
|
|
19
|
+
|
|
20
|
+
- TBD
|
|
21
|
+
|
|
22
|
+
## Environment-Gated
|
|
23
|
+
|
|
24
|
+
- TBD
|
|
25
|
+
|
|
26
|
+
## User-Visible Risk
|
|
27
|
+
|
|
28
|
+
- TBD
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Resource Cleanup - {{TASK_ID}}
|
|
2
|
+
|
|
3
|
+
Date: {{DATE}}
|
|
4
|
+
Level: {{LEVEL}}
|
|
5
|
+
|
|
6
|
+
## New Resources
|
|
7
|
+
|
|
8
|
+
| Resource | Location | Keep / Move / Delete | Reason |
|
|
9
|
+
| --- | --- | --- | --- |
|
|
10
|
+
| TBD | TBD | TBD | TBD |
|
|
11
|
+
|
|
12
|
+
## Docs Promotion
|
|
13
|
+
|
|
14
|
+
- Promote to `docs/`:
|
|
15
|
+
- Keep in `.planning/`:
|
|
16
|
+
- Keep local under `.agent/`:
|
|
17
|
+
- Delete before handoff:
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Resource Impact
|
|
2
|
+
|
|
3
|
+
## Resources Created
|
|
4
|
+
|
|
5
|
+
| Path | Type | Git Policy | Retention |
|
|
6
|
+
| --- | --- | --- | --- |
|
|
7
|
+
| TBD | canonical-doc/task-artifact/evidence-report/temporary/reusable-script/generated-media/contract/decision-record | commit/ignore/lfs/external/review | TBD |
|
|
8
|
+
|
|
9
|
+
## Resources Updated
|
|
10
|
+
|
|
11
|
+
- TBD
|
|
12
|
+
|
|
13
|
+
## Resources Promoted To Maintained Docs
|
|
14
|
+
|
|
15
|
+
- TBD
|
|
16
|
+
|
|
17
|
+
## Resources To Delete Or Archive Before Finish
|
|
18
|
+
|
|
19
|
+
- TBD
|
|
20
|
+
|
|
21
|
+
## Source Of Truth Updates
|
|
22
|
+
|
|
23
|
+
- [ ] .scale/resource-policy.json
|
|
24
|
+
- [ ] .scale/assets.json
|
|
25
|
+
- [ ] docs/modules/<module>/README.md
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Runtime Contract - {{TASK_ID}}
|
|
2
|
+
|
|
3
|
+
Date: {{DATE}}
|
|
4
|
+
Level: {{LEVEL}}
|
|
5
|
+
|
|
6
|
+
## Configuration Source
|
|
7
|
+
|
|
8
|
+
- Source: TBD
|
|
9
|
+
- Environment/profile: TBD
|
|
10
|
+
- Local override file: TBD
|
|
11
|
+
|
|
12
|
+
## Service Topology
|
|
13
|
+
|
|
14
|
+
| Service | URL / Command | Config source | Auth mode | Status |
|
|
15
|
+
| --- | --- | --- | --- | --- |
|
|
16
|
+
| primary | TBD | TBD | TBD | Not checked |
|
|
17
|
+
|
|
18
|
+
## Verification Boundary
|
|
19
|
+
|
|
20
|
+
- Confirmed:
|
|
21
|
+
- Not covered:
|
|
22
|
+
- Requires external credentials:
|
|
23
|
+
- Requires shared/cloud environment:
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Security Review
|
|
2
|
+
|
|
3
|
+
## Assets And Trust Boundaries
|
|
4
|
+
|
|
5
|
+
TBD
|
|
6
|
+
|
|
7
|
+
## Authorization Rules
|
|
8
|
+
|
|
9
|
+
TBD
|
|
10
|
+
|
|
11
|
+
## Abuse Cases
|
|
12
|
+
|
|
13
|
+
1. TBD
|
|
14
|
+
2. TBD
|
|
15
|
+
3. TBD
|
|
16
|
+
|
|
17
|
+
## Sensitive Data Impact
|
|
18
|
+
|
|
19
|
+
TBD
|
|
20
|
+
|
|
21
|
+
## Rollback Or Disable Strategy
|
|
22
|
+
|
|
23
|
+
TBD
|
|
24
|
+
|
|
25
|
+
## Final Verdict
|
|
26
|
+
TBD
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Skill Evidence
|
|
2
|
+
|
|
3
|
+
## Planned Skills
|
|
4
|
+
|
|
5
|
+
- TBD
|
|
6
|
+
|
|
7
|
+
## Tool Selection Rationale
|
|
8
|
+
|
|
9
|
+
TBD
|
|
10
|
+
|
|
11
|
+
## Used Skills
|
|
12
|
+
|
|
13
|
+
| Skill | Phase | Trigger | Evidence | Status |
|
|
14
|
+
| --- | --- | --- | --- | --- |
|
|
15
|
+
| skill-id | plan/build/verify/review | why it was selected | command, screenshot, report, or artifact path | executed/skipped/fallback |
|
|
16
|
+
|
|
17
|
+
## Browser Or Web Evidence
|
|
18
|
+
|
|
19
|
+
| Tool | Target | Evidence | Result |
|
|
20
|
+
| --- | --- | --- | --- |
|
|
21
|
+
| web-access/agent-browser/Chrome DevTools MCP | URL or local target | screenshot, console log, network finding, source URL | passed/failed/skipped |
|
|
22
|
+
|
|
23
|
+
## Desktop Or External CLI Evidence
|
|
24
|
+
|
|
25
|
+
| Tool | Scope | Safety Boundary | Evidence | Result |
|
|
26
|
+
| --- | --- | --- | --- | --- |
|
|
27
|
+
| cua/codex/gemini/opencode/wps/wechat | command or app target | read-only/dry-run/test account/manual approval | output summary, screenshot, or report path | passed/failed/skipped |
|
|
28
|
+
|
|
29
|
+
## Skipped Skills
|
|
30
|
+
|
|
31
|
+
| Skill | Reason | Fallback Evidence |
|
|
32
|
+
| --- | --- | --- |
|
|
33
|
+
| skill-id | why it could not run | manual review, alternate command, or explicit risk |
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Skill Plan
|
|
2
|
+
|
|
3
|
+
## Detected Intents
|
|
4
|
+
|
|
5
|
+
| Domain | Score | Evidence |
|
|
6
|
+
| --- | ---: | --- |
|
|
7
|
+
| | | |
|
|
8
|
+
|
|
9
|
+
## Required Skills
|
|
10
|
+
|
|
11
|
+
- TBD
|
|
12
|
+
|
|
13
|
+
## Recommended Skills
|
|
14
|
+
|
|
15
|
+
- TBD
|
|
16
|
+
|
|
17
|
+
## Required Artifacts
|
|
18
|
+
|
|
19
|
+
- TBD
|
|
20
|
+
|
|
21
|
+
## Required Verification Evidence
|
|
22
|
+
|
|
23
|
+
- TBD
|
|
24
|
+
|
|
25
|
+
## Tool Orchestration
|
|
26
|
+
|
|
27
|
+
| Capability | Primary Tool Or Skill | Fallback | Required Evidence |
|
|
28
|
+
| --- | --- | --- | --- |
|
|
29
|
+
| UI/UX design | frontend-design, ui-ux-pro-max | awesome-design-md | design-system, ui-spec.md, visual-review.md |
|
|
30
|
+
| Web research or logged-in pages | web-access | agent-browser, Chrome DevTools MCP | source citations, browser evidence |
|
|
31
|
+
| Browser E2E | webapp-testing, Playwright | agent-browser, web-access | screenshot, console, network evidence |
|
|
32
|
+
| Desktop GUI automation | CUA/computer-use | manual verification | desktop screenshot, operator-safety notes |
|
|
33
|
+
| External agent CLI | codex/gemini/opencode CLI | manual review | version check, exact command output |
|
|
34
|
+
|
|
35
|
+
## Skipped Skills
|
|
36
|
+
|
|
37
|
+
| Skill | Reason | Fallback Evidence |
|
|
38
|
+
| --- | --- | --- |
|
|
39
|
+
| | | |
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Standards Impact
|
|
2
|
+
|
|
3
|
+
## Standards Checked
|
|
4
|
+
|
|
5
|
+
- [ ] Logging and redaction
|
|
6
|
+
- [ ] Architecture boundaries
|
|
7
|
+
- [ ] ORM/database access
|
|
8
|
+
- [ ] Framework/component conventions
|
|
9
|
+
- [ ] UI/UX acceptance where user-facing
|
|
10
|
+
- [ ] Test and verification rigor
|
|
11
|
+
- [ ] Security-sensitive inputs and outputs
|
|
12
|
+
|
|
13
|
+
## Findings
|
|
14
|
+
|
|
15
|
+
| Severity | Rule | Path | Decision |
|
|
16
|
+
| --- | --- | --- | --- |
|
|
17
|
+
| TBD | TBD | TBD | fix/accept/escalate |
|
|
18
|
+
|
|
19
|
+
## Policy Updates
|
|
20
|
+
|
|
21
|
+
- [ ] .scale/engineering-standards.json
|
|
22
|
+
- [ ] .scale/frameworks.json
|
|
23
|
+
- [ ] docs/standards/
|
|
24
|
+
|
|
25
|
+
## Settlement
|
|
26
|
+
|
|
27
|
+
- Standards scan:
|
|
28
|
+
- Standards doctor:
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# UI Spec
|
|
2
|
+
|
|
3
|
+
## User Goal
|
|
4
|
+
|
|
5
|
+
TBD
|
|
6
|
+
|
|
7
|
+
## Primary Flow
|
|
8
|
+
|
|
9
|
+
TBD
|
|
10
|
+
|
|
11
|
+
## Interaction States
|
|
12
|
+
|
|
13
|
+
- Default:
|
|
14
|
+
- Loading:
|
|
15
|
+
- Empty:
|
|
16
|
+
- Error:
|
|
17
|
+
- Success:
|
|
18
|
+
|
|
19
|
+
## Responsive Behavior
|
|
20
|
+
|
|
21
|
+
TBD
|
|
22
|
+
|
|
23
|
+
## Accessibility Requirements
|
|
24
|
+
|
|
25
|
+
TBD
|
|
26
|
+
|
|
27
|
+
## Acceptance Criteria
|
|
28
|
+
|
|
29
|
+
- [ ] TBD
|