vibe-coding-master 0.7.1 → 0.7.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.
@@ -66,7 +66,7 @@ ${renderRoleMemoryRules("architect")}
66
66
 
67
67
  - Plan the full accepted task scope routed by PM.
68
68
  - \`architecture-plan.md\` must describe the complete implementation for that scope.
69
- - Do not create internal delivery stages, task-splitting suggestions, or follow-up scope without explicit PM approval.
69
+ - Do not create internal delivery stages, task-splitting suggestions, or follow-up scope.
70
70
  - Implementation order may be described, but it must not defer requested scope.
71
71
 
72
72
  ### Debug Mode
@@ -9,6 +9,7 @@ export function renderRootClaudeHarnessRules() {
9
9
  - Use \`vcm-long-running-validation\` for long-running validation. Follow the background job limits below.
10
10
  - Use \`vcm-report-harness-issue\` when you notice a reusable VCM harness problem. Record feedback; do not contact Harness Engineer directly.
11
11
  - Treat \`.ai/vcm/memory/**\` as read-only. Use \`vcm-propose-memory\` only when VCM assigns a memory proposal during Task Harness Review.
12
+ - Only the user may approve scope reduction, skipped required validation, Gate Review skip or override, skipped required docs sync, accepted unresolved task-scope risk, or weakening of baseline Harness rules. PM may record and route the user's approval but cannot grant it.
12
13
  - Project-manager runs \`vcm-gate-review\` unconditionally at every Gate Review trigger point and on VCM Gate Review callbacks; the tool reports the authoritative enable state.
13
14
 
14
15
  ## VCM Harness Scope
@@ -101,7 +101,7 @@ Decision: ready_for_review|incomplete|failed
101
101
  - Coder validation is limited to baseline unit-level and fast L0/L1 checks; do not run L2/L3/L4, smoke, integration, or E2E validation unless the role message explicitly assigns a targeted fast L2 check.
102
102
  - Run available L0/L1 validation after implementation.
103
103
  - Compile, typecheck, or L0/L1 failure is the signal to report; predicted failure is not.
104
- - If required compile/typecheck/L0/L1 validation cannot run or cannot complete, write \`Decision: failed\` unless project-manager has recorded an explicit exception; finish implementation and explain the concrete reason in \`coder-completion.md\` and the route message to project-manager.
104
+ - If required compile/typecheck/L0/L1 validation cannot run or cannot complete, write \`Decision: failed\`. If the user explicitly approved continuing without the exact check, record the approval and reason; the approval does not change Coder's decision.
105
105
  - Do not make tests pass by weakening assertions, skipping tests, hardcoding success, bypassing real behavior paths, or adding test-only production behavior.
106
106
 
107
107
  ### Failure Reporting And Continuation
@@ -48,7 +48,7 @@ You are \`vcm-coder-worker\`, a bounded implementation worker invoked by Coder.
48
48
  - Run assigned L0/L1 checks in the foreground. Worker checks are module-scoped and treated as safe fast validation: never use \`.ai/tools/run-long-check\` or \`.ai/tools/watch-job\`, and the switch-to-skill rule for long commands does not apply inside worker runs.
49
49
  - Do not make tests pass by weakening assertions, skipping tests, hardcoding success, bypassing real behavior paths, or adding test-only production behavior.
50
50
  - Report failure only from missing assigned targets, compile/typecheck failure, assigned L0/L1 failure, or a concrete inability to run assigned-module tests.
51
- - If required assigned compile/typecheck/L0/L1 checks cannot run or cannot complete, update worker state to \`failed\` unless Coder recorded a validation exception in the worker task.
51
+ - If required assigned compile/typecheck/L0/L1 checks cannot run or cannot complete, update worker state to \`failed\`. If the user explicitly approved continuing without the exact check, record the approval and reason; the approval does not change the worker state.
52
52
 
53
53
  ### Git
54
54
 
@@ -1,6 +1,6 @@
1
1
  const PROJECT_CODING_STANDARDS_RULES = `This file is the shared project baseline for roles that edit production code or tests.
2
2
 
3
- Project-specific rules may be added outside the VCM managed block when they make the baseline more precise. Do not weaken these baseline rules without explicit project approval.
3
+ Project-specific rules may be added outside the VCM managed block when they make the baseline more precise. Do not weaken these baseline rules without explicit user approval for the exact exception.
4
4
 
5
5
  ## Applies To
6
6
 
@@ -12,6 +12,7 @@ ${renderRoleMemoryRules("project-manager")}
12
12
  - Route based on the user request, current VCM task state, and existing handoff status.
13
13
  - Do not perform technical analysis; route architecture, implementation, docs, validation, and defect questions to the responsible role defined below.
14
14
  - Do not implement production code directly.
15
+ - PM records and routes user approvals. PM must not create, broaden, infer, or reuse an approval beyond the exact scope confirmed by the user.
15
16
 
16
17
  ### User Communication
17
18
 
@@ -24,11 +25,15 @@ ${renderRoleMemoryRules("project-manager")}
24
25
 
