Skip to content

Prepare v0.1.0 stable readiness gates - #585

Merged
justn-hyeok merged 3 commits into
mainfrom
work/stable-readiness
Jun 17, 2026
Merged

justn-hyeok merged 3 commits into
mainfrom
work/stable-readiness

Conversation

@justn-hyeok

Copy link
Copy Markdown
Member

Summary

  • promote local candidate metadata/docs to 0.1.0 / v0.1.0
  • add fail-closed stable readiness gates for CLI, MCP, GitHub Actions, Desktop, and Vercel production
  • add Vercel production evidence with commit markers and deploy production landing from commit 377be53
  • fix CLI missing-provider-key classification so setup credential gaps exit 2 instead of runtime exit 3

Verification

  • pnpm typecheck
  • pnpm lint
  • pnpm build
  • pnpm test --no-file-parallelism
  • pnpm test:security
  • pnpm bench:ci
  • pnpm release:beta-smoke
  • pnpm rc:desktop-gate
  • pnpm evidence:vercel-production
  • pnpm evidence:manifest -- --require=stable (expected fail-closed; remaining blockers are GitHub Actions live/degraded evidence, Desktop signing/notarization/stable distribution evidence, Desktop stable packaged QA artifacts, npm latest auth/publish, and non-prerelease GitHub Release)

Stable status

Still BLOCKER, not ready to tag or publish stable.

@github-actions github-actions Bot added the size/M <200 lines label Jun 17, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ CodeAgora: ACCEPT

Decision: ACCEPT

Why This Verdict

  • Scope reviewed: logic changes; docs changes; config changes; +3 more (.gitignore; .mcp.json; README.md; +3 more).
  • Checks completed: L1 reviewers completed 5/5; L2 discussions completed (1); L3 head verdict completed; +2 more.
  • Gates: 0 promoted blockers, 0 promoted human gates; 1 follow-up/audit item(s) stay non-blocking.
  • Uncertainty boundary: Non-promoted findings remain follow-up/audit only unless reproduced with complete evidence.

Required Action

No pre-merge action required. Inspect the audit appendix only for optional follow-up or debugging.

Review audit appendix (1 speculative hidden)

Run: L1 5/5 · L2 1+DA · head · 1 debate(s)

1 speculative hidden

Maintainer Decision Box

Question Answer
Merge now? yes
Pre-merge required none
Risk if skipped No public pre-merge risk above the human-gate threshold.
Follow-up only 2 non-blocking follow-up item(s); inspect collapsed audit sections only if needed.
Confidence rule CRITICAL/HARSHLY_CRITICAL at >=60% blocks merge; 40-59% is a human gate; 20-39% is needs-repro appendix; <20% is speculative unless reproduced.

Maintainer Action List

No pre-merge maintainer action required. 2 non-blocking follow-up item(s); inspect collapsed audit sections only if needed.

Final Decision Table

No current blockers or human gates remain.

Decision Snapshot

Decision gate Follow-up later Ignored speculative
0 0 2

Verdict is based on current blockers. Follow-up and speculative items are non-blocking until reproduced or backed by stronger evidence.

Review Coverage

Stage Result Models
L1 reviewers 5/5 completed qwen/qwen3-235b-a22b-2507, deepseek/deepseek-v4-flash, qwen/qwen3.5-9b, z-ai/glm-4.7-flash, openai/gpt-oss-120b
L2 debate 1 supporter(s) + devil's advocate; 1 discussion(s) z-ai/glm-5.1
L3 head verdict completed z-ai/glm-5.1

No blocking findings remained after reviewer corroboration, thresholding, discussion, and final verdict checks.

1 speculative hypothesis(es) hidden

These are not merge blockers unless a human can reproduce them or add stronger evidence.

  • packages/cli/src/utils/errors.ts:56 — Logic Error - Missing API Key Detection Pattern Coverage in Error Classification (speculative, final 7%)
Issue distribution (1 file(s))
File Issues
packages/cli/src/utils/errors.ts ████████████ 1
Agent consensus log (1 discussion(s))
⚠️ d001 — 1 round(s), forced → speculative hypothesis (7%)

Disposition: speculative hypothesis (7%) — retained for auditability, but not treated as blocking without reproduction.
Trace: Tie broken by forced decision on last round (1 agree, 1 disagree)


