Skip to content

chore: fix astudio-make-template icon package ref#99

Merged
jscraik merged 1 commit intomainfrom
codex/fix-design-system-lockfile
Feb 24, 2026
Merged

chore: fix astudio-make-template icon package ref#99
jscraik merged 1 commit intomainfrom
codex/fix-design-system-lockfile

Conversation

@jscraik
Copy link
Owner

@jscraik jscraik commented Feb 23, 2026

This PR fixes a workspace package-name mismatch and regenerates the pnpm lockfile to repair broken dependency resolution causing CI failures (missing esbuild@0.27.3).


Summary by cubic

Switched astudio-make-template to use @design-studio/astudio-icons and aligned docs/examples so template consumers import the correct package. Removed a malformed Apps SDK wrapper, hardened the coverage matrix generator, and refreshed the lockfile to keep CI and docs consistent.

  • Bug Fixes
    • Replaced @design-studio/icons with @design-studio/astudio-icons in astudio-make-template and synchronized guideline examples.
    • Regenerated pnpm-lock.yaml and normalized package.json formatting to keep workspace resolution/CI stable.
    • Removed packages/ui/src/integrations/apps-sdk-wrapper (malformed TS wrapper).
    • Fixed scripts/generate-coverage-matrix: correct root path resolution, case-insensitive de-dupe, preserve surface-usage across variants, and keep coverage status independent from usage flags; refreshed COVERAGE_MATRIX.json/md.

Written for commit c521acd. Summary will update on new commits.

@jscraik jscraik added the codex label Feb 23, 2026
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 3 files

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a2ba047809

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 2 files (changes from recent commits).

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="packages/ui/src/integrations/apps-sdk-wrapper/index.tsx">

<violation number="1" location="packages/ui/src/integrations/apps-sdk-wrapper/index.tsx:24">
P2: All indentation in this file was changed from 2-space to tabs, violating the project's formatting standard. Both `biome.json` (`indentStyle: "space"`, `indentWidth: 2`) and `.editorconfig` (`indent_style = space`, `indent_size = 2`) mandate 2-space indentation for `.tsx` files. This will likely fail CI formatting checks. Please reformat using spaces.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

@github-advanced-security
Copy link
Contributor

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

6 issues found across 10 files (changes from recent commits).

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="CLAUDE.md">

<violation number="1" location="CLAUDE.md:17">
P2: Hardcoded absolute local filesystem path (`/Users/jamiecraik/dev/...`) will not resolve for other developers or CI environments. Use a repo-relative path instead.</violation>
</file>

<file name="docs/agents/04-doc-update-gate.md">

<violation number="1" location="docs/agents/04-doc-update-gate.md:3">
P2: Hardcoded absolute local path (`/Users/jamiecraik/...`) in committed documentation. Use a repo-relative path so the reference is portable across machines and CI.</violation>
</file>

<file name="docs/agents/06-security-and-governance.md">

<violation number="1" location="docs/agents/06-security-and-governance.md:5">
P2: Hardcoded absolute path to a local developer's filesystem. This will not resolve for other contributors or in CI. Use a repo-relative path instead.</violation>

<violation number="2" location="docs/agents/06-security-and-governance.md:14">
P2: Hardcoded absolute path to a local developer's filesystem. This will not resolve for other contributors or in CI. Use a repo-relative path instead.</violation>
</file>

<file name="docs/agents/README.md">

<violation number="1" location="docs/agents/README.md:4">
P2: All links use hardcoded absolute local filesystem paths (`/Users/jamiecraik/dev/…`). These resolve only on one developer's machine and will be broken for all other contributors, CI, and GitHub/GitLab rendered views. Use relative paths instead.</violation>
</file>

<file name="AGENTS.md">

<violation number="1" location="AGENTS.md:13">
P1: This file is riddled with hardcoded absolute paths (`/Users/jamiecraik/...`) that are specific to one developer's machine. These will not resolve for other contributors or in CI environments.

- In-repo paths (e.g., to `FORJAMIE.md`, `docs/agents/`, `package.json`) should use **relative paths** from the repo root.
- User-home paths (e.g., `~/.codex/instructions/...`) should use `~` or be documented as user-specific config that each developer sets up locally.

At minimum, replace all `/Users/jamiecraik/dev/design-system/` prefixes with `./` (relative to repo root).</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

@socket-security
Copy link

socket-security bot commented Feb 24, 2026

No dependency changes detected. Learn more about Socket for GitHub.

👍 No dependency changes detected in pull request

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

7 issues found across 2749 files

Note: This PR contains a large number of files. cubic only reviews up to 75 files per PR, so some files may not have been reviewed.

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="CLAUDE.md">

<violation number="1" location="CLAUDE.md:17">
P2: Hardcoded absolute path `/Users/jamiecraik/dev/design-system/AGENTS.md` is machine-specific and won't resolve for other contributors or in CI. Use a repo-relative path instead.</violation>
</file>

