@ryuenn3123/agentic-senior-core 1.9.0 → 1.9.2
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/policies/llm-judge-threshold.json +29 -20
- 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/rules/security.md +92 -0
- 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/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/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.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/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/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/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/onboarding-report.json +39 -0
- package/.agent-context/state/skill-platform.json +38 -38
- package/.agent-override.md +36 -36
- package/.cursorrules +3718 -140
- package/.github/ISSUE_TEMPLATE/v1.7-frontend-work-item.yml +54 -54
- 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/publish.yml +32 -0
- package/.github/workflows/release-gate.yml +32 -32
- package/.github/workflows/sbom-compliance.yml +32 -32
- package/.windsurfrules +3718 -106
- package/AGENTS.md +181 -181
- package/README.md +318 -318
- package/bin/agentic-senior-core.js +61 -1556
- package/lib/cli/commands/init.mjs +339 -0
- package/lib/cli/commands/launch.mjs +81 -0
- package/lib/cli/commands/upgrade.mjs +165 -0
- package/lib/cli/compiler.mjs +204 -0
- package/lib/cli/constants.mjs +136 -0
- package/lib/cli/detector.mjs +211 -0
- package/lib/cli/profile-packs.mjs +94 -0
- package/lib/cli/skill-selector.mjs +210 -0
- package/lib/cli/utils.mjs +227 -0
- package/mcp.json +92 -92
- package/package.json +3 -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/release-gate.mjs +116 -116
- package/scripts/skill-tier-policy.mjs +75 -75
- package/scripts/validate.mjs +636 -636
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
# Mobile App Blueprint
|
|
2
|
-
|
|
3
|
-
This blueprint defines the starter shape for a mobile product that needs a clean separation between UI, device integration, and backend contracts.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
|
|
7
|
-
- Transport: device events, navigation entry points, push notifications, and platform channels.
|
|
8
|
-
- Service: orchestration, screen-level state, validation, and user-facing workflows.
|
|
9
|
-
- Repository: remote API clients, local storage adapters, and persistence abstractions.
|
|
10
|
-
|
|
11
|
-
## Starter Rules
|
|
12
|
-
|
|
13
|
-
- Keep screens focused on rendering and user interaction only.
|
|
14
|
-
- Move API access, caching, and serialization into adapter layers.
|
|
15
|
-
- Use consistent error handling for offline, permission, and platform failures.
|
|
16
|
-
- Add release checks for signing, packaging, and crash telemetry before shipping.
|
|
17
|
-
|
|
18
|
-
## Recommended Stack Pairings
|
|
19
|
-
|
|
20
|
-
- React Native for teams that want JavaScript or TypeScript alignment.
|
|
21
|
-
- Flutter for teams that want a strongly structured UI toolkit.
|
|
1
|
+
# Mobile App Blueprint
|
|
2
|
+
|
|
3
|
+
This blueprint defines the starter shape for a mobile product that needs a clean separation between UI, device integration, and backend contracts.
|
|
4
|
+
|
|
5
|
+
## Structure
|
|
6
|
+
|
|
7
|
+
- Transport: device events, navigation entry points, push notifications, and platform channels.
|
|
8
|
+
- Service: orchestration, screen-level state, validation, and user-facing workflows.
|
|
9
|
+
- Repository: remote API clients, local storage adapters, and persistence abstractions.
|
|
10
|
+
|
|
11
|
+
## Starter Rules
|
|
12
|
+
|
|
13
|
+
- Keep screens focused on rendering and user interaction only.
|
|
14
|
+
- Move API access, caching, and serialization into adapter layers.
|
|
15
|
+
- Use consistent error handling for offline, permission, and platform failures.
|
|
16
|
+
- Add release checks for signing, packaging, and crash telemetry before shipping.
|
|
17
|
+
|
|
18
|
+
## Recommended Stack Pairings
|
|
19
|
+
|
|
20
|
+
- React Native for teams that want JavaScript or TypeScript alignment.
|
|
21
|
+
- Flutter for teams that want a strongly structured UI toolkit.
|
|
@@ -1,20 +1,29 @@
|
|
|
1
|
-
{
|
|
2
|
-
"selectedProfile": "
|
|
3
|
-
"profileThresholds": {
|
|
4
|
-
"beginner": {
|
|
5
|
-
"blockingSeverities": [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"failOnMalformedResponse": true,
|
|
17
|
-
"failOnProviderError":
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
{
|
|
2
|
+
"selectedProfile": "beginner",
|
|
3
|
+
"profileThresholds": {
|
|
4
|
+
"beginner": {
|
|
5
|
+
"blockingSeverities": [
|
|
6
|
+
"critical"
|
|
7
|
+
],
|
|
8
|
+
"failOnMalformedResponse": false,
|
|
9
|
+
"failOnProviderError": false
|
|
10
|
+
},
|
|
11
|
+
"balanced": {
|
|
12
|
+
"blockingSeverities": [
|
|
13
|
+
"critical",
|
|
14
|
+
"high"
|
|
15
|
+
],
|
|
16
|
+
"failOnMalformedResponse": true,
|
|
17
|
+
"failOnProviderError": false
|
|
18
|
+
},
|
|
19
|
+
"strict": {
|
|
20
|
+
"blockingSeverities": [
|
|
21
|
+
"critical",
|
|
22
|
+
"high",
|
|
23
|
+
"medium"
|
|
24
|
+
],
|
|
25
|
+
"failOnMalformedResponse": true,
|
|
26
|
+
"failOnProviderError": true
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# Team Profile Pack: Platform
|
|
2
|
-
|
|
3
|
-
slug: platform
|
|
4
|
-
displayName: Platform Team
|
|
5
|
-
description: Reliability-oriented defaults for shared platform modules across teams.
|
|
6
|
-
defaultProfile: balanced
|
|
7
|
-
defaultStack: go.md
|
|
8
|
-
defaultBlueprint: go-service.md
|
|
9
|
-
ciGuardrails: true
|
|
10
|
-
lockCi: false
|
|
11
|
-
blockingSeverities: critical, high
|
|
12
|
-
owner: platform-foundation
|
|
13
|
-
lastUpdated: 2026-03-19
|
|
1
|
+
# Team Profile Pack: Platform
|
|
2
|
+
|
|
3
|
+
slug: platform
|
|
4
|
+
displayName: Platform Team
|
|
5
|
+
description: Reliability-oriented defaults for shared platform modules across teams.
|
|
6
|
+
defaultProfile: balanced
|
|
7
|
+
defaultStack: go.md
|
|
8
|
+
defaultBlueprint: go-service.md
|
|
9
|
+
ciGuardrails: true
|
|
10
|
+
lockCi: false
|
|
11
|
+
blockingSeverities: critical, high
|
|
12
|
+
owner: platform-foundation
|
|
13
|
+
lastUpdated: 2026-03-19
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# Team Profile Pack: Regulated
|
|
2
|
-
|
|
3
|
-
slug: regulated
|
|
4
|
-
displayName: Regulated Team
|
|
5
|
-
description: Compliance-first defaults with strict policy and locked CI guardrails.
|
|
6
|
-
defaultProfile: strict
|
|
7
|
-
defaultStack: typescript.md
|
|
8
|
-
defaultBlueprint: api-nextjs.md
|
|
9
|
-
ciGuardrails: true
|
|
10
|
-
lockCi: true
|
|
11
|
-
blockingSeverities: critical, high, medium
|
|
12
|
-
owner: governance-office
|
|
13
|
-
lastUpdated: 2026-03-19
|
|
1
|
+
# Team Profile Pack: Regulated
|
|
2
|
+
|
|
3
|
+
slug: regulated
|
|
4
|
+
displayName: Regulated Team
|
|
5
|
+
description: Compliance-first defaults with strict policy and locked CI guardrails.
|
|
6
|
+
defaultProfile: strict
|
|
7
|
+
defaultStack: typescript.md
|
|
8
|
+
defaultBlueprint: api-nextjs.md
|
|
9
|
+
ciGuardrails: true
|
|
10
|
+
lockCi: true
|
|
11
|
+
blockingSeverities: critical, high, medium
|
|
12
|
+
owner: governance-office
|
|
13
|
+
lastUpdated: 2026-03-19
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# Team Profile Pack: Startup
|
|
2
|
-
|
|
3
|
-
slug: startup
|
|
4
|
-
displayName: Startup Team
|
|
5
|
-
description: Fast iteration with balanced guardrails and quick onboarding defaults.
|
|
6
|
-
defaultProfile: balanced
|
|
7
|
-
defaultStack: typescript.md
|
|
8
|
-
defaultBlueprint: api-nextjs.md
|
|
9
|
-
ciGuardrails: true
|
|
10
|
-
lockCi: false
|
|
11
|
-
blockingSeverities: critical, high
|
|
12
|
-
owner: product-engineering
|
|
13
|
-
lastUpdated: 2026-03-19
|
|
1
|
+
# Team Profile Pack: Startup
|
|
2
|
+
|
|
3
|
+
slug: startup
|
|
4
|
+
displayName: Startup Team
|
|
5
|
+
description: Fast iteration with balanced guardrails and quick onboarding defaults.
|
|
6
|
+
defaultProfile: balanced
|
|
7
|
+
defaultStack: typescript.md
|
|
8
|
+
defaultBlueprint: api-nextjs.md
|
|
9
|
+
ciGuardrails: true
|
|
10
|
+
lockCi: false
|
|
11
|
+
blockingSeverities: critical, high
|
|
12
|
+
owner: product-engineering
|
|
13
|
+
lastUpdated: 2026-03-19
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
# Frontend Skill Parity Checklist
|
|
2
|
-
|
|
3
|
-
Use this checklist to enforce mandatory frontend parity aligned with benchmark-driven standards from `MiniMax-AI/skills` `frontend-dev` profile.
|
|
4
|
-
|
|
5
|
-
## Architecture and Composition
|
|
6
|
-
- [ ] Frontend structure follows feature-driven organization.
|
|
7
|
-
- [ ] Smart and dumb component separation is explicit and documented.
|
|
8
|
-
- [ ] Server state and client state boundaries are documented and enforced.
|
|
9
|
-
|
|
10
|
-
## Interaction and Motion
|
|
11
|
-
- [ ] Primary user journey includes intentional animation without motion overload.
|
|
12
|
-
- [ ] Reduced-motion fallback behavior is implemented and documented.
|
|
13
|
-
- [ ] Transition timing and easing are consistent across key screens.
|
|
14
|
-
|
|
15
|
-
## Accessibility and Responsiveness
|
|
16
|
-
- [ ] Keyboard navigation works on all critical flows.
|
|
17
|
-
- [ ] Contrast, typography scale, and focus visibility pass baseline checks.
|
|
18
|
-
- [ ] Layout behavior is validated across mobile and desktop breakpoints.
|
|
19
|
-
|
|
20
|
-
## UX Narrative and Conversion Clarity
|
|
21
|
-
- [ ] Page hierarchy communicates value proposition within first viewport.
|
|
22
|
-
- [ ] Primary calls to action are explicit and consistently placed.
|
|
23
|
-
- [ ] Error and empty states contain actionable guidance.
|
|
24
|
-
|
|
25
|
-
## Release Evidence
|
|
26
|
-
- [ ] Frontend parity checklist artifact is attached to release evidence.
|
|
27
|
-
- [ ] Frontend usability audit report is attached to release evidence.
|
|
28
|
-
- [ ] Any parity waiver includes owner, expiry, and risk statement.
|
|
1
|
+
# Frontend Skill Parity Checklist
|
|
2
|
+
|
|
3
|
+
Use this checklist to enforce mandatory frontend parity aligned with benchmark-driven standards from `MiniMax-AI/skills` `frontend-dev` profile.
|
|
4
|
+
|
|
5
|
+
## Architecture and Composition
|
|
6
|
+
- [ ] Frontend structure follows feature-driven organization.
|
|
7
|
+
- [ ] Smart and dumb component separation is explicit and documented.
|
|
8
|
+
- [ ] Server state and client state boundaries are documented and enforced.
|
|
9
|
+
|
|
10
|
+
## Interaction and Motion
|
|
11
|
+
- [ ] Primary user journey includes intentional animation without motion overload.
|
|
12
|
+
- [ ] Reduced-motion fallback behavior is implemented and documented.
|
|
13
|
+
- [ ] Transition timing and easing are consistent across key screens.
|
|
14
|
+
|
|
15
|
+
## Accessibility and Responsiveness
|
|
16
|
+
- [ ] Keyboard navigation works on all critical flows.
|
|
17
|
+
- [ ] Contrast, typography scale, and focus visibility pass baseline checks.
|
|
18
|
+
- [ ] Layout behavior is validated across mobile and desktop breakpoints.
|
|
19
|
+
|
|
20
|
+
## UX Narrative and Conversion Clarity
|
|
21
|
+
- [ ] Page hierarchy communicates value proposition within first viewport.
|
|
22
|
+
- [ ] Primary calls to action are explicit and consistently placed.
|
|
23
|
+
- [ ] Error and empty states contain actionable guidance.
|
|
24
|
+
|
|
25
|
+
## Release Evidence
|
|
26
|
+
- [ ] Frontend parity checklist artifact is attached to release evidence.
|
|
27
|
+
- [ ] Frontend usability audit report is attached to release evidence.
|
|
28
|
+
- [ ] Any parity waiver includes owner, expiry, and risk statement.
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
# Frontend Usability Checklist — V1.7 Gate
|
|
2
|
-
|
|
3
|
-
Run this checklist before claiming frontend work is production-ready.
|
|
4
|
-
|
|
5
|
-
## 1. Visual System
|
|
6
|
-
- [ ] Typography scale is consistent and tokenized.
|
|
7
|
-
- [ ] Color usage follows design tokens and avoids ad-hoc values.
|
|
8
|
-
- [ ] Spacing and layout rhythm is coherent across pages.
|
|
9
|
-
|
|
10
|
-
## 2. Responsiveness
|
|
11
|
-
- [ ] Core pages are usable at mobile, tablet, and desktop breakpoints.
|
|
12
|
-
- [ ] Navigation remains accessible and understandable on small screens.
|
|
13
|
-
- [ ] No content overlap, clipped text, or horizontal scroll regressions.
|
|
14
|
-
|
|
15
|
-
## 3. Accessibility
|
|
16
|
-
- [ ] Keyboard-only navigation covers all critical user paths.
|
|
17
|
-
- [ ] Primary text and actionable controls meet WCAG AA contrast.
|
|
18
|
-
- [ ] Reduced-motion mode is respected for non-essential animations.
|
|
19
|
-
|
|
20
|
-
## 4. Interaction Quality
|
|
21
|
-
- [ ] Motion is meaningful, not decorative noise.
|
|
22
|
-
- [ ] Loading, empty, and error states are explicitly designed.
|
|
23
|
-
- [ ] CTA hierarchy is clear and supports user intent.
|
|
24
|
-
|
|
25
|
-
## 5. Performance and Stability
|
|
26
|
-
- [ ] Lighthouse mobile performance target is met on core pages.
|
|
27
|
-
- [ ] No severe layout shift during load and transition.
|
|
28
|
-
- [ ] Visual regression checks cover protected pages.
|
|
29
|
-
|
|
30
|
-
## 6. Documentation and Release Evidence
|
|
31
|
-
- [ ] Frontend architecture decision is documented.
|
|
32
|
-
- [ ] Visual baseline update process is documented.
|
|
33
|
-
- [ ] Release note includes usability and responsiveness evidence.
|
|
1
|
+
# Frontend Usability Checklist — V1.7 Gate
|
|
2
|
+
|
|
3
|
+
Run this checklist before claiming frontend work is production-ready.
|
|
4
|
+
|
|
5
|
+
## 1. Visual System
|
|
6
|
+
- [ ] Typography scale is consistent and tokenized.
|
|
7
|
+
- [ ] Color usage follows design tokens and avoids ad-hoc values.
|
|
8
|
+
- [ ] Spacing and layout rhythm is coherent across pages.
|
|
9
|
+
|
|
10
|
+
## 2. Responsiveness
|
|
11
|
+
- [ ] Core pages are usable at mobile, tablet, and desktop breakpoints.
|
|
12
|
+
- [ ] Navigation remains accessible and understandable on small screens.
|
|
13
|
+
- [ ] No content overlap, clipped text, or horizontal scroll regressions.
|
|
14
|
+
|
|
15
|
+
## 3. Accessibility
|
|
16
|
+
- [ ] Keyboard-only navigation covers all critical user paths.
|
|
17
|
+
- [ ] Primary text and actionable controls meet WCAG AA contrast.
|
|
18
|
+
- [ ] Reduced-motion mode is respected for non-essential animations.
|
|
19
|
+
|
|
20
|
+
## 4. Interaction Quality
|
|
21
|
+
- [ ] Motion is meaningful, not decorative noise.
|
|
22
|
+
- [ ] Loading, empty, and error states are explicitly designed.
|
|
23
|
+
- [ ] CTA hierarchy is clear and supports user intent.
|
|
24
|
+
|
|
25
|
+
## 5. Performance and Stability
|
|
26
|
+
- [ ] Lighthouse mobile performance target is met on core pages.
|
|
27
|
+
- [ ] No severe layout shift during load and transition.
|
|
28
|
+
- [ ] Visual regression checks cover protected pages.
|
|
29
|
+
|
|
30
|
+
## 6. Documentation and Release Evidence
|
|
31
|
+
- [ ] Frontend architecture decision is documented.
|
|
32
|
+
- [ ] Visual baseline update process is documented.
|
|
33
|
+
- [ ] Release note includes usability and responsiveness evidence.
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
# Release Operations Checklist (V1.8)
|
|
2
|
-
|
|
3
|
-
Use this checklist before promoting any release tag or package publish operation.
|
|
4
|
-
|
|
5
|
-
## 1) Versioning and Changelog Integrity
|
|
6
|
-
- `package.json` version is valid semantic version (`x.y.z`).
|
|
7
|
-
- `CHANGELOG.md` has a matching release header for the package version.
|
|
8
|
-
- `docs/roadmap.md` reflects release status and scope for the current milestone.
|
|
9
|
-
|
|
10
|
-
## 2) Quality Gates and Test Evidence
|
|
11
|
-
- `npm run validate` passes with zero failures.
|
|
12
|
-
- `npm run test` passes on the full suite.
|
|
13
|
-
- Frontend governance gate (`npm run audit:frontend-usability`) passes.
|
|
14
|
-
- Release governance gate (`npm run gate:release`) passes.
|
|
15
|
-
|
|
16
|
-
## 3) Supply Chain and Compliance Evidence
|
|
17
|
-
- SBOM is generated with `npm run sbom:generate`.
|
|
18
|
-
- CI uploads SBOM artifact for retention and audit traceability.
|
|
19
|
-
- CI uploads release-gate report artifact for each run.
|
|
20
|
-
|
|
21
|
-
## 4) Security and Override Governance
|
|
22
|
-
- `.agent-override.md` entries have valid `Owner` and `Expiry` metadata.
|
|
23
|
-
- No expired overrides remain active.
|
|
24
|
-
- Any temporary exception has explicit rollback owner and date.
|
|
25
|
-
|
|
26
|
-
## 5) Publish Readiness
|
|
27
|
-
- Release notes summarize scope, risks, and rollback steps.
|
|
28
|
-
- Required GitHub workflows are green on target commit.
|
|
29
|
-
- Tag and publish command are executed only after all checks pass.
|
|
1
|
+
# Release Operations Checklist (V1.8)
|
|
2
|
+
|
|
3
|
+
Use this checklist before promoting any release tag or package publish operation.
|
|
4
|
+
|
|
5
|
+
## 1) Versioning and Changelog Integrity
|
|
6
|
+
- `package.json` version is valid semantic version (`x.y.z`).
|
|
7
|
+
- `CHANGELOG.md` has a matching release header for the package version.
|
|
8
|
+
- `docs/roadmap.md` reflects release status and scope for the current milestone.
|
|
9
|
+
|
|
10
|
+
## 2) Quality Gates and Test Evidence
|
|
11
|
+
- `npm run validate` passes with zero failures.
|
|
12
|
+
- `npm run test` passes on the full suite.
|
|
13
|
+
- Frontend governance gate (`npm run audit:frontend-usability`) passes.
|
|
14
|
+
- Release governance gate (`npm run gate:release`) passes.
|
|
15
|
+
|
|
16
|
+
## 3) Supply Chain and Compliance Evidence
|
|
17
|
+
- SBOM is generated with `npm run sbom:generate`.
|
|
18
|
+
- CI uploads SBOM artifact for retention and audit traceability.
|
|
19
|
+
- CI uploads release-gate report artifact for each run.
|
|
20
|
+
|
|
21
|
+
## 4) Security and Override Governance
|
|
22
|
+
- `.agent-override.md` entries have valid `Owner` and `Expiry` metadata.
|
|
23
|
+
- No expired overrides remain active.
|
|
24
|
+
- Any temporary exception has explicit rollback owner and date.
|
|
25
|
+
|
|
26
|
+
## 5) Publish Readiness
|
|
27
|
+
- Release notes summarize scope, risks, and rollback steps.
|
|
28
|
+
- Required GitHub workflows are green on target commit.
|
|
29
|
+
- Tag and publish command are executed only after all checks pass.
|
|
@@ -177,6 +177,96 @@ Permissions-Policy: camera=(), microphone=(), geolocation=()
|
|
|
177
177
|
|
|
178
178
|
---
|
|
179
179
|
|
|
180
|
+
## .gitignore Enforcement (Mandatory)
|
|
181
|
+
|
|
182
|
+
**If the user's INTENT is to create a new project, push to GitHub, or initialize source control, you MUST generate or verify a `.gitignore` file exists.**
|
|
183
|
+
|
|
184
|
+
### Minimum Required Entries
|
|
185
|
+
```gitignore
|
|
186
|
+
# ── Secrets & Environment ──
|
|
187
|
+
.env
|
|
188
|
+
.env.local
|
|
189
|
+
.env.*.local
|
|
190
|
+
.env.production
|
|
191
|
+
.env.staging
|
|
192
|
+
|
|
193
|
+
# ── Dependencies ──
|
|
194
|
+
node_modules/
|
|
195
|
+
vendor/
|
|
196
|
+
venv/
|
|
197
|
+
.venv/
|
|
198
|
+
__pycache__/
|
|
199
|
+
.gradle/
|
|
200
|
+
target/
|
|
201
|
+
bin/ # Go binaries
|
|
202
|
+
pkg/
|
|
203
|
+
|
|
204
|
+
# ── Build Output ──
|
|
205
|
+
dist/
|
|
206
|
+
build/
|
|
207
|
+
out/
|
|
208
|
+
*.min.js
|
|
209
|
+
*.min.css
|
|
210
|
+
.next/
|
|
211
|
+
.nuxt/
|
|
212
|
+
.output/
|
|
213
|
+
|
|
214
|
+
# ── IDE & Editor ──
|
|
215
|
+
.idea/
|
|
216
|
+
.vscode/settings.json
|
|
217
|
+
.vscode/launch.json
|
|
218
|
+
*.swp
|
|
219
|
+
*.swo
|
|
220
|
+
*~
|
|
221
|
+
|
|
222
|
+
# ── OS Artifacts ──
|
|
223
|
+
.DS_Store
|
|
224
|
+
Thumbs.db
|
|
225
|
+
Desktop.ini
|
|
226
|
+
*.lnk
|
|
227
|
+
|
|
228
|
+
# ── Logs ──
|
|
229
|
+
*.log
|
|
230
|
+
npm-debug.log*
|
|
231
|
+
yarn-debug.log*
|
|
232
|
+
pnpm-debug.log*
|
|
233
|
+
|
|
234
|
+
# ── Testing & Coverage ──
|
|
235
|
+
coverage/
|
|
236
|
+
.nyc_output/
|
|
237
|
+
*.lcov
|
|
238
|
+
|
|
239
|
+
# ── Runtime Data ──
|
|
240
|
+
*.pid
|
|
241
|
+
*.seed
|
|
242
|
+
*.pid.lock
|
|
243
|
+
|
|
244
|
+
# ── Secrets & Keys ──
|
|
245
|
+
*.pem
|
|
246
|
+
*.key
|
|
247
|
+
*.p12
|
|
248
|
+
*.jks
|
|
249
|
+
*.keystore
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
### Rules
|
|
253
|
+
1. **NEVER commit `.env`** — only `.env.example` with placeholder values
|
|
254
|
+
2. **Check for leaks before push** — `git diff --cached --name-only | grep -E '\.(env|pem|key)$'` should return empty
|
|
255
|
+
3. **If the project has NO `.gitignore`**, create one immediately before any `git add`
|
|
256
|
+
4. **Extend per-stack** — add language-specific patterns (e.g., `__pycache__/` for Python, `target/` for Java/Rust, `.gradle/` for Kotlin)
|
|
257
|
+
5. **Reference**: See `.agent-context/rules/git-workflow.md` for the full `.gitignore Standards` section
|
|
258
|
+
|
|
259
|
+
### MUST Commit (Whitelist)
|
|
260
|
+
```
|
|
261
|
+
.env.example # Template with placeholder values ONLY
|
|
262
|
+
.editorconfig # Consistent formatting across IDEs
|
|
263
|
+
.gitignore # This file itself
|
|
264
|
+
docker-compose.yml # Dev environment definition
|
|
265
|
+
Makefile / Taskfile # Standard dev commands
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
180
270
|
## The Security Checklist (Quick Reference)
|
|
181
271
|
|
|
182
272
|
Before any code is "done", verify:
|
|
@@ -184,6 +274,7 @@ Before any code is "done", verify:
|
|
|
184
274
|
- [ ] All inputs validated at boundaries with schemas
|
|
185
275
|
- [ ] No string concatenation in queries/commands
|
|
186
276
|
- [ ] No secrets in source code
|
|
277
|
+
- [ ] `.gitignore` exists and covers `.env`, `node_modules/`, build output, and IDE files
|
|
187
278
|
- [ ] Authentication uses established libraries
|
|
188
279
|
- [ ] Password hashing uses argon2id (or bcrypt for legacy)
|
|
189
280
|
- [ ] Authorization enforced server-side
|
|
@@ -193,3 +284,4 @@ Before any code is "done", verify:
|
|
|
193
284
|
- [ ] Error responses don't leak internal details
|
|
194
285
|
- [ ] Logging includes security events (login failures, permission denials)
|
|
195
286
|
- [ ] Dependencies audited for known vulnerabilities
|
|
287
|
+
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
# Skill Platform
|
|
2
|
-
|
|
3
|
-
The skill platform is the internal skill system for Agentic-Senior-Core.
|
|
4
|
-
|
|
5
|
-
## Design Goals
|
|
6
|
-
- Unify skill content from benchmark repositories into one governed platform.
|
|
7
|
-
- Make `advance` the default operating tier.
|
|
8
|
-
- Keep `standard` only as a compatibility fallback.
|
|
9
|
-
- Require evidence, validation, and release gates for every skill pack.
|
|
10
|
-
|
|
11
|
-
## Tier Model
|
|
12
|
-
|
|
13
|
-
### standard
|
|
14
|
-
- Compatibility mode only.
|
|
15
|
-
- Minimal guidance.
|
|
16
|
-
- No default status for new work.
|
|
17
|
-
|
|
18
|
-
### advance
|
|
19
|
-
- Default operating tier.
|
|
20
|
-
- Efficient, opinionated, and production-aware.
|
|
21
|
-
- Used for normal feature delivery.
|
|
22
|
-
|
|
23
|
-
### expert
|
|
24
|
-
- For complex architecture, integration, and critical refactors.
|
|
25
|
-
- Requires stronger evidence and review depth.
|
|
26
|
-
|
|
27
|
-
### above
|
|
28
|
-
- For release-critical, cross-domain, or enterprise governance work.
|
|
29
|
-
- Requires full evidence bundle and explicit owner signoff.
|
|
30
|
-
|
|
31
|
-
## Domain Packs
|
|
32
|
-
- [Frontend](frontend/README.md)
|
|
33
|
-
- [Backend](backend/README.md)
|
|
34
|
-
- [Fullstack](fullstack/README.md)
|
|
35
|
-
- [CLI](cli/README.md)
|
|
36
|
-
- [Distribution](distribution/README.md)
|
|
37
|
-
- [Review Quality](review-quality/README.md)
|
|
38
|
-
|
|
39
|
-
## Folder Structure
|
|
40
|
-
```text
|
|
41
|
-
.agent-context/skills/
|
|
42
|
-
├── README.md
|
|
43
|
-
├── index.json
|
|
44
|
-
├── frontend/
|
|
45
|
-
├── backend/
|
|
46
|
-
├── fullstack/
|
|
47
|
-
├── cli/
|
|
48
|
-
├── distribution/
|
|
49
|
-
└── review-quality/
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
Each domain folder has its own README plus topic-level docs so the platform can scale like a curated skills library.
|
|
53
|
-
|
|
54
|
-
## Benchmark Sources
|
|
55
|
-
- sickn33/antigravity-awesome-skills
|
|
56
|
-
- github/awesome-copilot
|
|
57
|
-
- MiniMax-AI/skills
|
|
58
|
-
|
|
59
|
-
## Platform Rules
|
|
60
|
-
- Every skill pack must define purpose, inputs, outputs, validation, evidence, and fallback.
|
|
61
|
-
- Every skill pack must state the default tier it targets.
|
|
62
|
-
- Every release must include a skill parity check for the configured tiers.
|
|
1
|
+
# Skill Platform
|
|
2
|
+
|
|
3
|
+
The skill platform is the internal skill system for Agentic-Senior-Core.
|
|
4
|
+
|
|
5
|
+
## Design Goals
|
|
6
|
+
- Unify skill content from benchmark repositories into one governed platform.
|
|
7
|
+
- Make `advance` the default operating tier.
|
|
8
|
+
- Keep `standard` only as a compatibility fallback.
|
|
9
|
+
- Require evidence, validation, and release gates for every skill pack.
|
|
10
|
+
|
|
11
|
+
## Tier Model
|
|
12
|
+
|
|
13
|
+
### standard
|
|
14
|
+
- Compatibility mode only.
|
|
15
|
+
- Minimal guidance.
|
|
16
|
+
- No default status for new work.
|
|
17
|
+
|
|
18
|
+
### advance
|
|
19
|
+
- Default operating tier.
|
|
20
|
+
- Efficient, opinionated, and production-aware.
|
|
21
|
+
- Used for normal feature delivery.
|
|
22
|
+
|
|
23
|
+
### expert
|
|
24
|
+
- For complex architecture, integration, and critical refactors.
|
|
25
|
+
- Requires stronger evidence and review depth.
|
|
26
|
+
|
|
27
|
+
### above
|
|
28
|
+
- For release-critical, cross-domain, or enterprise governance work.
|
|
29
|
+
- Requires full evidence bundle and explicit owner signoff.
|
|
30
|
+
|
|
31
|
+
## Domain Packs
|
|
32
|
+
- [Frontend](frontend/README.md)
|
|
33
|
+
- [Backend](backend/README.md)
|
|
34
|
+
- [Fullstack](fullstack/README.md)
|
|
35
|
+
- [CLI](cli/README.md)
|
|
36
|
+
- [Distribution](distribution/README.md)
|
|
37
|
+
- [Review Quality](review-quality/README.md)
|
|
38
|
+
|
|
39
|
+
## Folder Structure
|
|
40
|
+
```text
|
|
41
|
+
.agent-context/skills/
|
|
42
|
+
├── README.md
|
|
43
|
+
├── index.json
|
|
44
|
+
├── frontend/
|
|
45
|
+
├── backend/
|
|
46
|
+
├── fullstack/
|
|
47
|
+
├── cli/
|
|
48
|
+
├── distribution/
|
|
49
|
+
└── review-quality/
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Each domain folder has its own README plus topic-level docs so the platform can scale like a curated skills library.
|
|
53
|
+
|
|
54
|
+
## Benchmark Sources
|
|
55
|
+
- sickn33/antigravity-awesome-skills
|
|
56
|
+
- github/awesome-copilot
|
|
57
|
+
- MiniMax-AI/skills
|
|
58
|
+
|
|
59
|
+
## Platform Rules
|
|
60
|
+
- Every skill pack must define purpose, inputs, outputs, validation, evidence, and fallback.
|
|
61
|
+
- Every skill pack must state the default tier it targets.
|
|
62
|
+
- Every release must include a skill parity check for the configured tiers.
|
|
63
63
|
- Every deviation from the default tier must be justified in the evidence bundle.
|