@owlmeans/viable-common 0.0.24 → 0.0.26

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 (131) hide show
  1. package/README.md +4 -4
  2. package/agent-meta/manifest.json +2 -2
  3. package/agent-meta/skills/agent-presentation/SKILL.md +1 -1
  4. package/agent-meta/skills/viable-common/SKILL.md +115 -13
  5. package/build/blueprint/case.d.ts.map +1 -1
  6. package/build/blueprint/case.js +58 -16
  7. package/build/blueprint/case.js.map +1 -1
  8. package/build/blueprint/resolve.d.ts.map +1 -1
  9. package/build/blueprint/resolve.js +3 -0
  10. package/build/blueprint/resolve.js.map +1 -1
  11. package/build/blueprint/types.d.ts +44 -2
  12. package/build/blueprint/types.d.ts.map +1 -1
  13. package/build/blueprint/types.js +35 -1
  14. package/build/blueprint/types.js.map +1 -1
  15. package/build/branding.d.ts +5 -1
  16. package/build/branding.d.ts.map +1 -1
  17. package/build/branding.js +6 -0
  18. package/build/branding.js.map +1 -1
  19. package/build/connect/consts.d.ts +31 -43
  20. package/build/connect/consts.d.ts.map +1 -1
  21. package/build/connect/consts.js +34 -48
  22. package/build/connect/consts.js.map +1 -1
  23. package/build/connect/entrypoints.d.ts +36 -19
  24. package/build/connect/entrypoints.d.ts.map +1 -1
  25. package/build/connect/entrypoints.js +23 -4
  26. package/build/connect/entrypoints.js.map +1 -1
  27. package/build/connect/index.d.ts +0 -1
  28. package/build/connect/index.d.ts.map +1 -1
  29. package/build/connect/index.js +0 -1
  30. package/build/connect/index.js.map +1 -1
  31. package/build/connect/ops.d.ts +1 -4
  32. package/build/connect/ops.d.ts.map +1 -1
  33. package/build/connect/references.d.ts +33 -16
  34. package/build/connect/references.d.ts.map +1 -1
  35. package/build/connect/references.js +7 -1
  36. package/build/connect/references.js.map +1 -1
  37. package/build/connect/schemas.d.ts +17 -3
  38. package/build/connect/schemas.d.ts.map +1 -1
  39. package/build/connect/schemas.js +31 -5
  40. package/build/connect/schemas.js.map +1 -1
  41. package/build/connect/types.d.ts +63 -66
  42. package/build/connect/types.d.ts.map +1 -1
  43. package/build/consts.d.ts +1 -1
  44. package/build/consts.d.ts.map +1 -1
  45. package/build/consts.js +3 -0
  46. package/build/consts.js.map +1 -1
  47. package/build/design/runtime.d.ts +1 -1
  48. package/build/design/runtime.d.ts.map +1 -1
  49. package/build/metadata/types.d.ts +8 -0
  50. package/build/metadata/types.d.ts.map +1 -1
  51. package/build/metadata/types.js.map +1 -1
  52. package/build/planning/consts.d.ts +1 -1
  53. package/build/planning/consts.js +1 -1
  54. package/build/planning/helpers.d.ts +2 -1
  55. package/build/planning/helpers.d.ts.map +1 -1
  56. package/build/planning/helpers.js +5 -2
  57. package/build/planning/helpers.js.map +1 -1
  58. package/build/planning/index.d.ts +1 -0
  59. package/build/planning/index.d.ts.map +1 -1
  60. package/build/planning/index.js +1 -0
  61. package/build/planning/index.js.map +1 -1
  62. package/build/planning/landing.d.ts +25 -0
  63. package/build/planning/landing.d.ts.map +1 -0
  64. package/build/planning/landing.js +38 -0
  65. package/build/planning/landing.js.map +1 -0
  66. package/build/planning/schemas.d.ts.map +1 -1
  67. package/build/planning/schemas.js +13 -0
  68. package/build/planning/schemas.js.map +1 -1
  69. package/build/planning/types.d.ts +28 -3
  70. package/build/planning/types.d.ts.map +1 -1
  71. package/build/scaffold/consts.d.ts +8 -0
  72. package/build/scaffold/consts.d.ts.map +1 -1
  73. package/build/scaffold/consts.js +7 -0
  74. package/build/scaffold/consts.js.map +1 -1
  75. package/build/scaffold/schemas.d.ts.map +1 -1
  76. package/build/scaffold/schemas.js +257 -12
  77. package/build/scaffold/schemas.js.map +1 -1
  78. package/build/scaffold/types.d.ts +119 -4
  79. package/build/scaffold/types.d.ts.map +1 -1
  80. package/build/skills/catalogue.d.ts.map +1 -1
  81. package/build/skills/catalogue.js +150 -39
  82. package/build/skills/catalogue.js.map +1 -1
  83. package/build/skills/consts.d.ts +5 -0
  84. package/build/skills/consts.d.ts.map +1 -1
  85. package/build/skills/consts.js +8 -0
  86. package/build/skills/consts.js.map +1 -1
  87. package/build/skills/roles.d.ts.map +1 -1
  88. package/build/skills/roles.js +11 -5
  89. package/build/skills/roles.js.map +1 -1
  90. package/build/types.d.ts +30 -0
  91. package/build/types.d.ts.map +1 -1
  92. package/package.json +8 -8
  93. package/src/blueprint/case.ts +64 -16
  94. package/src/blueprint/resolve.ts +3 -0
  95. package/src/blueprint/types.ts +57 -1
  96. package/src/branding.ts +6 -0
  97. package/src/connect/consts.ts +32 -45
  98. package/src/connect/entrypoints.ts +51 -23
  99. package/src/connect/index.ts +0 -1
  100. package/src/connect/ops.ts +1 -4
  101. package/src/connect/references.ts +48 -29
  102. package/src/connect/schemas.ts +40 -11
  103. package/src/connect/types.ts +66 -69
  104. package/src/consts.ts +3 -0
  105. package/src/design/runtime.ts +1 -1
  106. package/src/metadata/types.ts +8 -0
  107. package/src/planning/consts.ts +1 -1
  108. package/src/planning/helpers.ts +5 -2
  109. package/src/planning/index.ts +1 -0
  110. package/src/planning/landing.ts +43 -0
  111. package/src/planning/schemas.ts +13 -0
  112. package/src/planning/types.ts +29 -3
  113. package/src/scaffold/consts.ts +10 -0
  114. package/src/scaffold/schemas.ts +262 -13
  115. package/src/scaffold/types.ts +105 -5
  116. package/src/skills/catalogue.ts +151 -39
  117. package/src/skills/consts.ts +8 -0
  118. package/src/skills/roles.ts +11 -5
  119. package/src/types.ts +30 -0
  120. package/tests/blueprint.spec.ts +98 -0
  121. package/tests/branding.spec.ts +21 -1
  122. package/tests/connect-convert.spec.ts +2 -8
  123. package/tests/connect-entrypoints.spec.ts +49 -28
  124. package/tests/planning.spec.ts +56 -1
  125. package/tests/scaffold.spec.ts +131 -0
  126. package/tests/skills.spec.ts +63 -2
  127. package/build/connect/jobs.d.ts +0 -25
  128. package/build/connect/jobs.d.ts.map +0 -1
  129. package/build/connect/jobs.js +0 -29
  130. package/build/connect/jobs.js.map +0 -1
  131. package/src/connect/jobs.ts +0 -40
