@mmerterden/multi-agent-pipeline 8.6.0 → 8.6.1

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.
Files changed (30) hide show
  1. package/README.md +1 -1
  2. package/package.json +4 -1
  3. package/pipeline/commands/multi-agent/refs/features/dev-critic.md +44 -0
  4. package/pipeline/commands/multi-agent/refs/features/external-context-injection.md +63 -0
  5. package/pipeline/commands/multi-agent/refs/features/plan-todos.md +20 -0
  6. package/pipeline/commands/multi-agent/refs/features/prior-fix-detection.md +49 -0
  7. package/pipeline/commands/multi-agent/refs/features/repo-map.md +30 -0
  8. package/pipeline/commands/multi-agent/refs/features/shadow-git.md +24 -0
  9. package/pipeline/commands/multi-agent/refs/phases/phase-0-init.md +3 -3
  10. package/pipeline/commands/multi-agent/refs/phases/phase-1-analysis.md +4 -121
  11. package/pipeline/commands/multi-agent/refs/phases/phase-3-dev.md +4 -75
  12. package/pipeline/commands/multi-agent/refs/phases/phase-6-commit.md +1 -1
  13. package/pipeline/commands/multi-agent/setup.md +14 -6
  14. package/pipeline/commands/multi-agent/sync.md +25 -24
  15. package/pipeline/scripts/fixtures/install-layout.tsv +11 -11
  16. package/pipeline/scripts/smoke-issue-comment-template.sh +1 -1
  17. package/pipeline/scripts/smoke-sync-adapters.sh +113 -0
  18. package/pipeline/scripts/smoke-sync-delegation.sh +1 -1
  19. package/pipeline/scripts/smoke-url-enrichment.sh +1 -1
  20. package/pipeline/scripts/sync-adapters.mjs +156 -0
  21. package/pipeline/skills/figma-common/figma-component-confluence-sync/SKILL.md +1 -1
  22. package/pipeline/skills/figma-common/figma-issue/SKILL.md +5 -5
  23. package/pipeline/skills/figma-common/figma-setup/SKILL.md +17 -17
  24. package/pipeline/skills/figma-common/figma-validate/SKILL.md +1 -1
  25. package/pipeline/skills/figma-ios/figma-to-component/SKILL.md +1 -1
  26. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-6-code-connect.md +5 -5
  27. package/pipeline/skills/figma-ios/figma-to-component/reference/code-connect.md +1 -1
  28. package/pipeline/skills/figma-ios/figma-to-component/reference/rest-api-script.md +1 -1
  29. package/pipeline/skills/figma-ios/figma-to-component/reference/tools.md +1 -1
  30. package/pipeline/skills/figma-ios/figma-to-component/scripts/phase1-gather.py +1 -1
@@ -46,7 +46,7 @@ Requires Swift 6.0+ (Xcode 16.0+). Lower version → HALT.
46
46
  ### 3. Verify Token
47
47
 
48
48
  ```bash
49
- TOKEN=$(security find-generic-password -a "$USER" -s "FIGMA_ACCESS_TOKEN" -w 2>/dev/null) && echo "OK" || echo "MISSING"
49
+ TOKEN=$("$HOME/.claude/lib/credential-store.sh" get \1 2>/dev/null) && echo "OK" || echo "MISSING"
50
50
  ```
51
51
 
52
52
  | Result | Action |
