vibe-coding-master 0.8.12 → 0.8.13

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.
@@ -1470,7 +1470,8 @@ function buildRoleDraftPrompt(taskRepoRoot, state, draft, planningCandidatePath)
1470
1470
  "Review that candidate against final task evidence. Carry forward only facts that remain verified after implementation and testing."
1471
1471
  ]
1472
1472
  : []),
1473
- `Assigned proposal path: ${resolveRepoPath(taskRepoRoot, draft.path)}`
1473
+ `Assigned proposal path: ${draft.path}`,
1474
+ "Pass the assigned repository-relative path to vcm-artifact --path."
1474
1475
  ];
1475
1476
  return [
1476
1477
  ...prompt,
@@ -6,7 +6,8 @@ const markdown = unified().use(remarkParse).use(remarkGfm).freeze();
6
6
  const DIRECT_REQUESTS = [
7
7
  /^(?:can|could|do|did|are|have|should|will|would)\s+you\b/i,
8
8
  /^(?:should|shall|may|can|could)\s+(?:i|we)\b/i,
9
- /^(?:which|what|how|where|when|who)\b[^.!?]*\b(?:you|your|(?:should|shall|can|may)\s+(?:i|we))\b/i,
9
+ /^(?:which|what|how|where|when|who)\s+(?:is|are|was|were|do|did|have|has|can|could|will|would|should|shall|may)\s+(?:you|your|i|we)\b/i,
10
+ /^(?:which|what|how|where|when|who)\b[^.!?:,;]*\b(?:do|did|can|could|will|would|should|shall|may)\s+(?:you|i|we)\b/i,
10
11
  /^(?:which|what)\s+(?:option|approach|behavior|behaviour|choice)\b[^.!?]*\bshould\s+be\b/i,
11
12
  /^(?:please\s+)?(?:answer|reply|respond|choose|confirm|decide|provide|select|tell\s+me|let\s+me\s+know|give\s+(?:me|your))\b/i,
12
13
  /^i\s+need\s+your\s+(?:decision|choice|confirmation|answer|approval)\b/i,
@@ -42,7 +42,8 @@ ${renderRoleMemoryRules("architect")}
42
42
 
43
43
  - Architect may invoke only \`vcm-architect-evidence-worker\`, \`vcm-architect-scaffold-worker\`, and \`vcm-architect-validation-worker\`.
44
44
  - Every worker must run in the foreground and return before the current Architect turn continues. Do not run workers in the background or end the turn while a worker is active.
45
- - Give each worker an exact bounded assignment, repo-relative paths, and one report path. Pass paths instead of copying full source, documents, or plans into the worker prompt.
45
+ - Give each worker an exact bounded assignment, repo-relative paths, and one report path under \`.ai/vcm/architect-workers/<worker-type>/worker-<worker-id>.md\`. Pass paths instead of copying full source, documents, or plans into the worker prompt.
46
+ - Read the assigned report file before accepting a worker result or continuing its unfinished work; a text-only return is not a completed worker report.
46
47
  - Worker output is evidence or execution output, never an architecture decision. Architect owns every conclusion, plan, change boundary, validation interpretation, and final claim.
47
48
  - Use \`vcm-architect-evidence-worker\` for bounded bulk reading when relevant evidence spans multiple files or modules. Evidence workers may run in parallel only when their read scopes are disjoint.
48
49
  - Give evidence workers only repo-relative paths, symbols, documents, and questions. They have no shell access.
@@ -17,7 +17,8 @@ You are \`vcm-architect-evidence-worker\`, a foreground evidence-collection suba
17
17
 
18
18
  ### Evidence Output
19
19
 
20
- - Write only the assigned report under \`.ai/vcm/architect-workers/evidence/\`.
20
+ - Write the assigned report under \`.ai/vcm/architect-workers/evidence/worker-<worker-id>.md\` before returning. Only that report and its candidate or staging files may be written.
21
+ - For candidate or staging Markdown, use \`worker-<worker-id>-candidate.md\`; never start its basename with \`report\`, \`summary\`, \`findings\`, or \`analysis\` (case-insensitive). If Write rejects a candidate or staging basename, rename it and retry; still deliver the assigned final report file, not just response text.
21
22
  - Keep the report concise and factual. Do not copy long source blocks when a path, symbol, and short fact are sufficient.
22
23
  - Use this structure:
23
24
 
@@ -17,8 +17,14 @@ You are \`vcm-architect-scaffold-worker\`, a foreground subagent invoked by Arch
17
17
 
18
18
  - Run \`.ai/tools/check-scaffold-ledger --mode scaffold\` and the plan's scaffold L0 compile/typecheck checks.
19
19
  - Commit only the scaffold changes after the ledger reconciles and required checks pass.
20
- - Return the commit hash, changed files, ledger result, and exact check results to Architect.
21
- - If the assigned scaffold cannot be completed, return the concrete failure evidence without changing the plan.
20
+ - If the assigned scaffold cannot be completed, record the concrete failure evidence without changing the plan.
21
+
22
+ ### Scaffold Output
23
+
24
+ - Write the assigned report under \`.ai/vcm/architect-workers/scaffold/worker-<worker-id>.md\` before returning, including when scaffold work remains incomplete.
25
+ - For candidate or staging Markdown, use \`worker-<worker-id>-candidate.md\`; never start its basename with \`report\`, \`summary\`, \`findings\`, or \`analysis\` (case-insensitive). If Write rejects a candidate or staging basename, rename it and retry; still deliver the assigned final report file, not just response text.
26
+ - Record completed and remaining Scaffold Manifest IDs, changed files, commit hash (or no commit with the reason), ledger result, exact L0 check commands and results, and concrete failure evidence.
27
+ - Return the report path and a concise completion summary to Architect.
22
28
 
23
29
  Architect reviews the worker's commit and remains responsible for the final scaffold, plan, and evidence.
24
30
  Do not invoke another subagent.`;
@@ -13,7 +13,8 @@ You are \`vcm-architect-validation-worker\`, a foreground command-execution suba
13
13
 
14
14
  ### Validation Output
15
15
 
16
- - Write only the assigned report under \`.ai/vcm/architect-workers/validation/\`.
16
+ - Write the assigned report under \`.ai/vcm/architect-workers/validation/worker-<worker-id>.md\` before returning. Only that report and its candidate or staging files may be written.
17
+ - For candidate or staging Markdown, use \`worker-<worker-id>-candidate.md\`; never start its basename with \`report\`, \`summary\`, \`findings\`, or \`analysis\` (case-insensitive). If Write rejects a candidate or staging basename, rename it and retry; still deliver the assigned final report file, not just response text.
17
18
  - Use this structure:
18
19
 
19
20
  \`\`\`md
@@ -26,6 +26,7 @@ You are \`vcm-coder-worker\`, a bounded implementation worker invoked by Coder.
26
26
  \`\`\`
27
27
 
28
28
  - After the sweep of assigned items and their assigned checks, commit the assigned files. After the commit succeeds, write the assigned report to a candidate outside \`.ai/vcm\`, submit it with \`.ai/tools/vcm-artifact coder-worker-report --file <candidate> --path <assigned-report-path> --mode final\`, then update only the assigned worker state to \`completed\` with the same \`commitHash\` as the final step.
29
+ - For candidate or staging Markdown, use \`worker-<worker-id>-candidate.md\`; never start its basename with \`report\`, \`summary\`, \`findings\`, or \`analysis\` (case-insensitive). If Write rejects a candidate or staging basename, rename it and retry; still submit the assigned final report through \`vcm-artifact\`, not just response text.
29
30
  - The completed state must retain \`workerId\`, \`reportPath\`, and \`handled: false\`, set \`status\` to \`completed\`, and add \`"commitHash": "<exact-report-commit-hash>"\`.
30
31
  - Use \`completed\` only after every assigned item reached a terminal state. A successful item has green assigned proof and its marker removed. A failed item has a genuine attempt committed with objective failure evidence and its marker retained. Use \`success\` only when every item succeeded; otherwise use \`has_failed_items\`.
31
32
  - If execution is interrupted before the sweep, commit, or report completes, leave the worker state as \`running\`. Coder must resume the worker or take over the remaining work.
@@ -10,6 +10,10 @@ planning-session memory candidate and provides an exact path.
10
10
  under \`.ai/vcm/memory-review/runs/<run-id>/drafts/\` or a planning candidate
11
11
  under \`.ai/vcm/memory-review/candidates/\` in the active task worktree.
12
12
  - If VCM did not provide a path, do not create a proposal.
13
+ - Pass the assigned repository-relative destination unchanged to \`--path\`;
14
+ do not prefix it with the task worktree or base repository root. \`--file\`
15
+ names the candidate file, not the destination. VCM writes the accepted proposal
16
+ inside the active task worktree.
13
17
  - Propose only verified, durable, reusable project knowledge supported by task
14
18
  evidence.
15
19
  - Before proposing an add or update, check current durable documents, Harness
@@ -5,16 +5,20 @@ This skill records feedback only. It must not call Harness Engineer directly and
5
5
 
6
6
  ## Write Location
7
7
 
8
- Submit one markdown file under:
8
+ Submit one markdown file with this repository-relative \`--path\`:
9
9
 
10
10
  \`\`\`
11
- \${VCM_BASE_REPO_ROOT}/.ai/vcm/harness-feedback/pending/
11
+ .ai/vcm/harness-feedback/pending/<UTC timestamp>-<reporter-role>-<short-slug>.md
12
12
  \`\`\`
13
13
 
14
14
  If \`VCM_BASE_REPO_ROOT\` is not set, do not guess a fallback path. Report the
15
15
  environment problem to project-manager so VCM can retry with the correct base
16
16
  repository root.
17
17
 
18
+ VCM resolves this destination inside the base repository root, not the task
19
+ worktree. Do not prefix \`--path\` with \`VCM_BASE_REPO_ROOT\` or an absolute
20
+ directory. \`--file\` names the candidate file, not the destination.
21
+
18
22
  Use a filename like:
19
23
 
20
24
  \`\`\`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-coding-master",
3
- "version": "0.8.12",
3
+ "version": "0.8.13",
4
4
  "description": "Local GUI session cockpit for Claude Code role sessions.",
5
5
  "type": "module",
6
6
  "files": [
@@ -19,7 +19,7 @@ def parse_args() -> argparse.Namespace:
19
19
  parser.add_argument("--mode", choices=("draft", "final"), default="final")
20
20
  parser.add_argument(
21
21
  "--path",
22
- help="VCM-assigned destination for dynamic artifacts or a durable-document assignment report.",
22
+ help="Repository-relative VCM-assigned destination; never an absolute path. VCM selects the artifact's repository root.",
23
23
  )
24
24
  parser.add_argument(
25
25
  "--keep-candidate",