@owlmeans/viable-common 0.0.4
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/README.md +68 -0
- package/agent-meta/manifest.json +16 -0
- package/agent-meta/skills/viable-common/SKILL.md +179 -0
- package/build/agent/index.d.ts +4 -0
- package/build/agent/index.d.ts.map +1 -0
- package/build/agent/index.js +3 -0
- package/build/agent/index.js.map +1 -0
- package/build/agent/memory.d.ts +12 -0
- package/build/agent/memory.d.ts.map +1 -0
- package/build/agent/memory.js +11 -0
- package/build/agent/memory.js.map +1 -0
- package/build/agent/spectator/consts.d.ts +9 -0
- package/build/agent/spectator/consts.d.ts.map +1 -0
- package/build/agent/spectator/consts.js +10 -0
- package/build/agent/spectator/consts.js.map +1 -0
- package/build/agent/spectator/index.d.ts +3 -0
- package/build/agent/spectator/index.d.ts.map +1 -0
- package/build/agent/spectator/index.js +2 -0
- package/build/agent/spectator/index.js.map +1 -0
- package/build/agent/spectator/types.d.ts +13 -0
- package/build/agent/spectator/types.d.ts.map +1 -0
- package/build/agent/spectator/types.js +2 -0
- package/build/agent/spectator/types.js.map +1 -0
- package/build/agent/types.d.ts +10 -0
- package/build/agent/types.d.ts.map +1 -0
- package/build/agent/types.js +2 -0
- package/build/agent/types.js.map +1 -0
- package/build/areas/consts.d.ts +88 -0
- package/build/areas/consts.d.ts.map +1 -0
- package/build/areas/consts.js +106 -0
- package/build/areas/consts.js.map +1 -0
- package/build/areas/index.d.ts +3 -0
- package/build/areas/index.d.ts.map +1 -0
- package/build/areas/index.js +2 -0
- package/build/areas/index.js.map +1 -0
- package/build/areas/types.d.ts +28 -0
- package/build/areas/types.d.ts.map +1 -0
- package/build/areas/types.js +2 -0
- package/build/areas/types.js.map +1 -0
- package/build/ba/consts.d.ts +38 -0
- package/build/ba/consts.d.ts.map +1 -0
- package/build/ba/consts.js +41 -0
- package/build/ba/consts.js.map +1 -0
- package/build/ba/helpers.d.ts +41 -0
- package/build/ba/helpers.d.ts.map +1 -0
- package/build/ba/helpers.js +79 -0
- package/build/ba/helpers.js.map +1 -0
- package/build/ba/index.d.ts +5 -0
- package/build/ba/index.d.ts.map +1 -0
- package/build/ba/index.js +4 -0
- package/build/ba/index.js.map +1 -0
- package/build/ba/schemas.d.ts +13 -0
- package/build/ba/schemas.d.ts.map +1 -0
- package/build/ba/schemas.js +181 -0
- package/build/ba/schemas.js.map +1 -0
- package/build/ba/types.d.ts +113 -0
- package/build/ba/types.d.ts.map +1 -0
- package/build/ba/types.js +2 -0
- package/build/ba/types.js.map +1 -0
- package/build/blueprint/case.d.ts +73 -0
- package/build/blueprint/case.d.ts.map +1 -0
- package/build/blueprint/case.js +244 -0
- package/build/blueprint/case.js.map +1 -0
- package/build/blueprint/consts.d.ts +11 -0
- package/build/blueprint/consts.d.ts.map +1 -0
- package/build/blueprint/consts.js +11 -0
- package/build/blueprint/consts.js.map +1 -0
- package/build/blueprint/index.d.ts +6 -0
- package/build/blueprint/index.d.ts.map +1 -0
- package/build/blueprint/index.js +6 -0
- package/build/blueprint/index.js.map +1 -0
- package/build/blueprint/resolve.d.ts +51 -0
- package/build/blueprint/resolve.d.ts.map +1 -0
- package/build/blueprint/resolve.js +108 -0
- package/build/blueprint/resolve.js.map +1 -0
- package/build/blueprint/schemas.d.ts +41 -0
- package/build/blueprint/schemas.d.ts.map +1 -0
- package/build/blueprint/schemas.js +27 -0
- package/build/blueprint/schemas.js.map +1 -0
- package/build/blueprint/types.d.ts +186 -0
- package/build/blueprint/types.d.ts.map +1 -0
- package/build/blueprint/types.js +32 -0
- package/build/blueprint/types.js.map +1 -0
- package/build/branding.d.ts +19 -0
- package/build/branding.d.ts.map +1 -0
- package/build/branding.js +32 -0
- package/build/branding.js.map +1 -0
- package/build/connect/consts.d.ts +378 -0
- package/build/connect/consts.d.ts.map +1 -0
- package/build/connect/consts.js +425 -0
- package/build/connect/consts.js.map +1 -0
- package/build/connect/entrypoints.d.ts +41 -0
- package/build/connect/entrypoints.d.ts.map +1 -0
- package/build/connect/entrypoints.js +141 -0
- package/build/connect/entrypoints.js.map +1 -0
- package/build/connect/errors.d.ts +50 -0
- package/build/connect/errors.d.ts.map +1 -0
- package/build/connect/errors.js +77 -0
- package/build/connect/errors.js.map +1 -0
- package/build/connect/index.d.ts +8 -0
- package/build/connect/index.d.ts.map +1 -0
- package/build/connect/index.js +6 -0
- package/build/connect/index.js.map +1 -0
- package/build/connect/ops.d.ts +192 -0
- package/build/connect/ops.d.ts.map +1 -0
- package/build/connect/ops.js +2 -0
- package/build/connect/ops.js.map +1 -0
- package/build/connect/references.d.ts +194 -0
- package/build/connect/references.d.ts.map +1 -0
- package/build/connect/references.js +62 -0
- package/build/connect/references.js.map +1 -0
- package/build/connect/schemas.d.ts +59 -0
- package/build/connect/schemas.d.ts.map +1 -0
- package/build/connect/schemas.js +346 -0
- package/build/connect/schemas.js.map +1 -0
- package/build/connect/types.d.ts +428 -0
- package/build/connect/types.d.ts.map +1 -0
- package/build/connect/types.js +2 -0
- package/build/connect/types.js.map +1 -0
- package/build/consts.d.ts +9 -0
- package/build/consts.d.ts.map +1 -0
- package/build/consts.js +31 -0
- package/build/consts.js.map +1 -0
- package/build/convert/consts.d.ts +539 -0
- package/build/convert/consts.d.ts.map +1 -0
- package/build/convert/consts.js +630 -0
- package/build/convert/consts.js.map +1 -0
- package/build/convert/helpers.d.ts +91 -0
- package/build/convert/helpers.d.ts.map +1 -0
- package/build/convert/helpers.js +301 -0
- package/build/convert/helpers.js.map +1 -0
- package/build/convert/index.d.ts +11 -0
- package/build/convert/index.d.ts.map +1 -0
- package/build/convert/index.js +4 -0
- package/build/convert/index.js.map +1 -0
- package/build/convert/schemas.d.ts +62 -0
- package/build/convert/schemas.d.ts.map +1 -0
- package/build/convert/schemas.js +626 -0
- package/build/convert/schemas.js.map +1 -0
- package/build/convert/types.d.ts +683 -0
- package/build/convert/types.d.ts.map +1 -0
- package/build/convert/types.js +2 -0
- package/build/convert/types.js.map +1 -0
- package/build/design/consts.d.ts +25 -0
- package/build/design/consts.d.ts.map +1 -0
- package/build/design/consts.js +26 -0
- package/build/design/consts.js.map +1 -0
- package/build/design/helpers.d.ts +60 -0
- package/build/design/helpers.d.ts.map +1 -0
- package/build/design/helpers.js +221 -0
- package/build/design/helpers.js.map +1 -0
- package/build/design/index.d.ts +6 -0
- package/build/design/index.d.ts.map +1 -0
- package/build/design/index.js +5 -0
- package/build/design/index.js.map +1 -0
- package/build/design/runtime.d.ts +126 -0
- package/build/design/runtime.d.ts.map +1 -0
- package/build/design/runtime.js +65 -0
- package/build/design/runtime.js.map +1 -0
- package/build/design/schemas.d.ts +21 -0
- package/build/design/schemas.d.ts.map +1 -0
- package/build/design/schemas.js +369 -0
- package/build/design/schemas.js.map +1 -0
- package/build/design/types.d.ts +199 -0
- package/build/design/types.d.ts.map +1 -0
- package/build/design/types.js +2 -0
- package/build/design/types.js.map +1 -0
- package/build/dev/consts.d.ts +32 -0
- package/build/dev/consts.d.ts.map +1 -0
- package/build/dev/consts.js +33 -0
- package/build/dev/consts.js.map +1 -0
- package/build/dev/index.d.ts +4 -0
- package/build/dev/index.d.ts.map +1 -0
- package/build/dev/index.js +3 -0
- package/build/dev/index.js.map +1 -0
- package/build/dev/schemas.d.ts +15 -0
- package/build/dev/schemas.d.ts.map +1 -0
- package/build/dev/schemas.js +116 -0
- package/build/dev/schemas.js.map +1 -0
- package/build/dev/types.d.ts +42 -0
- package/build/dev/types.d.ts.map +1 -0
- package/build/dev/types.js +2 -0
- package/build/dev/types.js.map +1 -0
- package/build/execution/consts.d.ts +36 -0
- package/build/execution/consts.d.ts.map +1 -0
- package/build/execution/consts.js +37 -0
- package/build/execution/consts.js.map +1 -0
- package/build/execution/index.d.ts +3 -0
- package/build/execution/index.d.ts.map +1 -0
- package/build/execution/index.js +2 -0
- package/build/execution/index.js.map +1 -0
- package/build/execution/types.d.ts +50 -0
- package/build/execution/types.d.ts.map +1 -0
- package/build/execution/types.js +2 -0
- package/build/execution/types.js.map +1 -0
- package/build/index.d.ts +22 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +21 -0
- package/build/index.js.map +1 -0
- package/build/integrity/consts.d.ts +226 -0
- package/build/integrity/consts.d.ts.map +1 -0
- package/build/integrity/consts.js +401 -0
- package/build/integrity/consts.js.map +1 -0
- package/build/integrity/index.d.ts +4 -0
- package/build/integrity/index.d.ts.map +1 -0
- package/build/integrity/index.js +3 -0
- package/build/integrity/index.js.map +1 -0
- package/build/integrity/types.d.ts +35 -0
- package/build/integrity/types.d.ts.map +1 -0
- package/build/integrity/types.js +2 -0
- package/build/integrity/types.js.map +1 -0
- package/build/integrity/verify.d.ts +23 -0
- package/build/integrity/verify.d.ts.map +1 -0
- package/build/integrity/verify.js +198 -0
- package/build/integrity/verify.js.map +1 -0
- package/build/metadata/consts.d.ts +101 -0
- package/build/metadata/consts.d.ts.map +1 -0
- package/build/metadata/consts.js +104 -0
- package/build/metadata/consts.js.map +1 -0
- package/build/metadata/index.d.ts +3 -0
- package/build/metadata/index.d.ts.map +1 -0
- package/build/metadata/index.js +3 -0
- package/build/metadata/index.js.map +1 -0
- package/build/metadata/types.d.ts +286 -0
- package/build/metadata/types.d.ts.map +1 -0
- package/build/metadata/types.js +39 -0
- package/build/metadata/types.js.map +1 -0
- package/build/moderation/consts.d.ts +58 -0
- package/build/moderation/consts.d.ts.map +1 -0
- package/build/moderation/consts.js +60 -0
- package/build/moderation/consts.js.map +1 -0
- package/build/moderation/index.d.ts +5 -0
- package/build/moderation/index.d.ts.map +1 -0
- package/build/moderation/index.js +4 -0
- package/build/moderation/index.js.map +1 -0
- package/build/moderation/schemas.d.ts +19 -0
- package/build/moderation/schemas.d.ts.map +1 -0
- package/build/moderation/schemas.js +26 -0
- package/build/moderation/schemas.js.map +1 -0
- package/build/moderation/types.d.ts +64 -0
- package/build/moderation/types.d.ts.map +1 -0
- package/build/moderation/types.js +2 -0
- package/build/moderation/types.js.map +1 -0
- package/build/moderation/utils.d.ts +21 -0
- package/build/moderation/utils.d.ts.map +1 -0
- package/build/moderation/utils.js +31 -0
- package/build/moderation/utils.js.map +1 -0
- package/build/preview/consts.d.ts +10 -0
- package/build/preview/consts.d.ts.map +1 -0
- package/build/preview/consts.js +11 -0
- package/build/preview/consts.js.map +1 -0
- package/build/preview/index.d.ts +3 -0
- package/build/preview/index.d.ts.map +1 -0
- package/build/preview/index.js +2 -0
- package/build/preview/index.js.map +1 -0
- package/build/preview/types.d.ts +60 -0
- package/build/preview/types.d.ts.map +1 -0
- package/build/preview/types.js +2 -0
- package/build/preview/types.js.map +1 -0
- package/build/scaffold/consts.d.ts +25 -0
- package/build/scaffold/consts.d.ts.map +1 -0
- package/build/scaffold/consts.js +26 -0
- package/build/scaffold/consts.js.map +1 -0
- package/build/scaffold/helpers.d.ts +35 -0
- package/build/scaffold/helpers.d.ts.map +1 -0
- package/build/scaffold/helpers.js +54 -0
- package/build/scaffold/helpers.js.map +1 -0
- package/build/scaffold/index.d.ts +5 -0
- package/build/scaffold/index.d.ts.map +1 -0
- package/build/scaffold/index.js +4 -0
- package/build/scaffold/index.js.map +1 -0
- package/build/scaffold/schemas.d.ts +5 -0
- package/build/scaffold/schemas.d.ts.map +1 -0
- package/build/scaffold/schemas.js +273 -0
- package/build/scaffold/schemas.js.map +1 -0
- package/build/scaffold/types.d.ts +144 -0
- package/build/scaffold/types.d.ts.map +1 -0
- package/build/scaffold/types.js +2 -0
- package/build/scaffold/types.js.map +1 -0
- package/build/skills/catalogue.d.ts +47 -0
- package/build/skills/catalogue.d.ts.map +1 -0
- package/build/skills/catalogue.js +1566 -0
- package/build/skills/catalogue.js.map +1 -0
- package/build/skills/consts.d.ts +104 -0
- package/build/skills/consts.d.ts.map +1 -0
- package/build/skills/consts.js +170 -0
- package/build/skills/consts.js.map +1 -0
- package/build/skills/index.d.ts +4 -0
- package/build/skills/index.d.ts.map +1 -0
- package/build/skills/index.js +4 -0
- package/build/skills/index.js.map +1 -0
- package/build/skills/roles.d.ts +52 -0
- package/build/skills/roles.d.ts.map +1 -0
- package/build/skills/roles.js +256 -0
- package/build/skills/roles.js.map +1 -0
- package/build/slot/consts.d.ts +305 -0
- package/build/slot/consts.d.ts.map +1 -0
- package/build/slot/consts.js +376 -0
- package/build/slot/consts.js.map +1 -0
- package/build/slot/helpers.d.ts +25 -0
- package/build/slot/helpers.d.ts.map +1 -0
- package/build/slot/helpers.js +27 -0
- package/build/slot/helpers.js.map +1 -0
- package/build/slot/index.d.ts +6 -0
- package/build/slot/index.d.ts.map +1 -0
- package/build/slot/index.js +5 -0
- package/build/slot/index.js.map +1 -0
- package/build/slot/layout.d.ts +72 -0
- package/build/slot/layout.d.ts.map +1 -0
- package/build/slot/layout.js +82 -0
- package/build/slot/layout.js.map +1 -0
- package/build/slot/schemas.d.ts +12 -0
- package/build/slot/schemas.d.ts.map +1 -0
- package/build/slot/schemas.js +43 -0
- package/build/slot/schemas.js.map +1 -0
- package/build/slot/types.d.ts +147 -0
- package/build/slot/types.d.ts.map +1 -0
- package/build/slot/types.js +2 -0
- package/build/slot/types.js.map +1 -0
- package/build/topology/card.d.ts +23 -0
- package/build/topology/card.d.ts.map +1 -0
- package/build/topology/card.js +95 -0
- package/build/topology/card.js.map +1 -0
- package/build/topology/consts.d.ts +32 -0
- package/build/topology/consts.d.ts.map +1 -0
- package/build/topology/consts.js +55 -0
- package/build/topology/consts.js.map +1 -0
- package/build/topology/helpers.d.ts +44 -0
- package/build/topology/helpers.d.ts.map +1 -0
- package/build/topology/helpers.js +112 -0
- package/build/topology/helpers.js.map +1 -0
- package/build/topology/index.d.ts +5 -0
- package/build/topology/index.d.ts.map +1 -0
- package/build/topology/index.js +4 -0
- package/build/topology/index.js.map +1 -0
- package/build/topology/types.d.ts +83 -0
- package/build/topology/types.d.ts.map +1 -0
- package/build/topology/types.js +2 -0
- package/build/topology/types.js.map +1 -0
- package/build/types.d.ts +88 -0
- package/build/types.d.ts.map +1 -0
- package/build/types.js +2 -0
- package/build/types.js.map +1 -0
- package/build/ux/consts.d.ts +5 -0
- package/build/ux/consts.d.ts.map +1 -0
- package/build/ux/consts.js +6 -0
- package/build/ux/consts.js.map +1 -0
- package/build/ux/index.d.ts +4 -0
- package/build/ux/index.d.ts.map +1 -0
- package/build/ux/index.js +3 -0
- package/build/ux/index.js.map +1 -0
- package/build/ux/schemas.d.ts +8 -0
- package/build/ux/schemas.d.ts.map +1 -0
- package/build/ux/schemas.js +91 -0
- package/build/ux/schemas.js.map +1 -0
- package/build/ux/types.d.ts +21 -0
- package/build/ux/types.d.ts.map +1 -0
- package/build/ux/types.js +2 -0
- package/build/ux/types.js.map +1 -0
- package/package.json +71 -0
- package/src/agent/index.ts +4 -0
- package/src/agent/memory.ts +16 -0
- package/src/agent/spectator/consts.ts +10 -0
- package/src/agent/spectator/index.ts +3 -0
- package/src/agent/spectator/types.ts +14 -0
- package/src/agent/types.ts +10 -0
- package/src/areas/consts.ts +112 -0
- package/src/areas/index.ts +3 -0
- package/src/areas/types.ts +29 -0
- package/src/ba/consts.ts +40 -0
- package/src/ba/helpers.ts +93 -0
- package/src/ba/index.ts +5 -0
- package/src/ba/schemas.ts +196 -0
- package/src/ba/types.ts +125 -0
- package/src/blueprint/case.ts +272 -0
- package/src/blueprint/consts.ts +11 -0
- package/src/blueprint/index.ts +6 -0
- package/src/blueprint/resolve.ts +133 -0
- package/src/blueprint/schemas.ts +44 -0
- package/src/blueprint/types.ts +204 -0
- package/src/branding.ts +34 -0
- package/src/connect/consts.ts +441 -0
- package/src/connect/entrypoints.ts +291 -0
- package/src/connect/errors.ts +91 -0
- package/src/connect/index.ts +7 -0
- package/src/connect/ops.ts +208 -0
- package/src/connect/references.ts +89 -0
- package/src/connect/schemas.ts +384 -0
- package/src/connect/types.ts +456 -0
- package/src/consts.ts +34 -0
- package/src/convert/consts.ts +672 -0
- package/src/convert/helpers.ts +340 -0
- package/src/convert/index.ts +10 -0
- package/src/convert/schemas.ts +663 -0
- package/src/convert/types.ts +741 -0
- package/src/design/consts.ts +26 -0
- package/src/design/helpers.ts +255 -0
- package/src/design/index.ts +5 -0
- package/src/design/runtime.ts +142 -0
- package/src/design/schemas.ts +384 -0
- package/src/design/types.ts +191 -0
- package/src/dev/consts.ts +35 -0
- package/src/dev/index.ts +4 -0
- package/src/dev/schemas.ts +124 -0
- package/src/dev/types.ts +47 -0
- package/src/execution/consts.ts +37 -0
- package/src/execution/index.ts +3 -0
- package/src/execution/types.ts +55 -0
- package/src/index.ts +22 -0
- package/src/integrity/consts.ts +477 -0
- package/src/integrity/index.ts +3 -0
- package/src/integrity/types.ts +37 -0
- package/src/integrity/verify.ts +221 -0
- package/src/metadata/consts.ts +118 -0
- package/src/metadata/index.ts +3 -0
- package/src/metadata/types.ts +310 -0
- package/src/moderation/consts.ts +59 -0
- package/src/moderation/index.ts +4 -0
- package/src/moderation/schemas.ts +28 -0
- package/src/moderation/types.ts +68 -0
- package/src/moderation/utils.ts +35 -0
- package/src/preview/consts.ts +9 -0
- package/src/preview/index.ts +3 -0
- package/src/preview/types.ts +79 -0
- package/src/scaffold/consts.ts +26 -0
- package/src/scaffold/helpers.ts +84 -0
- package/src/scaffold/index.ts +4 -0
- package/src/scaffold/schemas.ts +283 -0
- package/src/scaffold/types.ts +118 -0
- package/src/skills/catalogue.ts +1617 -0
- package/src/skills/consts.ts +183 -0
- package/src/skills/index.ts +4 -0
- package/src/skills/roles.ts +299 -0
- package/src/slot/consts.ts +393 -0
- package/src/slot/helpers.ts +34 -0
- package/src/slot/index.ts +5 -0
- package/src/slot/layout.ts +141 -0
- package/src/slot/schemas.ts +46 -0
- package/src/slot/types.ts +164 -0
- package/src/topology/card.ts +106 -0
- package/src/topology/consts.ts +59 -0
- package/src/topology/helpers.ts +138 -0
- package/src/topology/index.ts +5 -0
- package/src/topology/types.ts +86 -0
- package/src/types.ts +104 -0
- package/src/ux/consts.ts +5 -0
- package/src/ux/index.ts +4 -0
- package/src/ux/schemas.ts +97 -0
- package/src/ux/types.ts +25 -0
- package/tests/connect-convert.spec.ts +161 -0
- package/tests/convert.spec.ts +318 -0
- package/tests/design.spec.ts +136 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/areas/index.ts"],"names":[],"mappings":"AAEA,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ProjectArea } from './consts.js';
|
|
2
|
+
/**
|
|
3
|
+
* A user story as the analysis stage produces it: the narrative, plus the area whose
|
|
4
|
+
* audience acts in it.
|
|
5
|
+
*
|
|
6
|
+
* The area is structured data rather than a phrase inside the sentence because everything
|
|
7
|
+
* downstream keys off it — which entrypoint the story's screens hang under, what access they
|
|
8
|
+
* inherit, and which URL the preview opens when the story is done.
|
|
9
|
+
*/
|
|
10
|
+
export interface StoryDraft {
|
|
11
|
+
story: string;
|
|
12
|
+
area: ProjectArea;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* One line of the generated application's navigation.
|
|
16
|
+
*
|
|
17
|
+
* A screen reaches the menus through exactly one of these. `section` groups entries into the
|
|
18
|
+
* top menu; it is a label, never a URL segment — the address of a screen is its entrypoint
|
|
19
|
+
* path and nothing else.
|
|
20
|
+
*/
|
|
21
|
+
export interface NavEntry {
|
|
22
|
+
area: ProjectArea;
|
|
23
|
+
section: string;
|
|
24
|
+
/** The screen's `app.web.*` alias. */
|
|
25
|
+
alias: string;
|
|
26
|
+
label: string;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/areas/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C;;;;;;;GAOG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,WAAW,CAAA;CAClB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,WAAW,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/areas/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare enum SpecCategory {
|
|
2
|
+
BA = "ba",
|
|
3
|
+
UX = "ux",
|
|
4
|
+
UI = "ui"
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* The four screens that hold a flow together.
|
|
8
|
+
*
|
|
9
|
+
* A flow step acts on ONE record and never says how its actor reached it — which of the hundreds
|
|
10
|
+
* waiting for them they opened, where they saw it was waiting at all, or where they look afterwards
|
|
11
|
+
* to find out what became of it. These are the four shapes that answer that question.
|
|
12
|
+
*
|
|
13
|
+
* The taxonomy is CLOSED on purpose: a kind nothing derives is a screen nobody asked for, and every
|
|
14
|
+
* story here costs a full develop run the project's owner pays for.
|
|
15
|
+
*/
|
|
16
|
+
export declare enum ConnectingStoryKind {
|
|
17
|
+
/** The list of records waiting for THIS actor to perform their step. Derived from a hand-off. */
|
|
18
|
+
Queue = "queue",
|
|
19
|
+
/** The directory of a kind of record, where an actor finds and opens the one they mean. */
|
|
20
|
+
Index = "index",
|
|
21
|
+
/** One record gathered — what has happened to it, and the flow actions that start from it. */
|
|
22
|
+
Record = "record",
|
|
23
|
+
/** An actor's own submissions and the state each reached. The sending side of a hand-off. */
|
|
24
|
+
Tracker = "tracker"
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Which half of the analysis a story came from.
|
|
28
|
+
*
|
|
29
|
+
* `flow` stories implement the numbered steps of the main flow — each adds value to one record.
|
|
30
|
+
* `connective` stories are what a person needs to get from one step to the next. Neither is
|
|
31
|
+
* persisted: the init pipeline is the only thing that has ever needed to tell them apart, and it
|
|
32
|
+
* knows at creation time.
|
|
33
|
+
*/
|
|
34
|
+
export declare enum StoryKind {
|
|
35
|
+
Flow = "flow",
|
|
36
|
+
Connective = "connective"
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=consts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../src/ba/consts.ts"],"names":[],"mappings":"AACA,oBAAY,YAAY;IACtB,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;CACV;AAED;;;;;;;;;GASG;AACH,oBAAY,mBAAmB;IAC7B,iGAAiG;IACjG,KAAK,UAAU;IACf,2FAA2F;IAC3F,KAAK,UAAU;IACf,8FAA8F;IAC9F,MAAM,WAAW;IACjB,6FAA6F;IAC7F,OAAO,YAAY;CACpB;AAED;;;;;;;GAOG;AACH,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,UAAU,eAAe;CAC1B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export var SpecCategory;
|
|
2
|
+
(function (SpecCategory) {
|
|
3
|
+
SpecCategory["BA"] = "ba";
|
|
4
|
+
SpecCategory["UX"] = "ux";
|
|
5
|
+
SpecCategory["UI"] = "ui";
|
|
6
|
+
})(SpecCategory || (SpecCategory = {}));
|
|
7
|
+
/**
|
|
8
|
+
* The four screens that hold a flow together.
|
|
9
|
+
*
|
|
10
|
+
* A flow step acts on ONE record and never says how its actor reached it — which of the hundreds
|
|
11
|
+
* waiting for them they opened, where they saw it was waiting at all, or where they look afterwards
|
|
12
|
+
* to find out what became of it. These are the four shapes that answer that question.
|
|
13
|
+
*
|
|
14
|
+
* The taxonomy is CLOSED on purpose: a kind nothing derives is a screen nobody asked for, and every
|
|
15
|
+
* story here costs a full develop run the project's owner pays for.
|
|
16
|
+
*/
|
|
17
|
+
export var ConnectingStoryKind;
|
|
18
|
+
(function (ConnectingStoryKind) {
|
|
19
|
+
/** The list of records waiting for THIS actor to perform their step. Derived from a hand-off. */
|
|
20
|
+
ConnectingStoryKind["Queue"] = "queue";
|
|
21
|
+
/** The directory of a kind of record, where an actor finds and opens the one they mean. */
|
|
22
|
+
ConnectingStoryKind["Index"] = "index";
|
|
23
|
+
/** One record gathered — what has happened to it, and the flow actions that start from it. */
|
|
24
|
+
ConnectingStoryKind["Record"] = "record";
|
|
25
|
+
/** An actor's own submissions and the state each reached. The sending side of a hand-off. */
|
|
26
|
+
ConnectingStoryKind["Tracker"] = "tracker";
|
|
27
|
+
})(ConnectingStoryKind || (ConnectingStoryKind = {}));
|
|
28
|
+
/**
|
|
29
|
+
* Which half of the analysis a story came from.
|
|
30
|
+
*
|
|
31
|
+
* `flow` stories implement the numbered steps of the main flow — each adds value to one record.
|
|
32
|
+
* `connective` stories are what a person needs to get from one step to the next. Neither is
|
|
33
|
+
* persisted: the init pipeline is the only thing that has ever needed to tell them apart, and it
|
|
34
|
+
* knows at creation time.
|
|
35
|
+
*/
|
|
36
|
+
export var StoryKind;
|
|
37
|
+
(function (StoryKind) {
|
|
38
|
+
StoryKind["Flow"] = "flow";
|
|
39
|
+
StoryKind["Connective"] = "connective";
|
|
40
|
+
})(StoryKind || (StoryKind = {}));
|
|
41
|
+
//# sourceMappingURL=consts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../src/ba/consts.ts"],"names":[],"mappings":"AACA,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,yBAAS,CAAA;IACT,yBAAS,CAAA;IACT,yBAAS,CAAA;AACX,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AAED;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC7B,iGAAiG;IACjG,sCAAe,CAAA;IACf,2FAA2F;IAC3F,sCAAe,CAAA;IACf,8FAA8F;IAC9F,wCAAiB,CAAA;IACjB,6FAA6F;IAC7F,0CAAmB,CAAA;AACrB,CAAC,EATW,mBAAmB,KAAnB,mBAAmB,QAS9B;AAED;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,0BAAa,CAAA;IACb,sCAAyB,CAAA;AAC3B,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { StoryDraft } from "../areas/types.js";
|
|
2
|
+
import type { ConnectingStoryDraft, MergedStoryDraft } from "./types.js";
|
|
3
|
+
/**
|
|
4
|
+
* How many connecting stories one flow may carry.
|
|
5
|
+
*
|
|
6
|
+
* An N-step chain has N-1 joints, and a connecting story exists to bridge one of them — so the
|
|
7
|
+
* flow sizes its own supporting cast, and a three-step product can never end up with eight list
|
|
8
|
+
* screens. It is a CEILING, not a target: the prompt is told to write as few as its rules actually
|
|
9
|
+
* derived, and most flows land well below this.
|
|
10
|
+
*
|
|
11
|
+
* The real reason for a hard number: every story here becomes a full develop run the project's
|
|
12
|
+
* owner pays for.
|
|
13
|
+
*/
|
|
14
|
+
export declare const connectingStoryCap: (flowCount: number) => number;
|
|
15
|
+
/**
|
|
16
|
+
* Interleave the connecting stories into the flow they were derived from.
|
|
17
|
+
*
|
|
18
|
+
* `after` is an ANCHOR, not a position: it names the flow story whose result the connecting story
|
|
19
|
+
* displays, so the connecting story lands immediately behind it — which is also immediately in
|
|
20
|
+
* front of the step it leads into. The result is ONE ordered list, and it is the order records are
|
|
21
|
+
* created in.
|
|
22
|
+
*
|
|
23
|
+
* This is the only place the anchor is interpreted. Both halves of the feature — the prompt that
|
|
24
|
+
* produces it and the pipeline that persists the result — read it through here, or the two drift
|
|
25
|
+
* and nothing fails loudly enough to notice.
|
|
26
|
+
*
|
|
27
|
+
* Four properties are deliberate:
|
|
28
|
+
*
|
|
29
|
+
* - **The flow subsequence is never disturbed.** Strip the connecting stories back out and you have
|
|
30
|
+
* `flow`, in `flow` order: story N still implements numbered step N. Everything that finds the
|
|
31
|
+
* primary story depends on that.
|
|
32
|
+
* - **Nothing precedes the first flow story.** An anchor below 1 is clamped up rather than opening a
|
|
33
|
+
* position in front of the flow — nothing can be listed before the step that produced it, and
|
|
34
|
+
* story 1 stays the enabling action.
|
|
35
|
+
* - **A placement is advice; the story is work already paid for.** An anchor past the end means
|
|
36
|
+
* "at the end", and one that is not a number at all means the front of the flow. Neither is a
|
|
37
|
+
* reason to lose a story.
|
|
38
|
+
* - **Ties keep the model's order**, which is the only ranking anything has.
|
|
39
|
+
*/
|
|
40
|
+
export declare const mergeConnectingStories: (flow: StoryDraft[], connecting: ConnectingStoryDraft[]) => MergedStoryDraft[];
|
|
41
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/ba/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAGxE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,cAAe,MAAM,KAAG,MAAoC,CAAA;AAK3F;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,sBAAsB,SAC3B,UAAU,EAAE,cAAc,oBAAoB,EAAE,KACrD,gBAAgB,EA6ClB,CAAA"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { StoryKind } from "./consts.js";
|
|
2
|
+
/**
|
|
3
|
+
* How many connecting stories one flow may carry.
|
|
4
|
+
*
|
|
5
|
+
* An N-step chain has N-1 joints, and a connecting story exists to bridge one of them — so the
|
|
6
|
+
* flow sizes its own supporting cast, and a three-step product can never end up with eight list
|
|
7
|
+
* screens. It is a CEILING, not a target: the prompt is told to write as few as its rules actually
|
|
8
|
+
* derived, and most flows land well below this.
|
|
9
|
+
*
|
|
10
|
+
* The real reason for a hard number: every story here becomes a full develop run the project's
|
|
11
|
+
* owner pays for.
|
|
12
|
+
*/
|
|
13
|
+
export const connectingStoryCap = (flowCount) => Math.max(flowCount - 1, 0);
|
|
14
|
+
/** Collapse case and whitespace, so "the same story twice" is recognised as such. */
|
|
15
|
+
const canonical = (story) => story.trim().replace(/\s+/g, ' ').toLowerCase();
|
|
16
|
+
/**
|
|
17
|
+
* Interleave the connecting stories into the flow they were derived from.
|
|
18
|
+
*
|
|
19
|
+
* `after` is an ANCHOR, not a position: it names the flow story whose result the connecting story
|
|
20
|
+
* displays, so the connecting story lands immediately behind it — which is also immediately in
|
|
21
|
+
* front of the step it leads into. The result is ONE ordered list, and it is the order records are
|
|
22
|
+
* created in.
|
|
23
|
+
*
|
|
24
|
+
* This is the only place the anchor is interpreted. Both halves of the feature — the prompt that
|
|
25
|
+
* produces it and the pipeline that persists the result — read it through here, or the two drift
|
|
26
|
+
* and nothing fails loudly enough to notice.
|
|
27
|
+
*
|
|
28
|
+
* Four properties are deliberate:
|
|
29
|
+
*
|
|
30
|
+
* - **The flow subsequence is never disturbed.** Strip the connecting stories back out and you have
|
|
31
|
+
* `flow`, in `flow` order: story N still implements numbered step N. Everything that finds the
|
|
32
|
+
* primary story depends on that.
|
|
33
|
+
* - **Nothing precedes the first flow story.** An anchor below 1 is clamped up rather than opening a
|
|
34
|
+
* position in front of the flow — nothing can be listed before the step that produced it, and
|
|
35
|
+
* story 1 stays the enabling action.
|
|
36
|
+
* - **A placement is advice; the story is work already paid for.** An anchor past the end means
|
|
37
|
+
* "at the end", and one that is not a number at all means the front of the flow. Neither is a
|
|
38
|
+
* reason to lose a story.
|
|
39
|
+
* - **Ties keep the model's order**, which is the only ranking anything has.
|
|
40
|
+
*/
|
|
41
|
+
export const mergeConnectingStories = (flow, connecting) => {
|
|
42
|
+
if (flow.length < 1) {
|
|
43
|
+
return [];
|
|
44
|
+
}
|
|
45
|
+
const seen = new Set(flow.map(({ story }) => canonical(story)));
|
|
46
|
+
const placed = [];
|
|
47
|
+
for (const draft of connecting) {
|
|
48
|
+
const text = canonical(draft.story);
|
|
49
|
+
// A connecting story that repeats a flow story is not a second story: it is one develop run
|
|
50
|
+
// spent twice AND — since the home-screen detector matches its answer back by exact text — a
|
|
51
|
+
// second record that answer could resolve to.
|
|
52
|
+
if (text === '' || seen.has(text)) {
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
seen.add(text);
|
|
56
|
+
const after = Number(draft.after);
|
|
57
|
+
placed.push({
|
|
58
|
+
draft,
|
|
59
|
+
at: Number.isFinite(after) ? Math.min(Math.max(Math.trunc(after), 1), flow.length) : 1,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
// Over the cap, the LATEST-anchored go: a story late in the flow gates the fewest steps behind
|
|
63
|
+
// it, while the queue that hands step 1 to step 2 is what makes everything after it reachable.
|
|
64
|
+
// The sort is stable, so two stories on the same step keep the order they were derived in.
|
|
65
|
+
const surviving = placed
|
|
66
|
+
.map((entry, order) => ({ ...entry, order }))
|
|
67
|
+
.sort((a, b) => a.at - b.at || a.order - b.order)
|
|
68
|
+
.slice(0, connectingStoryCap(flow.length));
|
|
69
|
+
// Bucket N holds what comes immediately after flow story N (1-based, as the prompt numbers them).
|
|
70
|
+
const buckets = flow.map(() => []);
|
|
71
|
+
for (const { draft, at } of surviving) {
|
|
72
|
+
buckets[at - 1].push(draft);
|
|
73
|
+
}
|
|
74
|
+
return flow.flatMap(({ story, area }, index) => [
|
|
75
|
+
{ story, area, kind: StoryKind.Flow },
|
|
76
|
+
...buckets[index].map(draft => ({ story: draft.story.trim(), area: draft.area, kind: StoryKind.Connective })),
|
|
77
|
+
]);
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../src/ba/helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,aAA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AE,SAAS,CAAC,UAAU,EAAE,CAC5E,CAAC;KACH,CAAC,CAAA;AACJ,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ba/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,mBAAmB,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ba/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { JSONSchemaType } from "ajv";
|
|
2
|
+
import type { EntityList, StoryList, Entity, Attribute, MainStoryProbability, MainStoryCandidates, ConnectingStoryDraft, ConnectingStoryList } from "./types.js";
|
|
3
|
+
import type { StoryDraft } from "../areas/types.js";
|
|
4
|
+
export declare const StoryDraftSchema: JSONSchemaType<StoryDraft>;
|
|
5
|
+
export declare const ConnectingStoryDraftSchema: JSONSchemaType<ConnectingStoryDraft>;
|
|
6
|
+
export declare const ConnectingStoryListSchema: JSONSchemaType<ConnectingStoryList>;
|
|
7
|
+
export declare const EntityListSchema: JSONSchemaType<EntityList>;
|
|
8
|
+
export declare const StoryListSchema: JSONSchemaType<StoryList>;
|
|
9
|
+
export declare const AttributeSchema: JSONSchemaType<Attribute>;
|
|
10
|
+
export declare const EntitySchema: JSONSchemaType<Entity>;
|
|
11
|
+
export declare const MainStoryProbabilitySchema: JSONSchemaType<MainStoryProbability>;
|
|
12
|
+
export declare const MainStoryCandidatesSchema: JSONSchemaType<MainStoryCandidates>;
|
|
13
|
+
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/ba/schemas.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AACzC,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAChK,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAsBnD,eAAO,MAAM,gBAAgB,EAAE,cAAc,CAAC,UAAU,CAiBvD,CAAA;AAED,eAAO,MAAM,0BAA0B,EAAE,cAAc,CAAC,oBAAoB,CAiC3E,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,cAAc,CAAC,mBAAmB,CAYzE,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,cAAc,CAAC,UAAU,CAevD,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,SAAS,CAYrD,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,SAAS,CAgBrD,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,cAAc,CAAC,MAAM,CAqB/C,CAAA;AAED,eAAO,MAAM,0BAA0B,EAAE,cAAc,CAAC,oBAAoB,CAgB3E,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,cAAc,CAAC,mBAAmB,CAYzE,CAAA"}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { ProjectArea } from "../areas/consts.js";
|
|
2
|
+
import { ConnectingStoryKind } from "./consts.js";
|
|
3
|
+
/**
|
|
4
|
+
* The one rendering of the area field's description.
|
|
5
|
+
*
|
|
6
|
+
* Every schema that carries an area points at this. Two copies drift, and the drift is invisible:
|
|
7
|
+
* both schemas keep validating, and the two prompts that read them start classifying differently.
|
|
8
|
+
* It is the same reason `AREA_CLASSIFICATION` is spelled once in the BA helper.
|
|
9
|
+
*/
|
|
10
|
+
const AREA_FIELD_DESCRIPTION = `
|
|
11
|
+
Which area of the application the acting user works in:
|
|
12
|
+
- guest - the actor is NOT signed in (public visitors, prospects, anonymous readers)
|
|
13
|
+
- user - the actor is a signed-in end user consuming the product's value (the front office)
|
|
14
|
+
- operator - the actor is staff running the product's business process from the inside (the back office)
|
|
15
|
+
- admin - the actor is the owner configuring or managing the application itself
|
|
16
|
+
`;
|
|
17
|
+
const STORY_BODY_DESCRIPTION = "User story body in format: As a [role], I want to [make something] so that [I get the following results]";
|
|
18
|
+
export const StoryDraftSchema = {
|
|
19
|
+
type: "object",
|
|
20
|
+
title: "StoryDraft",
|
|
21
|
+
description: "One user story and the area of the application its actor works in",
|
|
22
|
+
properties: {
|
|
23
|
+
story: {
|
|
24
|
+
type: "string",
|
|
25
|
+
description: STORY_BODY_DESCRIPTION
|
|
26
|
+
},
|
|
27
|
+
area: {
|
|
28
|
+
type: "string",
|
|
29
|
+
enum: Object.values(ProjectArea),
|
|
30
|
+
description: AREA_FIELD_DESCRIPTION
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
required: ["story", "area"],
|
|
34
|
+
additionalProperties: false
|
|
35
|
+
};
|
|
36
|
+
export const ConnectingStoryDraftSchema = {
|
|
37
|
+
type: "object",
|
|
38
|
+
title: "ConnectingStoryDraft",
|
|
39
|
+
description: "One user story that connects the numbered steps of the main flow to each other",
|
|
40
|
+
properties: {
|
|
41
|
+
story: {
|
|
42
|
+
type: "string",
|
|
43
|
+
description: STORY_BODY_DESCRIPTION
|
|
44
|
+
},
|
|
45
|
+
area: {
|
|
46
|
+
type: "string",
|
|
47
|
+
enum: Object.values(ProjectArea),
|
|
48
|
+
description: AREA_FIELD_DESCRIPTION
|
|
49
|
+
},
|
|
50
|
+
kind: {
|
|
51
|
+
type: "string",
|
|
52
|
+
enum: Object.values(ConnectingStoryKind),
|
|
53
|
+
description: `
|
|
54
|
+
Which connecting screen this story is:
|
|
55
|
+
- queue - the list of records waiting for THIS actor to perform their step on them
|
|
56
|
+
- index - the directory of a kind of record, where the actor finds and opens the one they mean
|
|
57
|
+
- record - the page of ONE record: everything that has happened to it, and the actions that start from it
|
|
58
|
+
- tracker - the actor's own list of what they submitted, and what state each one has reached
|
|
59
|
+
`
|
|
60
|
+
},
|
|
61
|
+
after: {
|
|
62
|
+
type: "integer",
|
|
63
|
+
minimum: 1,
|
|
64
|
+
description: "The NUMBER of the flow user story whose result this story displays - this story belongs immediately after that one. Never 0, and never greater than the number of flow stories given"
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
required: ["story", "area", "kind", "after"],
|
|
68
|
+
additionalProperties: false
|
|
69
|
+
};
|
|
70
|
+
export const ConnectingStoryListSchema = {
|
|
71
|
+
type: "object",
|
|
72
|
+
title: "ConnectingStoryList",
|
|
73
|
+
description: "User stories that connect the numbered steps of the main flow to each other",
|
|
74
|
+
properties: {
|
|
75
|
+
stories: {
|
|
76
|
+
type: "array",
|
|
77
|
+
items: ConnectingStoryDraftSchema,
|
|
78
|
+
description: "The connecting stories, each anchored to the flow story it comes after"
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
required: ["stories"]
|
|
82
|
+
};
|
|
83
|
+
export const EntityListSchema = {
|
|
84
|
+
type: "object",
|
|
85
|
+
title: "EntityList",
|
|
86
|
+
description: "Domain entities",
|
|
87
|
+
properties: {
|
|
88
|
+
entities: {
|
|
89
|
+
type: "array",
|
|
90
|
+
items: {
|
|
91
|
+
type: "string",
|
|
92
|
+
description: "Domain entity name, only alphanumeric characters are allowed no more than 2 words"
|
|
93
|
+
},
|
|
94
|
+
description: "List of domain entities"
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
required: ["entities"]
|
|
98
|
+
};
|
|
99
|
+
export const StoryListSchema = {
|
|
100
|
+
type: "object",
|
|
101
|
+
title: "StoryList",
|
|
102
|
+
description: "User stories",
|
|
103
|
+
properties: {
|
|
104
|
+
stories: {
|
|
105
|
+
type: "array",
|
|
106
|
+
items: StoryDraftSchema,
|
|
107
|
+
description: "List of user stories IN FLOW ORDER - the order of the numbered steps they were taken from"
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
required: ["stories"]
|
|
111
|
+
};
|
|
112
|
+
export const AttributeSchema = {
|
|
113
|
+
type: "object",
|
|
114
|
+
title: "Attribute",
|
|
115
|
+
description: "Entity attribute",
|
|
116
|
+
properties: {
|
|
117
|
+
name: {
|
|
118
|
+
type: "string",
|
|
119
|
+
description: "Attribute name, should be descriptive and use camelCase"
|
|
120
|
+
},
|
|
121
|
+
description: {
|
|
122
|
+
type: "string",
|
|
123
|
+
description: "Detailed description of the attribute in the domain entity"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
required: ["name", "description"],
|
|
127
|
+
additionalProperties: false,
|
|
128
|
+
};
|
|
129
|
+
export const EntitySchema = {
|
|
130
|
+
type: "object",
|
|
131
|
+
title: "Entity",
|
|
132
|
+
description: "Domain entity with attributes",
|
|
133
|
+
properties: {
|
|
134
|
+
name: {
|
|
135
|
+
type: "string",
|
|
136
|
+
description: "Entity name, should be descriptive and use PascalCase"
|
|
137
|
+
},
|
|
138
|
+
description: {
|
|
139
|
+
type: "string",
|
|
140
|
+
description: "Detailed description of the entity and its role in the domain"
|
|
141
|
+
},
|
|
142
|
+
attributes: {
|
|
143
|
+
type: "array",
|
|
144
|
+
items: AttributeSchema,
|
|
145
|
+
description: "List of entity attributes"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
required: ["name", "description", "attributes"],
|
|
149
|
+
additionalProperties: false,
|
|
150
|
+
};
|
|
151
|
+
export const MainStoryProbabilitySchema = {
|
|
152
|
+
type: "object",
|
|
153
|
+
title: "MainStoryProbability",
|
|
154
|
+
description: "Probability that the user story describes main action on the home screen",
|
|
155
|
+
properties: {
|
|
156
|
+
story: {
|
|
157
|
+
type: "string",
|
|
158
|
+
description: "Exact user story text copied from input"
|
|
159
|
+
},
|
|
160
|
+
probability: {
|
|
161
|
+
type: "number",
|
|
162
|
+
description: "Probability scroe — from 0 to 10 — that the user story describes main action on the home screen if we compare with other stories"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
required: ["story", "probability"],
|
|
166
|
+
additionalProperties: false,
|
|
167
|
+
};
|
|
168
|
+
export const MainStoryCandidatesSchema = {
|
|
169
|
+
type: "object",
|
|
170
|
+
title: "MainStoryCandidates",
|
|
171
|
+
description: "List of main story candidates",
|
|
172
|
+
properties: {
|
|
173
|
+
candidates: {
|
|
174
|
+
type: "array",
|
|
175
|
+
items: MainStoryProbabilitySchema,
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
required: ["candidates"],
|
|
179
|
+
additionalProperties: false,
|
|
180
|
+
};
|
|
181
|
+
//# sourceMappingURL=schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../src/ba/schemas.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEjD;;;;;;GAMG;AACH,MAAM,sBAAsB,GAAG;;;;;;OAMxB,CAAA;AAEP,MAAM,sBAAsB,GAC1B,0GAA0G,CAAA;AAE5G,MAAM,CAAC,MAAM,gBAAgB,GAA+B;IAC1D,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,mEAAmE;IAChF,UAAU,EAAE;QACV,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sBAAsB;SACpC;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC;YAChC,WAAW,EAAE,sBAAsB;SACpC;KACF;IACD,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,KAAK;CAC5B,CAAA;AAED,MAAM,CAAC,MAAM,0BAA0B,GAAyC;IAC9E,IAA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AsB;IAC7B,WAAW,EAAE,0EAA0E;IACvF,UAAU,EAAE;QACV,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,yCAAyC;SACvD;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,kIAAkI;SAChJ;KACF;IACD,QAAQ,EAAE,CAAC,OAAO,EAAE,aAAa,CAAC;IAClC,oBAAoB,EAAE,KAAK;CAC5B,CAAA;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAwC;IAC5E,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,qBAAqB;IAC5B,WAAW,EAAE,+BAA+B;IAC5C,UAAU,EAAE;QACV,UAAU,EAAE;YACV,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,0BAA0B;SAClC;KACF;IACD,QAAQ,EAAE,CAAC,YAAY,CAAC;IACxB,oBAAoB,EAAE,KAAK;CAC5B,CAAA"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { SpecCategory } from "./consts";
|
|
2
|
+
import type { ConnectingStoryKind, StoryKind } from "./consts.js";
|
|
3
|
+
import type { ProjectArea } from "../areas/consts.js";
|
|
4
|
+
import type { StoryDraft } from "../areas/types.js";
|
|
5
|
+
import type { StoryActor } from "../design/runtime.js";
|
|
6
|
+
export interface EntityList {
|
|
7
|
+
entities: string[];
|
|
8
|
+
}
|
|
9
|
+
export interface StoryList {
|
|
10
|
+
/** In flow order — story N implements numbered step N of the main flow. */
|
|
11
|
+
stories: StoryDraft[];
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* A story that CONNECTS two numbered steps of the main flow to each other.
|
|
15
|
+
*
|
|
16
|
+
* A {@link StoryDraft} plus an ANCHOR. `after` is not a position in the answer — it is the number
|
|
17
|
+
* of the FLOW story whose result this one displays, so the consumer interleaves these into flow
|
|
18
|
+
* order instead of appending them. The flow list is never rewritten or reordered by the call that
|
|
19
|
+
* produces these.
|
|
20
|
+
*/
|
|
21
|
+
export interface ConnectingStoryDraft extends StoryDraft {
|
|
22
|
+
kind: ConnectingStoryKind;
|
|
23
|
+
/** 1-based index into the flow story list that was passed in. Never 0, never past its end. */
|
|
24
|
+
after: number;
|
|
25
|
+
}
|
|
26
|
+
export interface ConnectingStoryList {
|
|
27
|
+
stories: ConnectingStoryDraft[];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* One entry of the single ordered story list init persists — the flow interleaved with the
|
|
31
|
+
* stories that connect it.
|
|
32
|
+
*
|
|
33
|
+
* `kind` survives only as far as the consumer that creates the records; nothing downstream of the
|
|
34
|
+
* story list has ever had a use for it.
|
|
35
|
+
*/
|
|
36
|
+
export interface MergedStoryDraft extends StoryDraft {
|
|
37
|
+
kind: StoryKind;
|
|
38
|
+
}
|
|
39
|
+
export interface UserStory {
|
|
40
|
+
story: string;
|
|
41
|
+
/**
|
|
42
|
+
* The platform's own code for this story (`US-XXXXX`), when the caller has one.
|
|
43
|
+
*
|
|
44
|
+
* Optional because the aggregate is also built in contexts that have no record behind them,
|
|
45
|
+
* but it is what makes a story's OWNERSHIP comparable: the scaffold stamps every placeholder it
|
|
46
|
+
* draws with this code, so a develop run that keys its registry by anything else cannot tell
|
|
47
|
+
* its own reserved placeholder from another story's — which is how one run came to rewrite a
|
|
48
|
+
* different story's widget.
|
|
49
|
+
*/
|
|
50
|
+
code?: string;
|
|
51
|
+
/** The audience acting in this story. Its screens hang under this area's entrypoint. */
|
|
52
|
+
area: ProjectArea;
|
|
53
|
+
/**
|
|
54
|
+
* WHO acts — a person, or one of the application's own machines.
|
|
55
|
+
*
|
|
56
|
+
* Optional and defaulting to a person, which is what every story is until a design stage says
|
|
57
|
+
* otherwise. An ephemeral actor holds no permissions and owns no screen; it still carries an
|
|
58
|
+
* `area`, because that says which human audience the work is FOR and therefore where its
|
|
59
|
+
* progress is shown.
|
|
60
|
+
*/
|
|
61
|
+
actor?: StoryActor;
|
|
62
|
+
entity: string;
|
|
63
|
+
entities: Entity[];
|
|
64
|
+
screens: StoryScreen[];
|
|
65
|
+
}
|
|
66
|
+
export interface StoryScreen {
|
|
67
|
+
name: string;
|
|
68
|
+
specs: Record<SpecCategory, string>;
|
|
69
|
+
description: string;
|
|
70
|
+
/** The top-menu group this screen belongs to. A label — never a URL segment. */
|
|
71
|
+
section?: string;
|
|
72
|
+
components: StoryComponent[];
|
|
73
|
+
}
|
|
74
|
+
export interface StoryComponent {
|
|
75
|
+
name: string;
|
|
76
|
+
specs: Record<SpecCategory, string>;
|
|
77
|
+
description: string;
|
|
78
|
+
entities: Entity[];
|
|
79
|
+
}
|
|
80
|
+
export interface Entity {
|
|
81
|
+
name: string;
|
|
82
|
+
description: string;
|
|
83
|
+
attributes: Attribute[];
|
|
84
|
+
}
|
|
85
|
+
export interface Attribute {
|
|
86
|
+
name: string;
|
|
87
|
+
description: string;
|
|
88
|
+
}
|
|
89
|
+
export interface AgentProject {
|
|
90
|
+
name: string;
|
|
91
|
+
description: string;
|
|
92
|
+
specification: string;
|
|
93
|
+
designSystem: string;
|
|
94
|
+
vision: string;
|
|
95
|
+
/**
|
|
96
|
+
* The language every piece of generated UI text is written in, as an IETF tag (`en`, `pl`).
|
|
97
|
+
*
|
|
98
|
+
* Optional here and required on `ProjectMeta`, because the two answer different questions: a
|
|
99
|
+
* brief may or may not state a language, while a project on disk always has one — whatever the
|
|
100
|
+
* screens were written in. The store carries a stated one through and keeps the recorded one
|
|
101
|
+
* otherwise; nothing re-decides it per pass, since a screen scaffolded in one language and
|
|
102
|
+
* extended in another compiles, passes its tests, and is a mixed interface.
|
|
103
|
+
*/
|
|
104
|
+
language?: string;
|
|
105
|
+
}
|
|
106
|
+
export interface MainStoryProbability {
|
|
107
|
+
story: string;
|
|
108
|
+
probability: number;
|
|
109
|
+
}
|
|
110
|
+
export interface MainStoryCandidates {
|
|
111
|
+
candidates: MainStoryProbability[];
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
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