@@ -71,9 +71,6 @@ export const ALIAS_CONVENTION = `
71
71
  \`web:layout:\` alias and no \`app.web.layout\` — writing either addresses nothing.
72
72
  - An endpoint alias is \`api:<entity>:<action>\` — \`api:task:list\`, \`api:task:create\`. The
73
73
  group alias that carries the shared path and guard is \`api:<entity>\` — \`api:task\`.
74
- - A queued job alias is \`job:<entity>:<action>\` — \`job:report:build\`, \`job:contract:analyze\`.
75
- A job is never given a \`web:\` or \`api:\` alias, and an endpoint is never given a \`job:\` one:
76
- the prefix is what says which side serves it.
77
74
  - Lowercase kebab-case in every segment. The prefix is NOT optional and NOT decorative: access
78
75
  rules are applied per side by it.
79
76
  `.trim();
@@ -90,11 +87,12 @@ The generated project is a \`@owlmeans/create-app\` monorepo with five workspace
90
87
  - \`sources/web\` — the react application.
91
88
  - \`sources/worker\` — the queue consumer. Same context, no HTTP routes, one processor per job.
92
89
 
93
- These files are the CONTRACT between the packages. Every screen, endpoint and job passes through
94
- them, and each has a sentinel comment marking where a new line goes:
90
+ These files are the CONTRACT between the public packages. Every screen and endpoint passes through
91
+ them; technical worker protocols live in the backend package instead:
95
92
 
96
93
  - \`sources/common/src/consts.ts\` — the \`app\` alias tree.
97
94
  - \`sources/common/src/entrypoints.ts\` — the shared immutable protocol tree (\`appEntrypoints\`).
95
+ - \`sources/backend/src/jobs/index.ts\` — backend-only queue protocols and declarations.
98
96
  - \`sources/api/src/entrypoints.ts\` — server bindings: \`bind\` + one \`handlers<Context>()\` wrap
99
97
  per handler.
100
98
  - \`sources/web/src/entrypoints.ts\` — client bindings (\`bindAll\` + \`bindScreen\`).
@@ -572,39 +570,66 @@ carries. Introducing a second spelling orphans every grant made against the firs
572
570
  files, not a copy of their own. They are already there: import them, never delete, rename or
573
571
  move one, and never re-add a primitive the directory already carries.
574
572
  - Styling is Tailwind utility classes. There are no CSS modules and no styled-components.
573
+ - The GROUND is white in light mode and black in dark mode, and it stays that way: every page,
574
+ section, band and header sits on \`bg-background\`. Colour comes from ONE product accent —
575
+ \`bg-primary\` / \`text-primary\` — and only on the primary button, a section's small label, the rule
576
+ over the first step and a check mark. It never comes from a background, a tint or a band.
577
+
578
+ <section className="bg-primary/10 py-20">...</section> // WRONG
579
+ <section className="bg-gradient-to-b from-amber-50 to-white py-20">...</section> // WRONG
580
+ <section className="border-t py-20">...</section> // right
581
+
582
+ - Depth comes from exactly three things: a 1px HAIRLINE (\`border\`, the \`--border\` token), the
583
+ NEUTRAL TILE (\`bg-muted\` — the only tinted surface: feature tiles, testimonial tiles, result
584
+ rows), and ONE shadow, \`shadow-floating\`, which belongs to the one card that floats (the landing
585
+ gate). An ordinary card is \`rounded-xl border bg-card\` and carries no shadow. There are no
586
+ gradients, no glass, no backdrop blur, no glow and no coloured shadows anywhere in the interface.
587
+
588
+ <div className="rounded-xl bg-white/60 shadow-2xl backdrop-blur-md p-6" /> // WRONG
589
+ <div className="rounded-xl border bg-card p-6" /> // right
590
+ <li className="rounded-[32px] bg-muted p-10" /> // right — a tile
591
+
592
+ - TYPE carries the brand. Headings are the theme's heavy grotesk — \`font-extrabold\` with tight
593
+ negative tracking (\`tracking-tight\`, or \`tracking-[-0.045em]\` on a section heading) and
594
+ \`text-balance\`; paragraphs are \`text-muted-foreground\` with \`text-pretty\` and a readable
595
+ measure (\`max-w-[52ch]\`); whitespace is generous. Never set a different font family.
596
+ - A section opens with a small LABEL — a plain \`<p className="text-[15px] font-bold text-primary">\`
597
+ — then its \`<h2>\`. A label is text: never a chip, a pill or a badge.
598
+ - Buttons are pills. The primary one is \`cta-btn\` (on an \`<a>\` or a bare \`<button>\`, never on a
599
+ shadcn \`Button\`, whose own \`bg-\` utility would win); the secondary one is
600
+ \`rounded-full border-[1.5px] border-foreground text-foreground hover:bg-muted\`. Labels are verbs.
601
+ - Motion is small and belongs to the picture: \`reveal\` fades a block in once as it enters, and
602
+ \`float-slow\` / \`drift-slow\` lift PARTS OF AN ILLUSTRATION by a few pixels. Nothing spins,
603
+ pulses, orbits or scales, and nothing moves for someone who asked for reduced motion.
604
+ - The stylesheet still defines the older classes \`gradient-heading\`, \`glass-card\`, \`eyebrow\`,
605
+ \`glow-orb\`, \`shadow-soft\`, \`shadow-raised\`, \`shadow-glow\`, \`pulse-soft\` and \`spin-slow\`,
606
+ because screens written earlier use them. They are REPAINTED flat — \`gradient-heading\` is solid
607
+ ink, \`glass-card\` a neutral tile, \`eyebrow\` a plain accent label, \`glow-orb\` hidden, the three
608
+ shadows and the two animations nothing at all. Never reach for one of them as decoration: it
609
+ paints nothing, or it paints the flat thing you could have written directly. Do not invent other
610
+ classes in the same family.
611
+ - Overrides: change any of the look rules above — the ground, the accent, depth, type, motion —
612
+ ONLY when the customer's specification explicitly asks: it names a background colour, a
613
+ dark-only or coloured theme, a brand palette, or gradients. The product's subject matter is not
614
+ a request — a bakery is not a warm background and a bank is not a blue one.
575
615
  - Colour comes in PAIRS. Every surface token in this theme has a foreground partner —
576
616
  \`--background\`/\`--foreground\`, \`--card\`/\`--card-foreground\`, \`--primary\`/\`--primary-foreground\`,
577
617
  and the same for \`secondary\`, \`muted\`, \`accent\`, \`popover\`, \`destructive\` and \`sidebar\`. Painting a
578
618
  surface is therefore never a single decision: give the element its partner in the SAME
579
619
  \`className\`, or the text keeps the colour meant for the surface underneath and vanishes wherever
580
- the design made that surface dark.
620
+ that surface is dark.
581
621
 
582
- <section className="bg-primary p-6">Join us</section> // WRONG
583
- <section className="bg-primary text-primary-foreground p-6">Join us</section> // right
622
+ <a className="rounded-full bg-primary px-7 py-3">Get started</a> // WRONG
623
+ <a className="rounded-full bg-primary text-primary-foreground px-7 py-3">Get started</a> // right
584
624
 
585
- Nothing catches the wrong form — it compiles and it renders. It is unreadable only on the
586
- surfaces the design happened to make dark, which is why it survives to the finished screen.
625
+ Nothing catches the wrong form — it compiles and it renders. It is unreadable only where the
626
+ accent happens to be dark, which is why it survives to the finished screen.
587
627
  - Never paint a surface with a raw or palette colour — \`bg-slate-900\`, \`bg-[#101820]\`,
588
628
  \`style={{ background: '#101820' }}\`. Those have no foreground partner, so nothing keeps the text
589
- on them legible, and they ignore the theme. Every surface is one of the tokens above.
590
- - Depth and emphasis come from the theme's DECORATION VOCABULARY, and using it is expected rather
591
- than exceptional — a screen built only from flat cards is an unfinished screen. That vocabulary
592
- is: the component classes \`gradient-heading\` (a page or section headline), \`glass-card\` (a
593
- panel with depth), \`eyebrow\` (the small chip above a headline), \`cta-btn\` (the primary call to
594
- action, on an \`<a>\` or a bare \`<button>\`, never on a shadcn \`Button\` whose own \`bg-\`
595
- utility would win), \`glow-orb\` (a soft colour field behind a section, always
596
- \`pointer-events-none\` and behind the content); the elevation utilities \`shadow-soft\`,
597
- \`shadow-raised\`, \`shadow-floating\`, \`shadow-glow\`; the idle-motion classes \`reveal\`,
598
- \`float-slow\`, \`drift-slow\`, \`pulse-soft\`, \`spin-slow\`; and gradients whose stops are THEME
599
- tokens with opacity. None of these is a raw colour.
600
-
601
- <div className="bg-[radial-gradient(#818cf8,transparent)] blur-[120px]" /> // WRONG
602
- <span className="glow-orb h-80 w-96 -z-10" aria-hidden /> // right
603
- <div className="bg-gradient-to-br from-primary/20 to-transparent p-6" /> // right
604
-
605
- Keep a gradient under a text element light — \`/20\` or less — unless the element also carries a
606
- \`-foreground\` partner class. These class names are defined in the project's stylesheet; do not
607
- invent others in the same family.
629
+ on them legible, and they ignore the theme and its dark mode. Every surface is one of the tokens
630
+ above.
631
+ - Every interactive element keeps its visible \`focus-visible\` ring, is at least 44px tall to touch,
632
+ and never signals anything by hover alone.
608
633
  - Text that is NOT on a coloured surface takes NO colour class: it already inherits the readable
609
634
  one. Never add \`text-white\`, \`text-black\` or a \`-foreground\` class "to be safe" — on an ordinary
610
635
  panel that is the same fault inverted. \`text-muted-foreground\` for secondary text is the
@@ -765,6 +790,83 @@ symbols from the component name (PascalCase of the component definition — for
765
790
  Both sides must use these exact names. This is a DEFAULT: when a "View-model contract"
766
791
  block is present in the task, it lists the symbols that actually exist and overrides this
767
792
  convention entirely.
793
+ `),
794
+ skill(ViableSkill.LandingGate, 'The landing gate — from the landing page into the app', `
795
+ A product can let a guest START its key end-user workflow on the landing page, before any account
796
+ exists, and finish it in the app after signing in with the choices they made carried over. The
797
+ card that does this is the LANDING GATE. It sits in the hero where the call-to-action buttons
798
+ would be, and it REPLACES them.
799
+
800
+ **Which story is gate-worthy.** At most ONE per project, and only a story that is all of:
801
+ - in the \`user\` area — the signed-in END user's own workflow, never an operator's, an owner's or
802
+ one a guest already completes without signing in;
803
+ - a FIRST-VALUE step — something useful comes out of it the moment the guest acts;
804
+ - begun with NON-SENSITIVE input — a few picks, a filter, a short text. Never a payment, an
805
+ address, an upload, contact details or anything else about the person.
806
+ A pantry-to-recipe finder is gate-worthy: pick ingredients, see what you can bake. Checking out a
807
+ basket, setting up a profile or reviewing a queue of requests is not. When no story qualifies
808
+ there is no gate and the hero keeps its buttons — a correct answer, not a failure.
809
+
810
+ **The card.** The sketch is \`@/components/home/gate\`; the implemented one is
811
+ \`@/components/home/landing-gate\` and exports the same \`LandingGate\` with the same props.
812
+ - Its root is \`<div id="gate" data-home-gate>\` — never a \`<section>\`, \`<aside>\`, \`<header>\`
813
+ or \`<footer>\`; the page already has exactly one of each landmark it needs.
814
+ - A question in the end user's words as its heading, and a "No account needed" hint beside it.
815
+ - 5 to 8 choice chips, each a \`<button type="button" aria-pressed={selected}>\` inside a
816
+ \`role="group"\` with an \`aria-label\`, 4 or 5 pre-selected so the first view already shows
817
+ results. When choices do not fit, 1 to 3 labelled fields instead.
818
+ - A count with \`aria-live="polite"\`, at most 2 result rows re-ranked on every change, and one
819
+ line for when nothing matches. A row's lock icon is named "Full details after sign-in".
820
+ - A one-line note ("Sign in with your email. Your picks come with you.") and ONE primary button,
821
+ straight after the choices in tab order. No second button beside it.
822
+ - The sketch works signed out and offline from its sample records. The implemented card may call
823
+ a PUBLIC endpoint; never one that needs a signed-in user.
824
+
825
+ **The handoff.** The button carries the guest's choices across sign-in in \`sessionStorage\`,
826
+ through \`@/lib/handoff\` — never in the URL, never in a cookie, never through the server:
827
+
828
+ import { useLogin } from '@owlmeans/client-iam'
829
+ import { writeLandingHandoff } from '@/lib/handoff'
830
+
831
+ const [, login] = useLogin(target)
832
+ const start = () => {
833
+ writeLandingHandoff(target, { picks })
834
+ login()
835
+ }
836
+ <button type="button" className="cta-btn" onClick={start}>{cta}</button>
837
+
838
+ - \`target\` is the ALIAS of the story's own full-scale screen in the user area — the prop the guest
839
+ home passes — never a URL. \`useLogin(target)\` returns \`[path, handler]\`, and the handler
840
+ brings the person to \`target\` once they are signed in.
841
+ - The click handler is SYNCHRONOUS: write, then call the handler, in the same gesture. A sign-in
842
+ that has to open a window is eaten by the popup blocker once anything has been awaited first.
843
+
844
+ onClick={async () => { await saveDraft(picks); login() }} // WRONG — the gesture is gone
845
+ href={'/frontoffice/recipes?picks=' + picks.join(',')} // WRONG — a URL, the picks in it, no sign-in
846
+
847
+ **The full-scale screen** — the story's own screen in the user area — reads the handoff once in its
848
+ view model, pre-fills from it, says so in one line, and clears it:
849
+
850
+ import { clearLandingHandoff, readLandingHandoff } from '@/lib/handoff'
851
+
852
+ useEffect(() => {
853
+ const carried = readLandingHandoff<{ picks: string[] }>(alias)
854
+ if (carried == null) return
855
+ setPicks(carried.picks)
856
+ setCarriedOver(true) // "We kept your 4 picks from the home page."
857
+ clearLandingHandoff()
858
+ }, [alias])
859
+
860
+ \`alias\` is the screen's own alias — the same string the gate was given as \`target\`. A missing,
861
+ expired or foreign handoff reads as \`null\`, and the screen then starts empty exactly as it does for
862
+ someone who arrived from the menu; never treat its absence as an error.
863
+
864
+ **Never:**
865
+ - ask for an account, a payment, an email address or any personal detail before sign-in — the gate
866
+ collects choices and nothing else, and the handoff stores only those choices;
867
+ - render a story code, a "Preview" badge or a dashed frame inside the gate — it is the product's
868
+ public face in production;
869
+ - keep the hero's buttons beside a gate, or give the gate a second call to action.
768
870
  `),
