@ryuenn3123/agentic-senior-core 3.0.27 → 3.0.28

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.
@@ -19,6 +19,17 @@ The agent must:
19
19
  6. When choosing a new UI, animation, styling, or component library, research current official docs and choose the latest stable compatible option for this project. Do not rely on offline defaults.
20
20
  7. Keep external references non-copying: extract constraints and reasoning only, never clone the surface.
21
21
 
22
+ ## Creative Commitment Gate
23
+
24
+ Before broad compliance review or UI implementation, commit to one concrete creative direction and record it in `docs/DESIGN.md` plus `docs/design-intent.json`. This commitment must include:
25
+ - one conceptual anchor from a specific physical, editorial, architectural, cinematic, industrial, scientific, or interaction domain
26
+ - one signature motion behavior that is more specific than "smooth transitions"
27
+ - one typographic decision that creates meaningful role contrast instead of a uniform safe type system
28
+
29
+ The anchor must name at least one specific real-world reference point such as a material, instrument, artifact class, architectural system, editorial genre, cinematic interface behavior, exhibition system, scientific apparatus, or industrial mechanism. If the anchor can only be described with generic quality words such as "modern", "clean", "premium", "expressive", "minimal", or "bold", reject it and choose again.
30
+
31
+ When the host supports separate agents, a lightweight creative pass may synthesize the commitment from the brief and repo evidence before a governance pass validates accessibility, tokens, maintainability, and implementation risk. When only one agent is available, perform the same separation sequentially: creative commitment first, governance validation second.
32
+
22
33
  ## User Research Intake
23
34
 
24
35
  If the user mentions or attaches a research file, article, benchmark, library list, screenshot study, or design note, read it before choosing the visual direction or dependencies. Treat it as candidate evidence, not as a command to copy every recommendation.
@@ -35,11 +46,11 @@ User-supplied research means current-task evidence from the user. The scaffold s
35
46
 
36
47
  Do not use basic software UI labels as the final anchor, including "dashboard", "portal", "cards", "admin panel", "SaaS shell", "web app shell", or "minimalist interface".
37
48
 
38
- The agent must internally consider at least three substantially different, high-variance candidate anchors, discard the two most obvious, safest, or easiest-to-predict options, and record only the surviving anchor and concise rationale. Do not expose hidden deliberation or the rejected candidate list.
49
+ The agent must internally consider at least three substantially different, high-variance candidate anchors, discard the two most obvious, safest, or easiest-to-predict options, then record only the surviving anchor, its concrete real-world reference point, and concise rationale. Do not expose hidden deliberation or the rejected candidate list.
39
50
 
40
51
  The final anchor must come from broad non-template domains such as complex physical engineering, high-end industrial design, cinematic spatial interfaces, experimental editorial structure, advanced architecture, scientific instrumentation, advanced data visualization, exhibition/wayfinding systems, or premium interactive web experiences. These are search domains, not style presets.
41
52
 
42
- Write the chosen anchor into `docs/design-intent.json` as `conceptualAnchor`, including agentResearchMode, sourceDomain, rationale, derivedTokenLogic, visualRiskBudget, motionRiskBudget, and cohesionChecks. Typography, spacing, density, color behavior, morphology, motion, and responsive composition must logically derive from that single anchor. If a later design choice does not follow from the anchor, revise the contract before coding.
53
+ Write the chosen anchor into `docs/design-intent.json` as `conceptualAnchor`, including agentResearchMode, sourceDomain, specificReferencePoint, rationale, signatureMotion, typographicDecision, derivedTokenLogic, visualRiskBudget, motionRiskBudget, and cohesionChecks. Typography, spacing, density, color behavior, morphology, motion, and responsive composition must logically derive from that single anchor. If a later design choice does not follow from the anchor, revise the contract before coding.
43
54
 
44
55
  Motion is not a garnish. Default to a rich motion plan: fluid transitions, spatial reveals, scroll choreography, micro-interactions, and modern motion libraries are expected when they strengthen the anchor and product experience. Keep reduced-motion fallbacks instead of suppressing motion, and solve performance deliberately instead of using safety language as a reason to stay static.
