test-cases
Starter Config Contract
Verify that the starter workspace exposes the expected Forma configuration contract without project-specific assumptions.
Purpose
Verify that examples/getting-started-workspace works as a clean, reusable Forma workspace whose structure is discoverable from .forma.md and imported configuration nodes.
Preconditions
- The repository is checked out with dependencies installed.
- The command runs from the repository root.
Test Data
- Workspace:
examples/getting-started-workspace - Command:
cargo run -q -p forma-cli -- --workspace examples/getting-started-workspace config inspect --json
Steps
- Run the config inspect command.
- Confirm the operation status is
passed. - Confirm the config contains workspace identity, supported languages, runtime values, spaces, views, root dashboard configuration, and semantic types.
- Confirm all paths are workspace-relative and no
workspace.rootconfiguration field is present. - Confirm any configured guidelines are ordinary Markdown paths inside the starter workspace.
- Confirm the starter workspace's Agent bootstrap material has a canonical
skills/forma-cli/SKILL.mdsource and an aligned.agents/skills/forma-cli/SKILL.mdruntime entrypoint when Agent bootstrap is enabled.
Expected Results
- The starter config is self-contained and does not depend on this repository's
knowledge/layout. - The config can be used by Agents without hard-coded paths.
- The starter remains safe to copy as a user template.
- The Agent bootstrap skill is a reviewable starter file, not a generated copy of workspace-projected guideline skills.
Coverage
- Suite index: test-cases/forma-starter-kit
- Forma config discovery.
- Starter workspace portability.
- Agent bootstrap contract.
Evidence Or Execution Notes
Record the JSON summary and any unexpected diagnostics.
Open Questions
- Which starter guidelines should be mandatory for the first evaluation version?