Bug Report
Version: cortex v0.0.7
Command: cortex feedback bug --include-logs <message>
Description
The --include-logs flag for cortex feedback bug and cortex feedback submit is advertised to "Include recent logs with the report", but is completely ignored — no logs are ever attached to the saved feedback entry.
Steps to Reproduce
$ cortex feedback bug --include-logs "test bug with logs"
Thank you for reporting this bug!
Your feedback helps us improve Cortex.
$ cat ~/.cortex/feedback/feedback-e58b10c2.json
{
"id": "e58b10c2-4b66-45b1-851b-ef9b14c9af30",
"timestamp": "2026-04-16T01:36:08Z",
"category": "bug",
"message": "test bug with logs"
}
Expected Behavior
The saved feedback JSON should include a logs field with recent log content when --include-logs is passed.
Actual Behavior
The saved JSON contains only id, timestamp, category, and message. No logs field is present, and no log files are read. The flag is silently accepted and ignored.
Screenshot (real binary output)

Root Cause
In src/cortex-cli/src/feedback_cmd.rs, the submit_feedback() function accepts include_logs: bool as a parameter but never uses it:
async fn submit_feedback(
category: &str,
message: &str,
session_id: Option<&str>,
include_logs: bool, // <-- received but never used
) -> Result<()> {
// ...
let entry = FeedbackEntry {
id: id.clone(),
timestamp: timestamp.clone(),
category: category.to_string(),
message: message.to_string(),
session_id: session_id.map(|s| s.to_string()),
// No logs field!
};
// include_logs is only used in tracing::info!() — never to read log files
tracing::info!("Feedback submitted: ..., include_logs={}", include_logs);
Ok(())
}
Additionally, FeedbackEntry struct has no logs field to store the log content.
File: src/cortex-cli/src/feedback_cmd.rs, submit_feedback() function (~line 342)
Bug Report
Version: cortex v0.0.7
Command:
cortex feedback bug --include-logs <message>Description
The
--include-logsflag forcortex feedback bugandcortex feedback submitis advertised to "Include recent logs with the report", but is completely ignored — no logs are ever attached to the saved feedback entry.Steps to Reproduce
Expected Behavior
The saved feedback JSON should include a
logsfield with recent log content when--include-logsis passed.Actual Behavior
The saved JSON contains only
id,timestamp,category, andmessage. Nologsfield is present, and no log files are read. The flag is silently accepted and ignored.Screenshot (real binary output)
Root Cause
In
src/cortex-cli/src/feedback_cmd.rs, thesubmit_feedback()function acceptsinclude_logs: boolas a parameter but never uses it:Additionally,
FeedbackEntrystruct has nologsfield to store the log content.File:
src/cortex-cli/src/feedback_cmd.rs,submit_feedback()function (~line 342)