Skip to content

docs: add a dependency evidence recipe for CLI templates - #353

Open
georgeatparallel wants to merge 1 commit into
mufeedvh:mainfrom
georgeatparallel:george/parallel-mcp-code2prompt-c02dcf10
Open

georgeatparallel wants to merge 1 commit into
mufeedvh:mainfrom
georgeatparallel:george/parallel-mcp-code2prompt-c02dcf10

Conversation

@georgeatparallel

Copy link
Copy Markdown

The template tutorial explains custom variables but has no runnable example that keeps a verified dependency excerpt with its original URL while preserving the selected project files. This adds a CLI recipe for a toy Rust project pinned to serde_json 1.0.145. Existing .c2pconfig variables carry the source and excerpt, and a Handlebars conditional presents them only when both are supplied.

Validation: built the native CLI from locked source and ran all five documented shell blocks. The generated artifact retains the exact original URL once. Complete evidence, both fields empty, URL empty, and excerpt empty preserve the same two selected file bodies and unchanged fixture hashes. The default CLI route was also checked. Live anonymous Unified MCP search and direct source-page verification were run separately with public dependency terms only; the CLI recipe renders manually supplied evidence locally.

The tutorial and linked configuration route render with HTTP 200 in Astro development mode. The production website build fails during prerendering with “The requested module 'nanoid/non-secure' does not provide an export named 'default'.” The same failure reproduces on unmodified main at d762d9b after its own frozen install. Production generation remains an upstream dependency gate. This recipe is English-only; the de, es, fr, ja, ru, and zh copies do not contain it.

I work at Parallel. The optional discovery step links to Parallel MCP setup; discovery and source verification remain manual. This documentation was prepared with AI assistance.

This branch has not been deployed

No deployments
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