CodeAgora · Session: 2026-06-17/001

@github-actions github-actions Bot added size/XL 500+ lines and removed size/M <200 lines labels Jun 17, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ CodeAgora: ACCEPT

Decision: ACCEPT

Why This Verdict

  • Scope reviewed: config changes; logic changes; docs changes; +3 more (.github/workflows/release.yml; .gitignore; .mcp.json; +3 more).
  • Checks completed: L1 reviewers completed 5/5; L2 discussions completed (0); L3 head verdict completed; +2 more.
  • Gates: 0 promoted blockers, 0 promoted human gates; 6 follow-up/audit item(s) stay non-blocking.
  • Uncertainty boundary: Non-promoted findings remain follow-up/audit only unless reproduced with complete evidence.

Required Action

No pre-merge action required. Inspect the audit appendix only for optional follow-up or debugging.

Review audit appendix (6 ignore)

Run: L1 5/5 · L2 1+DA · head · 0 debates

6 ignore

Maintainer Decision Box

Question Answer
Merge now? yes
Pre-merge required none
Risk if skipped No public pre-merge risk above the human-gate threshold.
Follow-up only none
Confidence rule CRITICAL/HARSHLY_CRITICAL at >=60% blocks merge; 40-59% is a human gate; 20-39% is needs-repro appendix; <20% is speculative unless reproduced.

Maintainer Action List

No pre-merge maintainer action required. none

Final Decision Table

No current blockers or human gates remain.

Decision Snapshot

Decision gate Follow-up later Ignored speculative
0 0 0

Verdict is based on current blockers. Follow-up and speculative items are non-blocking until reproduced or backed by stronger evidence.

Review Coverage

Stage Result Models
L1 reviewers 5/5 completed qwen/qwen3-235b-a22b-2507, deepseek/deepseek-v4-flash, qwen/qwen3.5-9b, z-ai/glm-4.7-flash, openai/gpt-oss-120b
L2 debate 1 supporter(s) + devil's advocate; 0 discussion(s) z-ai/glm-5.1
L3 head verdict completed z-ai/glm-5.1

No blocking findings remained after reviewer corroboration, thresholding, discussion, and final verdict checks.

Non-blocking review queues (8)

These queues did not meet the public blocking threshold; use them as follow-up context, not as merge blockers.

Queue counts are internal diagnostics. Item cards below are deduped by location/title and are not added to the decision gate.

Queue Count Meaning
Suggestions 1 Low-priority findings kept out of must-fix.
Unconfirmed 5 Findings below the discussion threshold.
Suppressed 0 Findings hidden by learned dismissal patterns.
Removed by hallucination filter 0 Findings rejected as unsupported by the diff.
Uncertain after hallucination checks 2 Findings retained with lower confidence.

