You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Source of truth: epic #551 — read it fully before starting. Docs/conventions:#552 is the docs-driven spec; align with it once merged. This is a cold-handoff issue: everything you need is here or in those two.
Repo orientation: core lives in packages/core/src (discovery, build pipeline, serializer, lint engine, codegen, CLI). Lexicons live in lexicons/<name>/src. Op step builders + composites (Op, phase, gate, ApplyOp, step builders) live in @intentius/chant-lexicon-temporal (lexicons/temporal/src). The Op codegen emits dist/ops/<name>/{workflow,activities,worker}.ts. chant graph --stacks emits cross-stack order + parallel waves.
Task
Build the preset library (Level 2 reuse): named compositions for the common component shapes (Phase 4).
ApplyOp/WatchOp composites in lexicons/temporal/src as the shipping pattern to mirror.
Scope
Presets that expand to a standard composition, e.g. EcsFargateComponent({ service, image, healthPath }), LambdaComponent(...), SingleHostComposeComponent(...).
A component uses a preset, or starts from it and drops to raw capabilities where it is special. Same contract + orchestrator underneath.
Acceptance criteria
At least three presets that expand to valid component declarations.
A preset-based and a hand-composed component produce equivalent contracts and both run through the driver.
Presets reduce identical-composition duplication (ties to the COMP* copy-paste hint).
Out of scope
An exhaustive preset catalog; start with the common shapes.
Activity
feat(components): preset library — EcsFargateComponent, LambdaCompone…
feat(aws): BucketDeployment composite — seeded bucket for deploy-time…
feat(aws): BucketDeployment composite — seeded bucket for deploy-time…
feat(aws): BucketDeployment composite — seeded bucket for deploy-time…