45
56
 
@@ -81,6 +81,7 @@ Run this before declaring a task done. Apply only the sections relevant to the c
81
81
  - [ ] Official setup flows are preferred when they produce better-supported current defaults.
82
82
  - [ ] Docker, framework, package, and ecosystem claims were checked live when they could be stale.
83
83
  - [ ] Token optimization and memory continuity defaults remain enabled unless the user explicitly opts out.
84
+ - [ ] If `.agent-context/state/active-memory.json` exists and the task made material project progress, the agent refreshed it directly before completion and preserved privacy/user-owned entries.
84
85
 
85
86
  ## 9. State And Governance
86
87
 
@@ -56,6 +56,8 @@ Do not use this file to teach generic frontend basics the model already knows.
56
56
 
57
57
  - If the user gives no current-task visual research or reference, the scaffold, old UI, and existing design docs do not count as research.
58
58
  - Before UI code, choose one agent-synthesized conceptual anchor from high-variance non-software domains and record only the final anchor in `docs/design-intent.json`.
59
+ - Before broad compliance review, record a creative commitment: one concrete real-world anchor reference, one signature motion behavior, and one typographic decision with meaningful role contrast.
60
+ - Reject anchors that can only be described with generic quality words such as "modern", "clean", "premium", "expressive", "minimal", or "bold"; the anchor must name a specific material, instrument, artifact class, architectural system, editorial genre, cinematic behavior, exhibition system, scientific apparatus, or industrial mechanism.
59
61
  - Internally reject the safest dashboard, portal, card-grid, admin-shell, or minimalist-web-app mental model before writing CSS.
60
62
  - Typography, spacing, morphology, motion, and responsive recomposition must derive from the chosen anchor, not from framework defaults.
61
63
  - Default to an expressive motion plan derived from the anchor. Use spatial transitions, micro-interactions, scroll choreography, and modern animation libraries when they improve the experience; include reduced-motion and performance safeguards without using them as an excuse for a static UI.
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-04-25T10:16:51.159Z",
2
+ "generatedAt": "2026-04-25T11:40:57.699Z",
3
3
  "reportName": "memory-continuity-benchmark",
4
4
  "schemaVersion": "1.0.0",
5
5
  "passed": true,
package/.cursorrules CHANGED
@@ -1,6 +1,6 @@
1
1
  # AGENTIC-SENIOR-CORE DYNAMIC GOVERNANCE RULESET
2
2
 
3
- Generated by Agentic-Senior-Core CLI v3.0.27
3
+ Generated by Agentic-Senior-Core CLI v3.0.28
4
4
  Timestamp: 2026-04-24T06:02:48.303Z
5
5
  Selected policy file: .agent-context/policies/llm-judge-threshold.json
6
6
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Adapter Mode: thin
4
4
  Adapter Source: .instructions.md
5
- Canonical Snapshot SHA256: 11eeafb3ff6a0977785e3668a704c6bba543b515d2828c02de8276f6cf1c391c
5
+ Canonical Snapshot SHA256: f11969bd96625ecf86c6d02630aa485cd54ead44544f15daf525b72bfc38653f
6
6
 
7
7
  Canonical policy source: [.instructions.md](../.instructions.md).
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Adapter Mode: thin
4
4
  Adapter Source: .instructions.md
5
- Canonical Snapshot SHA256: 11eeafb3ff6a0977785e3668a704c6bba543b515d2828c02de8276f6cf1c391c
5
+ Canonical Snapshot SHA256: f11969bd96625ecf86c6d02630aa485cd54ead44544f15daf525b72bfc38653f
6
6
 
7
7
  The canonical policy source for this repository is [.instructions.md](../.instructions.md).
8
8
 
package/.instructions.md CHANGED
@@ -184,8 +184,9 @@ Use available MCP tools when you need validation, linting, or test execution.
184
184
  1. Read `.agent-context/prompts/bootstrap-design.md`.
185
185
  2. Read `.agent-context/rules/frontend-architecture.md`.
