@workit-dev/pi 1.1.8 → 1.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workit-dev/pi",
3
- "version": "1.1.8",
3
+ "version": "1.2.0",
4
4
  "description": "Workit native extension for Pi — tools, method skills, and session continuity",
5
5
  "keywords": [
6
6
  "agentic-coding",
@@ -16,21 +16,20 @@ description: Build a requested change in small verified steps - follow local pat
16
16
  judged? Cite the plan with `--ref <path>` or record the decision; don't re-judge.
17
17
  3. Small steps that each leave the tree green. Behavior change: write the
18
18
  acceptance as Given/When/Then and see a test fail first (read the `workit-bdd` skill's SKILL.md and follow it).
19
- Mechanical change: the existing checks are enough. No tautological tests:
20
- a test must fail if the behavior breaks, never restate the implementation.
19
+ Mechanical change: the existing checks are enough. A codemod or schematic
20
+ goes one area at a time: run it on one directory, `workit check`, commit
21
+ that directory, then the next; never loop it over all areas. No tautological tests: a test must fail if the behavior breaks, never restate the implementation.
21
22
  4. Run the real checks, local-first: the targeted test or check for the file
22
23
  you touched while you work, then the full configured set once at the end
23
- (`workit check test`, plus `lint` and `typecheck` when the repo has them),
24
- not after every edit. Heavy work runs under one machine-wide lease: an ad-hoc
25
- suite is `workit check --heavy -- <cmd>`, never a hand-made flock; a busy
26
- lease waits and names its holder (`workit lock status`). A tool warning is a finding: fix it in this PR in the right layer, or record the false positive with evidence; pre-existing ones get their own PR.
24
+ (`workit check test`, plus `lint` and `typecheck` when the repo has them).
25
+ Heavy work runs under one machine-wide lease: an ad-hoc suite is `workit check --heavy -- <cmd>`, never a hand-made flock; a busy
26
+ lease waits and names its holder (`workit lock status`). A tool warning is a finding: fix it in this PR, or record the false positive with evidence; pre-existing ones get their own PR.
27
27
  5. Prove the feature on its real surface with the project's `verify-<app>`
28
- skill; none yet? Write one (read the `workit-verify-app` skill's SKILL.md and follow it). Tests show branch behavior,
29
- not that the feature works. The report carries what you observed: a UI
28
+ skill; none yet? Write one (read the `workit-verify-app` skill's SKILL.md and follow it). The report carries what you observed: a UI
30
29
  change a screenshot or console/network check (chrome devtools or
31
30
  agent-browser), an API a quoted real response. App not runnable? Say so
32
31
  plainly, never claim success.
33
- 6. Commit: `workit git commit -m "<type>: <what>" -- <paths>` (or `--all`); Co-Authored-By goes in with `--trailer "Co-Authored-By: <name> <email>"`. Host note: a Workit worktree (`workit fanout worktree create`) takes `workit git --cwd <worktree> …`; a Claude Code host-isolated one (`.claude/worktrees/agent-<id>`) takes plain git (its SubagentStart text: isolation refuses a git wrapper). One file holding two changes: stage one change's hunks with `workit git stage --patch <file>` (a `git diff -- <file>` cut to them), then `workit git commit -m "<msg>" --staged` (exactly the index); a path staged in part commits only its staged hunks (`--whole` takes the file).
32
+ 6. Commit: `workit git commit -m "<type>: <what>" -- <paths>`; Co-Authored-By goes in with `--trailer "Co-Authored-By: <name> <email>"`. Host note: a Workit worktree (`workit fanout worktree create`) takes `workit git --cwd <worktree> …`; a Claude Code host-isolated one (`.claude/worktrees/agent-<id>`) takes plain git. One file holding two changes: stage one change's hunks with `workit git stage --patch <file>` (a `git diff -- <file>` cut to them), then `workit git commit -m "<msg>" --staged` (exactly the index); a path staged in part commits only its staged hunks (`--whole` takes the file).
34
33
  No endpoint named? Stop here and state the next command. Hand delivery to
35
34
  ship, which pushes and opens the PR with its body shape (read the `workit-ship` skill's SKILL.md and follow it), only
36
35
  when that was requested, or the request implies delivery and the effective
@@ -48,7 +47,7 @@ description: Build a requested change in small verified steps - follow local pat
48
47
 
49
48
  Independent slices that could run in parallel: fan them out (read the `workit-fanout` skill's SKILL.md and follow it).
50
49
  One `implementer` slice: `workit fanout worktree create <slice>` before spawning,
51
- then `workit fanout brief <slice>`; no host isolation (Workit's hooks confine it).
50
+ then `workit fanout brief <slice>`; no host isolation.
52
51
 
53
52
  Stay inline by default (workspace `delegation: inline-first`). Hand work off
54
53
  only past the thresholds: an explorer after about 3 tool calls or 10k tokens