@ryuenn3123/agentic-senior-core 2.5.9 → 2.5.10
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/review-checklists/frontend-excellence-rubric.md +9 -0
- package/.agent-context/rules/frontend-architecture.md +14 -0
- package/.agent-context/state/memory-continuity-benchmark.json +1 -1
- package/.cursorrules +1 -1
- package/.windsurfrules +1 -1
- package/package.json +1 -1
- package/scripts/frontend-usability-audit.mjs +17 -0
- package/scripts/release-gate.mjs +3 -0
|
@@ -43,6 +43,15 @@ Release recommendation:
|
|
|
43
43
|
- [ ] Error, empty, and loading states provide clear next actions.
|
|
44
44
|
- [ ] User journey avoids dead ends and hidden critical actions.
|
|
45
45
|
|
|
46
|
+
## 7. Template Diversity and Originality
|
|
47
|
+
- [ ] Output is not a copy of a generic starter template or repeated AI layout pattern.
|
|
48
|
+
- [ ] Layout composition shows intentional variation in structure and hierarchy.
|
|
49
|
+
- [ ] Visual intent, interaction quality, and conversion clarity are all explicitly reviewed together.
|
|
50
|
+
|
|
51
|
+
## Low-Diversity Template Output Policy
|
|
52
|
+
- If output is judged as low-diversity template output, release is blocked until layout direction is revised.
|
|
53
|
+
- Reviewer must record the failing dimensions and expected redesign direction before re-run.
|
|
54
|
+
|
|
46
55
|
## Benchmark Expectation
|
|
47
56
|
- Treat MiniMax frontend references as baseline, not target ceiling.
|
|
48
57
|
- Target visual and interaction quality aligned with top award-grade manual design workflows (Awwwards-level reference quality).
|
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
> A complex UI is built from simple, mathematically robust functions. State is dangerous; isolate it.
|
|
4
4
|
|
|
5
|
+
## 0. Frontend Designer Mode (Auto Activation)
|
|
6
|
+
When the user request is UI-facing, frontend design governance activates automatically. No manual mode toggle is required.
|
|
7
|
+
|
|
8
|
+
UI scope trigger signals (any one is enough):
|
|
9
|
+
- keywords such as: ui, ux, page, screen, component, layout, landing, dashboard, form, onboarding, animation, interaction
|
|
10
|
+
- explicit requests to improve visual quality, conversion clarity, or interaction behavior
|
|
11
|
+
- feature requests that include frontend deliverables even when backend changes are also included
|
|
12
|
+
|
|
13
|
+
Mandatory behavior when triggered:
|
|
14
|
+
- apply frontend excellence rubric checks from `.agent-context/review-checklists/frontend-excellence-rubric.md`
|
|
15
|
+
- apply usability checks from `.agent-context/review-checklists/frontend-usability.md`
|
|
16
|
+
- score and review generated UI work against visual intent, interaction quality, and conversion clarity
|
|
17
|
+
- reject template-only repetitive outputs and force a distinct layout direction
|
|
18
|
+
|
|
5
19
|
## 1. File Structure (Feature-Driven Design)
|
|
6
20
|
Organize your application by feature domain, not by file type.
|
|
7
21
|
- **BANNED:** Monolithic directories like `/components` (with 500 files), `/hooks`, `/api`.
|
package/.cursorrules
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AGENTIC-SENIOR-CORE DYNAMIC GOVERNANCE RULESET
|
|
2
2
|
|
|
3
|
-
Generated by Agentic-Senior-Core CLI v2.5.
|
|
3
|
+
Generated by Agentic-Senior-Core CLI v2.5.10
|
|
4
4
|
Timestamp: 2026-04-15T00:14:51.184Z
|
|
5
5
|
Selected profile: beginner
|
|
6
6
|
Selected policy file: .agent-context/policies/llm-judge-threshold.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.5.
|
|
3
|
+
Generated by Agentic-Senior-Core CLI v2.5.10
|
|
4
4
|
Timestamp: 2026-04-15T00:14:51.184Z
|
|
5
5
|
Selected profile: beginner
|
|
6
6
|
Selected policy file: .agent-context/policies/llm-judge-threshold.json
|
package/package.json
CHANGED
|
@@ -20,6 +20,7 @@ const REQUIRED_FILES = [
|
|
|
20
20
|
'docs/roadmap.md',
|
|
21
21
|
'docs/v1.7-issue-breakdown.md',
|
|
22
22
|
'docs/v1.7-execution-playbook.md',
|
|
23
|
+
'.agent-context/rules/frontend-architecture.md',
|
|
23
24
|
'.agent-context/review-checklists/frontend-usability.md',
|
|
24
25
|
'.agent-context/review-checklists/frontend-excellence-rubric.md',
|
|
25
26
|
];
|
|
@@ -43,9 +44,19 @@ const REQUIRED_EXCELLENCE_RUBRIC_SNIPPETS = [
|
|
|
43
44
|
'Typography Quality',
|
|
44
45
|
'Color System Diversity and Contrast',
|
|
45
46
|
'Interaction Choreography',
|
|
47
|
+
'UX Narrative and Conversion Clarity',
|
|
48
|
+
'Template Diversity and Originality',
|
|
49
|
+
'Low-Diversity Template Output Policy',
|
|
46
50
|
'Awwwards-level reference quality',
|
|
47
51
|
];
|
|
48
52
|
|
|
53
|
+
const REQUIRED_FRONTEND_RULE_SNIPPETS = [
|
|
54
|
+
'Frontend Designer Mode (Auto Activation)',
|
|
55
|
+
'UI scope trigger signals',
|
|
56
|
+
'visual intent, interaction quality, and conversion clarity',
|
|
57
|
+
'template-only repetitive outputs',
|
|
58
|
+
];
|
|
59
|
+
|
|
49
60
|
function assertFileExists(relativeFilePath, failures) {
|
|
50
61
|
const absoluteFilePath = resolve(REPOSITORY_ROOT, relativeFilePath);
|
|
51
62
|
if (!existsSync(absoluteFilePath)) {
|
|
@@ -69,6 +80,7 @@ function runAudit() {
|
|
|
69
80
|
}
|
|
70
81
|
|
|
71
82
|
const roadmapPath = 'docs/roadmap.md';
|
|
83
|
+
const frontendRulePath = '.agent-context/rules/frontend-architecture.md';
|
|
72
84
|
const checklistPath = '.agent-context/review-checklists/frontend-usability.md';
|
|
73
85
|
const excellenceRubricPath = '.agent-context/review-checklists/frontend-excellence-rubric.md';
|
|
74
86
|
|
|
@@ -82,6 +94,11 @@ function runAudit() {
|
|
|
82
94
|
assertContains('Checklist', checklistPath, checklistContent, REQUIRED_CHECKLIST_SNIPPETS, failures);
|
|
83
95
|
}
|
|
84
96
|
|
|
97
|
+
if (existsSync(resolve(REPOSITORY_ROOT, frontendRulePath))) {
|
|
98
|
+
const frontendRuleContent = readFileSync(resolve(REPOSITORY_ROOT, frontendRulePath), 'utf8');
|
|
99
|
+
assertContains('Frontend rule', frontendRulePath, frontendRuleContent, REQUIRED_FRONTEND_RULE_SNIPPETS, failures);
|
|
100
|
+
}
|
|
101
|
+
|
|
85
102
|
if (existsSync(resolve(REPOSITORY_ROOT, excellenceRubricPath))) {
|
|
86
103
|
const excellenceRubricContent = readFileSync(resolve(REPOSITORY_ROOT, excellenceRubricPath), 'utf8');
|
|
87
104
|
assertContains(
|
package/scripts/release-gate.mjs
CHANGED
|
@@ -42,6 +42,9 @@ const REQUIRED_FRONTEND_EXCELLENCE_RUBRIC_SNIPPETS = [
|
|
|
42
42
|
'Typography Quality',
|
|
43
43
|
'Color System Diversity and Contrast',
|
|
44
44
|
'Interaction Choreography',
|
|
45
|
+
'UX Narrative and Conversion Clarity',
|
|
46
|
+
'Template Diversity and Originality',
|
|
47
|
+
'Low-Diversity Template Output Policy',
|
|
45
48
|
'Awwwards-level reference quality',
|
|
46
49
|
];
|
|
47
50
|
const BENCHMARK_GATE_SCRIPT_PATH = 'scripts/benchmark-gate.mjs';
|