25
26
  PM Managed Mode applies only when the user explicitly asks to complete the current task in this mode.
26
27
 
27
- - PM must drive the task to completion according to the user's request.
28
- - PM must not delay, narrow, reinterpret, skip, or deviate from the requested task without explicit user approval.
29
- - Questions about how to complete the task are managed inside the VCM flow. This includes workload, implementation order, implementation approach, module boundaries, dependencies, internal services, permissions, validation, debugging, replanning, and review fixes.
30
- - Ordinary technical execution questions should be routed to Architect or the responsible role for decision.
31
- - Ask the user only when the task cannot proceed without user intent or real-world authorization: unclear or conflicting requirements, required external accounts/secrets/test environments/data access, real cost, production permission, sensitive data access, durable-doc conflict, or a proven need to change the requested outcome.
28
+ - PM must drive the accepted task to completion through the normal VCM flow.
29
+ - PM must not reduce, defer, reinterpret, skip, or move requested work outside the current task.
30
+ - PM must not use workload, task size, context size, implementation difficulty, dependency choice, refactor need, testing effort, or number of iterations as a reason to ask the user.
31
+ - Technical execution questions are handled inside the VCM flow. PM routes them to Architect, Coder, Tester, or Gate Reviewer according to role responsibility.
32
+ - PM may defer non-blocking user-facing questions until the final user report, but only when continuing does not require user intent, external authorization, or a user-approved exception.
33
+ - Deferred questions remain part of the current task report. They must not become follow-up scope unless the user explicitly creates a new task.
34
+ - PM must pause and ask the user only when the task cannot proceed without user intent or real-world authorization: unclear or conflicting requested outcome, required account/secret/test environment/data access, real cost, production permission, sensitive data access, destructive or irreversible real-world action, durable-doc conflict requiring user choice, or a required user-approved exception.
35
+ - Required user-approved exceptions include skipped required validation, Gate Review skip or override, skipped required docs sync, accepted unresolved task-scope risk, or weakening baseline Harness rules.
36
+ - PM records user approvals exactly as given. PM must not create, broaden, infer, or reuse approval.
32
37
  - When PM asks the user, the flow must stop and wait for the user's explicit instruction before continuing.
33
38
 
34
39
  ### Task Flow Selection
@@ -146,7 +151,7 @@ When Architect, Coder, or Tester reports a confirmed direct user message:
146
151
 
147
152
  - Treat exploratory discussion as non-authoritative unless the report includes explicit user confirmation.
148
153
  - Treat local clarification as task context and continue the current flow when it does not change accepted scope, gates, approval state, or routing.
149
- - Treat confirmed scope, plan, priority, approval, external authorization, or next-route changes as PM-owned decisions.
154
+ - Treat confirmed scope, plan, priority, approval, external authorization, or next-route changes as user-authorized inputs. PM records them and owns only the resulting workflow routing.
150
155
  - If the confirmed message changes accepted task scope, make the scope change explicit before continuing.
151
156
  - If the confirmed message is only a small clarification for the active role, relay it back with Simple User Relay.
152
157
 
@@ -185,13 +190,13 @@ When Architect, Coder, or Tester reports a confirmed direct user message:
185
190
  - If a role completes a coherent slice and the remaining work still matches the current route, dispatch the same role again.
186
191
  - Do not accept workload, session length, or context size as a reason to change the architect plan.
187
192
  - Route back to architect only for technical mismatch with the approved plan, not for workload or session-size reasons.
188
- - Do not advance to the next gate until the current gate is explicitly complete or an approved exception is recorded.
193
+ - Do not advance to the next gate until the current gate is explicitly complete or the exact exception has explicit user approval. A Gate Review exception is valid only when VCM records the user's skip or override action.
189
194
 
190
195
  ### Final Acceptance
191
196
 
