feat(core): remix published Square games into a new game - #140
Merged
Conversation
feizhenhua
force-pushed
the
feat/remix-square-games
branch
from
June 24, 2026 14:26
88cb651 to
c933c53
Compare
Add a native Remix tool that downloads the source of one or more published Paean Apps Square games by hash (resolve -> remix -> export-zip -> extract), then scaffolds a new project with a clide.json remix graph, LICENSE, and .clideignore. Records lineage in both the tree-compatible `remix.parent` and the multi-parent `remix.parents[]` graph (role + weight) so upstream creators can be credited. Wire it as a default built-in: registry registration, the `remix` built-in skill prompt, the Remix wire-tool schema, permission lists (plan-blocked + confirm-by-default, matching Publish), and the discovery hint map. Add skills/publish and skills/remix playbook docs. The Paean token stays in-process; zip extraction is zip-slip safe. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
feizhenhua
force-pushed
the
feat/remix-square-games
branch
from
June 24, 2026 14:30
c933c53 to
db262ac
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a native Remix tool (peer to the existing Publish tool) plus the wiring to make
remixa default built-in skill for the Deeptide agent.RemixTool(crates/deeptide-core/src/tools/remix.rs): download the source of one or more published Paean Apps Square games by hash — resolve →POST /square/apps/:hash/remix→GET /v2/workspace/:ws/export/zip→ zip-slip-safe extraction into.remix-sources/<hash>/. Scaffoldsclide.json,LICENSE,.clideignore.clide.json: tree-compatibleremix.parent(mirrors the backend's single-parent field) and the fullremix.parents[]DAG (each upstream with its borrowedrole+ revenueweight), so upstream creators can be credited.remixbuilt-in skill prompt (dry-run → confirm → build → publish), theRemixwire-tool schema, permission lists (plan-blocked + confirm-by-default, matching Publish), and the discovery hint map.skills/publishandskills/remixplaybooks +skills/README.md.Accepted source forms: bare hashKey,
hash.8x.gg,hash.clide.app,https://hash.clide.app/,https://8x.gg/hash, orhash=role(e.g.h1=gameplay h2=art h3=theme).Security
enclosed_name()(rejects absolute paths /..traversal)..remix-sources/andclide.jsonare excluded from publishing.Verification
cargo build(full workspace) ✅cargo test -p deeptide-core— 556 lib + all integration tests pass (incl. built-in-skills catalog and tool-schema assertions) ✅cargo clippy -p deeptide-core— clean ✅🤖 Generated with Claude Code