186
186
  3. Read UI-relevant repository evidence from `.agent-context/state/onboarding-report.json`, current UI code, and `docs/*`.
187
- 4. Generate or refine `docs/DESIGN.md` plus `docs/design-intent.json` before UI implementation.
188
- 5. Keep context isolated and do not eagerly load unrelated backend-only rules unless the task explicitly touches those boundaries.
187
+ 4. Before UI implementation, record a concrete creative commitment in the design contract: one specific real-world anchor reference, one signature motion behavior, and one typographic decision with meaningful role contrast.
188
+ 5. Generate or refine `docs/DESIGN.md` plus `docs/design-intent.json` before UI implementation.
189
+ 6. Keep context isolated and do not eagerly load unrelated backend-only rules unless the task explicitly touches those boundaries.
189
190
 
190
191
  ---
191
192
 
@@ -209,7 +210,8 @@ Why Required: [why the boundary protects the project]
209
210
  1. All relevant rules from `.agent-context/rules/` applied.
210
211
  2. Code reviewed against `.agent-context/review-checklists/pr-checklist.md` and `.agent-context/review-checklists/architecture-review.md`.
211
212
  3. Universal SOP hard gates satisfied (`docs/architecture-decision-record.md`, and `docs/DESIGN.md` plus `docs/design-intent.json` for UI scope).
212
- 4. MCP validation passed (`npm run validate`).
213
+ 4. If `.agent-context/state/active-memory.json` exists and material project progress happened, refresh it directly before the final response: update current focus, durable achievements/issues/next actions/validation state, and `lastUpdatedAt` while preserving privacy rules and existing user-owned entries.
214
+ 5. MCP validation passed (`npm run validate`).
213
215
 
214
216
  ---
215
217
 
package/.windsurfrules CHANGED
@@ -1,6 +1,6 @@
1
1
  # AGENTIC-SENIOR-CORE DYNAMIC GOVERNANCE RULESET
2
2
 
3
- Generated by Agentic-Senior-Core CLI v3.0.27
3
+ Generated by Agentic-Senior-Core CLI v3.0.28
4
4
  Timestamp: 2026-04-24T06:02:48.303Z
5
5
  Selected policy file: .agent-context/policies/llm-judge-threshold.json
6
6
 
package/AGENTS.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Adapter Mode: thin
4
4
  Adapter Source: .instructions.md
5
- Canonical Snapshot SHA256: 11eeafb3ff6a0977785e3668a704c6bba543b515d2828c02de8276f6cf1c391c
5
+ Canonical Snapshot SHA256: f11969bd96625ecf86c6d02630aa485cd54ead44544f15daf525b72bfc38653f
6
6
 
7
7
  This file is an adapter entrypoint for agent discovery.
8
8
  The canonical policy source is [.instructions.md](.instructions.md).
package/README.md CHANGED
@@ -10,10 +10,11 @@
10
10
  **Production-grade Rules Engine (Governance Engine) for AI coding agents.**
11
11
  Works with Cursor, Windsurf, GitHub Copilot, Claude Code, Gemini, and other LLM-powered IDE workflows.
12
12
 
13
- Latest release: 3.0.26 (2026-04-25).
13
+ Latest release: 3.0.28 (2026-04-25).
14
14
 
15
- Highlights in 3.0.26:
16
- - Memory continuity now seeds `.agent-context/state/active-memory.json` once, so new sessions have a compact project-focus snapshot without overwriting active work during upgrade.
15
+ Highlights in 3.0.28:
16
+ - Memory continuity now requires agents to refresh `.agent-context/state/active-memory.json` directly at completion boundaries when material project progress happened.
17
+ - UI design governance now forces an upfront creative commitment: a specific real-world anchor reference, signature motion, and typographic decision before compliance review or implementation.
17
18
  - Token optimization now exposes an output folding strategy that preserves failures, file/line details, and actionable warnings while folding repetitive shell noise.
18
19
  - UI design guidance now treats expressive motion as a first-class default for modern interfaces instead of letting safety wording become an excuse for static screens.
