@contractspec/module.lifecycle-advisor
v3.7.28
Published
AI-powered lifecycle recommendations and guidance
Maintainers
Readme
@contractspec/module.lifecycle-advisor
Website: https://contractspec.io
AI-powered lifecycle recommendations and guidance.
What It Provides
- Layer: module.
- Consumers: bundles (library, contractspec-studio), apps (web-landing, cli).
- Related ContractSpec packages include
@contractspec/lib.contracts-spec,@contractspec/lib.lifecycle,@contractspec/tool.bun,@contractspec/tool.typescript. - Related ContractSpec packages include
@contractspec/lib.contracts-spec,@contractspec/lib.lifecycle,@contractspec/tool.bun,@contractspec/tool.typescript.
Installation
npm install @contractspec/module.lifecycle-advisor
or
bun add @contractspec/module.lifecycle-advisor
Usage
Import the root entrypoint from @contractspec/module.lifecycle-advisor, or choose a documented subpath when you only need one part of the package surface.
Architecture
src/ceremonyis part of the package's public or composition surface.src/data/contains static content, registries, and package-local datasets.src/i18nis part of the package's public or composition surface.src/index.tsis the root public barrel and package entrypoint.src/recommendationsis part of the package's public or composition surface.
Public Entry Points
- Export
.resolves through./src/index.ts.
Local Commands
bun run dev— contractspec-bun-build devbun run build— bun run prebuild && bun run build:bundle && bun run build:typesbun run test— bun testbun run lint— bun lint:fixbun run lint:check— biome check .bun run lint:fix— biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .bun run typecheck— tsc --noEmitbun run publish:pkg— bun publish --tolerate-republish --ignore-scripts --verbosebun run publish:pkg:canary— bun publish:pkg --tag canarybun run clean— rimraf dist .turbobun run build:bundle— contractspec-bun-build transpilebun run build:types— contractspec-bun-build typesbun run prebuild— contractspec-bun-build prebuild
Recent Updates
- Replace eslint+prettier by biomejs to optimize speed.
- Fix small issues.
- Add full i18n support across all 10 packages (en/fr/es, 460 keys).
Notes
- Depends on
lib.lifecyclefor stage definitions -- never redefine stages here. - Recommendation data lives in
src/data/; keep data files declarative and serializable. - Advisory outputs must be deterministic for the same input state.