769
871
  skill(ViableSkill.ResourceLayer, 'OwlMeans resources own the schema', `
770
872
  A "resource" is ONE file — \`src/resources/{entity}/{type}.ts\` — carrying all data access
@@ -1349,25 +1451,34 @@ A queued job has no screen and no session. Name the story whose screen shows its
1349
1451
  the work is invisible and the user is left pressing a button that appears to do nothing.
1350
1452
  `),
1351
1453
  skill(ViableSkill.WorkerJobs, 'Queues, jobs and processors', `
1352
- Three files have to agree, and a job that exists in two of the three is worse than one that
1454
+ Three server-side bindings have to agree, and a job that exists in two of the three is worse than one that
1353
1455
  exists in none — a declared name nothing processes is a message that piles up, and a processor
1354
1456
  with no declaration is dead code the barrel still imports.
1355
1457
 
1356
- ## 1. The queue — \`sources/backend/src/jobs/index.ts\`
1458
+ ## 1. The protocol and queue — \`sources/backend/src/jobs/index.ts\`
1357
1459
  A queue is an ADDRESS: it says what exists and which job names it accepts. Both the api (which
1358
1460
  enqueues) and the worker (which consumes) read this one list, and a job name the queue does not
1359
- declare is refused at enqueue time.
1461
+ declare is refused at enqueue time. The technical protocol belongs here too; common and web must
1462
+ not import it.
1360
1463
 
1361
1464
  \`\`\`ts
1465
+ export const jobProtocols = {
1466
+ reportBuild: protocol(route(
1467
+ 'job:report:build', '/report-build',
1468
+ queueRoute({ service: APP_WORKER, queue: APP_QUEUE, timeout: 30_000 }),
1469
+ ), contract(typed())),
1470
+ }
1362
1471
  export const queues: QueueDeclaration[] = [
1363
- { name: APP_QUEUE, jobs: [app.job.test, app.job.<name>],
1472
+ { name: APP_QUEUE, jobs: [jobProtocols.reportBuild.alias],
1364
1473
  worker: { concurrency: 4, lockDuration: 60_000 } },
1365
1474
  ]
1366
1475
  \`\`\`
1367
1476
 
1368
- ## 2. The alias and the entrypoint — \`sources/common/src\`
1369
- The job's name IS its entrypoint alias. Declare \`app.job.<name>\` in \`consts.ts\` above the
1370
- sentinel, and the protocol in \`entrypoints.ts\` with \`job()\` from \`@owlmeans/route\`.
1477
+ Use \`job()\` from \`@owlmeans/queue\`, never from the generic route package.
1478
+
1479
+ ## 2. The producer — \`sources/api/src/entrypoints.ts\`
1480
+ Bind \`bindClient(jobProtocols.reportBuild)\`. Public API contracts in common describe the domain
1481
+ operation and do not disclose that the handler delegates to a queue.
1371
1482
 
1372
1483
  ## 3. The processor — \`sources/worker/src/jobs/<name>.ts\`
1373
1484
  A PLAIN exported async function — named exports only, exactly like an endpoint handler. It never
@@ -1380,7 +1491,7 @@ imports \`handlers\` and never calls \`handlers<Context>()\`; that belongs only
1380
1491
  // sources/worker/src/entrypoints.ts — the ONLY wrap
1381
1492
  import * as jobs from '@/jobs/index.js'
1382
1493
  const worker = handlers<Context>()
1383
- bind(protocols.job.reportBuild, worker.request(protocols.job.reportBuild, jobs.handleReportBuildJob))
1494
+ bind(jobProtocols.reportBuild, worker.request(jobProtocols.reportBuild, jobs.handleReportBuildJob))
1384
1495
 
1385
1496
  WRONG — the processor module ALSO calls \`handlers()\` and wraps itself, so the export bound above
1386
1497
  is wrapped a SECOND time. \`tsc\` catches it (\`TS2345 "BoundEntrypointHandler<…> is not
@@ -1389,7 +1500,7 @@ function\`:
1389
1500
 
1390
1501
  // WRONG — sources/worker/src/jobs/report-build.ts
1391
1502
  const worker = handlers<Context>()
1392
- export const handleReportBuildJob = worker.request(protocols.job.reportBuild, async (req, ctx) => { ... })
1503
+ export const handleReportBuildJob = worker.request(jobProtocols.reportBuild, async (req, ctx) => { ... })
1393
1504
 
1394
1505
  It RETURNS its result; throwing a \`ResilientError\` subclass is how a refusal is reported, and the
1395
1506
  class survives the broker.
@@ -1402,7 +1513,7 @@ Two rules with no equivalent on the HTTP side:
1402
1513
  what it created, and say in a comment which of the two this one does.
1403
1514
 
1404
1515
  Enqueue from an endpoint with the same typed call used for HTTP:
1405
- \`context.entrypoint(appEntrypoints.job.<name>).call({ body: data })\`.
1516
+ \`context.entrypoint(jobProtocols.<name>).call({ body: data })\`.
1406
1517
  `),