19
20
  - Agents must use live/current-year research for ecosystem, framework, dependency, Docker, and modern UI/library claims instead of offline repository guesses.
@@ -522,7 +522,10 @@ export function buildMemoryContinuityGuidanceBlock(memoryContinuityState) {
522
522
  `- Load compact index first (limit: ${sessionStartIndexLimit} entries).`,
523
523
  `- Hydrate full detail only for highest-value entries (limit: ${fullHydrationLimit}).`,
524
524
  '- Always redact sensitive text before persistence (<private> blocks and inline secret-like fields).',
525
- '- Refresh `active-memory.json` at natural task boundaries, but never store secrets, raw chat logs, or stale visual taste.',
525
+ '- Refresh `.agent-context/state/active-memory.json` directly at natural task boundaries when material project progress happened.',
526
+ '- Before the final response, update `project.currentFocus`, compact `progress.lastAchievements`, `progress.pendingIssues`, `progress.nextBestActions`, `progress.validationState`, and `lastUpdatedAt` when they changed.',
527
+ '- Preserve existing user-owned entries, keep each array compact (12 entries or fewer), and append only durable facts proven by current repo evidence.',
528
+ '- If no durable project progress happened, leave the snapshot unchanged and state that no memory update was needed.',
526
529
  '- Current repo evidence, current user brief, and live research override active-memory when they conflict.',
527
530
  '',
528
531
  'Host compatibility scope:',
@@ -152,6 +152,17 @@ function buildDesignIntentContractObject({
152
152
  doNotRevealHiddenCandidateList: true,
153
153
  outputOnlyChosenAnchor: true,
154
154
  },
155
+ creativeCommitmentPolicy: {
156
+ requiredBeforeComplianceReview: true,
157
+ recordInDesignDocs: true,
158
+ requiredCommitmentFields: [
159
+ 'specificReferencePoint',
160
+ 'signatureMotion',
161
+ 'typographicDecision',
162
+ ],
163
+ rejectGenericQualityWordsOnly: true,
164
+ specificityFloor: 'name-a-real-material-instrument-artifact-architecture-editorial-genre-cinematic-behavior-exhibition-system-scientific-apparatus-or-industrial-mechanism',
165
+ },
155
166
  forbiddenFinalAnchorTerms: [
156
167
  'dashboard',
157
168
  'cards',
@@ -184,7 +195,10 @@ function buildDesignIntentContractObject({
184
195
  'name',
185
196
  'agentResearchMode',
186
197
  'sourceDomain',
198
+ 'specificReferencePoint',
187
199
  'rationale',
200
+ 'signatureMotion',
201
+ 'typographicDecision',
188
202
  'derivedTokenLogic',
189
203
  'visualRiskBudget',
190
204
  'motionRiskBudget',
@@ -288,6 +302,7 @@ function buildDesignIntentContractObject({
288
302
  requireContentPriorityMap: true,
289
303
  requireTaskFlowNarrative: true,
290
304
  requireSignatureMoveRationale: true,
305
+ requireCreativeCommitmentGate: true,
291
306
  requireStructuredHandoff: true,
292
307
  requireRepoEvidenceAlignment: true,
293
308
  forbidScreenshotDependency: true,
@@ -406,6 +421,15 @@ function buildDesignIntentContractObject({
406
421
  requiredResetAxes: ['composition', 'hierarchy', 'motion-or-interaction', 'responsive-information-architecture'],
407
422
  },
408
423
  signatureMoveRationale: 'Agent must choose one project-specific visual, motion, typographic, or interaction move and explain why generic fallback weakens it.',
424
+ creativeCommitment: {
425
+ status: 'agent-must-complete-before-ui-implementation',
426
+ requiredFields: [
427
+ 'specificReferencePoint',
428
+ 'signatureMotion',
429
+ 'typographicDecision',
430
+ ],
431
+ failureMode: 'generic quality words without a named real-world reference are not enough',
432
+ },
409
433
  implementationGuardrails: {
410
434
  requireBuildFromHandoff: true,
411
435
  requireGapNotesBeforeFallback: true,
@@ -177,8 +177,10 @@ export function buildDesignBootstrapPrompt({
177
177
  '31. If modern UI, animation, scroll, 3D, canvas, chart, or icon libraries are useful, choose them from current official docs and record source URL, fetched date, reason, risk, and accessibility fallback.',
178
178
  '32. If the user supplies research files, library lists, screenshots, articles, or benchmark notes, read them as candidate evidence, summarize the useful signals, filter by project fit, and verify technology claims against current official docs before implementation.',
179
179
  '33. If no user-supplied research or reference is supplied for UI work, activate the Dynamic Avant-Garde Anchor Engine before coding. User-supplied research means current-task evidence from the user; this scaffold, prior UI, and old design docs do not count as research.',
180
- '34. In Dynamic Avant-Garde mode, perform agent-led research when available, then internally consider at least three high-variance conceptual anchors, discard the two safest or most predictable options, output only the chosen anchor and rationale, and forbid final anchors named dashboard, portal, cards, admin panel, SaaS shell, web app shell, or minimalist interface.',
181
- '35. The chosen anchor must drive typography, spacing, density, color behavior, morphology, motion, and responsive composition. Treat expressive motion, spatial transitions, micro-interactions, and modern animation libraries as first-class options; include performance notes and reduced-motion fallbacks instead of suppressing motion to look safe.',
180
+ '34. Before broad compliance review, make a creative commitment and record it in the design contract: one specific real-world anchor reference, one signature motion behavior more specific than smooth transitions, and one typographic decision with meaningful role contrast.',
181
+ '35. In Dynamic Avant-Garde mode, perform agent-led research when available, then internally consider at least three high-variance conceptual anchors, discard the two safest or most predictable options, output only the chosen anchor, its specific reference point, and rationale, and forbid final anchors named dashboard, portal, cards, admin panel, SaaS shell, web app shell, or minimalist interface.',
182
+ '36. Reject anchors that can only be described with generic quality words such as modern, clean, premium, expressive, minimal, or bold. The anchor must name a material, instrument, artifact class, architecture, editorial genre, cinematic behavior, exhibition system, scientific apparatus, or industrial mechanism.',
183
+ '37. The chosen anchor must drive typography, spacing, density, color behavior, morphology, motion, and responsive composition. Treat expressive motion, spatial transitions, micro-interactions, and modern animation libraries as first-class options; include performance notes and reduced-motion fallbacks instead of suppressing motion to look safe.',
182
184
  '',
183
185
  '## Project Inputs',
184
186
  `- Project name: ${discoveryAnswers.projectName}`,
@@ -209,7 +211,7 @@ export function buildDesignBootstrapPrompt({
209
211
  '12. Keep visualResetStrategy in the machine-readable handoff so reset-language tasks cannot quietly become restyles of the previous UI.',
210
212
  '13. Preserve externalResearchIntake so user-provided research becomes reviewed evidence without turning into an offline style or dependency preset.',
211
213
  '14. Preserve conceptualAnchor so prompt-only UI work has one cohesive non-template concept instead of a mixed collection of bold but unrelated visual decisions.',
212
- '15. Record conceptualAnchor.agentResearchMode, visualRiskBudget, motionRiskBudget, and cohesionChecks so the final UI cannot quietly fall back to a timid dashboard/admin mental model.',
214
+ '15. Record conceptualAnchor.agentResearchMode, specificReferencePoint, signatureMotion, typographicDecision, visualRiskBudget, motionRiskBudget, and cohesionChecks so the final UI cannot quietly fall back to a timid dashboard/admin mental model.',
213
215
  '16. After the contract exists, use it as a first-class source for future UI tasks.',
214
216
  '',
215
217
  ].join('\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryuenn3123/agentic-senior-core",
3
- "version": "3.0.27",
3
+ "version": "3.0.28",
4
4
  "type": "module",
5
5
  "description": "Force your AI Agent to code like a Staff Engineer, not a Junior.",
6
6
  "bin": {