@ryuenn3123/agentic-senior-core 3.0.43 → 3.0.45
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/prompts/bootstrap-design.md +16 -19
- package/.agent-context/prompts/init-project.md +5 -2
- package/.agent-context/prompts/refactor.md +1 -1
- package/.agent-context/prompts/review-code.md +1 -1
- package/.agent-context/review-checklists/pr-checklist.md +8 -1
- package/.agent-context/rules/api-docs.md +16 -0
- package/.agent-context/rules/architecture.md +4 -1
- package/.agent-context/rules/efficiency-vs-hype.md +5 -2
- package/.agent-context/rules/frontend-architecture.md +10 -11
- package/.agent-context/rules/performance.md +3 -1
- package/.agent-context/state/architecture-map.md +1 -1
- package/.cursor/rules/agentic-senior-core.mdc +3 -2
- package/.cursorrules +1 -1
- package/.gemini/instructions.md +3 -2
- package/.github/copilot-instructions.md +3 -2
- package/.github/instructions/agentic-senior-core.instructions.md +3 -2
- package/.instructions.md +5 -5
- package/.windsurf/rules/agentic-senior-core.md +3 -2
- package/.windsurfrules +1 -1
- package/AGENTS.md +3 -2
- package/CLAUDE.md +3 -2
- package/GEMINI.md +3 -2
- package/lib/cli/compiler.mjs +20 -3
- package/lib/cli/project-scaffolder/design-contract/validation.mjs +81 -0
- package/lib/cli/project-scaffolder/design-contract.mjs +73 -4
- package/lib/cli/project-scaffolder/prompt-builders.mjs +52 -35
- package/package.json +1 -1
- package/scripts/frontend-usability-audit.mjs +3 -1
- package/scripts/sync-thin-adapters.mjs +2 -1
- package/scripts/validate/config.mjs +21 -2
|
@@ -2,15 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Use this prompt for UI, UX, frontend layout, screen, Tailwind, animation, 3D, canvas, or redesign work.
|
|
4
4
|
|
|
5
|
-
Create or refine
|
|
6
|
-
- `docs/DESIGN.md` for human-readable design reasoning.
|
|
7
|
-
- `docs/design-intent.json` for machine-readable design intent, guardrails, and review signals.
|
|
5
|
+
Create or refine `docs/DESIGN.md` for human reasoning and `docs/design-intent.json` for machine-readable design intent, guardrails, and review signals.
|
|
8
6
|
|
|
9
7
|
This contract is a decision scaffold, not a style preset. We guide the agent; we do not pick the final style, stack, framework, palette, typography, layout paradigm, or animation library offline.
|
|
10
8
|
|
|
11
9
|
## Authority
|
|
12
10
|
- Treat `.agent-context/` and current project docs as technical authority.
|
|
13
|
-
- Treat `README.md` as overview,
|
|
11
|
+
- Treat `README.md` as public and developer overview, setup, usage, and user-facing context only. Do not use it as coding, architecture, or design authority when `.agent-context/` gives a stricter rule.
|
|
14
12
|
- Use current repo evidence, product copy, route names, component names, user goals, and existing constraints as the source of truth.
|
|
15
13
|
- Treat prior-chat visuals, unrelated project memory, benchmark screenshots, and famous-product aesthetics as tainted context unless the user explicitly approves continuity.
|
|
16
14
|
- Keep external references non-copying; extract constraints only.
|
|
@@ -43,6 +41,7 @@ Rules:
|
|
|
43
41
|
- Output only the chosen anchor, specific reference point, and rationale.
|
|
44
42
|
- Forbid final anchors named dashboard, portal, cards, admin panel, SaaS shell, web app shell, or minimalist interface.
|
|
45
43
|
- Derive typography, spacing, density, color behavior, morphology, motion, and responsive composition from the chosen anchor.
|
|
44
|
+
- Translate the anchor non-literally first. Anchor artifacts are evidence for behavior, hierarchy, density, typography, state language, and motion, not automatic UI chrome.
|
|
46
45
|
- Use reduced-motion fallbacks instead of suppressing motion.
|
|
47
46
|
|
|
48
47
|
## Creative Ambition Floor
|
|
@@ -52,14 +51,20 @@ Before UI code, record:
|
|
|
52
51
|
- one morphology or composition choice that avoids interchangeable card stacks when the product allows it
|
|
53
52
|
- at least three at-a-glance product-specific signals for new screens or broad redesigns
|
|
54
53
|
|
|
55
|
-
Do not ship AI-safe UI. Record exact drift signals in `reviewRubric`; at minimum reject decorative grid wallpaper, default line backgrounds, calibration-mark wallpaper, soft glow backgrounds, generic abstract marks, testing/demo/placeholder UI copy, terminal-only user flows, and first-output composition with only local copy swapped in when they have no product function. Treat measurement, calibration, crop, route, timeline, and inspection marks as task overlays or control affordances only; never promote them to the page background, hero backdrop, or first-output visual texture.
|
|
54
|
+
Do not ship AI-safe UI. Record exact drift signals in `reviewRubric`; at minimum reject decorative grid wallpaper, default line backgrounds, calibration-mark wallpaper, soft glow backgrounds, generic abstract marks, testing/demo/placeholder UI copy, terminal-only user flows, and first-output composition with only local copy swapped in when they have no product function. Treat measurement, calibration, crop, route, timeline, and inspection marks as task overlays or control affordances only; never promote them to the page background, hero backdrop, or first-output visual texture. If a conceptual anchor suggests a forbidden motif, the forbidden motif wins; express the anchor through workflow, hierarchy, density, typography, material behavior, state design, and interaction grammar instead of literal wallpaper.
|
|
56
55
|
|
|
57
56
|
## Brave Redesign Default
|
|
58
57
|
For UI design work, the agent owns the ambition decision. For broad screens, redesigns, or new visual systems, treat expressive motion, spatial hierarchy, distinctive composition, and product-specific interaction as the baseline even when the user did not say "rich". Do not reduce the request to a safer version of the existing UI, a static implementation, or a component-kit rearrangement because research or dependency selection feels inconvenient.
|
|
59
58
|
|
|
60
59
|
If the expressive path needs a new motion, 3D, canvas, scroll, or interaction library and web search is available, perform the official-doc research and record the decision. If web search is unavailable, use already-present dependencies or native browser capabilities while preserving the intended ambition, then mark library verification as pending.
|
|
61
60
|
|
|
62
|
-
Only downshift ambition after naming the concrete blocker: product fit, content density, performance budget, accessibility, device support, package conflict, security risk, or missing runtime capability. Pair every downshift with a replacement interaction quality that still changes composition, hierarchy, feedback, or memorability.
|
|
61
|
+
Only downshift ambition after naming the concrete blocker: product fit, content density, measured performance budget, accessibility, device support, package conflict, security risk, or missing runtime capability. A new dependency, package count, or vague performance concern is not a blocker by itself. Pair every downshift with a replacement interaction quality that still changes composition, hierarchy, feedback, or memorability.
|
|
62
|
+
|
|
63
|
+
## Design Flexibility Layer
|
|
64
|
+
|
|
65
|
+
`docs/design-intent.json` must separate locked outcomes from flexible expression. The machine contract keeps review invariants stable; it must not freeze exact aesthetic implementation unless repo evidence, accessibility validation, implementation constraints, or explicit user approval locks it.
|
|
66
|
+
|
|
67
|
+
Record `designFlexibilityPolicy`: lock user goals, runtime constraints, accessibility, production readiness, forbidden patterns, and approved continuity; keep exact palette primitives, font families, radius/shadow values, component-kit theme mapping, signature move implementation, and literal anchor artifacts flexible until validated or approved. Semantic roles are required; exact primitives are not automatically locked. Required experience outcomes are separate from candidate implementation moves. Libraries supply behavior, accessibility, primitives, and delivery speed; the project supplies final composition, theme, morphology, and visual language.
|
|
63
68
|
|
|
64
69
|
## AI Color and Template Residue Audit
|
|
65
70
|
AI color drift happens when a palette uses safe defaults before product meaning.
|
|
@@ -90,7 +95,7 @@ Before implementation, `docs/design-intent.json` must include top-level `derived
|
|
|
90
95
|
- `motionDerivationSource`
|
|
91
96
|
- `validationRule`
|
|
92
97
|
|
|
93
|
-
Every token must trace to `anchorReference`. If the rationale is "looks good", "common practice", "modern default", or "framework default",
|
|
98
|
+
Every semantic token role must trace to `anchorReference`. Exact primitive values stay flexible until repo evidence, accessibility validation, implementation constraints, or explicit user approval locks them. If the rationale is "looks good", "common practice", "modern default", or "framework default", derive the token again before UI code.
|
|
94
99
|
|
|
95
100
|
## Library Research Protocol
|
|
96
101
|
If web search is available:
|
|
@@ -103,8 +108,8 @@ If web search is unavailable:
|
|
|
103
108
|
- Use native CSS, browser APIs, or already-present dependencies.
|
|
104
109
|
- Set `libraryResearchStatus` to `pending-verification`.
|
|
105
110
|
|
|
106
|
-
Treat unresearched dependency choices as review findings.
|
|
107
|
-
|
|
111
|
+
Treat unresearched dependency choices as review findings. Dynamic UI Foundation Selection: do not default to shadcn/ui, Tailwind-only, native-only, or any component kit because it is familiar. Choose the foundation from product type, interaction complexity, accessibility needs, design ambition, team/runtime constraints, bundle/runtime cost, and current official docs.
|
|
112
|
+
Ready-made primitives are allowed when they improve behavior, accessibility, speed, or maintainability. The library supplies mechanics; the project supplies visual language. Reject default component-kit styling without product rationale, but do not reject a modern lightweight library solely because a dependency was needed.
|
|
108
113
|
## Zero-Based Redesign Protocol
|
|
109
114
|
|
|
110
115
|
When the user says "redesign from zero", "redesain dari 0", "ulang dari 0", or "research ulang":
|
|
@@ -146,6 +151,7 @@ The JSON is the source of truth for machine review. It must stay project-specifi
|
|
|
146
151
|
- confirmed project context and assumptions
|
|
147
152
|
- agent-chosen visual direction
|
|
148
153
|
- `motionPaletteDecision`
|
|
154
|
+
- `designFlexibilityPolicy`
|
|
149
155
|
- `conceptualAnchor`
|
|
150
156
|
- `derivedTokenLogic`
|
|
151
157
|
- `aiSafeUiAudit` and `productionContentPolicy`
|
|
@@ -165,15 +171,6 @@ WCAG 2.2 AA is the hard floor. APCA may be used only as advisory perceptual tuni
|
|
|
165
171
|
|
|
166
172
|
Define a review rubric that names drift signals and separates taste from failure.
|
|
167
173
|
|
|
168
|
-
Block or flag
|
|
169
|
-
- inaccessible contrast, focus, target size, keyboard, auth, or dynamic-status behavior
|
|
170
|
-
- scale-only responsive behavior
|
|
171
|
-
- default component-kit styling without product rationale
|
|
172
|
-
- nonfunctional background effects, including decorative grid wallpaper
|
|
173
|
-
- grid or line backgrounds used as filler instead of product function
|
|
174
|
-
- testing, demo, sample, placeholder, lorem, TODO, coming soon, or scaffold labels visible in shipped UI unless they are real product states; terminal-only core user flows unless the product is explicitly a CLI, developer tool, or operational runbook
|
|
175
|
-
- palette choices that use readability as an excuse for safe defaults
|
|
176
|
-
- visual direction copied from unrelated memory or external references
|
|
177
|
-
- genericity findings that cannot name the exact drift signal
|
|
174
|
+
Block or flag inaccessible contrast/focus/target/keyboard/auth/status behavior, scale-only responsive behavior, default component-kit styling, nonfunctional background effects, grid or line filler, placeholder copy, terminal-only core flows, readability-as-safe-default palettes, copied visual direction, and genericity findings that cannot name the exact drift signal.
|
|
178
175
|
|
|
179
176
|
Wait for user approval before generating Figma or code assets when the user only asked for planning or design direction.
|
|
@@ -25,9 +25,12 @@ If the user describes a project or feature, the agent must:
|
|
|
25
25
|
If the user asks to create, complete, fix, or review project docs, documentation, dokumen, `docs/*`, architecture docs, flow docs, API docs, or "lengkapkan docs", treat the request as documentation-first.
|
|
26
26
|
|
|
27
27
|
The agent must:
|
|
28
|
-
1. Materialize or refine required project docs before implementation: `docs/project-brief.md
|
|
28
|
+
1. Materialize or refine required project docs before implementation: root `README.md` for every fresh or existing project; `docs/project-brief.md`; `docs/architecture-decision-record.md`; `docs/flow-overview.md`; `docs/api-contract.md` when APIs, firmware endpoints, CLI commands, or web application flows exist; `docs/database-schema.md` when persistent data exists; and `docs/DESIGN.md` plus `docs/design-intent.json` for UI scope.
|
|
29
29
|
2. Write formal project docs in English by default unless the user explicitly asks for another documentation language.
|
|
30
|
-
3.
|
|
30
|
+
3. Keep `README.md` public and developer friendly even for private projects: explain what the project is, who it is for, how to set it up, how to run the core workflow, how to configure it, and where deeper docs live. Do not put internal agent notes, private reasoning, secrets, or governance policy in the README.
|
|
31
|
+
4. Keep documentation alive. When project behavior, setup, architecture, public contracts, data shape, deployment, or UI scope changes, update the matching docs in the same change.
|
|
32
|
+
5. Avoid documentation sprawl. Add a new docs file only when the topic is stable, long enough to outgrow the README or core docs, or owned by a separate workflow such as hardware setup, deployment, troubleshooting, or testing validation.
|
|
33
|
+
6. Stop after docs when the user only asked for docs. Do not write application, firmware, or UI code until the user explicitly asks for implementation or approves the implementation plan.
|
|
31
34
|
|
|
32
35
|
## Direct Constraint Mode
|
|
33
36
|
|
|
@@ -11,7 +11,7 @@ Before editing:
|
|
|
11
11
|
3. If required project docs are missing, stop and bootstrap or update docs first.
|
|
12
12
|
4. If the change touches UI, load .agent-context/prompts/bootstrap-design.md and .agent-context/rules/frontend-architecture.md before editing.
|
|
13
13
|
5. If the change touches a dependency, framework, Docker, runtime, or ecosystem claim, verify current official docs before choosing.
|
|
14
|
-
6. Enforce Universal SOP hard gate: stop implementation if `docs/architecture-decision-record.md` is missing,
|
|
14
|
+
6. Enforce Universal SOP hard gate: stop implementation if root `README.md` is missing, if `docs/architecture-decision-record.md` is missing, or for UI scope if `docs/DESIGN.md` or `docs/design-intent.json` is missing.
|
|
15
15
|
7. Enforce backend universal principles: no clever hacks, no premature abstraction, readability over brevity.
|
|
16
16
|
8. For backend/API scope, enforce layered boundaries, zero-trust input validation, safe centralized error responses, bounded list reads, transaction safety for multi-write mutations, idempotency for sensitive mutations, and behavior-focused API tests.
|
|
17
17
|
9. Backend/API governance is global and stack-agnostic. Do not create stack-specific adapters or framework-specific rule branches; apply the global rules through the framework already present in the target project.
|
|
@@ -11,7 +11,7 @@ Before reviewing:
|
|
|
11
11
|
3. Read .agent-context/review-checklists/architecture-review.md only when architecture or boundaries changed.
|
|
12
12
|
4. Load only the rules relevant to the changed scope.
|
|
13
13
|
5. For UI changes, load .agent-context/prompts/bootstrap-design.md, .agent-context/rules/frontend-architecture.md, docs/DESIGN.md, and docs/design-intent.json when present.
|
|
14
|
-
6. Enforce Universal SOP hard gate: block coding flow when required project docs are missing (`docs/architecture-decision-record.md
|
|
14
|
+
6. Enforce Universal SOP hard gate: block coding flow when required project docs are missing (root `README.md`; `docs/architecture-decision-record.md`; and for UI scope `docs/DESIGN.md` plus `docs/design-intent.json`).
|
|
15
15
|
7. Enforce single-source and lazy-loading policy: canonical rule source must be explicitly enforced, global domain governance must load lazily based on touched scope, and conflicting duplicate rule instructions must not appear during normal flow.
|
|
16
16
|
|
|
17
17
|
Prioritize findings in this order:
|
|
@@ -60,7 +60,7 @@ Run this before declaring a task done. Apply only the sections relevant to the c
|
|
|
60
60
|
|
|
61
61
|
- [ ] Scope applied: This applies to documentation, release notes, onboarding text, review summaries, and agent-facing explanations
|
|
62
62
|
- [ ] Style scope review is advisory and does not block merge when API docs are synced in the same commit and contract details are correct
|
|
63
|
-
- [ ] Required docs exist before implementation: project brief
|
|
63
|
+
- [ ] Required docs exist before implementation: public and developer root README; project brief; architecture decision; flow overview; API/public contract when relevant; data model when relevant; and UI design contract when relevant.
|
|
64
64
|
- [ ] For docs-only or docs-first requests, implementation code was not changed unless the user explicitly asked for it or approved an implementation plan.
|
|
65
65
|
- [ ] Formal project docs use English by default unless the user requested another language or existing docs established one.
|
|
66
66
|
- [ ] Docs cover feature plan, architecture rationale, public contracts, data model, UI/design, security assumptions, testing strategy, delivery flow, and next validation actions where relevant.
|
|
@@ -70,6 +70,9 @@ Run this before declaring a task done. Apply only the sections relevant to the c
|
|
|
70
70
|
- [ ] Facts, assumptions, and next actions are separated when context is incomplete.
|
|
71
71
|
- [ ] No emoji in formal documentation or review summaries
|
|
72
72
|
- [ ] Documentation uses plain English and avoids AI cliches
|
|
73
|
+
- [ ] Root README is public and developer friendly, even for private projects, and does not contain secrets, internal agent notes, private reasoning, or governance policy dumps.
|
|
74
|
+
- [ ] Documentation grows with the project: README and matching docs were updated when setup, runtime, architecture, public contracts, data shape, deployment, validation, or UI scope changed.
|
|
75
|
+
- [ ] Documentation file count stayed intentional: new docs files were added only for stable, distinct, or long workflows.
|
|
73
76
|
|
|
74
77
|
## 7. UI And Accessibility
|
|
75
78
|
|
|
@@ -81,10 +84,13 @@ Run this before declaring a task done. Apply only the sections relevant to the c
|
|
|
81
84
|
- [ ] Motion is treated as part of the design language for modern UI work, with reduced-motion and performance safeguards instead of defaulting to static screens.
|
|
82
85
|
- [ ] Broad redesigns pass the old-design regression test: the result is not the previous composition with animation, depth, media, or interaction density removed.
|
|
83
86
|
- [ ] UI work records an agent-chosen ambition level; broad screens and redesigns researched an expressive path first, and any downshift names a concrete blocker plus replacement interaction quality.
|
|
87
|
+
- [ ] UI foundation choices are dynamic and product-fit; no shadcn, native-only, Tailwind-only, or component-kit default was selected by habit or avoided from dependency fear.
|
|
88
|
+
- [ ] Design intent separates locked outcomes from flexible expression; candidate signature moves, exact token primitives, literal anchor artifacts, and component-kit skins were not treated as permanent requirements without evidence or user approval.
|
|
84
89
|
|
|
85
90
|
## 8. Dependencies And Runtime
|
|
86
91
|
|
|
87
92
|
- [ ] New dependencies are justified by capability, maintenance health, bundle/runtime cost, and current official docs.
|
|
93
|
+
- [ ] Dependency avoidance was not treated as a default virtue; lightweight maintained libraries were considered when they improve correctness, accessibility, UX, maintainability, or delivery speed.
|
|
88
94
|
- [ ] Official setup flows are preferred when they produce better-supported current defaults.
|
|
89
95
|
- [ ] Docker, framework, package, and ecosystem claims were checked live when they could be stale.
|
|
90
96
|
- [ ] Token optimization and memory continuity defaults remain enabled unless the user explicitly opts out.
|
|
@@ -113,6 +119,7 @@ Run this before declaring a task done. Apply only the sections relevant to the c
|
|
|
113
119
|
- [ ] `.agent-context/rules/` remains the default guidance source for implementation and review.
|
|
114
120
|
- [ ] Security and testing requirements remain mandatory after static template purge.
|
|
115
121
|
- [ ] Coding flow is blocked if `docs/architecture-decision-record.md` (or `docs/Architecture-Decision-Record.md`) is missing
|
|
122
|
+
- [ ] Coding flow is blocked if root `README.md` is missing
|
|
116
123
|
- [ ] UI implementation flow is blocked if `docs/DESIGN.md` or `docs/design-intent.json` is missing
|
|
117
124
|
|
|
118
125
|
## Verdict
|
|
@@ -4,6 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
If a change affects an API, CLI command, exported library behavior, schema, event, or integration contract, update the matching docs in the same change.
|
|
6
6
|
|
|
7
|
+
## Public README Boundary
|
|
8
|
+
|
|
9
|
+
Root `README.md` is required for every fresh or existing project. This includes private projects, because a future maintainer still needs a clear public and developer entrypoint.
|
|
10
|
+
|
|
11
|
+
README content must be safe for outside readers and useful for developers. It must explain what the project is, who it is for, how to set it up, how to run the main workflow, how to configure it, and where deeper docs live when those topics apply.
|
|
12
|
+
|
|
13
|
+
Keep README overview-level. Do not make it the canonical governance source. Do not put secrets, private agent notes, hidden reasoning, backlog chatter, raw architecture debate, or internal policy dumps in it.
|
|
14
|
+
|
|
15
|
+
Choose README sections from project evidence. Do not force a fixed template when a section does not apply. For private/internal projects, keep the same clear style but omit private URLs, credentials, customer names, and internal-only operational details that do not belong in repo docs.
|
|
16
|
+
|
|
17
|
+
## Documentation Growth Model
|
|
18
|
+
|
|
19
|
+
Documentation must evolve with the project. When behavior, setup, architecture, public contracts, data shape, deployment, or validation changes, update README and the matching docs in the same change.
|
|
20
|
+
|
|
21
|
+
Start compact, then split only when a topic earns its own file. Good split signals are: the section is long, the workflow is owned separately, the content is referenced often, or the topic needs step-by-step care such as hardware setup, deployment, testing validation, operations, or troubleshooting.
|
|
22
|
+
|
|
7
23
|
## Contract Rules
|
|
8
24
|
|
|
9
25
|
- Document the public surface before or alongside implementation.
|
|
@@ -32,17 +32,20 @@ The `.agent-context/rules/` directory is the default guidance source for impleme
|
|
|
32
32
|
- Backend and frontend mindset checks are both required when a task spans API and UI boundaries.
|
|
33
33
|
- Security and testing are non-negotiable baseline requirements.
|
|
34
34
|
- Hard block before coding:
|
|
35
|
+
- Root `README.md` must exist for every fresh or existing project and read as a public and developer entrypoint, not an internal agent note.
|
|
35
36
|
- `docs/project-brief.md` must exist.
|
|
36
37
|
- `docs/architecture-decision-record.md` (alias: `docs/Architecture-Decision-Record.md`) must exist.
|
|
37
38
|
- `docs/flow-overview.md` must exist.
|
|
38
39
|
- If the project uses persistent data, `docs/database-schema.md` must exist.
|
|
39
40
|
- If the project exposes API or web application flows, `docs/api-contract.md` must exist.
|
|
40
41
|
- For UI scope, `docs/DESIGN.md` and `docs/design-intent.json` must exist.
|
|
41
|
-
- Required docs coverage must include feature plan, architecture rationale, public contracts, data model when relevant, UI/design when relevant, security assumptions, testing strategy, delivery flow, and next validation actions.
|
|
42
|
+
- Required docs coverage must include a public and developer README entrypoint, feature plan, architecture rationale, public contracts, data model when relevant, UI/design when relevant, security assumptions, testing strategy, delivery flow, and next validation actions.
|
|
42
43
|
- If required project context docs are missing, stop implementation and bootstrap docs before writing application code.
|
|
43
44
|
- Bootstrap flow: analyze the real repo plus the latest user prompt before authoring those docs.
|
|
44
45
|
- Bootstrap docs must be adaptive and project-specific. Do not create generic placeholder templates.
|
|
45
46
|
- When context is incomplete, separate confirmed facts from assumptions, add an `Assumptions to Validate` section, and end with the next validation action.
|
|
47
|
+
- Keep docs current with project changes. Update README and the matching docs whenever setup, runtime, architecture, public contracts, data shape, UI scope, deployment, or validation flow changes.
|
|
48
|
+
- Control docs file count. Keep the baseline compact, then add topic files only when a subject is stable, too long for README/core docs, or belongs to a distinct workflow such as hardware setup, deployment, testing validation, operations, or troubleshooting.
|
|
46
49
|
|
|
47
50
|
## Rules as Guardian (Cross-Session Consistency)
|
|
48
51
|
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
The LLM may choose modern libraries and tooling when they fit the project. This rule does not prefer "no library", "always add a library", or any fixed dependency set.
|
|
6
6
|
|
|
7
|
-
New dependencies are allowed when they create a better practical tradeoff than custom implementation. The decision should be based on whether the dependency meaningfully improves efficiency, shortens delivery time, improves correctness, reduces maintenance burden, or avoids unnecessary in-house code.
|
|
7
|
+
New dependencies are allowed when they create a better practical tradeoff than custom implementation. The decision should be based on whether the dependency meaningfully improves efficiency, shortens delivery time, improves correctness, reduces maintenance burden, unlocks a stronger user experience, or avoids unnecessary in-house code.
|
|
8
|
+
|
|
9
|
+
Do not treat dependency avoidance as an engineering virtue by itself. A small, maintained, well-scoped library can be the simpler and safer choice than custom code, especially for accessibility primitives, animation, gestures, data visualization, parsing, protocol handling, security-sensitive helpers, or browser/runtime capabilities with tricky edge cases.
|
|
8
10
|
|
|
9
11
|
Before adding or recommending a dependency:
|
|
10
12
|
- check current official docs, release notes, and setup guidance when the ecosystem decision matters
|
|
@@ -14,5 +16,6 @@ Before adding or recommending a dependency:
|
|
|
14
16
|
- explain why the dependency is a better tradeoff than local implementation for the current task
|
|
15
17
|
- avoid packages that are stale, thinly maintained, too heavy for the job, or added only because they are popular
|
|
16
18
|
- keep dependency boundaries replaceable when the library would spread through many files
|
|
19
|
+
- do not reject a dependency only because it adds a package; reject it only when the project-fit, security, maintenance, compatibility, bundle/runtime, or ownership tradeoff is worse than the alternative
|
|
17
20
|
|
|
18
|
-
Reject offline dependency decisions, outdated tutorial versions, trend choices,
|
|
21
|
+
Reject offline dependency decisions, outdated tutorial versions, trend choices, dependency avoidance choices, and performance-fear choices that are not grounded in the current repo, brief, and delivery tradeoffs.
|
|
@@ -4,28 +4,25 @@ Load this rule for UI-facing work. Keep the loaded surface small.
|
|
|
4
4
|
|
|
5
5
|
## Activation
|
|
6
6
|
|
|
7
|
-
Use this rule for
|
|
8
|
-
- UI, UX, page, screen, component, layout, landing, dashboard, form, onboarding, animation, interaction
|
|
9
|
-
- redesign, reskin, visual refresh, responsive fix, hierarchy fix
|
|
10
|
-
- frontend deliverables inside fullstack or backend work
|
|
7
|
+
Use this rule for UI, UX, page, screen, component, layout, landing, dashboard, form, onboarding, animation, interaction, redesign, visual refresh, responsive fix, hierarchy fix, and frontend deliverables inside fullstack or backend work.
|
|
11
8
|
|
|
12
9
|
## Authority
|
|
13
10
|
|
|
14
11
|
- Use current repo evidence, the active brief, and current project docs as valid style context.
|
|
15
12
|
- Treat `.agent-context/` as design governance authority.
|
|
16
|
-
- Treat `README.md` as overview
|
|
13
|
+
- Treat `README.md` as public and developer overview, setup, usage, and user-facing context only when design or architecture rules conflict.
|
|
17
14
|
- Do not choose final style, framework, palette, typography, layout paradigm, or animation library offline.
|
|
18
15
|
- Research current official docs before adding a new UI, animation, scroll, 3D, canvas, charting, icon, styling, or primitive library.
|
|
16
|
+
- Dynamic UI Foundation: do not hardcode shadcn/ui, Tailwind-only, native-only, or any component library as the universal answer. Modern lightweight primitives, motion libraries, canvas/WebGL helpers, charting libraries, and styling tools are valid when product evidence, accessibility, interaction quality, maintainability, delivery speed, runtime constraints, and official docs support them.
|
|
19
17
|
- Keep design continuity opt-in. Repo evidence outranks memory residue.
|
|
20
18
|
|
|
21
19
|
## Required Design Contract
|
|
22
20
|
|
|
23
|
-
Before UI code, create or refine
|
|
24
|
-
- `docs/DESIGN.md`
|
|
25
|
-
- `docs/design-intent.json`
|
|
21
|
+
Before UI code, create or refine `docs/DESIGN.md` and `docs/design-intent.json`.
|
|
26
22
|
|
|
27
23
|
The contract must record:
|
|
28
24
|
- `motionPaletteDecision`
|
|
25
|
+
- `designFlexibilityPolicy`
|
|
29
26
|
- `conceptualAnchor`
|
|
30
27
|
- `derivedTokenLogic`
|
|
31
28
|
- `aiSafeUiAudit`
|
|
@@ -47,7 +44,7 @@ Use the old-design regression test for broad redesigns: if the UI reads as the p
|
|
|
47
44
|
|
|
48
45
|
Background lines, grids, scanlines, noise, glows, blobs, abstract logos, calibration marks, and decorative geometry are invalid as wallpaper. Do not use grid or line backgrounds as first-output filler. Use them only for a named product function such as alignment, crop guidance, map/route orientation, timeline reading, measurement, status, or motion continuity.
|
|
49
46
|
|
|
50
|
-
Measurement, calibration, crop, map, route, and inspection marks are task-bound overlays or control affordances. They must not become the page background, hero backdrop, or default visual texture.
|
|
47
|
+
Measurement, calibration, crop, map, route, and inspection marks are task-bound overlays or control affordances. They must not become the page background, hero backdrop, or default visual texture. When a conceptual anchor and a forbidden visual motif conflict, the forbidden motif wins; translate the anchor into layout, hierarchy, density, typography, state behavior, materials, and interaction instead of literal decorative texture.
|
|
51
48
|
|
|
52
49
|
Production UI must read as ship-ready: no visible testing, demo, sample, placeholder, lorem, TODO, coming soon, or scaffold labels unless they are intentional product states. User-facing workflows need an operable UI path; terminal-only core flows are valid only for CLI, developer-tool, or runbook products.
|
|
53
50
|
|
|
@@ -59,6 +56,7 @@ If the user gives no current-task visual research or reference:
|
|
|
59
56
|
- Internally reject the safest dashboard, portal, card-grid, admin-shell, or minimalist-web-app mental model.
|
|
60
57
|
- Record one real-world anchor reference, one signature motion behavior, and one typographic decision with role contrast.
|
|
61
58
|
- Derive typography, spacing, morphology, motion, and responsive recomposition from that anchor.
|
|
59
|
+
- Translate the anchor into workflow, hierarchy, density, typography, state behavior, and interaction before using literal artifacts. Do not turn anchor artifacts into required chrome, wallpaper, decorative props, or component-kit theme objects without a named product function.
|
|
62
60
|
- Reject anchors described only by generic quality words such as modern, clean, premium, expressive, minimal, or bold.
|
|
63
61
|
|
|
64
62
|
## Motion, Palette, and 3D
|
|
@@ -70,9 +68,10 @@ If the user gives no current-task visual research or reference:
|
|
|
70
68
|
- Do not default to dark slate, cream/beige/tan, purple-blue gradients, monochrome palettes, cyber-neon terminals, or uniform card surfaces without product evidence.
|
|
71
69
|
- Treat motion, 3D, WebGL, canvas, scroll choreography, and animation libraries as first-class options.
|
|
72
70
|
- Omit rich motion or spatial UI only after naming the product-fit reason and the replacement interaction quality.
|
|
73
|
-
- For new screens or broad redesigns, research the expressive implementation path instead of defaulting to static native CSS. Use native or already-installed tools only when they can still deliver the chosen ambition, or when a concrete blocker is documented.
|
|
71
|
+
- For new screens or broad redesigns, research the expressive implementation path instead of defaulting to static native CSS. Use native or already-installed tools only when they can still deliver the chosen ambition, or when a concrete blocker is documented. Do not downshift because adding a package feels inconvenient; downshift only for a concrete product-fit, accessibility, security, compatibility, device, maintenance, or measured performance reason.
|
|
74
72
|
- Keep reduced-motion, keyboard, loading, performance, mobile, and non-3D fallbacks explicit.
|
|
75
|
-
|
|
73
|
+
- Use component kits or headless primitives for behavior and accessibility when they fit. Replace library-default visual language with project-specific composition, tokens, motion, state treatment, and morphology.
|
|
74
|
+
- Keep design-intent flexible: lock user goals, accessibility, production readiness, forbidden patterns, and approved continuity; keep exact palette primitives, font families, radius/shadow values, component skins, and candidate signature moves flexible until evidence or approval locks them.
|
|
76
75
|
## Zero-Based Redesign
|
|
77
76
|
|
|
78
77
|
If the user asks for a redesign from zero:
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Do not over-optimize by habit. Do reject obvious scale and runtime failures.
|
|
4
4
|
|
|
5
|
+
Performance is a decision input, not a blanket veto against modern libraries, motion, richer UI, or maintained tooling. Compare the real cost of the dependency or implementation against the cost of custom code, lost accessibility, weaker UX, duplicated maintenance, and slower delivery.
|
|
6
|
+
|
|
5
7
|
Hard rejections:
|
|
6
8
|
- repeated network, database, filesystem, or model calls inside loops without batching, limits, or caching rationale
|
|
7
9
|
- unbounded reads, renders, exports, or searches when the data can grow
|
|
@@ -9,4 +11,4 @@ Hard rejections:
|
|
|
9
11
|
- synchronous blocking work in request, UI, worker, or async paths where it can stall the product
|
|
10
12
|
- caches without invalidation, expiry, ownership, and staleness trade-offs
|
|
11
13
|
|
|
12
|
-
When performance matters, measure the real bottleneck, change the smallest useful thing, and verify the result.
|
|
14
|
+
When performance matters, measure the real bottleneck, change the smallest useful thing, and verify the result. Do not downshift product quality, UI ambition, or library fit from performance fear alone; name the concrete budget, bottleneck, device limit, or runtime evidence.
|
|
@@ -34,7 +34,7 @@ Use this file as repo-local agent context. It records the current governance arc
|
|
|
34
34
|
## Agent Behavior
|
|
35
35
|
|
|
36
36
|
1. Load the smallest relevant rule set.
|
|
37
|
-
2. Use README only for overview
|
|
37
|
+
2. Use README only for public and developer overview, setup, usage, and user-facing context when governance files conflict.
|
|
38
38
|
3. Preserve generated adapter sync before release.
|
|
39
39
|
4. Treat stale generated state, dual lockfiles, and obsolete V2/V3 transition files as cleanup findings.
|
|
40
40
|
5. Before claiming done, run the relevant validation gate and report any skipped checks.
|
|
@@ -7,12 +7,12 @@ alwaysApply: true
|
|
|
7
7
|
|
|
8
8
|
Adapter Mode: thin
|
|
9
9
|
Adapter Source: .instructions.md
|
|
10
|
-
Canonical Snapshot SHA256:
|
|
10
|
+
Canonical Snapshot SHA256: a64819c73c12f55405e4e6249b352fbdb8b94847bc43279e8bf43e07ef5357f3
|
|
11
11
|
|
|
12
12
|
This repository is governed by a strict instruction contract.
|
|
13
13
|
Use [.instructions.md](../../.instructions.md) as the canonical policy source.
|
|
14
14
|
Use .agent-context/ for technical rules, prompts, checklists, policies, and state.
|
|
15
|
-
Treat README.md as overview
|
|
15
|
+
Treat README.md as public and developer overview, setup, usage, and user-facing context only when governance files conflict.
|
|
16
16
|
|
|
17
17
|
## Critical Bootstrap Floor
|
|
18
18
|
|
|
@@ -23,6 +23,7 @@ Treat README.md as overview/install/user context only when governance files conf
|
|
|
23
23
|
- For UI scope, include a one-line Motion/Palette Decision in the Bootstrap Receipt; product categories are heuristics, not style presets.
|
|
24
24
|
- For UI scope, create or refine `docs/DESIGN.md` and `docs/design-intent.json` before UI implementation.
|
|
25
25
|
- For documentation-first requests, create or refine required project docs in English by default and do not write application, firmware, or UI code until the user asks or approves.
|
|
26
|
+
- Create or refine root README.md as the public and developer entrypoint before implementation.
|
|
26
27
|
- For backend, API, data, auth, error, event, queue, worker, or distributed-system requests, load only relevant global rules from .agent-context/rules/ ([link](../../.agent-context/rules)).
|
|
27
28
|
- For ecosystem, framework, dependency, or Docker claims, perform live web research.
|
|
28
29
|
- Resolve runtime choices from project evidence and live official documentation; resolve structural planning from constraints and architecture boundaries.
|
package/.cursorrules
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# .cursorrules - Legacy Thin Adapter
|
|
2
2
|
|
|
3
|
-
Generated by Agentic-Senior-Core CLI v3.0.
|
|
3
|
+
Generated by Agentic-Senior-Core CLI v3.0.45
|
|
4
4
|
Adapter Mode: legacy-thin
|
|
5
5
|
Adapter Source: .agent-instructions.md when present; fallback .instructions.md
|
|
6
6
|
Canonical baseline: .instructions.md
|
package/.gemini/instructions.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Adapter Mode: thin
|
|
4
4
|
Adapter Source: .instructions.md
|
|
5
|
-
Canonical Snapshot SHA256:
|
|
5
|
+
Canonical Snapshot SHA256: a64819c73c12f55405e4e6249b352fbdb8b94847bc43279e8bf43e07ef5357f3
|
|
6
6
|
|
|
7
7
|
This repository is governed by a strict instruction contract.
|
|
8
8
|
Use [.instructions.md](../.instructions.md) as the canonical policy source.
|
|
9
9
|
Use .agent-context/ for technical rules, prompts, checklists, policies, and state.
|
|
10
|
-
Treat README.md as overview
|
|
10
|
+
Treat README.md as public and developer overview, setup, usage, and user-facing context only when governance files conflict.
|
|
11
11
|
|
|
12
12
|
## Critical Bootstrap Floor
|
|
13
13
|
|
|
@@ -18,6 +18,7 @@ Treat README.md as overview/install/user context only when governance files conf
|
|
|
18
18
|
- For UI scope, include a one-line Motion/Palette Decision in the Bootstrap Receipt; product categories are heuristics, not style presets.
|
|
19
19
|
- For UI scope, create or refine `docs/DESIGN.md` and `docs/design-intent.json` before UI implementation.
|
|
20
20
|
- For documentation-first requests, create or refine required project docs in English by default and do not write application, firmware, or UI code until the user asks or approves.
|
|
21
|
+
- Create or refine root README.md as the public and developer entrypoint before implementation.
|
|
21
22
|
- For backend, API, data, auth, error, event, queue, worker, or distributed-system requests, load only relevant global rules from .agent-context/rules/ ([link](../.agent-context/rules)).
|
|
22
23
|
- For ecosystem, framework, dependency, or Docker claims, perform live web research.
|
|
23
24
|
- Resolve runtime choices from project evidence and live official documentation; resolve structural planning from constraints and architecture boundaries.
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Adapter Mode: thin
|
|
4
4
|
Adapter Source: .instructions.md
|
|
5
|
-
Canonical Snapshot SHA256:
|
|
5
|
+
Canonical Snapshot SHA256: a64819c73c12f55405e4e6249b352fbdb8b94847bc43279e8bf43e07ef5357f3
|
|
6
6
|
|
|
7
7
|
This repository is governed by a strict instruction contract.
|
|
8
8
|
Use [.instructions.md](../.instructions.md) as the canonical policy source.
|
|
9
9
|
Use .agent-context/ for technical rules, prompts, checklists, policies, and state.
|
|
10
|
-
Treat README.md as overview
|
|
10
|
+
Treat README.md as public and developer overview, setup, usage, and user-facing context only when governance files conflict.
|
|
11
11
|
|
|
12
12
|
## Critical Bootstrap Floor
|
|
13
13
|
|
|
@@ -18,6 +18,7 @@ Treat README.md as overview/install/user context only when governance files conf
|
|
|
18
18
|
- For UI scope, include a one-line Motion/Palette Decision in the Bootstrap Receipt; product categories are heuristics, not style presets.
|
|
19
19
|
- For UI scope, create or refine `docs/DESIGN.md` and `docs/design-intent.json` before UI implementation.
|
|
20
20
|
- For documentation-first requests, create or refine required project docs in English by default and do not write application, firmware, or UI code until the user asks or approves.
|
|
21
|
+
- Create or refine root README.md as the public and developer entrypoint before implementation.
|
|
21
22
|
- For backend, API, data, auth, error, event, queue, worker, or distributed-system requests, load only relevant global rules from .agent-context/rules/ ([link](../.agent-context/rules)).
|
|
22
23
|
- For ecosystem, framework, dependency, or Docker claims, perform live web research.
|
|
23
24
|
- Resolve runtime choices from project evidence and live official documentation; resolve structural planning from constraints and architecture boundaries.
|
|
@@ -6,12 +6,12 @@ applyTo: "**"
|
|
|
6
6
|
|
|
7
7
|
Adapter Mode: thin
|
|
8
8
|
Adapter Source: .instructions.md
|
|
9
|
-
Canonical Snapshot SHA256:
|
|
9
|
+
Canonical Snapshot SHA256: a64819c73c12f55405e4e6249b352fbdb8b94847bc43279e8bf43e07ef5357f3
|
|
10
10
|
|
|
11
11
|
This repository is governed by a strict instruction contract.
|
|
12
12
|
Use [.instructions.md](../../.instructions.md) as the canonical policy source.
|
|
13
13
|
Use .agent-context/ for technical rules, prompts, checklists, policies, and state.
|
|
14
|
-
Treat README.md as overview
|
|
14
|
+
Treat README.md as public and developer overview, setup, usage, and user-facing context only when governance files conflict.
|
|
15
15
|
|
|
16
16
|
## Critical Bootstrap Floor
|
|
17
17
|
|
|
@@ -22,6 +22,7 @@ Treat README.md as overview/install/user context only when governance files conf
|
|
|
22
22
|
- For UI scope, include a one-line Motion/Palette Decision in the Bootstrap Receipt; product categories are heuristics, not style presets.
|
|
23
23
|
- For UI scope, create or refine `docs/DESIGN.md` and `docs/design-intent.json` before UI implementation.
|
|
24
24
|
- For documentation-first requests, create or refine required project docs in English by default and do not write application, firmware, or UI code until the user asks or approves.
|
|
25
|
+
- Create or refine root README.md as the public and developer entrypoint before implementation.
|
|
25
26
|
- For backend, API, data, auth, error, event, queue, worker, or distributed-system requests, load only relevant global rules from .agent-context/rules/ ([link](../../.agent-context/rules)).
|
|
26
27
|
- For ecosystem, framework, dependency, or Docker claims, perform live web research.
|
|
27
28
|
- Resolve runtime choices from project evidence and live official documentation; resolve structural planning from constraints and architecture boundaries.
|
package/.instructions.md
CHANGED
|
@@ -10,7 +10,7 @@ Act as a Principal Engineer. Ship maintainable, validated, production-ready work
|
|
|
10
10
|
|
|
11
11
|
This repository is governed by a strict instruction contract.
|
|
12
12
|
|
|
13
|
-
Use `.instructions.md` as the canonical baseline. Use `.agent-context/` as technical authority for rules, prompts, checklists, state, and policies. Use `README.md` only for overview, setup, and user-facing context when stricter governance files conflict.
|
|
13
|
+
Use `.instructions.md` as the canonical baseline. Use `.agent-context/` as technical authority for rules, prompts, checklists, state, and policies. Use `README.md` only for public and developer overview, setup, usage, and user-facing context when stricter governance files conflict.
|
|
14
14
|
|
|
15
15
|
Write instructions as imperative gates:
|
|
16
16
|
- Use direct commands.
|
|
@@ -44,7 +44,7 @@ Load only relevant rule files. Do not read the entire rule directory by default.
|
|
|
44
44
|
|
|
45
45
|
Available rules: `naming-conv.md`, `architecture.md`, `security.md`, `performance.md`, `error-handling.md`, `testing.md`, `git-workflow.md`, `efficiency-vs-hype.md`, `api-docs.md`, `microservices.md`, `event-driven.md`, `database-design.md`, `realtime.md`, `frontend-architecture.md`, `docker-runtime.md`.
|
|
46
46
|
|
|
47
|
-
For Docker or Compose work, load `docker-runtime.md` and verify the latest official Docker docs before authoring container assets. For framework or package setup work, use the latest stable compatible dependency set and official setup flow unless a documented compatibility constraint blocks it. New dependencies are allowed when they improve efficiency, delivery time, correctness, or maintainability.
|
|
47
|
+
For Docker or Compose work, load `docker-runtime.md` and verify the latest official Docker docs before authoring container assets. For framework or package setup work, use the latest stable compatible dependency set and official setup flow unless a documented compatibility constraint blocks it. New dependencies are allowed when they improve efficiency, delivery time, correctness, accessibility, UX, or maintainability. Do not treat dependency avoidance or vague performance fear as a default reason to skip a modern maintained library.
|
|
48
48
|
|
|
49
49
|
Backend/API routing:
|
|
50
50
|
- Data/schema/persistence: `architecture.md`, `database-design.md`, `performance.md`, `testing.md`.
|
|
@@ -97,7 +97,7 @@ Use `.agent-context/policies/` for quality gates, release thresholds, and audit
|
|
|
97
97
|
|
|
98
98
|
### Layer 9: Project Context
|
|
99
99
|
|
|
100
|
-
Use `docs/` when present: `project-brief.md`, `architecture-decision-record.md`, `database-schema.md`, `api-contract.md`, `flow-overview.md`, `DESIGN.md`, `design-intent.json`.
|
|
100
|
+
Use root `README.md` as the public and developer entrypoint for every fresh or existing project. Use `docs/` when present: `project-brief.md`, `architecture-decision-record.md`, `database-schema.md`, `api-contract.md`, `flow-overview.md`, `DESIGN.md`, `design-intent.json`.
|
|
101
101
|
|
|
102
102
|
## Mandatory Triggers
|
|
103
103
|
|
|
@@ -106,7 +106,7 @@ Use `docs/` when present: `project-brief.md`, `architecture-decision-record.md`,
|
|
|
106
106
|
Trigger: docs, documentation, dokumen, `docs/*`, architecture docs, flow docs, API docs, or "lengkapkan docs".
|
|
107
107
|
|
|
108
108
|
1. Load `architecture.md`, `api-docs.md`, and only additional rules required by scope.
|
|
109
|
-
2. Create or refine required docs first: `docs/project-brief.md
|
|
109
|
+
2. Create or refine required docs first: root `README.md` for every fresh or existing project; `docs/project-brief.md`; `docs/architecture-decision-record.md`; `docs/flow-overview.md`; `docs/api-contract.md` for APIs, firmware endpoints, CLI commands, or web application flows; `docs/database-schema.md` for persistent data; and `docs/DESIGN.md` plus `docs/design-intent.json` for UI scope.
|
|
110
110
|
3. Write formal project docs in English by default unless the user asks otherwise.
|
|
111
111
|
4. Stop after documentation when the user only asked for docs. Do not write application, firmware, or UI code until the user asks or approves implementation.
|
|
112
112
|
|
|
@@ -165,7 +165,7 @@ Why Required: [project protection]
|
|
|
165
165
|
Never claim done without:
|
|
166
166
|
1. Relevant rules applied.
|
|
167
167
|
2. PR and architecture checklists considered.
|
|
168
|
-
3. Universal SOP gates satisfied: `docs/architecture-decision-record.md
|
|
168
|
+
3. Universal SOP gates satisfied: public and developer root `README.md`; `docs/architecture-decision-record.md`; plus `docs/DESIGN.md` and `docs/design-intent.json` for UI scope.
|
|
169
169
|
4. If `.agent-context/state/active-memory.json` exists and material project progress happened, refresh it while preserving privacy rules and user-owned entries.
|
|
170
170
|
5. MCP validation passed through `npm run validate`.
|
|
171
171
|
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Adapter Mode: thin
|
|
4
4
|
Adapter Source: .instructions.md
|
|
5
|
-
Canonical Snapshot SHA256:
|
|
5
|
+
Canonical Snapshot SHA256: a64819c73c12f55405e4e6249b352fbdb8b94847bc43279e8bf43e07ef5357f3
|
|
6
6
|
|
|
7
7
|
This repository is governed by a strict instruction contract.
|
|
8
8
|
Use [.instructions.md](../../.instructions.md) as the canonical policy source.
|
|
9
9
|
Use .agent-context/ for technical rules, prompts, checklists, policies, and state.
|
|
10
|
-
Treat README.md as overview
|
|
10
|
+
Treat README.md as public and developer overview, setup, usage, and user-facing context only when governance files conflict.
|
|
11
11
|
|
|
12
12
|
## Critical Bootstrap Floor
|
|
13
13
|
|
|
@@ -18,6 +18,7 @@ Treat README.md as overview/install/user context only when governance files conf
|
|
|
18
18
|
- For UI scope, include a one-line Motion/Palette Decision in the Bootstrap Receipt; product categories are heuristics, not style presets.
|
|
19
19
|
- For UI scope, create or refine `docs/DESIGN.md` and `docs/design-intent.json` before UI implementation.
|
|
20
20
|
- For documentation-first requests, create or refine required project docs in English by default and do not write application, firmware, or UI code until the user asks or approves.
|
|
21
|
+
- Create or refine root README.md as the public and developer entrypoint before implementation.
|
|
21
22
|
- For backend, API, data, auth, error, event, queue, worker, or distributed-system requests, load only relevant global rules from .agent-context/rules/ ([link](../../.agent-context/rules)).
|
|
22
23
|
- For ecosystem, framework, dependency, or Docker claims, perform live web research.
|
|
23
24
|
- Resolve runtime choices from project evidence and live official documentation; resolve structural planning from constraints and architecture boundaries.
|
package/.windsurfrules
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# .windsurfrules - Legacy Thin Adapter
|
|
2
2
|
|
|
3
|
-
Generated by Agentic-Senior-Core CLI v3.0.
|
|
3
|
+
Generated by Agentic-Senior-Core CLI v3.0.45
|
|
4
4
|
Adapter Mode: legacy-thin
|
|
5
5
|
Adapter Source: .agent-instructions.md when present; fallback .instructions.md
|
|
6
6
|
Canonical baseline: .instructions.md
|
package/AGENTS.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Adapter Mode: thin
|
|
4
4
|
Adapter Source: .instructions.md
|
|
5
|
-
Canonical Snapshot SHA256:
|
|
5
|
+
Canonical Snapshot SHA256: a64819c73c12f55405e4e6249b352fbdb8b94847bc43279e8bf43e07ef5357f3
|
|
6
6
|
|
|
7
7
|
This repository is governed by a strict instruction contract.
|
|
8
8
|
Use [.instructions.md](.instructions.md) as the canonical policy source.
|
|
9
9
|
Use .agent-context/ for technical rules, prompts, checklists, policies, and state.
|
|
10
|
-
Treat README.md as overview
|
|
10
|
+
Treat README.md as public and developer overview, setup, usage, and user-facing context only when governance files conflict.
|
|
11
11
|
|
|
12
12
|
## Critical Bootstrap Floor
|
|
13
13
|
|
|
@@ -18,6 +18,7 @@ Treat README.md as overview/install/user context only when governance files conf
|
|
|
18
18
|
- For UI scope, include a one-line Motion/Palette Decision in the Bootstrap Receipt; product categories are heuristics, not style presets.
|
|
19
19
|
- For UI scope, create or refine `docs/DESIGN.md` and `docs/design-intent.json` before UI implementation.
|
|
20
20
|
- For documentation-first requests, create or refine required project docs in English by default and do not write application, firmware, or UI code until the user asks or approves.
|
|
21
|
+
- Create or refine root README.md as the public and developer entrypoint before implementation.
|
|
21
22
|
- For backend, API, data, auth, error, event, queue, worker, or distributed-system requests, load only relevant global rules from .agent-context/rules/ ([link](.agent-context/rules)).
|
|
22
23
|
- For ecosystem, framework, dependency, or Docker claims, perform live web research.
|
|
23
24
|
- Resolve runtime choices from project evidence and live official documentation; resolve structural planning from constraints and architecture boundaries.
|
package/CLAUDE.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Adapter Mode: thin
|
|
4
4
|
Adapter Source: .instructions.md
|
|
5
|
-
Canonical Snapshot SHA256:
|
|
5
|
+
Canonical Snapshot SHA256: a64819c73c12f55405e4e6249b352fbdb8b94847bc43279e8bf43e07ef5357f3
|
|
6
6
|
|
|
7
7
|
This repository is governed by a strict instruction contract.
|
|
8
8
|
Use [.instructions.md](.instructions.md) as the canonical policy source.
|
|
9
9
|
Use .agent-context/ for technical rules, prompts, checklists, policies, and state.
|
|
10
|
-
Treat README.md as overview
|
|
10
|
+
Treat README.md as public and developer overview, setup, usage, and user-facing context only when governance files conflict.
|
|
11
11
|
|
|
12
12
|
## Critical Bootstrap Floor
|
|
13
13
|
|
|
@@ -18,6 +18,7 @@ Treat README.md as overview/install/user context only when governance files conf
|
|
|
18
18
|
- For UI scope, include a one-line Motion/Palette Decision in the Bootstrap Receipt; product categories are heuristics, not style presets.
|
|
19
19
|
- For UI scope, create or refine `docs/DESIGN.md` and `docs/design-intent.json` before UI implementation.
|
|
20
20
|
- For documentation-first requests, create or refine required project docs in English by default and do not write application, firmware, or UI code until the user asks or approves.
|
|
21
|
+
- Create or refine root README.md as the public and developer entrypoint before implementation.
|
|
21
22
|
- For backend, API, data, auth, error, event, queue, worker, or distributed-system requests, load only relevant global rules from .agent-context/rules/ ([link](.agent-context/rules)).
|
|
22
23
|
- For ecosystem, framework, dependency, or Docker claims, perform live web research.
|
|
23
24
|
- Resolve runtime choices from project evidence and live official documentation; resolve structural planning from constraints and architecture boundaries.
|
package/GEMINI.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Adapter Mode: thin
|
|
4
4
|
Adapter Source: .instructions.md
|
|
5
|
-
Canonical Snapshot SHA256:
|
|
5
|
+
Canonical Snapshot SHA256: a64819c73c12f55405e4e6249b352fbdb8b94847bc43279e8bf43e07ef5357f3
|
|
6
6
|
|
|
7
7
|
This repository is governed by a strict instruction contract.
|
|
8
8
|
Use [.instructions.md](.instructions.md) as the canonical policy source.
|
|
9
9
|
Use .agent-context/ for technical rules, prompts, checklists, policies, and state.
|
|
10
|
-
Treat README.md as overview
|
|
10
|
+
Treat README.md as public and developer overview, setup, usage, and user-facing context only when governance files conflict.
|
|
11
11
|
|
|
12
12
|
## Critical Bootstrap Floor
|
|
13
13
|
|
|
@@ -18,6 +18,7 @@ Treat README.md as overview/install/user context only when governance files conf
|
|
|
18
18
|
- For UI scope, include a one-line Motion/Palette Decision in the Bootstrap Receipt; product categories are heuristics, not style presets.
|
|
19
19
|
- For UI scope, create or refine `docs/DESIGN.md` and `docs/design-intent.json` before UI implementation.
|
|
20
20
|
- For documentation-first requests, create or refine required project docs in English by default and do not write application, firmware, or UI code until the user asks or approves.
|
|
21
|
+
- Create or refine root README.md as the public and developer entrypoint before implementation.
|
|
21
22
|
- For backend, API, data, auth, error, event, queue, worker, or distributed-system requests, load only relevant global rules from .agent-context/rules/ ([link](.agent-context/rules)).
|
|
22
23
|
- For ecosystem, framework, dependency, or Docker claims, perform live web research.
|
|
23
24
|
- Resolve runtime choices from project evidence and live official documentation; resolve structural planning from constraints and architecture boundaries.
|