1407
1518
  skill(ViableSkill.TargetAgents, 'LLM agents inside the application', `
1408
1519
  An agent generated into the application is an \`@owlmeans/agent\` model, built in the shared
@@ -1 +1 @@
1
- {"version":3,"file":"catalogue.js","sourceRoot":"","s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,KAAK,KAAK,CAAE,CAAA"}
@@ -29,6 +29,11 @@ export declare enum ViableSkill {
29
29
  FormFeedback = "form-feedback",
30
30
  StoreAccess = "store-access",
31
31
  ViewModelNaming = "viewmodel-naming",
32
+ /**
33
+ * The landing gate: a guest starts the key end-user story on the landing page and continues on
34
+ * its full-scale screen after signing in, with the choices carried over.
35
+ */
36
+ LandingGate = "landing-gate",
32
37
  ResourceLayer = "resource-layer",
33
38
  ResourceResults = "resource-results",
34
39
  ResourceMigrations = "resource-migrations",
@@ -1 +1 @@
1
- {"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../src/skills/consts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,oBAAY,WAAW;IACrB,gDAAgD;IAChD,gBAAgB,uBAAuB;IACvC,0CAA0C;IAC1C,cAAc,qBAAqB;IACnC,qCAAqC;IACrC,eAAe,qBAAqB;IACpC,kFAAkF;IAClF,aAAa,oBAAoB;IACjC,wEAAwE;IACxE,mBAAmB,0BAA0B;IAE7C,OAAO,aAAa;IACpB,SAAS,eAAe;IAExB,eAAe,qBAAqB;IACpC,mBAAmB,yBAAyB;IAC5C,WAAW,iBAAiB;IAC5B,uFAAuF;IACvF,eAAe,qBAAqB;IACpC,QAAQ,cAAc;IACtB,aAAa,mBAAmB;IAChC,iGAAiG;IACjG,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,eAAe,qBAAqB;IAEpC,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,kBAAkB,wBAAwB;IAC1C,cAAc,oBAAoB;IAClC,eAAe,qBAAqB;IACpC,gBAAgB,sBAAsB;IACtC,eAAe,qBAAqB;IAEpC,aAAa,mBAAmB;IAChC,YAAY,kBAAkB;IAE9B,sFAAsF;IACtF,eAAe,qBAAqB;IACpC,gFAAgF;IAChF,UAAU,gBAAgB;IAC1B,4EAA4E;IAC5E,YAAY,kBAAkB;IAE9B,uFAAuF;IACvF,aAAa,mBAAmB;IAChC,wEAAwE;I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E5B,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,kBAAkB,wBAAwB;IAC1C,cAAc,oBAAoB;IAClC,eAAe,qBAAqB;IACpC,gBAAgB,sBAAsB;IACtC,eAAe,qBAAqB;IAEpC,aAAa,mBAAmB;IAChC,YAAY,kBAAkB;IAE9B,sFAAsF;IACtF,eAAe,qBAAqB;IACpC,gFAAgF;IAChF,UAAU,gBAAgB;IAC1B,4EAA4E;IAC5E,YAAY,kBAAkB;IAE9B,uFAAuF;IACvF,aAAa,mBAAmB;IAChC,wEAAwE;IACxE,SAAS,eAAe;IACxB,iFAAiF;IACjF,gBAAgB,uBAAuB;IAEvC,wDAAwD;IACxD,UAAU,gBAAgB;IAC1B,uEAAuE;IACvE,SAAS,eAAe;IACxB,sFAAsF;IACtF,MAAM,YAAY;IAClB,kFAAkF;IAClF,cAAc,oBAAoB;IAElC,gBAAgB,sBAAsB;IACtC,gBAAgB,sBAAsB;IAEtC,eAAe,qBAAqB;IACpC,gBAAgB,uBAAuB;IACvC,WAAW,iBAAiB;IAC5B,gBAAgB,sBAAsB;IACtC,WAAW,iBAAiB;IAC5B,aAAa,mBAAmB;CACjC;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CA+CnD,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,sBAAsB,EAAE,WAAW,EAe/C,CAAA;AAID;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,WACrB,WAAW,EAAE,YAAY,WAAW,EAAE,KAC7C,WAAW,EAKb,CAAA"}
@@ -30,6 +30,11 @@ export var ViableSkill;
30
30
  ViableSkill["FormFeedback"] = "form-feedback";
31
31
  ViableSkill["StoreAccess"] = "store-access";
32
32
  ViableSkill["ViewModelNaming"] = "viewmodel-naming";
33
+ /**
34
+ * The landing gate: a guest starts the key end-user story on the landing page and continues on
35
+ * its full-scale screen after signing in, with the choices carried over.
36
+ */
37
+ ViableSkill["LandingGate"] = "landing-gate";
33
38
  ViableSkill["ResourceLayer"] = "resource-layer";
34
39
  ViableSkill["ResourceResults"] = "resource-results";
35
40
  ViableSkill["ResourceMigrations"] = "resource-migrations";
@@ -90,6 +95,9 @@ export const SKILL_ORDER = {
90
95
  [ViableSkill.FormFeedback]: 51,
91
96
  [ViableSkill.StoreAccess]: 52,
92
97
  [ViableSkill.ViewModelNaming]: 55,
98
+ // After the frontend rules it builds on (entrypoints, nav, shadcn, form feedback, the store), and
99
+ // before the backend block — it is only ever carried by analysis and frontend personas.
100
+ [ViableSkill.LandingGate]: 56,
93
101
  [ViableSkill.ResourceLayer]: 60,
94
102
  [ViableSkill.ResourceResults]: 62,
95
103
  [ViableSkill.ResourceMigrations]: 64,
@@ -1 +1 @@
1
- {"version":3,"file":"consts.js","sourceRoot":"","sources":["../../src/skills/consts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,WAsEX;AAtED,WAAY,WAAW;IACrB,gDAAgD;IAChD,sDAAuC,CAAA;IACvC,0CAA0C;IAC1C,kDAAmC,CAAA;IACnC,qCAAqC;IACrC,mDAAoC,CAAA;IACpC,kFAAkF;IAClF,gDAAiC,CAAA;IACjC,wEAAwE;IACxE,4DAA6C,CAAA;IAE7C,mCAAoB,CAAA;IACpB,uCAAwB,CAAA;IAExB,mDAAoC,CAAA;IACpC,2DAA4C,CAAA;IAC5C,2CAA4B,CAAA;IAC5B,uFAAuF;IACvF,mDAAoC,CAAA;IACpC,qCAAsB,CAAA;IACtB,+CAAgC,CAAA;IAChC,iGAAiG;IACjG,6CAA8B,CAAA;IAC9B,2CAA4B,CAAA;IAC5B,mDAAoC,CAAA;IAEpC,+CAAgC,CAAA;IAChC,mDAAoC,CAAA;IACpC,yDAA0C,CAAA;IAC1C,iDAAkC,CAAA;IAClC,mDAAoC,CAAA;IACpC,qDAAsC,CAAA;IACtC,mDAAoC,CAAA;IAEpC,+CAAgC,CAAA;IAChC,6CAA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,kFAAkF;IAClF,WAAW,iBAAiB;IAC5B,eAAe,sBAAsB;IAErC,KAAK,UAAU;IACf,YAAY,iBAAiB;IAC7B,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;IACxC,QAAQ,cAAc;CACvB;AA6BD;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,aAAa,EAAE,YAAY,CA6N/D,CAAA"}
@@ -94,11 +94,17 @@ and you are told which one with each task.
94
94
  `, [ViableSkill.OutputTextOnly]),