<file name="scripts/test-token-drift.mjs">

<violation number="1" location="scripts/test-token-drift.mjs:357">
P3: The `allowedColorDrifts` and `allowedRadiusDrift` warning blocks are duplicated verbatim in the error path and the success path. Extract a shared helper to avoid future drift between the two copies.</violation>
</file>

<file name="docs/agents/README.md">

<violation number="1" location="docs/agents/README.md:4">
P1: All links use hardcoded absolute local filesystem paths (`/Users/jamiecraik/dev/design-system/...`). These won't resolve for other developers, on CI, or on GitHub. Use relative paths instead — all targets are in the same directory.</violation>
</file>

<file name="AGENTS.md">

<violation number="1" location="AGENTS.md:13">
P1: Hardcoded absolute paths (`/Users/jamiecraik/...`) throughout this file will break for every other contributor and in CI. Use repo-relative paths for in-repo files (e.g., `./FORJAMIE.md`, `./package.json`) and `~/.codex/...` for user-home references.</violation>
</file>

<file name="docs/agents/06-security-and-governance.md">

<violation number="1" location="docs/agents/06-security-and-governance.md:5">
P2: Hardcoded absolute local path leaks a developer's home directory and is non-portable for other contributors. Use a repo-relative path instead.</violation>

<violation number="2" location="docs/agents/06-security-and-governance.md:14">
P2: Same absolute-path issue — use a repo-relative link so the reference works for all contributors and on CI.</violation>
</file>

<file name="docs/design-system/COVERAGE_MATRIX.md">

<violation number="1" location="docs/design-system/COVERAGE_MATRIX.md:62">
P2: The newly added lowercase entries duplicate 16 existing PascalCase entries (e.g., `Accordion`/`accordion`, `Dialog`/`dialog`, `Tooltip`/`tooltip`, etc.) with conflicting `Source` classifications (`radix_fallback` vs `local_primitive`). This makes the coverage matrix ambiguous — consumers cannot tell which entry is authoritative or what the actual component source is. Since this file is generated by `scripts/generate-coverage-matrix.ts`, the generator likely needs to be fixed to either deduplicate or correctly merge these entries.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

@jscraik jscraik force-pushed the codex/fix-design-system-lockfile branch from 3dffb32 to b0e5eb4 Compare February 24, 2026 15:59
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 3 files (changes from recent commits).

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="docs/design-system/COVERAGE_MATRIX.md">

<violation number="1" location="docs/design-system/COVERAGE_MATRIX.md:62">
P2: The newly added lowercase rows (e.g. `accordion`, `badge`, `button`, `checkbox`, `dialog`, `tooltip`, etc.) duplicate existing PascalCase rows (e.g. `Accordion`, `Badge`, `Button`) but report a different source (`local_primitive` vs `radix_fallback`). This makes the coverage matrix self-contradictory — a reader cannot tell which source is authoritative. The generation script likely needs to deduplicate or merge these entries rather than listing both.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 3 files (changes from recent commits).

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="docs/design-system/COVERAGE_MATRIX.json">

<violation number="1" location="docs/design-system/COVERAGE_MATRIX.json:764">
P2: Bug: `"status": "widget_used"` is not a valid status value — likely a generator script error. The `status` field represents a component lifecycle state (e.g., `"active"`, `"deprecated"`), not a platform-usage flag. Every other component in the matrix has `"status": "active"`. The widget usage is already correctly captured by the `widget_used: true` boolean on the next line. This should remain `"active"`.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

@jscraik
Copy link
Owner Author

jscraik commented Feb 24, 2026

Automation triage update: addressed actionable review feedback (guideline import alignment, FORJAMIE update, coverage-matrix path repair, and matrix casing/surface-usage dedupe). Remaining blocker is CI \ failing in \ with broad repo-baseline errors (e.g., TS6307 file-list errors and missing icon/apps-sdk exports) unrelated to this PR scope.\n\nManual next step: land a dedicated baseline typecheck stabilization change on \ (tsconfig/project references + icon/apps-sdk export consistency), then rebase/rerun this PR.

@jscraik
Copy link
Owner Author

jscraik commented Feb 24, 2026

Blocker note: build (ubuntu-latest) fails at Type-check packages with broad baseline errors (TS6307 project file-list, missing icon exports, missing integrations/apps-sdk types). These are repo-wide and not isolated to this PR. Next step: land a dedicated baseline typecheck stabilization PR on main, then rebase and rerun PR #99.

@jscraik jscraik force-pushed the codex/fix-design-system-lockfile branch from c05fa7f to c521acd Compare February 24, 2026 17:13
@jscraik jscraik merged commit c414dcb into main Feb 24, 2026
8 of 9 checks passed
@jscraik jscraik deleted the codex/fix-design-system-lockfile branch February 24, 2026 17:38
@argos-ci
Copy link

argos-ci bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) 🔵 Orphan build 46 failures Feb 24, 2026, 5:42 PM

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant