@ryuenn3123/agentic-senior-core 2.0.4 → 2.0.5
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/.agent-context/blueprints/mobile-app.md +21 -21
- package/.agent-context/profiles/platform.md +13 -13
- package/.agent-context/profiles/regulated.md +13 -13
- package/.agent-context/profiles/startup.md +13 -13
- package/.agent-context/review-checklists/frontend-skill-parity.md +28 -28
- package/.agent-context/review-checklists/frontend-usability.md +33 -33
- package/.agent-context/review-checklists/release-operations.md +29 -29
- package/.agent-context/skills/README.md +62 -62
- package/.agent-context/skills/backend/README.md +67 -67
- package/.agent-context/skills/backend/architecture.md +360 -360
- package/.agent-context/skills/backend/compatibility-manifest.json +8 -8
- package/.agent-context/skills/backend/data-access.md +230 -230
- package/.agent-context/skills/backend/errors.md +137 -137
- package/.agent-context/skills/backend/validation.md +116 -116
- package/.agent-context/skills/backend.md +28 -28
- package/.agent-context/skills/cli/README.md +49 -49
- package/.agent-context/skills/cli/compatibility-manifest.json +8 -8
- package/.agent-context/skills/cli/init.md +37 -37
- package/.agent-context/skills/cli/output.md +35 -35
- package/.agent-context/skills/cli/upgrade.md +37 -37
- package/.agent-context/skills/cli.md +28 -28
- package/.agent-context/skills/distribution/README.md +18 -18
- package/.agent-context/skills/distribution/compatibility-manifest.json +8 -8
- package/.agent-context/skills/distribution/compatibility.md +31 -31
- package/.agent-context/skills/distribution/publish.md +36 -36
- package/.agent-context/skills/distribution/rollback.md +31 -31
- package/.agent-context/skills/distribution.md +28 -28
- package/.agent-context/skills/frontend/README.md +35 -35
- package/.agent-context/skills/frontend/accessibility.md +107 -107
- package/.agent-context/skills/frontend/compatibility-manifest.json +8 -8
- package/.agent-context/skills/frontend/motion.md +66 -66
- package/.agent-context/skills/frontend/performance.md +62 -62
- package/.agent-context/skills/frontend/ui-architecture.md +128 -128
- package/.agent-context/skills/frontend.md +29 -29
- package/.agent-context/skills/fullstack/README.md +18 -18
- package/.agent-context/skills/fullstack/compatibility-manifest.json +8 -8
- package/.agent-context/skills/fullstack/contracts.md +52 -52
- package/.agent-context/skills/fullstack/end-to-end.md +41 -41
- package/.agent-context/skills/fullstack/feature-slicing.md +64 -64
- package/.agent-context/skills/fullstack.md +26 -26
- package/.agent-context/skills/index.json +107 -107
- package/.agent-context/skills/review-quality/README.md +18 -18
- package/.agent-context/skills/review-quality/benchmark.md +29 -29
- package/.agent-context/skills/review-quality/compatibility-manifest.json +8 -8
- package/.agent-context/skills/review-quality/planning.md +37 -37
- package/.agent-context/skills/review-quality/security.md +33 -33
- package/.agent-context/skills/review-quality.md +27 -27
- package/.agent-context/stacks/flutter.md +16 -16
- package/.agent-context/stacks/react-native.md +16 -16
- package/.agent-context/state/architecture-map.md +25 -25
- package/.agent-context/state/benchmark-analysis.json +431 -431
- package/.agent-context/state/benchmark-thresholds.json +10 -10
- package/.agent-context/state/benchmark-watchlist.json +19 -19
- package/.agent-context/state/dependency-map.md +32 -32
- package/.agent-context/state/quality-trend-report.json +79 -0
- package/.agent-context/state/skill-platform.json +38 -38
- package/.agent-override.md +36 -36
- package/.cursorrules +1 -1
- package/.gemini/instructions.md +21 -97
- package/.github/ISSUE_TEMPLATE/v1.7-frontend-work-item.yml +54 -54
- package/.github/copilot-instructions.md +21 -166
- package/.github/workflows/benchmark-detection.yml +38 -38
- package/.github/workflows/benchmark-intelligence.yml +50 -50
- package/.github/workflows/frontend-usability-gate.yml +36 -36
- package/.github/workflows/release-gate.yml +32 -32
- package/.github/workflows/sbom-compliance.yml +32 -32
- package/.windsurfrules +1 -1
- package/AGENTS.md +28 -181
- package/README.md +368 -368
- package/lib/cli/commands/optimize.mjs +171 -171
- package/lib/cli/compatibility.mjs +124 -124
- package/lib/cli/token-optimization.mjs +275 -275
- package/mcp.json +92 -92
- package/package.json +2 -1
- package/scripts/benchmark-gate.mjs +121 -121
- package/scripts/benchmark-intelligence.mjs +140 -140
- package/scripts/detection-benchmark.mjs +138 -138
- package/scripts/frontend-usability-audit.mjs +87 -87
- package/scripts/generate-sbom.mjs +61 -61
- package/scripts/init-project.ps1 +104 -104
- package/scripts/llm-judge.mjs +664 -664
- package/scripts/quality-trend-report.mjs +289 -0
- package/scripts/release-gate.mjs +259 -204
- package/scripts/skill-tier-policy.mjs +75 -75
- package/scripts/token-optimization-benchmark.mjs +252 -252
- package/scripts/validate.mjs +865 -811
|
@@ -1,166 +1,21 @@
|
|
|
1
|
-
# GitHub Copilot Instructions
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
1. Read
|
|
12
|
-
2.
|
|
13
|
-
3.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## Rules
|
|
23
|
-
|
|
24
|
-
Before generating code, read ALL engineering rules in `.agent-context/rules/`:
|
|
25
|
-
|
|
26
|
-
- `naming-conv.md` — Descriptive naming, no single-letter variables
|
|
27
|
-
- `architecture.md` — Separation of Concerns, feature-based grouping
|
|
28
|
-
- `security.md` — Validate all input, parameterize queries, never hardcode secrets
|
|
29
|
-
- `performance.md` — Evidence-based optimization, watch for N+1
|
|
30
|
-
- `error-handling.md` — Never swallow errors, use typed error codes
|
|
31
|
-
- `testing.md` — Test pyramid, behavior over implementation
|
|
32
|
-
- `git-workflow.md` — Conventional Commits, atomic changes
|
|
33
|
-
- `efficiency-vs-hype.md` — Stable dependencies over trendy ones
|
|
34
|
-
- `api-docs.md` — OpenAPI 3.1 mandatory, zero-doc death penalty
|
|
35
|
-
- `microservices.md` — Monolith first, split triggers, strangler fig
|
|
36
|
-
- `event-driven.md` — Event sourcing, CQRS, idempotency
|
|
37
|
-
- `database-design.md` — 3NF default, index FKs, safe migrations
|
|
38
|
-
- `realtime.md` — WebSockets scaling & strict pub/sub
|
|
39
|
-
- `frontend-architecture.md` — Smart/Dumb UI, TanStack Query vs Zustand
|
|
40
|
-
|
|
41
|
-
## Language Profile
|
|
42
|
-
|
|
43
|
-
Load the relevant stack profile from `.agent-context/stacks/`:
|
|
44
|
-
|
|
45
|
-
- TypeScript/Node → `stacks/typescript.md`
|
|
46
|
-
- Python → `stacks/python.md`
|
|
47
|
-
- Java/Kotlin → `stacks/java.md`
|
|
48
|
-
- PHP → `stacks/php.md`
|
|
49
|
-
- Go → `stacks/go.md`
|
|
50
|
-
- C#/.NET → `stacks/csharp.md`
|
|
51
|
-
- Rust → `stacks/rust.md`
|
|
52
|
-
- Ruby on Rails → `stacks/ruby.md`
|
|
53
|
-
- Flutter → `stacks/flutter.md`
|
|
54
|
-
- React Native → `stacks/react-native.md`
|
|
55
|
-
|
|
56
|
-
## Domain Skills (Auto-Load by Context)
|
|
57
|
-
|
|
58
|
-
You have access to 6 specialized skill packs. Load the relevant one(s) based on the request:
|
|
59
|
-
|
|
60
|
-
| Skill | When Loaded | Key Controls |
|
|
61
|
-
|-------|------------|---------------|
|
|
62
|
-
| **Backend** | Service/API/microservice request | Layer separation, validation boundaries, error handling |
|
|
63
|
-
| **Frontend** | UI/web/React/Vue request | Smart/Dumb components, state management patterns |
|
|
64
|
-
| **CLI** | Tool/script/automation request | Argument parsing, help text, exit codes |
|
|
65
|
-
| **Distribution** | Release/deploy/package request | Versioning, SBOM, changelog, binary safety |
|
|
66
|
-
| **Fullstack** | End-to-end feature request | Integration points, data flow, contract design |
|
|
67
|
-
| **Review-Quality** | Code review/audit request | Architecture violations, security issues, optimization paths |
|
|
68
|
-
|
|
69
|
-
**Location**: `.agent-context/skills/[skill-name].md`
|
|
70
|
-
|
|
71
|
-
## Prompts (Request-Specific Templates)
|
|
72
|
-
|
|
73
|
-
When user explicitly requests one of these workflows, load the full prompt template:
|
|
74
|
-
|
|
75
|
-
- **Init-Project**: User says "create new project" → Load `.agent-context/prompts/init-project.md` → Auto-Architect mode
|
|
76
|
-
- **Refactor**: User says "refactor", "improve", "clean up" → Load `.agent-context/prompts/refactor.md` → Safety-first refactoring
|
|
77
|
-
- **Review-Code**: User says "review", "audit", "check" → Load `.agent-context/prompts/review-code.md` → Architectural code review
|
|
78
|
-
|
|
79
|
-
## Team Profiles (Governance Defaults)
|
|
80
|
-
|
|
81
|
-
If the codebase declares a team profile in `.agent-context/profiles/`, load governance defaults:
|
|
82
|
-
|
|
83
|
-
- **Platform**: Reliability-focused, strict CI, Go default → `.agent-context/profiles/platform.md`
|
|
84
|
-
- **Regulated**: Compliance-focused (finance/health), all severities block → `.agent-context/profiles/regulated.md`
|
|
85
|
-
- **Startup**: Speed-focused, TypeScript/Next.js, permissive gates → `.agent-context/profiles/startup.md`
|
|
86
|
-
|
|
87
|
-
## Policies & Thresholds
|
|
88
|
-
|
|
89
|
-
Load `.agent-context/policies/llm-judge-threshold.json` to understand:
|
|
90
|
-
- Skill tier requirements (beginner/balanced/advanced/expert)
|
|
91
|
-
- LLM quality gates per severity level
|
|
92
|
-
- Blocking vs. reporting severities
|
|
93
|
-
|
|
94
|
-
## State Awareness & Override (V1.4)
|
|
95
|
-
|
|
96
|
-
- Read `.agent-context/state/architecture-map.md` and `.agent-context/state/dependency-map.md` before major modifications.
|
|
97
|
-
- Enforce `.cursorrules` by default and apply `.agent-override.md` only for explicit scoped exceptions.
|
|
98
|
-
|
|
99
|
-
## The Reasoning Clause (MANDATORY)
|
|
100
|
-
|
|
101
|
-
Every time you reject a code block, suggest a change, or enforce a rule, you MUST provide a Reasoning Chain:
|
|
102
|
-
|
|
103
|
-
```
|
|
104
|
-
REASONING CHAIN
|
|
105
|
-
Problem: [WHY the user's current approach/request is dangerous or unprofessional]
|
|
106
|
-
Solution: [The improved, production-grade approach]
|
|
107
|
-
Why Better: [WHY this is more professional — teach the human]
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
## Zero Tolerance & Rejection Protocol
|
|
111
|
-
|
|
112
|
-
If the user asks for "quick and dirty" code, skipping tests, or ignoring validation, you MUST politely but firmly refuse. Explain that today's hack is tomorrow's production incident. You do NOT tolerate shortcuts.
|
|
113
|
-
|
|
114
|
-
**SKILL TIER AWARENESS**: Before executing complex tasks, check `.agent-context/policies/llm-judge-threshold.json` to ensure your AI model's tier (beginner/balanced/advanced/expert) meets requirements. Refuse tasks outside your tier.
|
|
115
|
-
|
|
116
|
-
### The Security Halt
|
|
117
|
-
|
|
118
|
-
If you detect critical security vulnerabilities (e.g., hardcoded secrets, SQL injection, bypassing auth), you MUST halt feature development and refuse to proceed until the vulnerability is patched.
|
|
119
|
-
|
|
120
|
-
### The "Plan First" Rule
|
|
121
|
-
|
|
122
|
-
For any non-trivial request, do NOT generate full code immediately. You MUST first provide a bulleted "Implementation Plan" outlining the file structure, design patterns to be used, and security considerations. End your response with: _"Do you approve this plan? If yes, I will generate the code."_
|
|
123
|
-
|
|
124
|
-
### Self-Correction Protocol
|
|
125
|
-
|
|
126
|
-
Before outputting your final code, silently run a self-review against our Clean Code and Security standards. If your generated code contains `any` types, swallowed errors, or unvalidated inputs, CORRECT IT before showing it to the user. Never output code you wouldn't approve in a PR.
|
|
127
|
-
|
|
128
|
-
### Dependency Defense
|
|
129
|
-
|
|
130
|
-
If the user asks to install a new library, or if you feel the need to use one, evaluate it against the "stdlib-first" rule. If the functionality can be implemented safely in under 20 lines of code, write it yourself. If a dependency is strictly necessary, you MUST justify it by providing its bundle size, maintenance status, and why the standard library is insufficient.
|
|
131
|
-
|
|
132
|
-
## Absolute Clean Code Laws
|
|
133
|
-
|
|
134
|
-
1. **No Lazy Naming:** NEVER use generic variables like `data`, `res`, `temp`, `val`, `x`. Variables must be nouns answering "WHAT is this?". Functions must start with a verb (e.g., `validatePayment`). Booleans must use `is`/`has`/`can`/`should` prefixes.
|
|
135
|
-
2. **No 'any' or 'magic':** If using TypeScript/Python, the `any` type is completely banned. All external data MUST be validated at the boundary using schemas (like Zod or Pydantic) before touching business logic.
|
|
136
|
-
3. **Layer Separation:** Business logic does NOT touch HTTP. Database logic does NOT leak into services. No exceptions.
|
|
137
|
-
4. **Context First:** NEVER write code without checking `.agent-context/rules/` first.
|
|
138
|
-
5. **No Blind Dependencies:** NEVER introduce dependencies without justification.
|
|
139
|
-
|
|
140
|
-
## Definition of Done
|
|
141
|
-
|
|
142
|
-
**NEVER** declare a task "done" or ready for review without explicitly running and passing `.agent-context/review-checklists/pr-checklist.md`.
|
|
143
|
-
|
|
144
|
-
---
|
|
145
|
-
|
|
146
|
-
## Full Knowledge Injection Checklist
|
|
147
|
-
|
|
148
|
-
**This file (copilot-instructions.md) is your unified agent context.** All 8 knowledge layers are now injected:
|
|
149
|
-
|
|
150
|
-
All Layers Loaded:
|
|
151
|
-
1. Rules (14 files) — Engineering standards
|
|
152
|
-
2. Stacks (10 profiles) — Language conventions
|
|
153
|
-
3. Blueprints (14 templates) — Scaffolding patterns
|
|
154
|
-
4. Skills (6 packs) — Domain expertise [NEW]
|
|
155
|
-
5. Prompts (3 templates) — Request workflows [NEW]
|
|
156
|
-
6. Profiles (3 teams) — Governance defaults [NEW]
|
|
157
|
-
7. State (maps, benchmarks) — Codebase awareness [NEW]
|
|
158
|
-
8. Policies (thresholds) — Quality gates [NEW]
|
|
159
|
-
|
|
160
|
-
You now have 100% context visibility. No knowledge layer is skipped.
|
|
161
|
-
|
|
162
|
-
If you encounter a decision that requires a missing layer, report it immediately.
|
|
163
|
-
|
|
164
|
-
## Full Reference
|
|
165
|
-
|
|
166
|
-
See `.cursorrules` and `AGENTS.md` in the repository root for detailed agent instructions.
|
|
1
|
+
# GitHub Copilot Instructions - Thin Adapter
|
|
2
|
+
|
|
3
|
+
Adapter Mode: thin
|
|
4
|
+
Adapter Source: .instructions.md
|
|
5
|
+
Canonical Snapshot SHA256: ed18aa02954cf7e669d2ade4ea8c36c382bcae66e12b731c6e1ea69a59742480
|
|
6
|
+
|
|
7
|
+
The canonical policy source for this repository is [.instructions.md](../.instructions.md).
|
|
8
|
+
|
|
9
|
+
## Required Load Order
|
|
10
|
+
|
|
11
|
+
1. Read [.instructions.md](../.instructions.md) first.
|
|
12
|
+
2. Read baseline rules in [.agent-context/rules/](../.agent-context/rules).
|
|
13
|
+
3. Load language profile from [.agent-context/stacks/](../.agent-context/stacks).
|
|
14
|
+
4. Load blueprints from [.agent-context/blueprints/](../.agent-context/blueprints) for scaffolding requests.
|
|
15
|
+
5. Load domain skills from [.agent-context/skills/](../.agent-context/skills).
|
|
16
|
+
6. Load request templates from [.agent-context/prompts/](../.agent-context/prompts).
|
|
17
|
+
7. Apply team defaults from [.agent-context/profiles/](../.agent-context/profiles), state awareness from [.agent-context/state/](../.agent-context/state), and thresholds from [.agent-context/policies/](../.agent-context/policies).
|
|
18
|
+
|
|
19
|
+
## Completion Gate
|
|
20
|
+
|
|
21
|
+
Run [.agent-context/review-checklists/pr-checklist.md](../.agent-context/review-checklists/pr-checklist.md) before declaring work complete.
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
name: Detection Benchmark
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- '**'
|
|
7
|
-
pull_request:
|
|
8
|
-
workflow_dispatch:
|
|
9
|
-
|
|
10
|
-
permissions:
|
|
11
|
-
contents: read
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
benchmark-detection:
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
timeout-minutes: 10
|
|
17
|
-
env:
|
|
18
|
-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
19
|
-
steps:
|
|
20
|
-
- name: Checkout repository
|
|
21
|
-
uses: actions/checkout@v4
|
|
22
|
-
|
|
23
|
-
- name: Setup Node.js
|
|
24
|
-
uses: actions/setup-node@v4
|
|
25
|
-
with:
|
|
26
|
-
node-version: '22'
|
|
27
|
-
|
|
28
|
-
- name: Run detection benchmark
|
|
29
|
-
run: |
|
|
30
|
-
node ./scripts/detection-benchmark.mjs > detection-benchmark-report.json
|
|
31
|
-
test -s detection-benchmark-report.json
|
|
32
|
-
|
|
33
|
-
- name: Upload benchmark artifact
|
|
34
|
-
if: always()
|
|
35
|
-
uses: actions/upload-artifact@v4
|
|
36
|
-
with:
|
|
37
|
-
name: detection-benchmark-report
|
|
38
|
-
path: detection-benchmark-report.json
|
|
1
|
+
name: Detection Benchmark
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- '**'
|
|
7
|
+
pull_request:
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
benchmark-detection:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
timeout-minutes: 10
|
|
17
|
+
env:
|
|
18
|
+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
19
|
+
steps:
|
|
20
|
+
- name: Checkout repository
|
|
21
|
+
uses: actions/checkout@v4
|
|
22
|
+
|
|
23
|
+
- name: Setup Node.js
|
|
24
|
+
uses: actions/setup-node@v4
|
|
25
|
+
with:
|
|
26
|
+
node-version: '22'
|
|
27
|
+
|
|
28
|
+
- name: Run detection benchmark
|
|
29
|
+
run: |
|
|
30
|
+
node ./scripts/detection-benchmark.mjs > detection-benchmark-report.json
|
|
31
|
+
test -s detection-benchmark-report.json
|
|
32
|
+
|
|
33
|
+
- name: Upload benchmark artifact
|
|
34
|
+
if: always()
|
|
35
|
+
uses: actions/upload-artifact@v4
|
|
36
|
+
with:
|
|
37
|
+
name: detection-benchmark-report
|
|
38
|
+
path: detection-benchmark-report.json
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
name: Benchmark Intelligence
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
schedule:
|
|
5
|
-
- cron: '0 2 * * 1'
|
|
6
|
-
pull_request:
|
|
7
|
-
workflow_dispatch:
|
|
8
|
-
|
|
9
|
-
permissions:
|
|
10
|
-
contents: read
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
benchmark-intelligence:
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
timeout-minutes: 10
|
|
16
|
-
env:
|
|
17
|
-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
18
|
-
steps:
|
|
19
|
-
- name: Checkout repository
|
|
20
|
-
uses: actions/checkout@v4
|
|
21
|
-
|
|
22
|
-
- name: Setup Node.js
|
|
23
|
-
uses: actions/setup-node@v4
|
|
24
|
-
with:
|
|
25
|
-
node-version: '22'
|
|
26
|
-
|
|
27
|
-
- name: Run benchmark detection report
|
|
28
|
-
run: |
|
|
29
|
-
node ./scripts/detection-benchmark.mjs > detection-benchmark-report.json
|
|
30
|
-
test -s detection-benchmark-report.json
|
|
31
|
-
|
|
32
|
-
- name: Run benchmark anti-regression gate
|
|
33
|
-
run: |
|
|
34
|
-
node ./scripts/benchmark-gate.mjs > benchmark-gate-report.json
|
|
35
|
-
test -s benchmark-gate-report.json
|
|
36
|
-
|
|
37
|
-
- name: Run benchmark intelligence report
|
|
38
|
-
run: |
|
|
39
|
-
node ./scripts/benchmark-intelligence.mjs > benchmark-intelligence-report.json
|
|
40
|
-
test -s benchmark-intelligence-report.json
|
|
41
|
-
|
|
42
|
-
- name: Upload benchmark artifacts
|
|
43
|
-
if: always()
|
|
44
|
-
uses: actions/upload-artifact@v4
|
|
45
|
-
with:
|
|
46
|
-
name: benchmark-intelligence-report
|
|
47
|
-
path: |
|
|
48
|
-
detection-benchmark-report.json
|
|
49
|
-
benchmark-gate-report.json
|
|
50
|
-
benchmark-intelligence-report.json
|
|
1
|
+
name: Benchmark Intelligence
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
- cron: '0 2 * * 1'
|
|
6
|
+
pull_request:
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
benchmark-intelligence:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
timeout-minutes: 10
|
|
16
|
+
env:
|
|
17
|
+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
18
|
+
steps:
|
|
19
|
+
- name: Checkout repository
|
|
20
|
+
uses: actions/checkout@v4
|
|
21
|
+
|
|
22
|
+
- name: Setup Node.js
|
|
23
|
+
uses: actions/setup-node@v4
|
|
24
|
+
with:
|
|
25
|
+
node-version: '22'
|
|
26
|
+
|
|
27
|
+
- name: Run benchmark detection report
|
|
28
|
+
run: |
|
|
29
|
+
node ./scripts/detection-benchmark.mjs > detection-benchmark-report.json
|
|
30
|
+
test -s detection-benchmark-report.json
|
|
31
|
+
|
|
32
|
+
- name: Run benchmark anti-regression gate
|
|
33
|
+
run: |
|
|
34
|
+
node ./scripts/benchmark-gate.mjs > benchmark-gate-report.json
|
|
35
|
+
test -s benchmark-gate-report.json
|
|
36
|
+
|
|
37
|
+
- name: Run benchmark intelligence report
|
|
38
|
+
run: |
|
|
39
|
+
node ./scripts/benchmark-intelligence.mjs > benchmark-intelligence-report.json
|
|
40
|
+
test -s benchmark-intelligence-report.json
|
|
41
|
+
|
|
42
|
+
- name: Upload benchmark artifacts
|
|
43
|
+
if: always()
|
|
44
|
+
uses: actions/upload-artifact@v4
|
|
45
|
+
with:
|
|
46
|
+
name: benchmark-intelligence-report
|
|
47
|
+
path: |
|
|
48
|
+
detection-benchmark-report.json
|
|
49
|
+
benchmark-gate-report.json
|
|
50
|
+
benchmark-intelligence-report.json
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
name: Frontend Usability Gate
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- '**'
|
|
7
|
-
pull_request:
|
|
8
|
-
workflow_dispatch:
|
|
9
|
-
|
|
10
|
-
permissions:
|
|
11
|
-
contents: read
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
frontend-usability-audit:
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
timeout-minutes: 10
|
|
17
|
-
env:
|
|
18
|
-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
19
|
-
steps:
|
|
20
|
-
- name: Checkout repository
|
|
21
|
-
uses: actions/checkout@v4
|
|
22
|
-
|
|
23
|
-
- name: Setup Node.js
|
|
24
|
-
uses: actions/setup-node@v4
|
|
25
|
-
with:
|
|
26
|
-
node-version: '22'
|
|
27
|
-
|
|
28
|
-
- name: Run frontend usability audit
|
|
29
|
-
run: node ./scripts/frontend-usability-audit.mjs > frontend-usability-audit-report.json
|
|
30
|
-
|
|
31
|
-
- name: Upload frontend audit artifact
|
|
32
|
-
if: always()
|
|
33
|
-
uses: actions/upload-artifact@v4
|
|
34
|
-
with:
|
|
35
|
-
name: frontend-usability-audit-report
|
|
36
|
-
path: frontend-usability-audit-report.json
|
|
1
|
+
name: Frontend Usability Gate
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- '**'
|
|
7
|
+
pull_request:
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
frontend-usability-audit:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
timeout-minutes: 10
|
|
17
|
+
env:
|
|
18
|
+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
19
|
+
steps:
|
|
20
|
+
- name: Checkout repository
|
|
21
|
+
uses: actions/checkout@v4
|
|
22
|
+
|
|
23
|
+
- name: Setup Node.js
|
|
24
|
+
uses: actions/setup-node@v4
|
|
25
|
+
with:
|
|
26
|
+
node-version: '22'
|
|
27
|
+
|
|
28
|
+
- name: Run frontend usability audit
|
|
29
|
+
run: node ./scripts/frontend-usability-audit.mjs > frontend-usability-audit-report.json
|
|
30
|
+
|
|
31
|
+
- name: Upload frontend audit artifact
|
|
32
|
+
if: always()
|
|
33
|
+
uses: actions/upload-artifact@v4
|
|
34
|
+
with:
|
|
35
|
+
name: frontend-usability-audit-report
|
|
36
|
+
path: frontend-usability-audit-report.json
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
name: release-gate
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
pull_request:
|
|
8
|
-
workflow_dispatch:
|
|
9
|
-
|
|
10
|
-
permissions:
|
|
11
|
-
contents: read
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
release-gate:
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
steps:
|
|
17
|
-
- name: Checkout repository
|
|
18
|
-
uses: actions/checkout@v4
|
|
19
|
-
|
|
20
|
-
- name: Setup Node.js
|
|
21
|
-
uses: actions/setup-node@v4
|
|
22
|
-
with:
|
|
23
|
-
node-version: 24
|
|
24
|
-
|
|
25
|
-
- name: Run release gate
|
|
26
|
-
run: node ./scripts/release-gate.mjs > release-gate-report.json
|
|
27
|
-
|
|
28
|
-
- name: Upload release gate report artifact
|
|
29
|
-
uses: actions/upload-artifact@v4
|
|
30
|
-
with:
|
|
31
|
-
name: release-gate-report
|
|
32
|
-
path: release-gate-report.json
|
|
1
|
+
name: release-gate
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
pull_request:
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
release-gate:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- name: Checkout repository
|
|
18
|
+
uses: actions/checkout@v4
|
|
19
|
+
|
|
20
|
+
- name: Setup Node.js
|
|
21
|
+
uses: actions/setup-node@v4
|
|
22
|
+
with:
|
|
23
|
+
node-version: 24
|
|
24
|
+
|
|
25
|
+
- name: Run release gate
|
|
26
|
+
run: node ./scripts/release-gate.mjs > release-gate-report.json
|
|
27
|
+
|
|
28
|
+
- name: Upload release gate report artifact
|
|
29
|
+
uses: actions/upload-artifact@v4
|
|
30
|
+
with:
|
|
31
|
+
name: release-gate-report
|
|
32
|
+
path: release-gate-report.json
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
name: sbom-compliance
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
pull_request:
|
|
8
|
-
workflow_dispatch:
|
|
9
|
-
|
|
10
|
-
permissions:
|
|
11
|
-
contents: read
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
generate-sbom:
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
steps:
|
|
17
|
-
- name: Checkout repository
|
|
18
|
-
uses: actions/checkout@v4
|
|
19
|
-
|
|
20
|
-
- name: Setup Node.js
|
|
21
|
-
uses: actions/setup-node@v4
|
|
22
|
-
with:
|
|
23
|
-
node-version: 24
|
|
24
|
-
|
|
25
|
-
- name: Generate CycloneDX SBOM
|
|
26
|
-
run: node ./scripts/generate-sbom.mjs > sbom.cdx.json
|
|
27
|
-
|
|
28
|
-
- name: Upload SBOM artifact
|
|
29
|
-
uses: actions/upload-artifact@v4
|
|
30
|
-
with:
|
|
31
|
-
name: sbom-cyclonedx
|
|
32
|
-
path: sbom.cdx.json
|
|
1
|
+
name: sbom-compliance
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
pull_request:
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
generate-sbom:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- name: Checkout repository
|
|
18
|
+
uses: actions/checkout@v4
|
|
19
|
+
|
|
20
|
+
- name: Setup Node.js
|
|
21
|
+
uses: actions/setup-node@v4
|
|
22
|
+
with:
|
|
23
|
+
node-version: 24
|
|
24
|
+
|
|
25
|
+
- name: Generate CycloneDX SBOM
|
|
26
|
+
run: node ./scripts/generate-sbom.mjs > sbom.cdx.json
|
|
27
|
+
|
|
28
|
+
- name: Upload SBOM artifact
|
|
29
|
+
uses: actions/upload-artifact@v4
|
|
30
|
+
with:
|
|
31
|
+
name: sbom-cyclonedx
|
|
32
|
+
path: sbom.cdx.json
|
package/.windsurfrules
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AGENTIC-SENIOR-CORE DYNAMIC GOVERNANCE RULESET
|
|
2
2
|
|
|
3
|
-
Generated by Agentic-Senior-Core CLI v2.0.
|
|
3
|
+
Generated by Agentic-Senior-Core CLI v2.0.5
|
|
4
4
|
Timestamp: 2026-04-08T14:58:53.570Z
|
|
5
5
|
Selected profile: beginner
|
|
6
6
|
Selected policy file: .agent-context/policies/llm-judge-threshold.json
|