Skip to content

feat: add verify command and dependency preflight check#788

Open
caoergou wants to merge 2 commits intodifferent-ai:devfrom
caoergou:feat/verify-command-708
Open

feat: add verify command and dependency preflight check#788
caoergou wants to merge 2 commits intodifferent-ai:devfrom
caoergou:feat/verify-command-708

Conversation

@caoergou
Copy link
Contributor

@caoergou caoergou commented Mar 7, 2026

Summary

Why

Closes #708

During implementation, discovered that PR #776 introduced a TypeScript module without a corresponding type declaration, causing pnpm typecheck to fail. This PR includes the fix.

Test Plan

  • pnpm preflight passes with all required tools
  • pnpm typecheck passes (TS7016 fixed)
  • pnpm verify runs complete validation pipeline
  • CI workflow includes typecheck step

caoergou added 2 commits March 7, 2026 17:28
PR different-ai#776 introduced a JavaScript module (local-file-path.impl.js) without
a corresponding type declaration, causing TS7016 error when running
typecheck with strict settings.

This adds the missing .d.ts file to provide type information for the
normalizeLocalFilePath function.
…#708)

- Add `pnpm preflight` to validate development environment
  - Required: Node.js 18+, pnpm 10.27.0+, Bun 1.3.9+
  - Optional: cargo, opencode, tauri (for desktop development)
  - Version validation with clear error messages
  - CI/NO_COLOR environment support

- Add `pnpm verify` as canonical pre-PR validation
  - Runs: preflight → typecheck → test:e2e
  - Aligns local checks with CI workflow

- Update CI to include typecheck step
  - Ensures type errors are caught in CI

- Update documentation
  - README.md: Add preflight and verify commands
  - AGENTS.md: Add PR expectations section
@vercel
Copy link

vercel bot commented Mar 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-software Ready Ready Preview, Comment Mar 7, 2026 9:31am

@vercel
Copy link

vercel bot commented Mar 7, 2026

@caoergou is attempting to deploy a commit to the 0 Finance Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2026

The following comment was made by an LLM, it may be inaccurate:

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: add canonical verify command + dependency preflight gate

1 participant