Skip to content

fix(devin): stage the manifest logo asset in the Devin target - #76

Merged
ericjuta merged 1 commit into
mainfrom
fix/devin-archive-icon
Sep 10, 2026
Merged

fix(devin): stage the manifest logo asset in the Devin target#76
ericjuta merged 1 commit into
mainfrom
fix/devin-archive-icon

Conversation

@ericjuta

Copy link
Copy Markdown
Contributor

Why

#75 added logo: "assets/icon.svg" to .devin-plugin/plugin.json, but the generated Devin target and dist/targets/ask-gina-devin-<version>.tgz contain only .devin-plugin/, .mcp.json, and skills/, so the archive referenced a file it did not carry.

What

  • tools/pack-artifacts.ts, tools/sync-plugin-skills.ts: stage assets/icon.svg (the single manifest-referenced asset) next to .mcp.json in the Devin target.
  • tools/check-target-conformance.ts: assets is no longer a foreign artifact for Devin; new devin.assets.icon_exists check runs on the generated target and, via verify-artifacts, on the extracted archive.
  • Tests assert the Devin stage/target directory is exactly .devin-plugin, .mcp.json, assets/icon.svg, skills/ with byte-identical copies.
  • ai_docs/architecture.md: layout sentence updated.

Proof (local, narrow)

  • bunx vitest run plugins/ask-gina/__tests__/sync-plugin-skills.test.ts tools/__tests__/pack-artifacts.test.ts: 18/18.
  • bun tools/check-target-conformance.ts: 231/231 (was 230/231 before the foreign-artifact fix caught the new surface).

Archive build + extraction proof is CI's (verify-artifacts).

Follow-up

CognitionAI/devin-marketplace#14 will be bumped to this PR's merge commit.

The Devin manifest now points logo at assets/icon.svg, but the generated
Devin tree and archive carried only .devin-plugin, .mcp.json, and skills/.
Stage exactly that file alongside .mcp.json in both the sync target and the
artifact stage, treat assets as a native Devin surface, and add a
devin.assets.icon_exists conformance check so the extracted archive proves
every manifest-relative asset is present.
@ericjuta
ericjuta merged commit 9a77d04 into main Sep 10, 2026
7 checks passed
@ericjuta
ericjuta deleted the fix/devin-archive-icon branch September 10, 2026 15:58
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