@ryuenn3123/agentic-senior-core 3.0.16 → 3.0.19

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.
Files changed (39) hide show
  1. package/.agent-context/prompts/bootstrap-design.md +31 -4
  2. package/.agent-context/rules/frontend-architecture.md +26 -0
  3. package/.agent-context/state/memory-continuity-benchmark.json +1 -1
  4. package/.cursorrules +1 -1
  5. package/.gemini/instructions.md +7 -1
  6. package/.github/copilot-instructions.md +7 -1
  7. package/.instructions.md +3 -0
  8. package/.windsurfrules +1 -1
  9. package/AGENTS.md +13 -1
  10. package/lib/cli/commands/init.mjs +2 -2
  11. package/lib/cli/memory-continuity.mjs +2 -1
  12. package/lib/cli/project-scaffolder/constants.mjs +1 -0
  13. package/lib/cli/project-scaffolder/design-contract.mjs +523 -171
  14. package/lib/cli/project-scaffolder/prompt-builders.mjs +38 -15
  15. package/lib/cli/project-scaffolder/storage.mjs +0 -2
  16. package/package.json +2 -2
  17. package/scripts/documentation-boundary-audit.mjs +5 -2
  18. package/scripts/frontend-usability-audit.mjs +34 -0
  19. package/scripts/mcp-server/constants.mjs +60 -0
  20. package/scripts/mcp-server/tool-registry.mjs +149 -0
  21. package/scripts/mcp-server/tools.mjs +446 -0
  22. package/scripts/mcp-server.mjs +23 -661
  23. package/scripts/release-gate/audit-checks.mjs +426 -0
  24. package/scripts/release-gate/constants.mjs +53 -0
  25. package/scripts/release-gate/runtime.mjs +63 -0
  26. package/scripts/release-gate/static-checks.mjs +182 -0
  27. package/scripts/release-gate.mjs +12 -771
  28. package/scripts/sync-thin-adapters.mjs +24 -0
  29. package/scripts/ui-design-judge/constants.mjs +24 -0
  30. package/scripts/ui-design-judge/design-execution-summary.mjs +233 -0
  31. package/scripts/ui-design-judge/git-input.mjs +131 -0
  32. package/scripts/ui-design-judge/prompting.mjs +73 -0
  33. package/scripts/ui-design-judge/providers.mjs +102 -0
  34. package/scripts/ui-design-judge/reporting.mjs +181 -0
  35. package/scripts/ui-design-judge/rubric-calibration.mjs +211 -0
  36. package/scripts/ui-design-judge/rubric-goldset.json +188 -0
  37. package/scripts/ui-design-judge.mjs +130 -441
  38. package/scripts/ui-rubric-calibration.mjs +35 -0
  39. package/scripts/validate/config.mjs +98 -0
@@ -238,6 +238,19 @@ export const REQUIRED_UPGRADE_UI_CONTRACT_WARNING_SNIPPETS = [
238
238
  },
239
239
  ];