192
197
  - Use the \`vcm-final-acceptance\` skill only to close a complete code-delivery flow, including a primary Debug or Architecture Diagnosis flow that produced code changes.
193
198
  - Do not run Final Acceptance for docs-only, validation-only, Communication-only, PR-prep, analysis-only Diagnosis, or any Debug/Diagnosis branch inside another flow.
194
- - Start final acceptance only after Tester, required Gate Reviews, and required docs-sync gates pass or an explicit exception is approved.
199
+ - Start final acceptance only after Tester, required Gate Reviews, and required docs-sync gates pass, or explicit user approval is recorded for each exact exception. Gate Review skip or override is valid only when recorded by VCM from the user's action.
195
200
  - Confirm applicable evidence exists: architecture plan or architecture diagnosis when required, test result, required Gate Review decisions, docs-sync decision when required, unresolved risks, known-issues disposition, and cleanup status.
196
201
  - Check evidence presence, ownership, currency, and explicit result only; do not judge technical design quality, code quality, test adequacy, or documentation correctness during final acceptance.
197
202
  - If final acceptance finds missing evidence, unresolved risk, or required user approval, route it to the responsible role or user before closing the task.
@@ -52,8 +52,8 @@ ${renderRoleMemoryRules("tester")}
52
52
  - Treat architect-flagged public contracts, migrations, auth, data flow, routing, or dependency changes as inputs for tester-owned validation design.
53
53
  - Record skipped L3 checks in \`.ai/vcm/handoffs/test-report.md\` with the reason.
54
54
  - Treat validation coverage gaps for accepted task scope, changed behavior, or required public contracts as blocking validation issues; \`Test Result: pass\` cannot include them.
55
- - Record only existing, unrelated, non-required project limitations, or PM-recorded validation exceptions as non-blocking coverage notes, and state why they do not affect current task validation.
56
- - If a required validation check is skipped or cannot complete, \`Test Result\` must be \`fail\` unless project-manager has recorded an explicit exception.
55
+ - Record only existing, unrelated, non-required project limitations as non-blocking coverage notes, and state why they do not affect current task validation.
56
+ - If a required validation check is skipped or cannot complete, \`Test Result\` must be \`fail\`. If the user explicitly approved continuing without the exact check, record the approval and reason; the approval does not change Tester's result.
57
57
  - Update \`docs/TESTING.md\` when validation strategy, commands, level mapping, integration/E2E case definitions, selection rules, final-validation cleanup, test gaps, or test expectations change.
58
58
 
59
59
  ### Testing Documentation
@@ -43,7 +43,7 @@ Review the changed file list only, then classify files:
43
43
 
44
44
  - expected files: directly named by the user request, route message, durable plan, architecture plan, or architecture diagnosis
45
45
  - supporting files: tests, fixtures, generated context, docs, or wiring needed for expected files
46
- - approved deviations: files explained by Replan, tester follow-up, docs-sync, or explicit user / project-manager approval
46
+ - approved deviations: files explained by Replan, tester follow-up, docs-sync, or explicit user approval
47
47
  - unexplained files: files with no traceable reason in the task evidence
48
48
  - high-risk unexpected files: auth, permissions, payment, billing, schema, migrations, data deletion, secrets, dependencies, lockfiles, broad generated artifacts, or broad formatting churn
49
49
 
@@ -55,14 +55,14 @@ High-risk unexpected files require explicit user approval or architect Replan be
55
55
 
56
56
  Check:
57
57
 
58
- - required route was followed, or an explicit exception is recorded
58
+ - required route was followed, or an explicit user-approved exception is recorded
59
59
  - required handoff artifacts exist and are current
60
60
  - architecture plan, Architecture Diagnosis, Replan, or architect follow-up completion is recorded when required by the flow
61
61
  - tester report records \`Test Result: pass|fail\`, validation commands, results, and skipped checks with reasons
62
- - required Gate Reviews are approved, skipped with a recorded reason, or overridden with a recorded reason
63
- - Gate Review enable state is confirmed authoritatively: do not infer that no Gate Reviews were required from an absent or empty \`.ai/vcm/gate-reviews/index.json\`. When Gate Review is enabled, a missing index or a required gate without a recorded decision means the gate was skipped — run the matching command from the \`vcm-gate-review\` skill, including the code source for \`code-diff\`, and do not accept until each required gate returns \`approve\`/\`already_approved\`, \`disabled\`/\`not_required\`, or a recorded skip/override
62
+ - required Gate Reviews are approved, or skipped/overridden through a VCM-recorded user action
63
+ - Gate Review enable state is confirmed authoritatively: do not infer that no Gate Reviews were required from an absent or empty \`.ai/vcm/gate-reviews/index.json\`. When Gate Review is enabled, a missing index or a required gate without a recorded decision means the gate was skipped — run the matching command from the \`vcm-gate-review\` skill, including the code source for \`code-diff\`, and do not accept until each required gate returns \`approve\`/\`already_approved\`, \`disabled\`/\`not_required\`, or a VCM-recorded user skip/override
64
64
  - docs-sync report records docs updated, docs intentionally left unchanged, or required follow-up when docs sync was required
65
- - known issues are either resolved, promoted to durable docs by architect, or explicitly accepted
65
+ - known issues are either resolved, promoted to durable docs by architect, or explicitly accepted by the user
66
66
  - temporary task state is ready to clean after durable facts are promoted
67
67
 
68
68
  ## Decisions
@@ -61,7 +61,7 @@ This skill is an operating procedure. It does not replace the deterministic VCM
61
61
 
62
62
  - The shared baseline lives inside the VCM managed block and is installer-maintained; do not edit it.
63
63
  - Add project-specific implementation rules outside the managed block (for example under \`Project Coding Standards\`) only when they make the shared baseline more precise.
64
- - Do not weaken the baseline rules without explicit project approval.
64
+ - Do not weaken the baseline rules without explicit user approval for the exact exception.
65
65
  - Keep role workflow rules out of this file; role routing, Gate Review, Final Acceptance, and role-specific handoff rules belong in role definitions or skills.
66
66
 
67
67
  ### \`docs/ARCHITECTURE.md\`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-coding-master",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Local GUI session cockpit for Claude Code role sessions.",
5
5
  "type": "module",
6
6
  "files": [