@brainervirus/workit-pi 1.0.7 → 1.0.8

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/dist/workit.js CHANGED
@@ -16998,6 +16998,7 @@ var resolveExternalActionRequest = (root, request, preservedDateMs) => {
16998
16998
  return failure("storage_error", "external action target could not be resolved");
16999
16999
  }
17000
17000
  };
17001
+ var prBabysitNext = (output) => `Babysit ${output} to merge-ready (drive mode default). Follow skill workit-babysit: declare mode in this turn, work conflicts, review threads, then CI, and record a frontier brief in task progress per pass. Opt out with babysit:false.`;
17001
17002
  var executeConcreteExternalAction = async (request, root, marker, dateMs, step, workText, caller, approvedBeforeDigest, approvedBeforeExists) => {
17002
17003
  if (localAction(request.operation)) {
17003
17004
  if (!caller)
@@ -17041,7 +17042,8 @@ var executeConcreteExternalAction = async (request, root, marker, dateMs, step,
17041
17042
  return result.error || result.ok === false ? unknown2(request.operation) : success(null, null, {
17042
17043
  ...result,
17043
17044
  babysit: request.payload.babysit ?? true,
17044
- babysitSkill: "workit-babysit"
17045
+ babysitSkill: "workit-babysit",
17046
+ ...request.payload.babysit ?? true ? { next: prBabysitNext(String(result.output ?? "")) } : {}
17045
17047
  });
17046
17048
  }
17047
17049
  case "changelog.apply": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-pi",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Workit native extension for Pi — tools, method skills, and session continuity",
5
5
  "keywords": [
6
6
  "agentic-coding",
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: workit-babysit
3
- description: Use when a PR needs driving to merge-ready, CI is red, or the user says babysit
3
+ description: Use after creating a PR (auto-starts, drive default), when a PR needs driving to merge-ready, CI is red, or the user says babysit
4
4
  ---
5
5
 
6
6
  # Babysit a PR to merge-ready
7
7
 
8
- Babysit starts automatically on PR creation unless declined (`--no-babysit`).
8
+ Babysit starts automatically on PR creation unless declined (`babysit:false`).
9
9
  One babysitter per PR; never mutate PR topology (no rebase strategy changes,
10
10
  no force-push).
11
11
 
@@ -17,8 +17,11 @@ selects requirements; do not wait for a rule that can only exist after assess.
17
17
 
18
18
  ## Method
19
19
 
20
- 1. Declare mode: drive (fix + merge), watch (report only), or threads-only.
20
+ 1. Declare mode in the same turn as the PR URL: drive (fix + merge, the
21
+ default), watch (report only), or threads-only.
21
22
  2. Work the merge frontier in order: conflicts → review threads → CI.
23
+ Record a frontier brief (frontier state, next action) in task progress
24
+ per pass so the steps stay visible.
22
25
  3. Classify CI before retry: flake (rerun once) vs stale base (verify with
23
26
  `git merge-base --is-ancestor` before updating) vs real failure (fix).
24
27
  4. Triage bot findings skeptically: reproduce or quote code before acting;