240
240
  export const REQUIRED_UI_DESIGN_AUTOMATION_SNIPPETS = [
241
+ {
242
+ path: 'AGENTS.md',
243
+ snippets: [
244
+ 'Critical Bootstrap Floor',
245
+ 'If your host stops at this file',
246
+ 'bootstrap-design.md',
247
+ 'frontend-architecture.md',
248
+ 'docs/DESIGN.md',
249
+ 'docs/design-intent.json',
250
+ 'does not replace bootstrap loading',
251
+ 'perform live web research',
252
+ ],
253
+ },
241
254
  {
242
255
  path: '.instructions.md',
243
256
  snippets: [
@@ -245,6 +258,10 @@ export const REQUIRED_UI_DESIGN_AUTOMATION_SNIPPETS = [
245
258
  'bootstrap-design.md',
246
259
  'frontend-architecture.md',
247
260
  'do not eagerly load unrelated backend-only rules',
261
+ 'valid style context',
262
+ 'explicitly approved reference systems',
263
+ 'WCAG 2.2 AA as the hard compliance floor',
264
+ 'APCA as advisory perceptual tuning only',
248
265
  ],
249
266
  },
250
267
  {
@@ -259,8 +276,22 @@ export const REQUIRED_UI_DESIGN_AUTOMATION_SNIPPETS = [
259
276
  '`crossViewportAdaptation.mutationRules.mobile/tablet/desktop`',
260
277
  '`motionSystem`',
261
278
  '`componentMorphology`',
279
+ '`accessibilityPolicy`',
280
+ '`designExecutionPolicy`',
281
+ '`designExecutionHandoff`',
282
+ '`reviewRubric`',
283
+ '`contextHygiene`',
262
284
  'Do not reuse a color palette, component skin, or motion signature from prior chats, memories, or unrelated projects',
263
285
  'If no approved reference system exists, synthesize the design from zero using current product context, constraints, and content only.',
286
+ 'Design continuity is opt-in.',
287
+ 'WCAG 2.2 AA as the blocking baseline',
288
+ 'APCA only as advisory perceptual tuning',
289
+ 'Structured design execution must stay representation-first',
290
+ 'structured handoff',
291
+ 'surface plan',
292
+ 'component graph',
293
+ 'stable review rubric',
294
+ 'Genericity findings must name the actual drift signal',
264
295
  ],
265
296
  },
266
297
  {
@@ -271,16 +302,82 @@ export const REQUIRED_UI_DESIGN_AUTOMATION_SNIPPETS = [
271
302
  'Runs only in advisory mode for this repository workflow.',
272
303
  'Do not reward generic SaaS defaults or popular template patterns.',
273
304
  'UI design judge only evaluates changed UI surfaces.',
305
+ 'Structured design execution summary was supplied to semantic review.',
306
+ 'designExecutionSignalCount',
307
+ 'designExecutionPolicy',
308
+ 'designExecutionHandoff',
309
+ 'reviewRubric',
310
+ 'genericityStatus',
311
+ 'handoffReady',
312
+ 'calibratedStatus',
313
+ ],
314
+ },
315
+ {
316
+ path: 'scripts/ui-design-judge/rubric-calibration.mjs',
317
+ snippets: [
318
+ 'ui-rubric-calibration-v1',
319
+ 'matchedGenericitySignals',
320
+ 'matchedValidBoldSignals',
321
+ 'contractDriftDetected',
322
+ 'Genericity claim was not backed by any named drift signal.',
323
+ ],
324
+ },
325
+ {
326
+ path: 'scripts/ui-rubric-calibration.mjs',
327
+ snippets: [
328
+ 'ui-rubric-calibration',
329
+ 'rubric-goldset.json',
330
+ 'accuracyPercent',
274
331
  ],
275
332
  },
276
333
  {
277
334
  path: 'lib/cli/project-scaffolder/design-contract.mjs',
278
335
  snippets: [
279
336
  'tokenSystem',
337
+ 'seedPolicy',
338
+ 'structure-first-scaffold',
280
339
  'colorTruth',
340
+ 'rolesAreMinimumScaffold',
281
341
  'crossViewportAdaptation',
282
342
  'motionSystem',
343
+ 'seedToneLocked',
283
344
  'componentMorphology',
345
+ 'seedBehaviorsRequireRefinement',
346
+ 'accessibilityPolicy',
347
+ 'designExecutionPolicy',
348
+ 'seedRefinementRequiredBeforeUiImplementation',
349
+ 'requireStructuredHandoff',
350
+ 'handoffFormatVersion',
351
+ 'designExecutionHandoff',
352
+ 'seedMode',
353
+ 'requiresTaskSpecificRefinement',
354
+ 'representationStrategy',
355
+ 'requireSurfacePlan',
356
+ 'requireComponentGraph',
357
+ 'requireViewportMutationPlan',
358
+ 'requireInteractionStateMatrix',
359
+ 'requireContentPriorityMap',
360
+ 'forbidScreenshotDependency',
361
+ 'semanticReviewFocus',
362
+ 'primaryExperienceGoal',
363
+ 'surfacePlan',
364
+ 'contentPriorityMap',
365
+ 'viewportMutationPlan',
366
+ 'interactionStateMatrix',
367
+ 'taskFlowNarrative',
368
+ 'signatureMoveRationale',
369
+ 'implementationGuardrails',
370
+ 'reviewRubric',
371
+ 'genericitySignals',
372
+ 'validBoldSignals',
373
+ 'mustExplainGenericity',
374
+ 'mustSeparateTasteFromFailure',
375
+ 'hardComplianceFloor',
376
+ 'advisoryContrastModel',
377
+ 'contextHygiene',
378
+ 'repoEvidenceOverridesMemory',
379
+ 'requireExplicitContinuityApproval',
380
+ 'forbidCarryoverWhenUnapproved',
284
381
  'requireViewportMutationRules',
285
382
  'allowHexDerivatives',
286
383
  ],
@@ -396,6 +493,7 @@ export const REQUIRED_DETERMINISTIC_BOUNDARY_ENFORCEMENT_SNIPPETS = [
396
493
  'diagnostics.documentationBoundaryAudit',
397
494
  'auto-docs-sync-scope-phase1',
398
495
  'auto-docs-sync-rollout-metrics',
496
+ 'ui-design-judge-structured-diagnostics',
399
497
  ],
400
498
  },
401
499
  ];