@pennyfarthing/core 7.0.2 → 7.4.1
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/LICENSE +14 -0
- package/README.md +2 -2
- package/package.json +11 -10
- package/packages/core/dist/cli/commands/cyclist.d.ts +2 -2
- package/packages/core/dist/cli/commands/cyclist.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/cyclist.js +8 -9
- package/packages/core/dist/cli/commands/cyclist.js.map +1 -1
- package/packages/core/dist/cli/commands/cyclist.test.js +6 -4
- package/packages/core/dist/cli/commands/cyclist.test.js.map +1 -1
- package/packages/core/dist/cli/commands/init.js +4 -3
- package/packages/core/dist/cli/commands/init.js.map +1 -1
- package/packages/core/dist/cli/commands/update.d.ts.map +1 -1
- package/packages/core/dist/cli/commands/update.js +15 -139
- package/packages/core/dist/cli/commands/update.js.map +1 -1
- package/packages/core/dist/cli/cyclist-migration.test.js +4 -3
- package/packages/core/dist/cli/cyclist-migration.test.js.map +1 -1
- package/packages/core/dist/cli/utils/constants.d.ts +7 -1
- package/packages/core/dist/cli/utils/constants.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/constants.js +4 -2
- package/packages/core/dist/cli/utils/constants.js.map +1 -1
- package/packages/core/dist/cli/utils/node-modules.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/node-modules.js +2 -1
- package/packages/core/dist/cli/utils/node-modules.js.map +1 -1
- package/packages/core/dist/cli/utils/themes.d.ts +1 -4
- package/packages/core/dist/cli/utils/themes.d.ts.map +1 -1
- package/packages/core/dist/cli/utils/themes.js +2 -22
- package/packages/core/dist/cli/utils/themes.js.map +1 -1
- package/packages/core/dist/cli/utils/themes.test.d.ts +3 -3
- package/packages/core/dist/cli/utils/themes.test.js +16 -13
- package/packages/core/dist/cli/utils/themes.test.js.map +1 -1
- package/packages/core/dist/cli/workspace.test.js +11 -9
- package/packages/core/dist/cli/workspace.test.js.map +1 -1
- package/packages/core/dist/index.d.ts +1 -0
- package/packages/core/dist/index.d.ts.map +1 -1
- package/packages/core/dist/index.js +10 -0
- package/packages/core/dist/index.js.map +1 -1
- package/packages/core/dist/jira/jira-epic-creation.d.ts +109 -0
- package/packages/core/dist/jira/jira-epic-creation.d.ts.map +1 -0
- package/packages/core/dist/jira/jira-epic-creation.js +253 -0
- package/packages/core/dist/jira/jira-epic-creation.js.map +1 -0
- package/packages/core/dist/jira/jira-epic-creation.test.d.ts +16 -0
- package/packages/core/dist/jira/jira-epic-creation.test.d.ts.map +1 -0
- package/packages/core/dist/jira/jira-epic-creation.test.js +387 -0
- package/packages/core/dist/jira/jira-epic-creation.test.js.map +1 -0
- package/packages/core/dist/jira/jira-sprint-sync.d.ts +247 -0
- package/packages/core/dist/jira/jira-sprint-sync.d.ts.map +1 -0
- package/packages/core/dist/jira/jira-sprint-sync.js +670 -0
- package/packages/core/dist/jira/jira-sprint-sync.js.map +1 -0
- package/packages/core/dist/jira/jira-sprint-sync.test.d.ts +16 -0
- package/packages/core/dist/jira/jira-sprint-sync.test.d.ts.map +1 -0
- package/packages/core/dist/jira/jira-sprint-sync.test.js +845 -0
- package/packages/core/dist/jira/jira-sprint-sync.test.js.map +1 -0
- package/packages/core/dist/scripts/generate-spider.d.ts +11 -1
- package/packages/core/dist/scripts/generate-spider.d.ts.map +1 -1
- package/packages/core/dist/scripts/generate-spider.js +24 -1
- package/packages/core/dist/scripts/generate-spider.js.map +1 -1
- package/packages/core/dist/scripts/generate-spider.test.js +6 -4
- package/packages/core/dist/scripts/generate-spider.test.js.map +1 -1
- package/packages/core/dist/workflow/gate-handler.d.ts +94 -0
- package/packages/core/dist/workflow/gate-handler.d.ts.map +1 -0
- package/packages/core/dist/workflow/gate-handler.js +189 -0
- package/packages/core/dist/workflow/gate-handler.js.map +1 -0
- package/packages/core/dist/workflow/gate-handler.test.d.ts +14 -0
- package/packages/core/dist/workflow/gate-handler.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/gate-handler.test.js +543 -0
- package/packages/core/dist/workflow/gate-handler.test.js.map +1 -0
- package/packages/core/dist/workflow/generic-handoff.d.ts +46 -0
- package/packages/core/dist/workflow/generic-handoff.d.ts.map +1 -1
- package/packages/core/dist/workflow/generic-handoff.js +53 -0
- package/packages/core/dist/workflow/generic-handoff.js.map +1 -1
- package/packages/core/dist/workflow/generic-handoff.test.js +2 -2
- package/packages/core/dist/workflow/generic-handoff.test.js.map +1 -1
- package/packages/core/dist/workflow/handoff.d.ts +281 -0
- package/packages/core/dist/workflow/handoff.d.ts.map +1 -0
- package/packages/core/dist/workflow/handoff.js +411 -0
- package/packages/core/dist/workflow/handoff.js.map +1 -0
- package/packages/core/dist/workflow/handoff.test.d.ts +21 -0
- package/packages/core/dist/workflow/handoff.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/handoff.test.js +499 -0
- package/packages/core/dist/workflow/handoff.test.js.map +1 -0
- package/packages/core/dist/workflow/index.d.ts +16 -0
- package/packages/core/dist/workflow/index.d.ts.map +1 -0
- package/packages/core/dist/workflow/index.js +24 -0
- package/packages/core/dist/workflow/index.js.map +1 -0
- package/packages/core/dist/workflow/session-state.d.ts +92 -0
- package/packages/core/dist/workflow/session-state.d.ts.map +1 -0
- package/packages/core/dist/workflow/session-state.js +198 -0
- package/packages/core/dist/workflow/session-state.js.map +1 -0
- package/packages/core/dist/workflow/session-state.test.d.ts +8 -0
- package/packages/core/dist/workflow/session-state.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/session-state.test.js +551 -0
- package/packages/core/dist/workflow/session-state.test.js.map +1 -0
- package/packages/core/dist/workflow/sm-subagents.test.d.ts +2 -2
- package/packages/core/dist/workflow/sm-subagents.test.js +6 -6
- package/packages/core/dist/workflow/sm-subagents.test.js.map +1 -1
- package/packages/core/dist/workflow/step-parser.d.ts +45 -0
- package/packages/core/dist/workflow/step-parser.d.ts.map +1 -0
- package/packages/core/dist/workflow/step-parser.js +147 -0
- package/packages/core/dist/workflow/step-parser.js.map +1 -0
- package/packages/core/dist/workflow/step-parser.test.d.ts +14 -0
- package/packages/core/dist/workflow/step-parser.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/step-parser.test.js +470 -0
- package/packages/core/dist/workflow/step-parser.test.js.map +1 -0
- package/packages/core/dist/workflow/trimodal.d.ts +86 -0
- package/packages/core/dist/workflow/trimodal.d.ts.map +1 -0
- package/packages/core/dist/workflow/trimodal.js +118 -0
- package/packages/core/dist/workflow/trimodal.js.map +1 -0
- package/packages/core/dist/workflow/trimodal.test.d.ts +11 -0
- package/packages/core/dist/workflow/trimodal.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/trimodal.test.js +395 -0
- package/packages/core/dist/workflow/trimodal.test.js.map +1 -0
- package/packages/core/dist/workflow/variable-resolver.d.ts +67 -0
- package/packages/core/dist/workflow/variable-resolver.d.ts.map +1 -0
- package/packages/core/dist/workflow/variable-resolver.js +156 -0
- package/packages/core/dist/workflow/variable-resolver.js.map +1 -0
- package/packages/core/dist/workflow/variable-resolver.test.d.ts +14 -0
- package/packages/core/dist/workflow/variable-resolver.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/variable-resolver.test.js +400 -0
- package/packages/core/dist/workflow/variable-resolver.test.js.map +1 -0
- package/packages/core/dist/workflow/workflow-executor.d.ts +163 -0
- package/packages/core/dist/workflow/workflow-executor.d.ts.map +1 -0
- package/packages/core/dist/workflow/workflow-executor.js +197 -0
- package/packages/core/dist/workflow/workflow-executor.js.map +1 -0
- package/packages/core/dist/workflow/workflow-executor.test.d.ts +8 -0
- package/packages/core/dist/workflow/workflow-executor.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/workflow-executor.test.js +444 -0
- package/packages/core/dist/workflow/workflow-executor.test.js.map +1 -0
- package/packages/core/dist/workflow/workflow-loader.test.js +5 -5
- package/packages/core/dist/workflow/workflow-loader.test.js.map +1 -1
- package/packages/core/dist/workflow/workflow-migration.test.js +8 -9
- package/packages/core/dist/workflow/workflow-migration.test.js.map +1 -1
- package/packages/core/dist/workflow/workflow-permissions.d.ts +55 -0
- package/packages/core/dist/workflow/workflow-permissions.d.ts.map +1 -0
- package/packages/core/dist/workflow/workflow-permissions.js +64 -0
- package/packages/core/dist/workflow/workflow-permissions.js.map +1 -0
- package/packages/core/dist/workflow/workflow-permissions.test.d.ts +15 -0
- package/packages/core/dist/workflow/workflow-permissions.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/workflow-permissions.test.js +301 -0
- package/packages/core/dist/workflow/workflow-permissions.test.js.map +1 -0
- package/packages/core/dist/workflow/workflow-schema.d.ts +61 -2
- package/packages/core/dist/workflow/workflow-schema.d.ts.map +1 -1
- package/packages/core/dist/workflow/workflow-schema.js +293 -69
- package/packages/core/dist/workflow/workflow-schema.js.map +1 -1
- package/packages/core/dist/workflow/workflow-schema.test.js +6 -6
- package/packages/core/dist/workflow/workflow-schema.test.js.map +1 -1
- package/packages/core/dist/workflow/workflow-stepped-schema.test.d.ts +18 -0
- package/packages/core/dist/workflow/workflow-stepped-schema.test.d.ts.map +1 -0
- package/packages/core/dist/workflow/workflow-stepped-schema.test.js +608 -0
- package/packages/core/dist/workflow/workflow-stepped-schema.test.js.map +1 -0
- package/pennyfarthing-dist/agents/README.md +63 -134
- package/pennyfarthing-dist/agents/architect.md +18 -10
- package/pennyfarthing-dist/agents/dev.md +47 -32
- package/pennyfarthing-dist/agents/devops.md +18 -9
- package/pennyfarthing-dist/agents/handoff.md +289 -0
- package/pennyfarthing-dist/agents/orchestrator.md +44 -22
- package/pennyfarthing-dist/agents/pm.md +13 -8
- package/pennyfarthing-dist/agents/reviewer-preflight.md +42 -128
- package/pennyfarthing-dist/agents/reviewer.md +104 -57
- package/pennyfarthing-dist/agents/sm-file-summary.md +24 -75
- package/pennyfarthing-dist/agents/sm-finish.md +61 -0
- package/pennyfarthing-dist/agents/sm-handoff.md +102 -54
- package/pennyfarthing-dist/agents/sm-setup.md +174 -0
- package/pennyfarthing-dist/agents/sm.md +223 -100
- package/pennyfarthing-dist/agents/tea.md +42 -34
- package/pennyfarthing-dist/agents/tech-writer.md +74 -6
- package/pennyfarthing-dist/agents/testing-runner.md +78 -360
- package/pennyfarthing-dist/agents/ux-designer.md +80 -7
- package/pennyfarthing-dist/agents/workflow-status-check.md +35 -299
- package/pennyfarthing-dist/commands/architect.md +2 -2
- package/pennyfarthing-dist/commands/close-epic.md +5 -2
- package/pennyfarthing-dist/commands/create-branches-from-story.md +7 -23
- package/pennyfarthing-dist/commands/dev.md +2 -2
- package/pennyfarthing-dist/commands/devops.md +3 -3
- package/pennyfarthing-dist/commands/git-cleanup.md +5 -5
- package/pennyfarthing-dist/commands/health-check.md +1 -1
- package/pennyfarthing-dist/commands/list-themes.md +7 -3
- package/pennyfarthing-dist/commands/orchestrator.md +2 -2
- package/pennyfarthing-dist/commands/parallel-work.md +4 -4
- package/pennyfarthing-dist/commands/pm.md +2 -2
- package/pennyfarthing-dist/commands/prime.md +7 -7
- package/pennyfarthing-dist/commands/release.md +1 -1
- package/pennyfarthing-dist/commands/repo-status.md +2 -2
- package/pennyfarthing-dist/commands/retro.md +2 -2
- package/pennyfarthing-dist/commands/reviewer.md +2 -2
- package/pennyfarthing-dist/commands/set-theme.md +5 -1
- package/pennyfarthing-dist/commands/sm.md +2 -2
- package/pennyfarthing-dist/commands/start-epic.md +26 -14
- package/pennyfarthing-dist/commands/sync-epic-to-jira.md +8 -8
- package/pennyfarthing-dist/commands/sync-work-with-sprint.md +1 -4
- package/pennyfarthing-dist/commands/tea.md +2 -2
- package/pennyfarthing-dist/commands/tech-writer.md +2 -2
- package/pennyfarthing-dist/commands/ux-designer.md +3 -3
- package/pennyfarthing-dist/commands/work.md +15 -4
- package/pennyfarthing-dist/commands/workflow.md +21 -0
- package/pennyfarthing-dist/guides/AGENT-COORDINATION.md +15 -15
- package/pennyfarthing-dist/guides/PROMPT-PATTERNS.md +1 -1
- package/pennyfarthing-dist/guides/SESSION-ARTIFACTS.md +4 -4
- package/pennyfarthing-dist/guides/agent-behavior.md +238 -0
- package/pennyfarthing-dist/guides/agent-template-strategic.md +2 -2
- package/pennyfarthing-dist/guides/agent-template-tactical.md +4 -4
- package/pennyfarthing-dist/guides/patterns/approval-gates-pattern.md +1 -1
- package/pennyfarthing-dist/guides/patterns/helper-delegation-pattern.md +17 -17
- package/pennyfarthing-dist/guides/patterns/tdd-flow-pattern.md +8 -8
- package/pennyfarthing-dist/guides/workflow-schema.md +62 -0
- package/pennyfarthing-dist/guides/worktree-mode.md +5 -5
- package/pennyfarthing-dist/personas/themes/1984.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/a-team.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/agatha-christie.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/alice-in-wonderland.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/all-stars.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/ancient-philosophers.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/ancient-strategists.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/arcane.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/arthurian-mythos.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/avatar-the-last-airbender.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/babylon-5.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/battlestar-galactica.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/better-call-saul.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/big-lebowski.yaml +2 -2
- package/pennyfarthing-dist/personas/themes/black-sails.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/blade-runner.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/bobiverse.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/breaking-bad.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/catch-22.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/classical-composers.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/control.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/count-of-monte-cristo.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/cowboy-bebop.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/deadwood.yaml +2 -2
- package/pennyfarthing-dist/personas/themes/discworld.yaml +2 -2
- package/pennyfarthing-dist/personas/themes/doctor-who.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/enlightenment-thinkers.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/expeditionary-force.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/firefly.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/foundation.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/futurama.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/game-of-thrones.yaml +2 -2
- package/pennyfarthing-dist/personas/themes/gilligans-island.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/gothic-literature.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/great-gatsby.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/greek-mythology.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/harry-potter.yaml +2 -2
- package/pennyfarthing-dist/personas/themes/his-dark-materials.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/historical-figures.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/hitchhikers-guide.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/house-md.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/imperial-radch.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/jane-austen.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/jazz-legends.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/justified.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/legion-of-doom.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/les-miserables.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/lord-of-the-rings.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/lovecraft-mythos.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/mad-men.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/marvel-mcu.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/mash.yaml +69 -66
- package/pennyfarthing-dist/personas/themes/mass-effect.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/military-commanders.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/moby-dick.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/monty-python.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/neuromancer.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/norse-mythology.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/peaky-blinders.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/princess-bride.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/rome.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/russian-masters.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/sandman.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/shakespeare.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/sherlock-holmes.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/snow-crash.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/software-pioneers.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/star-trek-tng.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/star-trek-tos.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/star-wars.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/superfriends.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/the-americans.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/the-crown.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/the-expanse.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/the-good-place.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/the-office.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/the-simpsons.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/the-sopranos.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/the-wire.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/the-witcher.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/vorkosigan-saga.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/west-wing.yaml +1 -1
- package/pennyfarthing-dist/personas/themes/wwii-leaders.yaml +1 -1
- package/pennyfarthing-dist/scripts/README.md +68 -0
- package/pennyfarthing-dist/scripts/core/README.md +26 -0
- package/pennyfarthing-dist/scripts/{agent-session.sh → core/agent-session.sh} +34 -23
- package/pennyfarthing-dist/scripts/{check-context.sh → core/check-context.sh} +93 -37
- package/pennyfarthing-dist/scripts/core/handoff-marker.sh +90 -0
- package/pennyfarthing-dist/scripts/core/prime.sh +136 -0
- package/pennyfarthing-dist/scripts/core/run.sh +75 -0
- package/pennyfarthing-dist/scripts/cyclist/is-cyclist.sh +21 -0
- package/pennyfarthing-dist/scripts/git/README.md +25 -0
- package/pennyfarthing-dist/scripts/{utils → git}/create-feature-branches.sh +11 -15
- package/pennyfarthing-dist/scripts/{utils → git}/git-status-all.sh +1 -1
- package/pennyfarthing-dist/scripts/{install-git-hooks.sh → git/install-git-hooks.sh} +0 -0
- package/pennyfarthing-dist/scripts/{release.sh → git/release.sh} +0 -0
- package/pennyfarthing-dist/scripts/{worktree-manager.sh → git/worktree-manager.sh} +0 -4
- package/pennyfarthing-dist/scripts/hooks/README.md +32 -0
- package/pennyfarthing-dist/scripts/hooks/context-circuit-breaker.sh +3 -4
- package/pennyfarthing-dist/scripts/hooks/context-warning.sh +1 -2
- package/pennyfarthing-dist/scripts/hooks/otel-auto-config.sh +0 -0
- package/pennyfarthing-dist/scripts/hooks/post-merge.sh +1 -1
- package/pennyfarthing-dist/scripts/hooks/pre-commit.sh +0 -0
- package/pennyfarthing-dist/scripts/hooks/pre-edit-check.sh +0 -0
- package/pennyfarthing-dist/scripts/hooks/pre-push.sh +0 -0
- package/pennyfarthing-dist/scripts/hooks/session-start.sh +2 -3
- package/pennyfarthing-dist/scripts/hooks/session-stop.sh +2 -3
- package/pennyfarthing-dist/scripts/jira/README.md +33 -0
- package/pennyfarthing-dist/scripts/jira/create-jira-epic.sh +101 -0
- package/pennyfarthing-dist/scripts/jira/create-jira-story.sh +97 -0
- package/pennyfarthing-dist/scripts/jira/jira-bidirectional-sync.mjs +327 -0
- package/pennyfarthing-dist/scripts/jira/jira-bidirectional-sync.test.mjs +503 -0
- package/pennyfarthing-dist/scripts/{utils → jira}/jira-claim-story.sh +8 -6
- package/pennyfarthing-dist/scripts/{utils/jira → jira}/jira-lib.mjs +10 -10
- package/pennyfarthing-dist/scripts/{utils → jira}/jira-lib.sh +18 -17
- package/pennyfarthing-dist/scripts/jira/jira-reconcile.sh +266 -0
- package/pennyfarthing-dist/scripts/{utils/jira → jira}/jira-sync-story.mjs +14 -14
- package/pennyfarthing-dist/scripts/{utils → jira}/jira-sync-story.sh +0 -0
- package/pennyfarthing-dist/scripts/{utils/jira → jira}/jira-sync.mjs +4 -4
- package/pennyfarthing-dist/scripts/{utils → jira}/jira-sync.sh +0 -0
- package/pennyfarthing-dist/scripts/jira/sync-epic-jira.sh +104 -0
- package/pennyfarthing-dist/scripts/{utils → jira}/sync-epic-to-jira.sh +1 -1
- package/pennyfarthing-dist/scripts/lib/README.md +29 -0
- package/pennyfarthing-dist/scripts/{utils → lib}/background-tasks.sh +1 -1
- package/pennyfarthing-dist/scripts/{utils → lib}/checkpoint.sh +0 -0
- package/pennyfarthing-dist/scripts/{utils → lib}/common.sh +1 -1
- package/pennyfarthing-dist/scripts/{utils → lib}/file-lock.sh +0 -0
- package/pennyfarthing-dist/scripts/{utils → lib}/find-root.sh +7 -5
- package/pennyfarthing-dist/scripts/{utils → lib}/logging.sh +0 -0
- package/pennyfarthing-dist/scripts/{utils → lib}/retry.sh +0 -0
- package/pennyfarthing-dist/scripts/misc/README.md +44 -0
- package/pennyfarthing-dist/scripts/{add-short-names.mjs → misc/add-short-names.mjs} +0 -0
- package/pennyfarthing-dist/scripts/misc/backlog.sh +91 -0
- package/pennyfarthing-dist/scripts/{utils → misc}/check-status.sh +4 -8
- package/pennyfarthing-dist/scripts/{deploy.sh → misc/deploy.sh} +0 -0
- package/pennyfarthing-dist/scripts/{doctor-dogfood.sh → misc/doctor-dogfood.sh} +2 -5
- package/pennyfarthing-dist/scripts/{utils → misc}/find-related-work.sh +0 -0
- package/pennyfarthing-dist/scripts/{utils → misc}/generate-skill-docs.sh +0 -0
- package/pennyfarthing-dist/scripts/{utils → misc}/log-skill-usage.sh +0 -0
- package/pennyfarthing-dist/scripts/misc/migrate-bmad-workflow.mjs +474 -0
- package/pennyfarthing-dist/scripts/misc/migrate-bmad-workflow.sh +9 -0
- package/pennyfarthing-dist/scripts/{utils → misc}/repo-scan.sh +0 -0
- package/pennyfarthing-dist/scripts/{repo-utils.sh → misc/repo-utils.sh} +2 -2
- package/pennyfarthing-dist/scripts/{run-ci.sh → misc/run-ci.sh} +0 -0
- package/pennyfarthing-dist/scripts/{utils → misc}/run-timestamp.sh +0 -0
- package/pennyfarthing-dist/scripts/{utils → misc}/session-cleanup.sh +0 -0
- package/pennyfarthing-dist/scripts/{utils → misc}/skill-usage-report.sh +0 -0
- package/pennyfarthing-dist/scripts/{statusline.sh → misc/statusline.sh} +2 -7
- package/pennyfarthing-dist/scripts/{uninstall.sh → misc/uninstall.sh} +4 -5
- package/pennyfarthing-dist/scripts/{utils → misc}/validate-subagent-frontmatter.sh +3 -3
- package/pennyfarthing-dist/scripts/sprint/README.md +29 -0
- package/pennyfarthing-dist/scripts/sprint/archive-story.sh +135 -0
- package/pennyfarthing-dist/scripts/sprint/available-stories.sh +97 -0
- package/pennyfarthing-dist/scripts/sprint/check-story.sh +164 -0
- package/pennyfarthing-dist/scripts/sprint/get-epic-field.sh +58 -0
- package/pennyfarthing-dist/scripts/sprint/get-story-field.sh +69 -0
- package/pennyfarthing-dist/scripts/sprint/list-future.sh +151 -0
- package/pennyfarthing-dist/scripts/sprint/new-sprint.sh +116 -0
- package/pennyfarthing-dist/scripts/sprint/promote-epic.sh +164 -0
- package/pennyfarthing-dist/scripts/{utils → sprint}/sprint-common.sh +135 -0
- package/pennyfarthing-dist/scripts/sprint/sprint-info.sh +39 -0
- package/pennyfarthing-dist/scripts/{utils → sprint}/sprint-metrics.sh +0 -0
- package/pennyfarthing-dist/scripts/sprint/sprint-status.sh +134 -0
- package/pennyfarthing-dist/scripts/story/README.md +23 -0
- package/pennyfarthing-dist/scripts/story/create-story.sh +159 -0
- package/pennyfarthing-dist/scripts/story/size-story.sh +198 -0
- package/pennyfarthing-dist/scripts/story/story-template.sh +162 -0
- package/pennyfarthing-dist/scripts/test/README.md +23 -0
- package/pennyfarthing-dist/scripts/{utils → test}/swebench-judge.py +0 -0
- package/pennyfarthing-dist/scripts/test/test-cache.sh +165 -0
- package/pennyfarthing-dist/scripts/{utils → test}/test-setup.sh +5 -5
- package/pennyfarthing-dist/scripts/tests/check.test.sh +0 -0
- package/pennyfarthing-dist/scripts/tests/dev-story-workflow-import.test.sh +515 -0
- package/pennyfarthing-dist/scripts/tests/epics-and-stories-workflow-import.test.sh +599 -0
- package/pennyfarthing-dist/scripts/tests/handoff-phase-update.test.sh +332 -0
- package/pennyfarthing-dist/scripts/tests/implementation-readiness-workflow-import.test.sh +573 -0
- package/pennyfarthing-dist/scripts/tests/migrate-bmad-workflow.test.sh +859 -0
- package/pennyfarthing-dist/scripts/tests/prd-workflow-import.test.sh +662 -0
- package/pennyfarthing-dist/scripts/tests/project-context-workflow-import.test.sh +589 -0
- package/pennyfarthing-dist/scripts/tests/test-character-voice.sh +7 -9
- package/pennyfarthing-dist/scripts/tests/test-drift-detection.sh +18 -18
- package/pennyfarthing-dist/scripts/tests/test-post-merge-hook.sh +10 -10
- package/pennyfarthing-dist/scripts/tests/test-session-checkpoint.sh +1 -1
- package/pennyfarthing-dist/scripts/tests/test-solo-command.sh +0 -0
- package/pennyfarthing-dist/scripts/tests/ux-design-workflow-import.test.sh +647 -0
- package/pennyfarthing-dist/scripts/theme/README.md +22 -0
- package/pennyfarthing-dist/scripts/theme/compute-theme-tiers.sh +203 -0
- package/pennyfarthing-dist/scripts/theme/list-themes.sh +73 -0
- package/pennyfarthing-dist/scripts/theme/update-theme-tiers.sh +97 -0
- package/pennyfarthing-dist/scripts/workflow/README.md +28 -0
- package/pennyfarthing-dist/scripts/{check.sh → workflow/check.sh} +0 -0
- package/pennyfarthing-dist/scripts/workflow/finish-story.sh +159 -0
- package/pennyfarthing-dist/scripts/workflow/fix-session-phase.sh +228 -0
- package/pennyfarthing-dist/scripts/workflow/list-workflows.sh +91 -0
- package/pennyfarthing-dist/scripts/workflow/resume-workflow.sh +163 -0
- package/pennyfarthing-dist/scripts/workflow/show-workflow.sh +138 -0
- package/pennyfarthing-dist/scripts/workflow/start-workflow.sh +256 -0
- package/pennyfarthing-dist/scripts/workflow/workflow-status.sh +167 -0
- package/pennyfarthing-dist/skills/agentic-patterns/SKILL.md +6 -0
- package/pennyfarthing-dist/skills/changelog/SKILL.md +2 -2
- package/pennyfarthing-dist/skills/code-review/SKILL.md +3 -3
- package/pennyfarthing-dist/skills/context-engineering/SKILL.md +6 -0
- package/pennyfarthing-dist/skills/cyclist/SKILL.md +56 -139
- package/pennyfarthing-dist/skills/dev-patterns/SKILL.md +21 -5
- package/pennyfarthing-dist/skills/finalize-run/SKILL.md +1 -1
- package/pennyfarthing-dist/skills/jira/SKILL.md +381 -178
- package/pennyfarthing-dist/skills/judge/SKILL.md +76 -21
- package/pennyfarthing-dist/skills/just/SKILL.md +345 -102
- package/pennyfarthing-dist/skills/otel/skill.md +1 -0
- package/pennyfarthing-dist/skills/permissions/skill.md +1 -1
- package/pennyfarthing-dist/skills/persona-benchmark/SKILL.md +5 -0
- package/pennyfarthing-dist/skills/skill-registry.schema.json +5 -0
- package/pennyfarthing-dist/skills/skill-registry.yaml +22 -0
- package/pennyfarthing-dist/skills/sprint/scripts/archive-story.sh +101 -0
- package/pennyfarthing-dist/skills/sprint/scripts/available-stories.sh +97 -0
- package/pennyfarthing-dist/skills/sprint/scripts/check-story.sh +164 -0
- package/pennyfarthing-dist/skills/sprint/scripts/create-jira-epic.sh +101 -0
- package/pennyfarthing-dist/skills/sprint/scripts/new-sprint.sh +116 -0
- package/pennyfarthing-dist/skills/sprint/scripts/promote-epic.sh +164 -0
- package/pennyfarthing-dist/skills/sprint/scripts/sprint-info.sh +39 -0
- package/pennyfarthing-dist/skills/sprint/scripts/sprint-status.sh +147 -0
- package/pennyfarthing-dist/skills/sprint/scripts/sync-epic-jira.sh +104 -0
- package/pennyfarthing-dist/skills/sprint/skill.md +465 -0
- package/pennyfarthing-dist/skills/story/scripts/create-story.sh +159 -0
- package/pennyfarthing-dist/skills/story/scripts/size-story.sh +198 -0
- package/pennyfarthing-dist/skills/story/scripts/story-template.sh +162 -0
- package/pennyfarthing-dist/skills/story/skill.md +219 -0
- package/pennyfarthing-dist/skills/systematic-debugging/SKILL.md +390 -0
- package/pennyfarthing-dist/skills/theme/skill.md +1 -1
- package/pennyfarthing-dist/skills/workflow/scripts/list-workflows.sh +91 -0
- package/pennyfarthing-dist/skills/workflow/scripts/resume-workflow.sh +163 -0
- package/pennyfarthing-dist/skills/workflow/scripts/show-workflow.sh +138 -0
- package/pennyfarthing-dist/skills/workflow/scripts/start-workflow.sh +273 -0
- package/pennyfarthing-dist/skills/workflow/scripts/workflow-status.sh +167 -0
- package/pennyfarthing-dist/skills/workflow/skill.md +337 -0
- package/pennyfarthing-dist/templates/settings.local.json.template +1 -1
- package/pennyfarthing-dist/workflows/agent-docs.yaml +1 -1
- package/pennyfarthing-dist/workflows/architecture/steps/step-01-initialize.md +101 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-01b-continue.md +93 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-02-context.md +115 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-03-patterns.md +133 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-04-components.md +138 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-05-interfaces.md +133 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-06-risks.md +142 -0
- package/pennyfarthing-dist/workflows/architecture/steps/step-07-document.md +160 -0
- package/pennyfarthing-dist/workflows/architecture/templates/architecture-decision.md +102 -0
- package/pennyfarthing-dist/workflows/architecture.yaml +65 -0
- package/pennyfarthing-dist/workflows/bdd.yaml +3 -1
- package/pennyfarthing-dist/workflows/brainstorming/brain-methods.csv +62 -0
- package/pennyfarthing-dist/workflows/brainstorming/checklist.md +44 -0
- package/pennyfarthing-dist/workflows/brainstorming/instructions.md +736 -0
- package/pennyfarthing-dist/workflows/brainstorming/workflow.yaml +49 -0
- package/pennyfarthing-dist/workflows/code-review/checklist.md +23 -0
- package/pennyfarthing-dist/workflows/code-review/instructions.md +234 -0
- package/pennyfarthing-dist/workflows/code-review/workflow.yaml +51 -0
- package/pennyfarthing-dist/workflows/dev-story/checklist.md +80 -0
- package/pennyfarthing-dist/workflows/dev-story/instructions.xml +410 -0
- package/pennyfarthing-dist/workflows/dev-story/workflow.yaml +50 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-01-validate-prerequisites.md +256 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-02-design-epics.md +233 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-03-create-stories.md +272 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/steps/step-04-final-validation.md +145 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/templates/epics-template.md +57 -0
- package/pennyfarthing-dist/workflows/epics-and-stories/workflow.yaml +27 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-01-document-discovery.md +190 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-02-prd-analysis.md +178 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-03-epic-coverage-validation.md +179 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-04-ux-alignment.md +139 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-05-epic-quality-review.md +252 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/steps/step-06-final-assessment.md +133 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/templates/readiness-report-template.md +4 -0
- package/pennyfarthing-dist/workflows/implementation-readiness/workflow.yaml +40 -0
- package/pennyfarthing-dist/workflows/prd/data/domain-complexity.csv +13 -0
- package/pennyfarthing-dist/workflows/prd/data/prd-purpose.md +197 -0
- package/pennyfarthing-dist/workflows/prd/data/project-types.csv +11 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-01-init.md +191 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-01b-continue.md +153 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-02-discovery.md +224 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-03-success.md +226 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-04-journeys.md +213 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-05-domain.md +207 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-06-innovation.md +226 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-07-project-type.md +237 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-08-scoping.md +228 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-09-functional.md +231 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-10-nonfunctional.md +242 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-11-polish.md +217 -0
- package/pennyfarthing-dist/workflows/prd/steps-c/step-12-complete.md +180 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01-discovery.md +247 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-01b-legacy-conversion.md +208 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-02-review.md +249 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-03-edit.md +253 -0
- package/pennyfarthing-dist/workflows/prd/steps-e/step-e-04-complete.md +168 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-01-discovery.md +218 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02-format-detection.md +191 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-02b-parity-check.md +209 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-03-density-validation.md +174 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-04-brief-coverage-validation.md +214 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-05-measurability-validation.md +228 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-06-traceability-validation.md +217 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-07-implementation-leakage-validation.md +205 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-08-domain-compliance-validation.md +243 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-09-project-type-validation.md +263 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-10-smart-validation.md +209 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-11-holistic-quality-validation.md +264 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-12-completeness-validation.md +242 -0
- package/pennyfarthing-dist/workflows/prd/steps-v/step-v-13-report-complete.md +232 -0
- package/pennyfarthing-dist/workflows/prd/templates/prd-template.md +10 -0
- package/pennyfarthing-dist/workflows/prd/workflow.yaml +42 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-01-init.md +177 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-01b-continue.md +161 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-02-vision.md +199 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-03-users.md +202 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-04-metrics.md +205 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-05-scope.md +219 -0
- package/pennyfarthing-dist/workflows/product-brief/steps/step-06-complete.md +194 -0
- package/pennyfarthing-dist/workflows/product-brief/templates/product-brief.template.md +10 -0
- package/pennyfarthing-dist/workflows/product-brief/workflow.yaml +31 -0
- package/pennyfarthing-dist/workflows/project-context/project-context-template.md +21 -0
- package/pennyfarthing-dist/workflows/project-context/steps/step-01-discover.md +184 -0
- package/pennyfarthing-dist/workflows/project-context/steps/step-02-generate.md +318 -0
- package/pennyfarthing-dist/workflows/project-context/steps/step-03-complete.md +278 -0
- package/pennyfarthing-dist/workflows/project-context/workflow.yaml +27 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-01-mode-detection.md +156 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-02-context-gathering.md +120 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-03-execute.md +113 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-04-self-check.md +113 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-05-adversarial-review.md +106 -0
- package/pennyfarthing-dist/workflows/quick-dev/steps/step-06-resolve-findings.md +140 -0
- package/pennyfarthing-dist/workflows/quick-dev/workflow.yaml +27 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-01-understand.md +189 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-02-investigate.md +144 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-03-generate.md +128 -0
- package/pennyfarthing-dist/workflows/quick-spec/steps/step-04-review.md +191 -0
- package/pennyfarthing-dist/workflows/quick-spec/tech-spec-template.md +74 -0
- package/pennyfarthing-dist/workflows/quick-spec/workflow.yaml +27 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-01-init.md +137 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-02-domain-analysis.md +229 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-03-competitive-landscape.md +238 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-04-regulatory-focus.md +206 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-05-technical-trends.md +234 -0
- package/pennyfarthing-dist/workflows/research/steps-domain/step-06-research-synthesis.md +443 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-01-init.md +182 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-behavior.md +237 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-02-customer-insights.md +200 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-03-customer-pain-points.md +249 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-04-customer-decisions.md +259 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-05-competitive-analysis.md +177 -0
- package/pennyfarthing-dist/workflows/research/steps-market/step-06-research-completion.md +475 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-01-init.md +137 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-02-technical-overview.md +239 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-03-integration-patterns.md +248 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-04-architectural-patterns.md +202 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-05-implementation-research.md +239 -0
- package/pennyfarthing-dist/workflows/research/steps-technical/step-06-research-synthesis.md +486 -0
- package/pennyfarthing-dist/workflows/research/templates/research.template.md +29 -0
- package/pennyfarthing-dist/workflows/research/workflow.yaml +45 -0
- package/pennyfarthing-dist/workflows/retrospective/checklist.md +31 -0
- package/pennyfarthing-dist/workflows/retrospective/instructions.md +1443 -0
- package/pennyfarthing-dist/workflows/retrospective/workflow.yaml +50 -0
- package/pennyfarthing-dist/workflows/sprint-planning/checklist.md +33 -0
- package/pennyfarthing-dist/workflows/sprint-planning/sprint-status-template.yaml +55 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-01-parse-epic-files.md +54 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-02-build-sprint-status.md +44 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-03-status-detection.md +64 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-04-generate-status-file.md +73 -0
- package/pennyfarthing-dist/workflows/sprint-planning/steps/step-05-validate-and-report.md +56 -0
- package/pennyfarthing-dist/workflows/sprint-planning/workflow.yaml +34 -0
- package/pennyfarthing-dist/workflows/trivial.yaml +1 -1
- package/pennyfarthing-dist/workflows/ux-design/steps/step-01-init.md +135 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-01b-continue.md +127 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-02-discovery.md +190 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-03-core-experience.md +216 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-04-emotional-response.md +219 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-05-inspiration.md +234 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-06-design-system.md +252 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-07-defining-experience.md +254 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-08-visual-foundation.md +224 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-09-design-directions.md +224 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-10-user-journeys.md +241 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-11-component-strategy.md +248 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-12-ux-patterns.md +237 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-13-responsive-accessibility.md +264 -0
- package/pennyfarthing-dist/workflows/ux-design/steps/step-14-complete.md +228 -0
- package/pennyfarthing-dist/workflows/ux-design/ux-design-template.md +13 -0
- package/pennyfarthing-dist/workflows/ux-design/workflow.yaml +41 -0
- package/packages/core/dist/scripts/generate-all-faces.d.ts +0 -10
- package/packages/core/dist/scripts/generate-all-faces.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-all-faces.js +0 -256
- package/packages/core/dist/scripts/generate-all-faces.js.map +0 -1
- package/packages/core/dist/scripts/generate-all-faces.test.d.ts +0 -17
- package/packages/core/dist/scripts/generate-all-faces.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-all-faces.test.js +0 -372
- package/packages/core/dist/scripts/generate-all-faces.test.js.map +0 -1
- package/packages/core/dist/scripts/generate-ascii-face.d.ts +0 -52
- package/packages/core/dist/scripts/generate-ascii-face.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-ascii-face.js +0 -155
- package/packages/core/dist/scripts/generate-ascii-face.js.map +0 -1
- package/packages/core/dist/scripts/generate-face.d.ts +0 -52
- package/packages/core/dist/scripts/generate-face.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-face.js +0 -199
- package/packages/core/dist/scripts/generate-face.js.map +0 -1
- package/packages/core/dist/scripts/generate-face.test.d.ts +0 -13
- package/packages/core/dist/scripts/generate-face.test.d.ts.map +0 -1
- package/packages/core/dist/scripts/generate-face.test.js +0 -301
- package/packages/core/dist/scripts/generate-face.test.js.map +0 -1
- package/pennyfarthing-dist/agents/generic-handoff.md +0 -454
- package/pennyfarthing-dist/agents/generic-sm-finish.md +0 -261
- package/pennyfarthing-dist/agents/generic-sm-setup.md +0 -214
- package/pennyfarthing-dist/commands/new-work.md +0 -127
- package/pennyfarthing-dist/guides/AGENT-SCOPES.md +0 -201
- package/pennyfarthing-dist/guides/persona-system.md +0 -294
- package/pennyfarthing-dist/guides/shared-agent-behavior.md +0 -388
- package/pennyfarthing-dist/guides/shared-context.md +0 -147
- package/pennyfarthing-dist/guides/strategic-agent-behavior.md +0 -348
- package/pennyfarthing-dist/guides/tactical-agent-behavior.md +0 -1041
- package/pennyfarthing-dist/scripts/prime.sh +0 -161
- package/pennyfarthing-dist/scripts/run.sh +0 -65
- package/pennyfarthing-dist/skills/sprint-context/SKILL.md +0 -120
- package/pennyfarthing-dist/skills/story-management/SKILL.md +0 -208
- package/pennyfarthing-dist/skills/workflow/SKILL.md +0 -160
- /package/pennyfarthing-dist/commands/{brainstorm.md → brainstorming.md} +0 -0
- /package/pennyfarthing-dist/scripts/{utils → test}/ground-truth-judge.py +0 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Variable Resolver for MSSCI-12081
|
|
3
|
+
*
|
|
4
|
+
* Resolves {variable} placeholders in step file content from multiple sources
|
|
5
|
+
* with priority-based fallback chain.
|
|
6
|
+
*/
|
|
7
|
+
// Regex to match valid variable names: {name} where name starts with letter or underscore
|
|
8
|
+
// followed by letters, numbers, or underscores.
|
|
9
|
+
// Uses negative lookbehind to avoid matching inside nested braces like {outer_{inner}}
|
|
10
|
+
const VARIABLE_REGEX = /(?<!\{[^}]*)\{([a-zA-Z_][a-zA-Z0-9_]*)\}/g;
|
|
11
|
+
/**
|
|
12
|
+
* Convert a value to string, handling various types
|
|
13
|
+
*/
|
|
14
|
+
function valueToString(value) {
|
|
15
|
+
if (value === null || value === undefined) {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
if (typeof value === 'string') {
|
|
19
|
+
return value;
|
|
20
|
+
}
|
|
21
|
+
if (typeof value === 'number' || typeof value === 'boolean') {
|
|
22
|
+
return String(value);
|
|
23
|
+
}
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Look up a variable in sources by priority
|
|
28
|
+
*/
|
|
29
|
+
function lookupVariable(varName, sortedSources) {
|
|
30
|
+
for (const source of sortedSources) {
|
|
31
|
+
if (varName in source.values) {
|
|
32
|
+
const rawValue = source.values[varName];
|
|
33
|
+
const value = valueToString(rawValue);
|
|
34
|
+
if (value !== null) {
|
|
35
|
+
return { value, sourceName: source.name };
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Resolve variables in content from prioritized sources
|
|
43
|
+
*
|
|
44
|
+
* @param content - The content containing {variable} placeholders
|
|
45
|
+
* @param sources - Array of variable sources, sorted by priority
|
|
46
|
+
* @returns ResolveResult with resolved content and metadata
|
|
47
|
+
*/
|
|
48
|
+
export function resolveVariables(content, sources) {
|
|
49
|
+
const resolved = [];
|
|
50
|
+
const unresolved = [];
|
|
51
|
+
const sourceMap = {};
|
|
52
|
+
// Sort sources by priority (lower number = higher priority)
|
|
53
|
+
// Stable sort preserves array order for same priority
|
|
54
|
+
const sortedSources = [...sources].sort((a, b) => a.priority - b.priority);
|
|
55
|
+
// Find all variable references in content
|
|
56
|
+
const matches = content.matchAll(VARIABLE_REGEX);
|
|
57
|
+
const seenVars = new Set();
|
|
58
|
+
for (const match of matches) {
|
|
59
|
+
const varName = match[1];
|
|
60
|
+
if (seenVars.has(varName)) {
|
|
61
|
+
continue;
|
|
62
|
+
}
|
|
63
|
+
seenVars.add(varName);
|
|
64
|
+
const lookup = lookupVariable(varName, sortedSources);
|
|
65
|
+
if (lookup) {
|
|
66
|
+
resolved.push(varName);
|
|
67
|
+
sourceMap[varName] = lookup.sourceName;
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
unresolved.push(varName);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
// Replace variables in content
|
|
74
|
+
const resolvedContent = content.replace(VARIABLE_REGEX, (match, varName) => {
|
|
75
|
+
const lookup = lookupVariable(varName, sortedSources);
|
|
76
|
+
return lookup ? lookup.value : match;
|
|
77
|
+
});
|
|
78
|
+
return {
|
|
79
|
+
content: resolvedContent,
|
|
80
|
+
resolved,
|
|
81
|
+
unresolved,
|
|
82
|
+
sources: sourceMap,
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Get current date in YYYY-MM-DD format
|
|
87
|
+
*/
|
|
88
|
+
function getCurrentDate() {
|
|
89
|
+
const now = new Date();
|
|
90
|
+
const year = now.getFullYear();
|
|
91
|
+
const month = String(now.getMonth() + 1).padStart(2, '0');
|
|
92
|
+
const day = String(now.getDate()).padStart(2, '0');
|
|
93
|
+
return `${year}-${month}-${day}`;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Convenience function to resolve variables in step file content
|
|
97
|
+
*
|
|
98
|
+
* Automatically builds sources from:
|
|
99
|
+
* 1. Workflow variables (priority 1)
|
|
100
|
+
* 2. Session variables (priority 2)
|
|
101
|
+
* 3. Config file values (priority 3)
|
|
102
|
+
* 4. Environment/system variables (priority 4)
|
|
103
|
+
* 5. Default values (priority 5)
|
|
104
|
+
*
|
|
105
|
+
* @param stepContent - The step file content to process
|
|
106
|
+
* @param options - Optional configuration for variable sources
|
|
107
|
+
* @returns ResolveResult with resolved content and metadata
|
|
108
|
+
*/
|
|
109
|
+
export function resolveStepVariables(stepContent, options) {
|
|
110
|
+
const sources = [];
|
|
111
|
+
// Priority 1: Workflow variables
|
|
112
|
+
if (options?.workflowVars) {
|
|
113
|
+
const workflowValues = {};
|
|
114
|
+
for (const [key, value] of Object.entries(options.workflowVars)) {
|
|
115
|
+
const strValue = valueToString(value);
|
|
116
|
+
if (strValue !== null) {
|
|
117
|
+
workflowValues[key] = strValue;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
sources.push({
|
|
121
|
+
name: 'workflow',
|
|
122
|
+
priority: 1,
|
|
123
|
+
values: workflowValues,
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
// Priority 2: Session variables
|
|
127
|
+
if (options?.sessionVars) {
|
|
128
|
+
sources.push({
|
|
129
|
+
name: 'session',
|
|
130
|
+
priority: 2,
|
|
131
|
+
values: options.sessionVars,
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
// Priority 4: Environment/system variables
|
|
135
|
+
const envValues = {
|
|
136
|
+
date: getCurrentDate(),
|
|
137
|
+
};
|
|
138
|
+
if (options?.projectRoot) {
|
|
139
|
+
envValues.project_root = options.projectRoot;
|
|
140
|
+
}
|
|
141
|
+
sources.push({
|
|
142
|
+
name: 'environment',
|
|
143
|
+
priority: 4,
|
|
144
|
+
values: envValues,
|
|
145
|
+
});
|
|
146
|
+
// Priority 5: Default values
|
|
147
|
+
sources.push({
|
|
148
|
+
name: 'defaults',
|
|
149
|
+
priority: 5,
|
|
150
|
+
values: {
|
|
151
|
+
planning_artifacts: 'planning-artifacts/',
|
|
152
|
+
},
|
|
153
|
+
});
|
|
154
|
+
return resolveVariables(stepContent, sources);
|
|
155
|
+
}
|
|
156
|
+
//# sourceMappingURL=variable-resolver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variable-resolver.js","sourceRoot":"","sources":["../../src/workflow/variable-resolver.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA0CH,0FAA0F;AAC1F,gDAAgD;AAChD,uFAAuF;AACvF,MAAM,cAAc,GAAG,2CAA2C,CAAC;AAEnE;;GAEG;AACH,SAAS,aAAa,CAAC,KAAc;IACnC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE,CAAC;QAC5D,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;GAEG;AACH,SAAS,cAAc,CACrB,OAAe,EACf,aAA+B;IAE/B,KAAK,MAAM,MAAM,IAAI,aAAa,EAAE,CAAC;QACnC,IAAI,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;YAC7B,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;YACxC,MAAM,KAAK,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC;YACtC,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;gBACnB,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC;YAC5C,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAC9B,OAAe,EACf,OAAyB;IAEzB,MAAM,QAAQ,GAAa,EAAE,CAAC;IAC9B,MAAM,UAAU,GAAa,EAAE,CAAC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IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,CAAC;YACX,MAAM,EAAE,OAAO,CAAC,WAAW;SAC5B,CAAC,CAAC;IACL,CAAC;IAED,2CAA2C;IAC3C,MAAM,SAAS,GAA2B;QACxC,IAAI,EAAE,cAAc,EAAE;KACvB,CAAC;IACF,IAAI,OAAO,EAAE,WAAW,EAAE,CAAC;QACzB,SAAS,CAAC,YAAY,GAAG,OAAO,CAAC,WAAW,CAAC;IAC/C,CAAC;IACD,OAAO,CAAC,IAAI,CAAC;QACX,IAAI,EAAE,aAAa;QACnB,QAAQ,EAAE,CAAC;QACX,MAAM,EAAE,SAAS;KAClB,CAAC,CAAC;IAEH,6BAA6B;IAC7B,OAAO,CAAC,IAAI,CAAC;QACX,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,CAAC;QACX,MAAM,EAAE;YACN,kBAAkB,EAAE,qBAAqB;SAC1C;KACF,CAAC,CAAC;IAEH,OAAO,gBAAgB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;AAChD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests for Story MSSCI-12081: Variable resolver with priority chain
|
|
3
|
+
*
|
|
4
|
+
* These tests define the contract for resolving {variable} placeholders
|
|
5
|
+
* in step file content from multiple sources with priority ordering.
|
|
6
|
+
*
|
|
7
|
+
* Expected interface:
|
|
8
|
+
* - resolveVariables(content: string, sources: VariableSource[]): ResolveResult
|
|
9
|
+
* - resolveStepVariables(stepContent: string, options?): ResolveResult
|
|
10
|
+
*
|
|
11
|
+
* Run with: npm test
|
|
12
|
+
*/
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=variable-resolver.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variable-resolver.test.d.ts","sourceRoot":"","sources":["../../src/workflow/variable-resolver.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests for Story MSSCI-12081: Variable resolver with priority chain
|
|
3
|
+
*
|
|
4
|
+
* These tests define the contract for resolving {variable} placeholders
|
|
5
|
+
* in step file content from multiple sources with priority ordering.
|
|
6
|
+
*
|
|
7
|
+
* Expected interface:
|
|
8
|
+
* - resolveVariables(content: string, sources: VariableSource[]): ResolveResult
|
|
9
|
+
* - resolveStepVariables(stepContent: string, options?): ResolveResult
|
|
10
|
+
*
|
|
11
|
+
* Run with: npm test
|
|
12
|
+
*/
|
|
13
|
+
import { describe, it } from 'node:test';
|
|
14
|
+
import assert from 'node:assert';
|
|
15
|
+
// Import will fail until implementation exists - this confirms RED state
|
|
16
|
+
import { resolveVariables, resolveStepVariables, } from './variable-resolver.js';
|
|
17
|
+
describe('Variable Resolver (MSSCI-12081)', () => {
|
|
18
|
+
describe('AC1: Resolves variables from workflow YAML', () => {
|
|
19
|
+
it('should resolve a single variable from source', () => {
|
|
20
|
+
const content = 'Write output to {output_file}.';
|
|
21
|
+
const sources = [
|
|
22
|
+
{ name: 'workflow', priority: 1, values: { output_file: 'results.md' } }
|
|
23
|
+
];
|
|
24
|
+
const result = resolveVariables(content, sources);
|
|
25
|
+
assert.strictEqual(result.content, 'Write output to results.md.');
|
|
26
|
+
assert.deepStrictEqual(result.resolved, ['output_file']);
|
|
27
|
+
assert.deepStrictEqual(result.unresolved, []);
|
|
28
|
+
assert.strictEqual(result.sources['output_file'], 'workflow');
|
|
29
|
+
});
|
|
30
|
+
it('should resolve multiple variables in one string', () => {
|
|
31
|
+
const content = 'Project: {project_name} | Version: {version}';
|
|
32
|
+
const sources = [
|
|
33
|
+
{ name: 'workflow', priority: 1, values: { project_name: 'pennyfarthing', version: '7.0.2' } }
|
|
34
|
+
];
|
|
35
|
+
const result = resolveVariables(content, sources);
|
|
36
|
+
assert.strictEqual(result.content, 'Project: pennyfarthing | Version: 7.0.2');
|
|
37
|
+
assert.ok(result.resolved.includes('project_name'));
|
|
38
|
+
assert.ok(result.resolved.includes('version'));
|
|
39
|
+
assert.strictEqual(result.resolved.length, 2);
|
|
40
|
+
});
|
|
41
|
+
it('should resolve same variable appearing multiple times', () => {
|
|
42
|
+
const content = '{name} is here. Hello, {name}!';
|
|
43
|
+
const sources = [
|
|
44
|
+
{ name: 'workflow', priority: 1, values: { name: 'Sam' } }
|
|
45
|
+
];
|
|
46
|
+
const result = resolveVariables(content, sources);
|
|
47
|
+
assert.strictEqual(result.content, 'Sam is here. Hello, Sam!');
|
|
48
|
+
// resolved should list variable once, not twice
|
|
49
|
+
assert.deepStrictEqual(result.resolved, ['name']);
|
|
50
|
+
});
|
|
51
|
+
it('should handle content with no variables', () => {
|
|
52
|
+
const content = 'This content has no variables at all.';
|
|
53
|
+
const sources = [
|
|
54
|
+
{ name: 'workflow', priority: 1, values: { unused: 'value' } }
|
|
55
|
+
];
|
|
56
|
+
const result = resolveVariables(content, sources);
|
|
57
|
+
assert.strictEqual(result.content, content);
|
|
58
|
+
assert.deepStrictEqual(result.resolved, []);
|
|
59
|
+
assert.deepStrictEqual(result.unresolved, []);
|
|
60
|
+
});
|
|
61
|
+
it('should handle empty sources array', () => {
|
|
62
|
+
const content = 'Value: {some_var}';
|
|
63
|
+
const sources = [];
|
|
64
|
+
const result = resolveVariables(content, sources);
|
|
65
|
+
assert.strictEqual(result.content, 'Value: {some_var}');
|
|
66
|
+
assert.deepStrictEqual(result.resolved, []);
|
|
67
|
+
assert.deepStrictEqual(result.unresolved, ['some_var']);
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
describe('AC2: Falls back through priority chain', () => {
|
|
71
|
+
it('should resolve from highest priority source first', () => {
|
|
72
|
+
const content = 'Theme: {theme}';
|
|
73
|
+
const sources = [
|
|
74
|
+
{ name: 'workflow', priority: 1, values: { theme: 'west-wing' } },
|
|
75
|
+
{ name: 'session', priority: 2, values: { theme: 'star-trek' } },
|
|
76
|
+
{ name: 'config', priority: 3, values: { theme: 'discworld' } },
|
|
77
|
+
];
|
|
78
|
+
const result = resolveVariables(content, sources);
|
|
79
|
+
assert.strictEqual(result.content, 'Theme: west-wing');
|
|
80
|
+
assert.strictEqual(result.sources['theme'], 'workflow');
|
|
81
|
+
});
|
|
82
|
+
it('should fall back to lower priority when higher priority lacks variable', () => {
|
|
83
|
+
const content = 'Project: {project_root}';
|
|
84
|
+
const sources = [
|
|
85
|
+
{ name: 'workflow', priority: 1, values: {} },
|
|
86
|
+
{ name: 'session', priority: 2, values: {} },
|
|
87
|
+
{ name: 'environment', priority: 4, values: { project_root: '/Users/keithavery/Projects/pennyfarthing' } },
|
|
88
|
+
];
|
|
89
|
+
const result = resolveVariables(content, sources);
|
|
90
|
+
assert.strictEqual(result.content, 'Project: /Users/keithavery/Projects/pennyfarthing');
|
|
91
|
+
assert.strictEqual(result.sources['project_root'], 'environment');
|
|
92
|
+
});
|
|
93
|
+
it('should resolve different variables from different sources', () => {
|
|
94
|
+
const content = '{story_id} in {project_root} with {theme}';
|
|
95
|
+
const sources = [
|
|
96
|
+
{ name: 'workflow', priority: 1, values: { theme: 'west-wing' } },
|
|
97
|
+
{ name: 'session', priority: 2, values: { story_id: 'MSSCI-12081' } },
|
|
98
|
+
{ name: 'environment', priority: 4, values: { project_root: '/home/user/project' } },
|
|
99
|
+
];
|
|
100
|
+
const result = resolveVariables(content, sources);
|
|
101
|
+
assert.strictEqual(result.content, 'MSSCI-12081 in /home/user/project with west-wing');
|
|
102
|
+
assert.strictEqual(result.sources['theme'], 'workflow');
|
|
103
|
+
assert.strictEqual(result.sources['story_id'], 'session');
|
|
104
|
+
assert.strictEqual(result.sources['project_root'], 'environment');
|
|
105
|
+
});
|
|
106
|
+
it('should respect priority ordering regardless of array order', () => {
|
|
107
|
+
const content = 'Value: {key}';
|
|
108
|
+
// Sources provided out of priority order
|
|
109
|
+
const sources = [
|
|
110
|
+
{ name: 'config', priority: 3, values: { key: 'from-config' } },
|
|
111
|
+
{ name: 'workflow', priority: 1, values: { key: 'from-workflow' } },
|
|
112
|
+
{ name: 'defaults', priority: 5, values: { key: 'from-defaults' } },
|
|
113
|
+
{ name: 'session', priority: 2, values: { key: 'from-session' } },
|
|
114
|
+
];
|
|
115
|
+
const result = resolveVariables(content, sources);
|
|
116
|
+
assert.strictEqual(result.content, 'Value: from-workflow');
|
|
117
|
+
assert.strictEqual(result.sources['key'], 'workflow');
|
|
118
|
+
});
|
|
119
|
+
it('should handle sources with same priority (first wins)', () => {
|
|
120
|
+
const content = 'Value: {var}';
|
|
121
|
+
const sources = [
|
|
122
|
+
{ name: 'source-a', priority: 1, values: { var: 'a-value' } },
|
|
123
|
+
{ name: 'source-b', priority: 1, values: { var: 'b-value' } },
|
|
124
|
+
];
|
|
125
|
+
const result = resolveVariables(content, sources);
|
|
126
|
+
// First source with matching priority wins
|
|
127
|
+
assert.strictEqual(result.content, 'Value: a-value');
|
|
128
|
+
assert.strictEqual(result.sources['var'], 'source-a');
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
describe('AC3: Standard variables documented and working', () => {
|
|
132
|
+
it('should resolve project_root from environment source', () => {
|
|
133
|
+
const content = 'Root: {project_root}';
|
|
134
|
+
const sources = [
|
|
135
|
+
{ name: 'environment', priority: 4, values: { project_root: '/abs/path/to/project' } },
|
|
136
|
+
];
|
|
137
|
+
const result = resolveVariables(content, sources);
|
|
138
|
+
assert.strictEqual(result.content, 'Root: /abs/path/to/project');
|
|
139
|
+
});
|
|
140
|
+
it('should resolve date variable with YYYY-MM-DD format', () => {
|
|
141
|
+
const content = 'Today: {date}';
|
|
142
|
+
const sources = [
|
|
143
|
+
{ name: 'system', priority: 4, values: { date: '2026-01-20' } },
|
|
144
|
+
];
|
|
145
|
+
const result = resolveVariables(content, sources);
|
|
146
|
+
assert.strictEqual(result.content, 'Today: 2026-01-20');
|
|
147
|
+
// Verify date format matches pattern
|
|
148
|
+
assert.match(result.content, /\d{4}-\d{2}-\d{2}/);
|
|
149
|
+
});
|
|
150
|
+
it('should resolve story_id from session source', () => {
|
|
151
|
+
const content = 'Working on {story_id}';
|
|
152
|
+
const sources = [
|
|
153
|
+
{ name: 'session', priority: 2, values: { story_id: 'MSSCI-12081' } },
|
|
154
|
+
];
|
|
155
|
+
const result = resolveVariables(content, sources);
|
|
156
|
+
assert.strictEqual(result.content, 'Working on MSSCI-12081');
|
|
157
|
+
});
|
|
158
|
+
it('should resolve output_file from workflow source', () => {
|
|
159
|
+
const content = 'Write to {output_file}';
|
|
160
|
+
const sources = [
|
|
161
|
+
{ name: 'workflow', priority: 1, values: { output_file: 'analysis-output.md' } },
|
|
162
|
+
];
|
|
163
|
+
const result = resolveVariables(content, sources);
|
|
164
|
+
assert.strictEqual(result.content, 'Write to analysis-output.md');
|
|
165
|
+
});
|
|
166
|
+
it('should resolve planning_artifacts from defaults', () => {
|
|
167
|
+
const content = 'Artifacts in {planning_artifacts}';
|
|
168
|
+
const sources = [
|
|
169
|
+
{ name: 'defaults', priority: 5, values: { planning_artifacts: 'planning-artifacts/' } },
|
|
170
|
+
];
|
|
171
|
+
const result = resolveVariables(content, sources);
|
|
172
|
+
assert.strictEqual(result.content, 'Artifacts in planning-artifacts/');
|
|
173
|
+
});
|
|
174
|
+
it('should resolve all standard variables together', () => {
|
|
175
|
+
const content = `# Analysis for {story_id}
|
|
176
|
+
|
|
177
|
+
Project: {project_root}
|
|
178
|
+
Date: {date}
|
|
179
|
+
Output: {output_file}
|
|
180
|
+
Artifacts: {planning_artifacts}
|
|
181
|
+
`;
|
|
182
|
+
const sources = [
|
|
183
|
+
{ name: 'workflow', priority: 1, values: { output_file: 'report.md' } },
|
|
184
|
+
{ name: 'session', priority: 2, values: { story_id: 'MSSCI-12081' } },
|
|
185
|
+
{ name: 'environment', priority: 4, values: {
|
|
186
|
+
project_root: '/Users/keithavery/Projects/pennyfarthing',
|
|
187
|
+
date: '2026-01-20'
|
|
188
|
+
} },
|
|
189
|
+
{ name: 'defaults', priority: 5, values: { planning_artifacts: 'planning-artifacts/' } },
|
|
190
|
+
];
|
|
191
|
+
const result = resolveVariables(content, sources);
|
|
192
|
+
assert.ok(result.content.includes('MSSCI-12081'));
|
|
193
|
+
assert.ok(result.content.includes('/Users/keithavery/Projects/pennyfarthing'));
|
|
194
|
+
assert.ok(result.content.includes('2026-01-20'));
|
|
195
|
+
assert.ok(result.content.includes('report.md'));
|
|
196
|
+
assert.ok(result.content.includes('planning-artifacts/'));
|
|
197
|
+
assert.strictEqual(result.resolved.length, 5);
|
|
198
|
+
});
|
|
199
|
+
});
|
|
200
|
+
describe('AC4: Unresolved variables flagged with warning', () => {
|
|
201
|
+
it('should leave unresolved variable as-is in content', () => {
|
|
202
|
+
const content = 'Value: {missing_var}';
|
|
203
|
+
const sources = [
|
|
204
|
+
{ name: 'workflow', priority: 1, values: { other_var: 'something' } },
|
|
205
|
+
];
|
|
206
|
+
const result = resolveVariables(content, sources);
|
|
207
|
+
assert.strictEqual(result.content, 'Value: {missing_var}');
|
|
208
|
+
});
|
|
209
|
+
it('should track unresolved variables in result', () => {
|
|
210
|
+
const content = '{found} and {not_found} and {also_missing}';
|
|
211
|
+
const sources = [
|
|
212
|
+
{ name: 'workflow', priority: 1, values: { found: 'yes' } },
|
|
213
|
+
];
|
|
214
|
+
const result = resolveVariables(content, sources);
|
|
215
|
+
assert.strictEqual(result.content, 'yes and {not_found} and {also_missing}');
|
|
216
|
+
assert.deepStrictEqual(result.resolved, ['found']);
|
|
217
|
+
assert.ok(result.unresolved.includes('not_found'));
|
|
218
|
+
assert.ok(result.unresolved.includes('also_missing'));
|
|
219
|
+
assert.strictEqual(result.unresolved.length, 2);
|
|
220
|
+
});
|
|
221
|
+
it('should not include unresolved variables in sources map', () => {
|
|
222
|
+
const content = '{resolved_var} {unresolved_var}';
|
|
223
|
+
const sources = [
|
|
224
|
+
{ name: 'workflow', priority: 1, values: { resolved_var: 'value' } },
|
|
225
|
+
];
|
|
226
|
+
const result = resolveVariables(content, sources);
|
|
227
|
+
assert.ok('resolved_var' in result.sources);
|
|
228
|
+
assert.ok(!('unresolved_var' in result.sources));
|
|
229
|
+
});
|
|
230
|
+
it('should list each unresolved variable only once', () => {
|
|
231
|
+
const content = '{missing} appears twice: {missing}';
|
|
232
|
+
const sources = [];
|
|
233
|
+
const result = resolveVariables(content, sources);
|
|
234
|
+
assert.strictEqual(result.content, '{missing} appears twice: {missing}');
|
|
235
|
+
assert.deepStrictEqual(result.unresolved, ['missing']);
|
|
236
|
+
});
|
|
237
|
+
});
|
|
238
|
+
describe('Edge Cases', () => {
|
|
239
|
+
it('should match valid variable names only (letters, numbers, underscores)', () => {
|
|
240
|
+
const content = '{valid_name} {valid123} {_underscore_start}';
|
|
241
|
+
const sources = [
|
|
242
|
+
{ name: 'test', priority: 1, values: {
|
|
243
|
+
valid_name: 'a',
|
|
244
|
+
valid123: 'b',
|
|
245
|
+
_underscore_start: 'c'
|
|
246
|
+
} },
|
|
247
|
+
];
|
|
248
|
+
const result = resolveVariables(content, sources);
|
|
249
|
+
assert.strictEqual(result.content, 'a b c');
|
|
250
|
+
});
|
|
251
|
+
it('should not match variables starting with numbers', () => {
|
|
252
|
+
const content = '{123invalid} {9lives}';
|
|
253
|
+
const sources = [
|
|
254
|
+
{ name: 'test', priority: 1, values: { '123invalid': 'no', '9lives': 'no' } },
|
|
255
|
+
];
|
|
256
|
+
const result = resolveVariables(content, sources);
|
|
257
|
+
// Should remain unchanged (invalid variable syntax)
|
|
258
|
+
assert.strictEqual(result.content, '{123invalid} {9lives}');
|
|
259
|
+
assert.deepStrictEqual(result.resolved, []);
|
|
260
|
+
// These aren't variables, so they shouldn't be in unresolved either
|
|
261
|
+
assert.deepStrictEqual(result.unresolved, []);
|
|
262
|
+
});
|
|
263
|
+
it('should not match nested variables', () => {
|
|
264
|
+
const content = '{outer_{inner}}';
|
|
265
|
+
const sources = [
|
|
266
|
+
{ name: 'test', priority: 1, values: { outer_inner: 'nested', inner: 'value' } },
|
|
267
|
+
];
|
|
268
|
+
const result = resolveVariables(content, sources);
|
|
269
|
+
// Nested syntax is not supported - should not parse as a variable
|
|
270
|
+
assert.strictEqual(result.content, '{outer_{inner}}');
|
|
271
|
+
});
|
|
272
|
+
it('should handle empty string value as valid resolution', () => {
|
|
273
|
+
const content = 'Value: [{empty_value}]';
|
|
274
|
+
const sources = [
|
|
275
|
+
{ name: 'test', priority: 1, values: { empty_value: '' } },
|
|
276
|
+
];
|
|
277
|
+
const result = resolveVariables(content, sources);
|
|
278
|
+
assert.strictEqual(result.content, 'Value: []');
|
|
279
|
+
assert.deepStrictEqual(result.resolved, ['empty_value']);
|
|
280
|
+
assert.deepStrictEqual(result.unresolved, []);
|
|
281
|
+
});
|
|
282
|
+
it('should treat null value as unresolved', () => {
|
|
283
|
+
const content = 'Value: {null_value}';
|
|
284
|
+
const sources = [
|
|
285
|
+
{ name: 'test', priority: 1, values: { null_value: null } },
|
|
286
|
+
];
|
|
287
|
+
const result = resolveVariables(content, sources);
|
|
288
|
+
assert.strictEqual(result.content, 'Value: {null_value}');
|
|
289
|
+
assert.deepStrictEqual(result.unresolved, ['null_value']);
|
|
290
|
+
});
|
|
291
|
+
it('should treat undefined value as unresolved', () => {
|
|
292
|
+
const content = 'Value: {undefined_value}';
|
|
293
|
+
const sources = [
|
|
294
|
+
{ name: 'test', priority: 1, values: { undefined_value: undefined } },
|
|
295
|
+
];
|
|
296
|
+
const result = resolveVariables(content, sources);
|
|
297
|
+
assert.strictEqual(result.content, 'Value: {undefined_value}');
|
|
298
|
+
assert.deepStrictEqual(result.unresolved, ['undefined_value']);
|
|
299
|
+
});
|
|
300
|
+
it('should convert number values to strings', () => {
|
|
301
|
+
const content = 'Count: {count} | Points: {points}';
|
|
302
|
+
const sources = [
|
|
303
|
+
{ name: 'test', priority: 1, values: {
|
|
304
|
+
count: 42,
|
|
305
|
+
points: 3.14
|
|
306
|
+
} },
|
|
307
|
+
];
|
|
308
|
+
const result = resolveVariables(content, sources);
|
|
309
|
+
assert.strictEqual(result.content, 'Count: 42 | Points: 3.14');
|
|
310
|
+
});
|
|
311
|
+
it('should convert boolean values to strings', () => {
|
|
312
|
+
const content = 'Enabled: {enabled} | Debug: {debug}';
|
|
313
|
+
const sources = [
|
|
314
|
+
{ name: 'test', priority: 1, values: {
|
|
315
|
+
enabled: true,
|
|
316
|
+
debug: false
|
|
317
|
+
} },
|
|
318
|
+
];
|
|
319
|
+
const result = resolveVariables(content, sources);
|
|
320
|
+
assert.strictEqual(result.content, 'Enabled: true | Debug: false');
|
|
321
|
+
});
|
|
322
|
+
it('should handle curly braces that are not variables', () => {
|
|
323
|
+
const content = 'JSON: { "key": "value" } and regex: [a-z]{3}';
|
|
324
|
+
const sources = [];
|
|
325
|
+
const result = resolveVariables(content, sources);
|
|
326
|
+
// These aren't valid variable patterns - should remain unchanged
|
|
327
|
+
assert.strictEqual(result.content, 'JSON: { "key": "value" } and regex: [a-z]{3}');
|
|
328
|
+
});
|
|
329
|
+
it('should handle special characters in variable values', () => {
|
|
330
|
+
const content = 'Path: {path}';
|
|
331
|
+
const sources = [
|
|
332
|
+
{ name: 'test', priority: 1, values: { path: '/home/user/Documents & Files/project' } },
|
|
333
|
+
];
|
|
334
|
+
const result = resolveVariables(content, sources);
|
|
335
|
+
assert.strictEqual(result.content, 'Path: /home/user/Documents & Files/project');
|
|
336
|
+
});
|
|
337
|
+
it('should handle multiline content', () => {
|
|
338
|
+
const content = `Line 1: {var1}
|
|
339
|
+
Line 2: {var2}
|
|
340
|
+
Line 3: {var3}`;
|
|
341
|
+
const sources = [
|
|
342
|
+
{ name: 'test', priority: 1, values: { var1: 'a', var2: 'b', var3: 'c' } },
|
|
343
|
+
];
|
|
344
|
+
const result = resolveVariables(content, sources);
|
|
345
|
+
assert.strictEqual(result.content, `Line 1: a
|
|
346
|
+
Line 2: b
|
|
347
|
+
Line 3: c`);
|
|
348
|
+
});
|
|
349
|
+
it('should handle variable in markdown code block', () => {
|
|
350
|
+
const content = '```\nconfig: {config_path}\n```';
|
|
351
|
+
const sources = [
|
|
352
|
+
{ name: 'test', priority: 1, values: { config_path: '/etc/app.yaml' } },
|
|
353
|
+
];
|
|
354
|
+
const result = resolveVariables(content, sources);
|
|
355
|
+
assert.strictEqual(result.content, '```\nconfig: /etc/app.yaml\n```');
|
|
356
|
+
});
|
|
357
|
+
it('should handle empty content', () => {
|
|
358
|
+
const content = '';
|
|
359
|
+
const sources = [
|
|
360
|
+
{ name: 'test', priority: 1, values: { unused: 'value' } },
|
|
361
|
+
];
|
|
362
|
+
const result = resolveVariables(content, sources);
|
|
363
|
+
assert.strictEqual(result.content, '');
|
|
364
|
+
assert.deepStrictEqual(result.resolved, []);
|
|
365
|
+
assert.deepStrictEqual(result.unresolved, []);
|
|
366
|
+
});
|
|
367
|
+
});
|
|
368
|
+
describe('resolveStepVariables convenience function', () => {
|
|
369
|
+
it('should build sources from workflow, session, and config', () => {
|
|
370
|
+
const content = '{workflow_var} and {story_id} and {project_root}';
|
|
371
|
+
const result = resolveStepVariables(content, {
|
|
372
|
+
workflowVars: { workflow_var: 'from-workflow' },
|
|
373
|
+
sessionVars: { story_id: 'MSSCI-12081' },
|
|
374
|
+
projectRoot: '/Users/keithavery/Projects/pennyfarthing',
|
|
375
|
+
});
|
|
376
|
+
assert.strictEqual(result.content, 'from-workflow and MSSCI-12081 and /Users/keithavery/Projects/pennyfarthing');
|
|
377
|
+
});
|
|
378
|
+
it('should include system defaults (date, planning_artifacts)', () => {
|
|
379
|
+
const content = 'Date: {date} | Artifacts: {planning_artifacts}';
|
|
380
|
+
const result = resolveStepVariables(content, {});
|
|
381
|
+
// Date should be current date in YYYY-MM-DD format
|
|
382
|
+
assert.match(result.content, /Date: \d{4}-\d{2}-\d{2}/);
|
|
383
|
+
// planning_artifacts should have default value
|
|
384
|
+
assert.ok(result.content.includes('planning-artifacts/'));
|
|
385
|
+
});
|
|
386
|
+
it('should work with no options provided', () => {
|
|
387
|
+
const content = 'No variables here.';
|
|
388
|
+
const result = resolveStepVariables(content);
|
|
389
|
+
assert.strictEqual(result.content, 'No variables here.');
|
|
390
|
+
});
|
|
391
|
+
it('should allow workflow vars to override system defaults', () => {
|
|
392
|
+
const content = 'Artifacts: {planning_artifacts}';
|
|
393
|
+
const result = resolveStepVariables(content, {
|
|
394
|
+
workflowVars: { planning_artifacts: 'custom-artifacts/' },
|
|
395
|
+
});
|
|
396
|
+
assert.strictEqual(result.content, 'Artifacts: custom-artifacts/');
|
|
397
|
+
});
|
|
398
|
+
});
|
|
399
|
+
});
|
|
400
|
+
//# sourceMappingURL=variable-resolver.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variable-resolver.test.js","sourceRoot":"","sources":["../../src/workflow/variable-resolver.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,yEAAyE;AACzE,OAAO,EACL,gBAAgB,EAChB,oBAAoB,GAErB,MAAM,wBAAwB,CAAC;AAEhC,QAAQ,CAAC,iCAAiC,EAAE,GAAG,EAAE;IAE/C,QAAQ,CAAC,4CAA4C,EAAE,GAAG,EAAE;QAE1D,EAAE,CAAC,8CAA8C,EAAE,GAAG,EAAE;YACtD,MAAM,OAAO,GAAG,gCAAgC,CAAC;YACjD,MAAM,OAAO,GAAqB;gBAChC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE;aACzE,CAAC;YAEF,MAAM,MAAM,GAAG,gBAAgB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;YAElD,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,EAAE,6BAA6B,CAAC,CAAC;YAClE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;YACzD,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,UA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