Project
cortex
Description
cortex plugin new --advanced generates an advanced lib.rs that references TUI hook APIs (for example widget registration patterns), but the generated Cargo.toml is byte-for-byte identical to the basic plugin template. Advanced code may imply additional dependencies or at least a different dependency story; as written, developers get no signal in the manifest about what is required versus provided by the host runtime. This creates onboarding friction and makes it harder to understand whether the scaffold is supposed to compile as-is in isolation.
Error Message
Debug Logs
System Information
Screenshots
https://github.com/springoliver/bounty_challenge_report_image/blob/main/49110.png
Steps to Reproduce
- Open a terminal in a repo where cortex is configured.
- Run
cortex plugin new --advanced.
- Compare output/behavior with the issue narrative for this ID.
Expected Behavior
The reporter expects cortex to match documented CLI/TUI contracts for this flow—correct output, honest flags/help, and no silent contradictions—consistent with the problem statement at the top of this rewrite.
Actual Behavior
cortex plugin new --advanced generates an advanced lib.rs that references TUI hook APIs (for example widget registration patterns), but the generated Cargo.toml is byte-for-byte identical to the basic plugin template. Advanced code may imply additional dependencies or at least a different dependency story; as written, developers get no signal in the manifest about what is required versus provided by the host runtime. This creates onboarding friction and makes it harder to understand whether the scaffold is supposed to compile as-is in isolation.
Additional Context
No response
Project
cortex
Description
cortex plugin new --advancedgenerates an advancedlib.rsthat references TUI hook APIs (for example widget registration patterns), but the generatedCargo.tomlis byte-for-byte identical to the basic plugin template. Advanced code may imply additional dependencies or at least a different dependency story; as written, developers get no signal in the manifest about what is required versus provided by the host runtime. This creates onboarding friction and makes it harder to understand whether the scaffold is supposed to compile as-is in isolation.Error Message
Debug Logs
System Information
Screenshots
https://github.com/springoliver/bounty_challenge_report_image/blob/main/49110.png
Steps to Reproduce
cortex plugin new --advanced.Expected Behavior
The reporter expects cortex to match documented CLI/TUI contracts for this flow—correct output, honest flags/help, and no silent contradictions—consistent with the problem statement at the top of this rewrite.
Actual Behavior
cortex plugin new --advancedgenerates an advancedlib.rsthat references TUI hook APIs (for example widget registration patterns), but the generatedCargo.tomlis byte-for-byte identical to the basic plugin template. Advanced code may imply additional dependencies or at least a different dependency story; as written, developers get no signal in the manifest about what is required versus provided by the host runtime. This creates onboarding friction and makes it harder to understand whether the scaffold is supposed to compile as-is in isolation.Additional Context
No response