@fusebase/harness-lead 0.3.0 → 0.3.2

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": "@fusebase/harness-lead",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "type": "module",
5
5
  "description": "Dev-loop kit for coding agents: plan, clean room, tasks and waves as Markdown in your repo.",
6
6
  "license": "UNLICENSED",
@@ -60,7 +60,7 @@ Stop and ask only when the next step is not determined:
60
60
  - it is hard to undo (delete history, force-push, discard someone else's uncommitted work);
61
61
  - two next steps both follow the plan and lead to different results.
62
62
 
63
- Within an authorized task, auto mode commits its files and pushes its task branch. Auto-merge only a merge request opened in this session, with green required checks and pipeline for the reviewed revision, an accepted diff and no open safety objection. Verify the MR target against repository or CI configuration for dev deployment. Leave the merge to the user if the target is unverified, the session did not open the MR, or permissions prevent the merge. Do not retarget an MR to qualify it or create or push a production tag. For a failing or running pipeline, continue independent work and report what is pending. Sync to shared notes needs its own authorization.
63
+ Within an authorized task, auto mode commits its files and pushes its task branch. Auto-merge only a merge request opened in this session, with green required checks and pipeline for the reviewed revision, an accepted diff and no open safety objection. Verify the MR target against repository or CI configuration for dev deployment. Leave the merge to the user if the target is unverified, the session did not open the MR, or permissions prevent the merge. A merge request this session did not open is merged only when the user named it, or said to merge the existing reviewed requests, in this conversation, and every other condition above holds. Do not retarget an MR to qualify it or create or push a production tag. For a failing or running pipeline, continue independent work and report what is pending. Sync to shared notes needs its own authorization.
64
64
 
65
65
  Use `finish --merged` after verifying that the task commits reached the published default branch (`origin/main` or `origin/HEAD`). A merge to another dev branch can be reported while the task stays open. For a delegated task without a branch name, record the ref containing its commits once you verify default-branch inclusion, then run `finish --merged`.
66
66
 
@@ -20,7 +20,7 @@ Codee is a worker that polls Jira and runs Claude on issues in `[AI]` statuses.
20
20
  Codee polls the issue type and the `[AI]` status. It does not read a checklist in a description. Keep the board of the shared epic readable: one home for the app, not a sibling Task for every lead task.
21
21
 
22
22
  1. **Home of the app.** Prefer one Jira **Epic** per app. If the repo still uses one shared epic (`sync.jira.epic`) with **one Story per app** under it, that Story is the home. Do not invent a third home.
23
- 2. **One deliverable, no breakdown** → a **Sub-task** under that home Story. Assignee Codee. Status `[AI] Ready for development`. Prefer the existing sync sub-task for this lead task when it already exists; otherwise create one. Do **not** create a Task or Story as a child of the shared epic next to the app Story.
23
+ 2. **One deliverable, no breakdown** → a **Sub-task** under that home Story, but only when the home Story is assigned to Codee. Codee does not pick up a Sub-task under a Story that belongs to someone else: create a separate Story under the epic for it (rule 3) and put the Sub-task there. Assignee Codee. Status `[AI] Ready for development`. Prefer the existing sync sub-task for this lead task when it already exists; otherwise create one. Do **not** create a Task or Story as a child of the shared epic next to the app Story.
24
24
  3. **Needs a breakdown** → a **Story** under the app's Epic (or under `sync.jira.epic` when that is still the only epic). Assignee Codee. Status `Decomposition Needed` so the planner runs. Do not send a Story with no subtasks to `[AI] Ready for development`.
25
25
  4. A checklist or task list in the description is not a handoff. Codee will not see it.
26
26
  5. There is no issue type above Epic in this Jira. Several app epics are linked with a label or `relates` to a list page, not nested under a parent epic.
@@ -68,6 +68,7 @@ On an auto watch tick, perform the following after the Check, in the same turn w
68
68
  - **`[AI] Ready for Human Review`.** Move a passing issue to Ready for QA on Develop after reviewing the diff and seeing green required checks for the current revision. A parent Story can pass after its required children pass. For shared MRs, record the verdict against each issue's own criteria. Return only the child whose own acceptance fails to `[AI] Ready for development`, with the unmet criterion and evidence. A running pipeline or inconclusive evidence is a named blocker. Leave the merge to the separate merge workflow.
69
69
  - **Story in human review with a required child back in development.** Check the current statuses of the Story and its required children, including after any child transition on this tick. If a required child is in `[AI] Ready for development` or `[AI] In Progress` while the parent remains in human review, Codee may wait on the parent. Report the child's summary and request any required approval to transition the parent to `[AI] Ready for development`. Recheck both statuses before applying the approved transition. Leave passing siblings and any blocked QA subtask in their current states. If a child is only blocked or its evidence is inconclusive, report the blocker and keep the Story in review.
70
70
  - **QA subtask blocked on named dev merges.** Read the blocker and the current state of every dependency it names. For each required merge, verify that the merged commit is reachable from the repository's actual dev deployment branch and that a successful pipeline on that branch includes that commit. If deployment is a separate step, verify the dev deployment also includes it. If a named dependency is back in development, a merge or pipeline is missing, or another blocker remains, leave QA blocked and report the specific dependency and evidence.
71
+ - **QA subtask blocked on a dependency that is still open.** Trace each prerequisite to the failing job, deployment, or Jira issue and verify the cause before waiting. If the dependency is an existing To Do issue that suits Codee and the handoff is authorized, assign it to Codee and move it to `[AI] Ready for development` with the evidence and a concrete verification check. After the fix lands, verify the expected build on the required environment, then move only the eligible QA subtasks to Ready for QA. Escalate only an unresolved decision or missing access.
71
72
  - Once all of that QA subtask's prerequisites are satisfied, prepare a Jira comment with the verified branch, commit and pipeline links for each dependency. Request any required approval for the comment and the exact `[AI] Ready for QA` transition. When authorized, post the evidence and transition only that still-blocked QA subtask in the same turn. Recheck its current status before writing. If the comment already exists after a partial attempt, reuse it and request approval for the remaining write as required.
72
73
 
73
74
  ## Confirmation video on dev
@@ -4,5 +4,5 @@ Report status and end the turn. This also applies to “статус проек
4
4
 
5
5
  1. From `status --json`, say the state in a few lines: project, milestone, wave, what is ready, in review, waiting for a person. For an interrupted or blocked task use `recovery` to show the last verified step, the blocker, its evidence, and the next action. Offer `independentReady` when work can continue elsewhere. Draw it with `references/visual.md`.
6
6
  2. For an adopted project, read `overview.source` and lead with the dated status, the current milestone, what's landed and what still needs verification. Label the CLI task counts as the local lead list. The One Pager and tracker can cover work outside that list. A scaffolded draft does not block existing work.
7
- 3. Check external services only when the person asks for live status. Use their read-only check and report the result without recording changes.
8
- 4. End with the next decision supported by the evidence. Wait for the person.
7
+ 3. Check external services only when the person asks for live status. For a delegated issue in human review, follow the service skill: review the current diff and pipeline and report the verdict per issue, not only that it is waiting. Use their read-only check and report the result without recording changes.
8
+ 4. End with the next decision supported by the evidence. When blockers are known and actionable (a conflicted request to return to its owner, a failing check to fix), offer to resolve them as the first option; the status itself still changes nothing. Wait for the person.