Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions project/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,13 @@ keep momentum on the lightweight track.
4. Stub out command class properties (`description`, `flags`, `args`, `run`)
and helper function signatures, defining input and output types.
5. Create failing unit tests in the appropriate files under `src/tests/`.
6. Briefly explain the scaffolding and tests to the user and ask for feedback.
7. Commit the scaffolding in small, coherent commits prefixed with `scaffold:`
6. Wire stub helpers into real call sites (e.g. export/import command paths)
when needed so integration tests fail for the right reason — not only unit
tests against isolated stubs.
7. Briefly explain the scaffolding and tests to the user and ask for feedback.
8. Commit the scaffolding in small, coherent commits prefixed with `scaffold:`
(see `project/rules.md`).
8. Push the branch and open a **draft pull request** whose title follows
9. Push the branch and open a **draft pull request** whose title follows
Conventional Commits, so CI runs from here on. **[approval]**

### 4. Iteratively implement code until all unit tests pass.
Expand Down
9 changes: 9 additions & 0 deletions project/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@ traceability through the phases instead.
- Meta-changes to `project/process.md` or `project/rules.md` belong in a
separate PR from feature work.

## Dependencies

When bumping `@worldware/msg` or other sibling packages, verify the published
npm tarball includes `dist/` before relying on it — e.g.
`npm pack @worldware/pkg@version --dry-run` and confirm dist files are listed.
Sibling repos now run `"prepack": "npm run build"` so pack/publish always
produces build output (msg-cli: PR #21; `@worldware/msg`: worldware-studios/msg#46,
after v0.8.0 shipped without `dist/`).

## Failure handling

- If tests cannot be made to pass, or the chosen approach proves wrong
Expand Down
Loading