@@ -57,7 +57,7 @@ TOKEN=$(security find-generic-password -a "$USER" -s "FIGMA_ACCESS_TOKEN" -w 2>/
57
57
  **CRITICAL — Token prefix check:**
58
58
 
59
59
  ```bash
60
- TOKEN=$(security find-generic-password -a "$USER" -s "FIGMA_ACCESS_TOKEN" -w 2>/dev/null)
60
+ TOKEN=$("$HOME/.claude/lib/credential-store.sh" get \1 2>/dev/null)
61
61
  if [[ "$TOKEN" == figd_* ]]; then
62
62
  echo "VALID_PAT"
63
63
  elif [[ "$TOKEN" == figu_* ]]; then
@@ -70,7 +70,7 @@ fi
70
70
  | Result | Action |
71
71
  |--------|--------|
72
72
  | `VALID_PAT` | Proceed — this is a Figma Personal Access Token |
73
- | `WRONG_TOKEN_TYPE` | **HALT** — `figu_` prefix = MCP OAuth token. This token does NOT work with Code Connect CLI (returns 403). The `FIGMA_ACCESS_TOKEN` keychain entry contains an MCP token instead of a PAT. User must save a valid PAT: `security add-generic-password -a "$USER" -s "FIGMA_ACCESS_TOKEN" -w "<figd_...token>"` |
73
+ | `WRONG_TOKEN_TYPE` | **HALT** — `figu_` prefix = MCP OAuth token. This token does NOT work with Code Connect CLI (returns 403). The `FIGMA_ACCESS_TOKEN` keychain entry contains an MCP token instead of a PAT. User must save a valid PAT: `"$HOME/.claude/lib/credential-store.sh" set \1 \"\2\"` |
74
74
  | `UNKNOWN_TOKEN` | Proceed with caution, verify publish output for 403 errors |
75
75
 
76
76
  **Do NOT use `FIGMA_MCP_TOKEN`** for Code Connect. MCP OAuth tokens (`figu_*`) lack the scopes needed by the Code Connect REST API.
@@ -314,7 +314,7 @@ bash .instructions/figma/figma-to-swiftui/scripts/validate-phase6.sh \
314
314
  ## GATE 4: VALIDATE
315
315
 
316
316
  ```bash
317
- export FIGMA_ACCESS_TOKEN=$(security find-generic-password -a "$USER" -s "FIGMA_ACCESS_TOKEN" -w)
317
+ export FIGMA_ACCESS_TOKEN=$("$HOME/.claude/lib/credential-store.sh" get \1)
318
318
  figma connect parse
319
319
  ```
320
320
 
@@ -352,7 +352,7 @@ USER_ACTION_REQUIRED: Options:
352
352
  ### 5.1 Set Token
353
353
 
354
354
  ```bash
355
- export FIGMA_ACCESS_TOKEN=$(security find-generic-password -a "$USER" -s "FIGMA_ACCESS_TOKEN" -w)
355
+ export FIGMA_ACCESS_TOKEN=$("$HOME/.claude/lib/credential-store.sh" get \1)
356
356
  ```
357
357
 
358
358
  ### 5.2 Publish via Wrapper Script
@@ -474,7 +474,7 @@ Auth: set `FIGMA_ACCESS_TOKEN` env var, or use `--token=YOUR_TOKEN` flag.
474
474
 
475
475
  Keychain retrieve:
476
476
  ```bash
477
- export FIGMA_ACCESS_TOKEN=$(security find-generic-password -a "$USER" -s "FIGMA_ACCESS_TOKEN" -w)
477
+ export FIGMA_ACCESS_TOKEN=$("$HOME/.claude/lib/credential-store.sh" get \1)
478
478
  ```
479
479
 
480
480
  All commands work with npx: `npx @figma/code-connect@latest connect <command>`
@@ -8,7 +8,7 @@ How the Phase 1 script (`scripts/phase1-gather.py`) uses the Figma REST API for
8
8
 
9
9
  ```bash
10
10
  # Token stored in macOS Keychain by /figma-setup (CHECK 4)
11
- TOKEN=$(security find-generic-password -a "$USER" -s "FIGMA_ACCESS_TOKEN" -w)
11
+ TOKEN=$("$HOME/.claude/lib/credential-store.sh" get \1)
12
12
  ```
13
13
 
14
14
  ```python
@@ -142,7 +142,7 @@ Header: X-Figma-Token: figd_your_token_here
142
142
 
143
143
  **Retrieve token from macOS Keychain:**
144
144
  ```bash
145
- export TOKEN=$(security find-generic-password -a "$USER" -s "FIGMA_ACCESS_TOKEN" -w)
145
+ export TOKEN=$("$HOME/.claude/lib/credential-store.sh" get \1)
146
146
  curl -H "X-Figma-Token: $TOKEN" "https://api.figma.com/v1/..."
147
147
  ```
148
148
 
@@ -1100,7 +1100,7 @@ def main():
1100
1100
  ).decode().strip()
1101
1101
  except (subprocess.CalledProcessError, KeyError):
1102
1102
  halt("PRE_CHECK", "FIGMA_ACCESS_TOKEN not found", [], [],
1103
- "Pass --figma-token or: security add-generic-password -a $USER -s FIGMA_ACCESS_TOKEN -w <token>")
1103
+ "Pass --figma-token or: "$HOME/.claude/lib/credential-store.sh" set \1 \2
1104
1104
 
1105
1105
  # Resolve MCP OAuth token (for remote MCP)
1106
1106
  MCP_TOKEN = get_mcp_token(args.mcp_token)