Skip to content

Feat/audit remediation and expert tier - #31

Merged
bighnesh0007 merged 2 commits into
masterfrom
feat/audit-remediation-and-expert-tier
Jul 26, 2026
Merged

Feat/audit remediation and expert tier#31
bighnesh0007 merged 2 commits into
masterfrom
feat/audit-remediation-and-expert-tier

Conversation

@bighnesh0007

Copy link
Copy Markdown
Owner

No description provided.

bighnesh0007 and others added 2 commits July 26, 2026 19:47
…aware

Two problems, one of which was blocking the build outright.

1. SCHEMA VALIDATION FAILURE
   Both vercel.json files used `"//"` keys as pseudo-comments. JSON has no
   comment syntax and Vercel's schema forbids unknown properties, so the
   deploy failed before it started:

     The `vercel.json` schema validation failed with the following message:
     should NOT have additional property `//`

   All `//`, `//commands` and `//ignoreCommand` keys are gone. The rationale
   they carried now lives in docs/runbooks/deployment-prerequisites.md, which
   can hold prose properly.

2. COMMANDS WERE STALE AFTER REF-01
   The root file ran `npm --prefix client ci`, which needs
   client/package-lock.json — deleted when the repo became an npm workspace.
   It also never built @dwcode/shared, so the build would have failed on a
   missing module even after the install was fixed.

   Root (Root Directory = repo root):
     install  npm ci
     build    npm run build:shared && npm run build:client
     output   client/.next

   client/ (Root Directory = client):
     install  npm ci --prefix ..
     build    npm run build:shared --prefix .. && npm run build

   Both are now correct, so either Root Directory setting works.

   ignoreCommand also widened: a change to packages/ or the root lockfile
   must trigger a frontend build, and previously would not have.

Verified by running the root buildCommand end to end: build:shared and
build:client both succeed and client/.next is produced.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Also documents that Root Directory = repo root is now the simpler option: with
the workspace root as the build context, packages/shared is already in scope, so
the dashboard-only 'Include source files outside of the Root Directory' toggle
is no longer needed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

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

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
dwcbackend Ignored Ignored Jul 26, 2026 2:24pm
dwcode Ignored Ignored Jul 26, 2026 2:24pm

@bighnesh0007
bighnesh0007 merged commit d712dc4 into master Jul 26, 2026
7 of 9 checks passed
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.

1 participant