Repository navigation
docs: add a dependency evidence recipe for CLI templates - #353
Open
georgeatparallel wants to merge 1 commit into
Open
georgeatparallel wants to merge 1 commit into
georgeatparallel wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
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
.c2pconfigvariables 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.