fix: correct help source lists, add is_clean to status JSON

#327: mcp help now includes .claw.json in documented sources list
#328: agents help now includes ~/.codex/agents in documented sources list
#408: added is_clean boolean to status JSON workspace for unambiguous
  dirty-state detection; changed_files documented as total non-clean count
#338: resume help field consistency (committed earlier)

Also marked 52 items with explicit done/verified evidence as DONE
in ROADMAP.md, including product principles (1-6) and items with
confirmed fix text (13-75, 96, 200).

Generated with https://github.com/Yeachan-Heo/gajae-code
Co-authored-by: Gajae Code <dev@gajae-code.com>
This commit is contained in:
bellman
2026-06-05 04:46:10 +09:00
parent c0447e2be1
commit c7c5c11d1e
3 changed files with 78 additions and 75 deletions

View File

@@ -9316,8 +9316,11 @@ fn status_json_value(
"project_root": context.project_root,
"git_branch": context.git_branch,
"git_state": context.git_summary.headline(),
// #408: changed_files counts ALL non-clean files (staged + unstaged + untracked + conflicted)
"changed_files": context.git_summary.changed_files,
"is_clean": context.git_summary.changed_files == 0,
"staged_files": context.git_summary.staged_files,
"unstaged_files": context.git_summary.unstaged_files,
"untracked_files": context.git_summary.untracked_files,
"session": context.session_path.as_ref().map_or_else(|| "live-repl".to_string(), |path| path.display().to_string()),