95
95
  [ViablePersona.VisualDesigner]: persona(`
96
96
  You are a visual ui designer specializing in writing design guidelines and design systems
97
- for web applications that loves to produce expressive and bright interfaces.
98
- Unless a specification asks for something else, you default to a modern, expressive language —
99
- gradients, glass surfaces, layered shadows, restrained motion — while keeping every surface
100
- plainly readable. What makes a design yours is the values you choose, never the techniques you
101
- leave out.
97
+ for web applications, and your interfaces are calm, precise and unmistakably the product's own.
98
+ Your house style: a white ground in light mode and a black one in dark mode; colour from ONE
99
+ product accent and never from backgrounds; depth only from hairlines, neutral tiles and a single
100
+ floating shadow; a heavy grotesk display face with tight tracking and generous whitespace carrying
101
+ the brand; motion that is small and belongs to the picture. You never reach for gradients, glass,
102
+ blur or glow, and the older decoration classes a project still defines are painted flat and are
103
+ never your tools. You change any of this only when the customer's specification explicitly asks —
104
+ it names a background colour, a dark-only or coloured theme, a brand palette, or gradients. The
105
+ product's subject matter is not such a request: a bakery is not a warm background, a bank is not a
106
+ blue one. What makes a design this product's is its accent, its type and its illustration — never
107
+ an added effect.
102
108
  This application serves four audiences — anonymous visitors, signed-in end users, the owner,
103
109
  and staff running the business process. Every screen you style belongs to exactly one of them,
104
110
  and you are told which one with each task.
@@ -1 +1 @@
1
- {"version":3,"file":"roles.js","sourceRoot":"","sources":["../../src/skills/roles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,aAoCX;AAp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EAAE,OAAO,CAAC;;;CAGhC,EAAE,CAAC,GAAG,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,OAAO,EAAE,WAAW,CAAC,eAAe;QACpE,WAAW,CAAC,eAAe,CAAC,CAAC;IAE/B,6FAA6F;IAC7F,gGAAgG;IAChG,gGAAgG;IAChG,iCAAiC;IACjC,EAAE;IACF,yFAAyF;IACzF,wFAAwF;IACxF,2FAA2F;IAC3F,oFAAoF;IACpF,CAAC,aAAa,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;;;CAGvC,EAAE,CAAC,WAAW,CAAC,aAAa,EAAE,WAAW,CAAC,YAAY,EAAE,WAAW,CAAC,eAAe;QAChF,WAAW,CAAC,mBAAmB,EAAE,WAAW,CAAC,gBAAgB,EAAE,WAAW,CAAC,eAAe;QAC1F,WAAW,CAAC,gBAAgB,EAAE,WAAW,CAAC,gBAAgB,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAErF,CAAC,aAAa,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;;;;CAI1C,EAAE,EAAE,CAAC;IAEJ,CAAC,aAAa,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC;;;;;CAK5C,EAAE,EAAE,CAAC;IAEJ,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;;;;;;;;;;;;;;CAcnC,EAAE,EAAE,CAAC;CACL,CAAA"}
package/build/types.d.ts CHANGED
@@ -27,6 +27,17 @@ export interface SlotConstMetadata {
27
27
  brandingPrivacyUrl: string;
28
28
  brandingCredit: string;
29
29
  brandingHideCreditIntent: string;
30
+ /**
31
+ * The Google tag the owner attached — a `GTM-` container or a `G-`/`GT-`/`AW-`/`DC-` tag id —
32
+ * loaded by the generated application behind its cookie consent, in the preview and in
33
+ * production alike.
34
+ *
35
+ * OPTIONAL, unlike the branding keys above, and OMITTED from a push while it is unset: a slot
36
+ * publisher built before the key existed validates the signed body against a schema that does
37
+ * not declare it, strips it, and refuses the whole configuration with a 401. An unset tag must
38
+ * therefore never reach one — which only absence guarantees.
39
+ */
40
+ brandingGoogleTag?: string;
30
41
  }
31
42
  export interface SlotSecretMetadata {
32
43
  oidcClientSecret: string;
@@ -74,6 +85,25 @@ export interface SlotListMetadata {
74
85
  * hosts are always accepted and are never in this list.
75
86
  */
76
87
  allowedOrigins: string[];
88
+ /**
89
+ * Extra Content-Security-Policy source expressions the slot's runtime adds to what it serves —
90
+ * a third party a generated app legitimately needs that the platform does not already know about.
91
+ *
92
+ * OPTIONAL and omitted from a push while empty, for the reason `brandingGoogleTag` is: an older
93
+ * publisher refuses a signed body carrying a key its schema does not declare, and a slot
94
+ * provisioned before the key existed simply has no value for it. The runtime reads it
95
+ * defensively and filters every source before it reaches a header.
96
+ *
97
+ * The Google tag's hosts are NOT carried here: the publisher derives them itself from
98
+ * `brandingGoogleTag` (and, for a production build, from the record the build writes), so the
99
+ * tag and the hosts it needs cannot disagree. Nothing writes this key today; it is declared so the
100
+ * publisher's existing reader has a vocabulary entry and a schema slot.
101
+ *
102
+ * Deliberately NOT in `metadataLists`. That array enumerates the lists an OWNER stores — one
103
+ * `project-config` row each, loaded on every metadata read and pushed back verbatim — and no
104
+ * owner-facing setting stores this one.
105
+ */
106
+ cspSources?: string[];
77
107
  }
78
108
  export interface CustomSecretMetadata {
79
109
  backendSecrets: Record<string, string>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,YAAa,SAC5B,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB;;;;;OAKG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;;;;;;;;OASG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB,oBAAoB,EAA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G;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,gBAAgB,EAAE,MAAM,CAAA;IACxB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,cAAc,EAAE,MAAM,CAAA;IACtB,wBAAwB,EAAE,MAAM,CAAA;IAChC;;;;;;;;;OASG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,MAAM,CAAA;IACxB;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,cAAc,EAAE,MAAM,EAAE,CAAA;IACxB,eAAe,EAAE,MAAM,EAAE,CAAA;IACzB;;;;;OAKG;IACH,gBAAgB,EAAE,MAAM,EAAE,CAAA;IAC1B;;;;;;;;;;;OAWG;IACH,cAAc,EAAE,MAAM,EAAE,CAAA;IACxB;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB;AAED,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACtC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACxC;AAED,MAAM,WAAW,2BAA4B,SAC3C,iBAAiB;CAClB;AAED,MAAM,WAAW,kBAAmB,SAClC,iBAAiB,EACjB,kBAAkB;CACnB;AAED,MAAM,WAAW,kBAAmB,SAClC,iBAAiB,EACjB,gBAAgB;CACjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/viable-common",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "license": "MIT",
5
5
  "description": "Runtime-free contracts of the OwlMeans Viable platform — the analysis, design and metadata shapes of a generated project, its target-shape manifest, the slot command vocabulary, the connector protocol and the conversion vocabulary.",
6
6
  "type": "module",
@@ -59,13 +59,13 @@
59
59
  "typescript": "^7.0.2"
60
60
  },
61
61
  "dependencies": {
62
- "@owlmeans/agent-common": "^0.1.18-rc.32",
63
- "@owlmeans/entrypoint": "^0.1.18-rc.28",
64
- "@owlmeans/error": "^0.1.18-rc.27",
65
- "@owlmeans/llm-common": "^0.1.18-rc.28",
66
- "@owlmeans/planning": "^0.1.18-rc.1",
67
- "@owlmeans/resource": "^0.1.18-rc.27",
68
- "@owlmeans/route": "^0.1.18-rc.26"
62
+ "@owlmeans/agent-common": "^0.1.18-rc.34",
63
+ "@owlmeans/entrypoint": "^0.1.18-rc.30",
64
+ "@owlmeans/error": "^0.1.18-rc.29",
65
+ "@owlmeans/llm-common": "^0.1.18-rc.30",
66
+ "@owlmeans/planning": "^0.1.18-rc.3",
67
+ "@owlmeans/resource": "^0.1.18-rc.29",
68
+ "@owlmeans/route": "^0.1.18-rc.28"
69
69
  },
70
70
  "publishConfig": {
71
71
  "access": "public"