Suggestions

  • Claim: scripts/github-action-stable-evidence.mjs:101 — Over-summary error message from getExpectedEntry prevents clear debugging
    • Evidence snippet: Line 101: throw new Error(\Missing release-gateway inventory entry for ${name}`);`
    • User impact if true: Optional cleanup: In scripts/github-action-stable-evidence.mjs:101 The error is thrown when an inventory entry doesn't exist, but the error message only says "Missing release-ga...
    • Why non-blocking now: final confidence 8%; stage trace hidden from summary
    • Repro/test to promote: Inspect scripts/github-action-stable-evidence.mjs:101 and run the smallest command or test that exercises this path.

Unconfirmed

  • Claim: scripts/vercel-production-evidence.mjs:25-80 — Missing Origin Validation for Mock Network Responses
    • Evidence snippet: The makeFetch mock at line 25-46 does not validate url origin; it simply uses the pathname from the unvalidated URL object
    • User impact if true: Potential follow-up only: In scripts/vercel-production-evidence.mjs:25-80 The makeFetch mock function (used in tests) and the fetchText helper (lines 82-102) do not validate that ne...
    • Why non-blocking now: final confidence 11%; stage trace hidden from summary
    • Repro/test to promote: Inspect scripts/vercel-production-evidence.mjs:25 and run the smallest command or test that exercises this path.
  • Claim: scripts/github-action-stable-evidence.mjs:115 — Incorrect evidence "passed" status calculation in GitHub Action replay evidence generation
    • Evidence snippet: Line 115: const passed = scenario.verdict === 'DEGRADED' || scenario.verdict === 'SKIPPED'; - both verdicts treated identically
    • User impact if true: Potential follow-up only: In scripts/github-action-stable-evidence.mjs:115 The buildRecord function marks ANY scenario where verdict is 'DEGRADED' or 'SKIPPED' as passed: true...
    • Why non-blocking now: final confidence 17%; stage trace hidden from summary
    • Repro/test to promote: Inspect scripts/github-action-stable-evidence.mjs:115 and run the smallest command or test that exercises this path.
  • Claim: scripts/github-action-stable-evidence.mjs:217 — File path assertion in stale-head test hangs without timeout but passes tests with mocked execution
    • Evidence snippet: Line 14-19: REPLAY_TEST_COMMAND includes 4 separate test files passed as array elements
    • User impact if true: Potential follow-up only: In scripts/github-action-stable-evidence.mjs:217 runReplayTests invokes vitest directly with execFileSync and stdio: 'inherit', passing individual `....
    • Why non-blocking now: final confidence 27%; stage trace hidden from summary
    • Repro/test to promote: Inspect scripts/github-action-stable-evidence.mjs:217 and run the smallest command or test that exercises this path.
  • ...and 2 more deduped diagnostic item(s) hidden for brevity.

Uncertain after hallucination checks

  • All visible item(s) duplicate earlier queue cards.

2 duplicate queue item(s) omitted from the item cards; the first rendered disposition is authoritative.

Issue distribution (4 file(s))
File Issues
scripts/github-action-stable-evidence.mjs ████████████ 3
scripts/vercel-production-evidence.mjs ████ 1
scripts/release-gates.mjs ████ 1
scripts/stable-scope-audit.mjs ████ 1

CodeAgora · Session: 2026-06-17/001

@justn-hyeok
justn-hyeok merged commit d9ba198 into main Jun 17, 2026
4 checks passed

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ CodeAgora: ACCEPT

Decision: ACCEPT
Head verdict adjusted for public gate: NEEDS_HUMAN -> ACCEPT; 0 item(s) lacked complete promotion evidence.

Why This Verdict

  • Scope reviewed: config changes; logic changes; docs changes; +3 more (.github/workflows/release.yml; .gitignore; .mcp.json; +3 more).
  • Checks completed: L1 reviewers completed 5/5; L2 discussions completed (6); L3 head verdict completed; +2 more.
  • Gates: 0 promoted blockers, 0 promoted human gates; 10 follow-up/audit item(s) stay non-blocking.
  • Uncertainty boundary: Non-promoted findings remain follow-up/audit only unless reproduced with complete evidence.

Required Action

No pre-merge action required. Inspect the audit appendix only for optional follow-up or debugging.

Review audit appendix (1 needs-repro · 5 speculative hidden · 4 ignore)

Run: L1 5/5 · L2 1+DA · head · 6 debate(s)

1 needs-repro · 5 speculative hidden · 4 ignore

Maintainer Decision Box

Question Answer
Merge now? yes
Pre-merge required none
Risk if skipped No public pre-merge risk above the human-gate threshold.
Follow-up only 10 non-blocking follow-up item(s); inspect collapsed audit sections only if needed.
Confidence rule CRITICAL/HARSHLY_CRITICAL at >=60% blocks merge; 40-59% is a human gate; 20-39% is needs-repro appendix; <20% is speculative unless reproduced.

Maintainer Action List

No pre-merge maintainer action required. 11 non-blocking follow-up item(s); inspect collapsed audit sections only if needed.

Final Decision Table

No current blockers or human gates remain.

Decision Snapshot

Decision gate Follow-up later Ignored speculative
0 2 9

Verdict is based on current blockers. Follow-up and speculative items are non-blocking until reproduced or backed by stronger evidence.

Review Coverage

Stage Result Models
L1 reviewers 5/5 completed qwen/qwen3-235b-a22b-2507, deepseek/deepseek-v4-flash, qwen/qwen3.5-9b, z-ai/glm-4.7-flash, openai/gpt-oss-120b
L2 debate 1 supporter(s) + devil's advocate; 6 discussion(s) z-ai/glm-5.1
L3 head verdict completed z-ai/glm-5.1
Non-blocking review queues (7)

These queues did not meet the public blocking threshold; use them as follow-up context, not as merge blockers.

Queue counts are internal diagnostics. Item cards below are deduped by location/title and are not added to the decision gate.

Queue Count Meaning
Suggestions 0 Low-priority findings kept out of must-fix.
Unconfirmed 3 Findings below the discussion threshold.
Suppressed 0 Findings hidden by learned dismissal patterns.
Removed by hallucination filter 2 Findings rejected as unsupported by the diff.
Uncertain after hallucination checks 2 Findings retained with lower confidence.

Unconfirmed

  • Claim: packages/desktop/scripts/desktop-artifacts.mjs:69-72 — Invalid Error Message in Version Parsing
    • Evidence snippet: Line 69-72 throws the error with received ${String(version ?? 'missing')} but doesn't throw a clear error if version is not a string at all
    • User impact if true: Potential follow-up only: In packages/desktop/scripts/desktop-artifacts.mjs:69-72 The error message format uses template string substitution with String(version ?? 'missing') but do...
    • Why non-blocking now: final confidence 13%; stage trace hidden from summary
    • Repro/test to promote: Inspect packages/desktop/scripts/desktop-artifacts.mjs:69 and run the smallest command or test that exercises this path.
  • Claim: scripts/github-action-stable-evidence.mjs:157-161 — Missing error propagation when commitSha() throws in recordGithubActionStableEvidence()
    • Evidence snippet: commitSha() at line 157 uses execFileSync which throws on non-zero exit — git may be unavailable in some environments (e.g....
    • User impact if true: Potential follow-up only: In scripts/github-action-stable-evidence.mjs:157-161 The commitSha() function is called directly without a try-catch in `recordGithubActionStableEvidence()...
    • Why non-blocking now: final confidence 13%; stage trace hidden from summary
    • Repro/test to promote: Inspect scripts/github-action-stable-evidence.mjs:157 and run the smallest command or test that exercises this path.
  • Claim: scripts/stable-scope-audit.mjs:156-163 — Missing Exit Payment when Validation Fails in stable-scope-audit
    • Evidence snippet: Line 89-98: Desktop detection returns keepClassification('desktop', ...) without checking if the classification surface mapping is complete
    • User impact if true: Potential follow-up only: In scripts/stable-scope-audit.mjs:156-163 The classifyStableScopePath function no longer has explicit handling for deskbound items after the exclusion sect...
    • Why non-blocking now: final confidence 29%; stage trace hidden from summary
    • Repro/test to promote: Inspect scripts/stable-scope-audit.mjs:156 and run the smallest command or test that exercises this path.

Removed by hallucination filter

  • 2 rejected item(s) hidden from the public summary.
  • invalid location — Race Condition in Evidence Collection Assuming Stable Ready State; why non-blocking: rejected by hallucination checks; confidence omitted because the claim lacked diff support
  • invalid location — Stable Release Version Jump Creates Rollback Risk; why non-blocking: rejected by hallucination checks; confidence omitted because the claim lacked diff support

Uncertain after hallucination checks

  • Claim: packages/cli/src/utils/errors.ts:56-63 — Exit code misclassification for API key missing errors when in multi-line messages
    • Evidence snippet: packages/cli/src/utils/errors.ts:56-63 now checks msg.includes('api key not found') separately but the code includes 'no-api-key' (lowercase) in addition ...
    • User impact if true: Could matter if the observed signal is real: In packages/cli/src/utils/errors.ts:56-63 The logic was refactored to extract "api key" checks at the top of the classifyCliErrorExitCode function, but the c...
    • Why non-blocking now: retained as uncertain after penalties; final confidence 0%; stage trace hidden from summary
    • Repro/test to promote: Inspect packages/cli/src/utils/errors.ts:56 and run the smallest command or test that exercises this path.
  • 1 invalid-location item(s) hidden.
Needs reproduction appendix (1)

These low-confidence items are not pre-merge gates. Promote one only after the listed focused check reproduces it.

File Issue Final confidence Repro command
packages/desktop/scripts/capture-unsigned-dmg-evidence.mjs:129 Unsigned DMG evidence script does not verify the DMG is actually unsigned — it trusts createUpdaterArtifacts: false without validation 38% Inspect packages/desktop/scripts/capture-unsigned-dmg-evidence.mjs:129 and run the smallest command or test that exercises this path.
Needs-repro action details

packages/desktop/scripts/capture-unsigned-dmg-evidence.mjs:129 — Unsigned DMG evidence script does not verify the DMG is actually unsigned — it trusts createUpdaterArtifacts: false without validation

  • Why this matters: In packages/desktop/scripts/capture-unsigned-dmg-evidence.mjs:129-193 The capture-unsigned-dmg-evidence.mjs script records `distributionPolicy....
  • How to verify: The script does not run codesign --verify or spctl --assess to confirm the app is unsigned — it only reads Info.plist via PlistBuddy.
  • Suggested fix: Code-level suggestion omitted from summary; verify the issue first, then inspect inline suggestions if needed.
  • Repro card:
    • Try: Inspect packages/desktop/scripts/capture-unsigned-dmg-evidence.mjs:129 and run the smallest command or test that exercises this path.
    • Expected if valid: In packages/desktop/scripts/capture-unsigned-dmg-evidence.mjs:129-193 The capture-unsigned-dmg-evidence.mjs script records `distributionPolicy....
    • Actual to check: The script does not run codesign --verify or spctl --assess to confirm the app is unsigned — it only reads Info.plist via PlistBuddy.
    • Pass condition: the expected and actual behavior match without relying on reviewer speculation.
  • Confidence: final confidence 38%; class prior missing-validation; stage trace hidden from summary
5 speculative hypothesis(es) hidden

These are not merge blockers unless a human can reproduce them or add stronger evidence.

  • packages/desktop/src-tauri/tauri.conf.json:44 — Tauri Updater Endpoint Mismatch with New Stable Spec (speculative, final 11%)
  • scripts/desktop-stable-distribution-gate.mjs:28 — Syntax Error in Desktop Stable Distribution Gate Argument Parser (speculative, final 7%)
  • scripts/desktop-stable-distribution-gate.mjs:1 — Missing npm script for new desktop-stable-distribution-gate command (speculative, final 18%)
  • scripts/vercel-production-evidence.mjs:24 — Insufficient Error Handling for Empty HTML Body in Vercel Production Evidence (speculative, final 3%)
  • packages/cli/src/utils/errors.ts:70 — Regression in CLI error exit‑code classification – generic “api key” messages no longer map to exit code 2 (speculative, final 2%)
Issue distribution (8 file(s))
File Issues
scripts/desktop-stable-distribution-gate.mjs ████████████ 2
packages/cli/src/utils/errors.ts ████████████ 2
packages/desktop/scripts/capture-unsigned-dmg-evidence.mjs ██████ 1
packages/desktop/src-tauri/tauri.conf.json ██████ 1
packages/desktop/scripts/desktop-artifacts.mjs ██████ 1
scripts/github-action-stable-evidence.mjs ██████ 1
scripts/vercel-production-evidence.mjs ██████ 1
scripts/stable-scope-audit.mjs ██████ 1
Agent consensus log (6 discussion(s))
✅ d001 — 1 round(s), consensus → needs-repro critical hypothesis (38%)

Disposition: needs-repro critical hypothesis (38%) — non-blocking unless reproduced by the listed focused check.
Trace: All supporters agreed on the issue

⚠️ d002 — 1 round(s), forced → speculative hypothesis (11%)

Disposition: speculative hypothesis (11%) — retained for auditability, but not treated as blocking without reproduction.
Trace: Tie broken by forced decision on last round (1 agree, 1 disagree)

⚠️ d003 — 1 round(s), forced → speculative hypothesis (18%)

Disposition: speculative hypothesis (18%) — retained for auditability, but not treated as blocking without reproduction.
Trace: Tie broken by forced decision on last round (1 agree, 1 disagree)

✅ d004 — 1 round(s), consensus → DISMISSED

Verdict: DISMISSED — All supporters rejected the issue

⚠️ d005 — 1 round(s), forced → speculative hypothesis (3%)

Disposition: speculative hypothesis (3%) — retained for auditability, but not treated as blocking without reproduction.
Trace: Moderator disabled; unresolved discussion escalated directly to head verdict.

⚠️ d006 — 1 round(s), forced → speculative hypothesis (0%)

Disposition: speculative hypothesis (0%) — retained for auditability, but not treated as blocking without reproduction.
Trace: Moderator disabled; unresolved discussion escalated directly to head verdict.


CodeAgora · Session: 2026-06-17/001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL 500+ lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant