Yeachan-Heo
667772e3b8
Keep local pre-push gate output machine-clean
...
The ROADMAP #694 local pre-push gate should catch stale Rust build breakage without polluting stdout that callers may reserve for structured output. Route the roadmap ID pre-check through stderr like the build gate messages.
Constraint: ROADMAP #693-#695 verification already covers typed analog phase errors, the cargo build gate, and startup preflight warnings; this change only fixes the failing pre-push hook contract found during G013 validation.
Rejected: Reworking hook installation or branch-protection policy | outside the local repository change surface available from this worktree.
Confidence: high
Scope-risk: narrow
Directive: Keep pre-push status/progress output on stderr so stdout stays available for machine callers.
Tested: python3 -m pytest tests/test_pre_push_hook_contract.py -q; cargo test --manifest-path rust/Cargo.toml -p claw-analog rag_response -- --nocapture; cargo test --manifest-path rust/Cargo.toml -p runtime startup_preflight -- --nocapture; python3 scripts/validate_cc2_board.py --board .omx/cc2/board.json; cargo fmt --manifest-path rust/Cargo.toml --all -- --check; cargo build --manifest-path rust/Cargo.toml --workspace --locked
Not-tested: full cargo test --workspace
2026-05-27 00:38:00 +00:00
YeonGyu-Kim
e628b4bb68
fix( #784 ): export --output missing-value and extra-positional errors now return typed error_kind + non-null hint
2026-05-27 08:07:32 +09:00
YeonGyu-Kim
81fe0ccbb7
fix( #783 ): init JSON envelope now includes hint and already_initialized fields for orchestrator parity
2026-05-27 08:04:15 +09:00
YeonGyu-Kim
32c9276fdb
fix( #782 ): acp unsupported invocation now returns non-null hint with newline-delimited remediation text
2026-05-27 07:37:26 +09:00
YeonGyu-Kim
16c1117af6
fix( #781 ): sub-classify api_auth_error/api_rate_limit_error from api_http_error; add fallback_hint_for_error_kind for hint-less API errors
2026-05-27 07:34:57 +09:00
YeonGyu-Kim
d9844cfe8d
fix( #780 ): classifier arm ordering bug — legacy_session_no_workspace_binding and no_managed_sessions shadowed by generic session_load_failed arm
2026-05-27 05:34:49 +09:00
YeonGyu-Kim
364e7909f4
fix( #779 ): resumed /skills invocation returns interactive_only error_kind + non-null hint
2026-05-27 05:09:07 +09:00
YeonGyu-Kim
fded4f6b11
fix( #778 ): doctor check JSON objects now include hint field with stable remediation text for warn/fail checks
2026-05-27 05:07:02 +09:00
YeonGyu-Kim
e02030364d
fix( #777 ): resumed /plugins mutations return interactive_only error_kind + non-null hint instead of unknown+null
2026-05-27 04:44:06 +09:00
YeonGyu-Kim
2684737d9e
fix( #776 ): resume command errors now return typed error_kind + non-null hint (invalid_history_count, session action errors)
2026-05-27 04:39:43 +09:00
YeonGyu-Kim
028998d040
test( #775 ): integration tests for #769-#771 interactive-only guards and #774 hint fields; fix stale classifier unit test string
2026-05-27 04:03:52 +09:00
YeonGyu-Kim
c760a49c47
fix( #774 ): agents/plugins/mcp unknown-subcommand errors now include non-null hint
2026-05-27 03:37:00 +09:00
YeonGyu-Kim
727a1ea4a3
fix( #773 ): config --output-format json now surfaces deprecation warnings in warnings[] array instead of only stderr text
2026-05-27 03:05:14 +09:00
YeonGyu-Kim
212f0b2ad4
fix( #772 ): slash command aliases now resolve to canonical forms in interactive_only guidance
2026-05-27 02:37:17 +09:00
YeonGyu-Kim
bf212b986d
fix( #771 ): init rejects extra args; usage/stats/fork return interactive_only instead of credential check
2026-05-27 02:33:55 +09:00
YeonGyu-Kim
3a1d88386c
fix( #770 ): cost/clear/memory/ultraplan/model with args now return interactive_only instead of falling to credential check
2026-05-27 02:10:41 +09:00
YeonGyu-Kim
9e1be05634
fix( #769 ): claw session <arg> now returns interactive_only instead of falling to credential check
2026-05-27 02:05:14 +09:00
YeonGyu-Kim
b778d4e3d4
fix( #768 ): --resume non-slash trailing arg now has error_kind:invalid_resume_argument + hint
2026-05-27 01:35:46 +09:00
YeonGyu-Kim
89735dbd33
fix( #766 ): claw diff extra args now classified as unexpected_extra_args with hint; track #767 session subcommand gap
2026-05-27 01:33:24 +09:00
YeonGyu-Kim
d29a8e216b
fix( #765 ): login/logout removed_subcommand now has error_kind + non-null hint
2026-05-27 01:28:35 +09:00
YeonGyu-Kim
4ea255ca6a
fix( #764 ): config_parse_error now populates hint field via Display newline delimiter
2026-05-27 01:23:00 +09:00
YeonGyu-Kim
c86dc73d8c
fix( #763 ): config JSON parse errors now classify as config_parse_error
2026-05-27 01:16:04 +09:00
YeonGyu-Kim
88ce181031
test( #762 ): classify_error_kind now covers all 23 classifier arms (was 8 of 23)
2026-05-27 00:33:11 +09:00
YeonGyu-Kim
d83de563c1
fix( #761 ): mcp server_not_found and skill_not_found envelopes now include hint field
2026-05-27 00:03:53 +09:00
YeonGyu-Kim
7fa81b5dae
fix( #760 ): agent_not_found and plugin_not_found envelopes now include hint field
2026-05-26 23:36:30 +09:00
YeonGyu-Kim
ef31328aab
fix( #759 ): validate_model_syntax error strings now use newline separator so hint is non-null
2026-05-26 23:04:04 +09:00
YeonGyu-Kim
b8b3af6fc9
fix( #758 ): --cwd, --date, --session missing-value errors now use missing_flag_value prefix + hint
2026-05-26 22:34:18 +09:00
YeonGyu-Kim
02d77ae1f1
fix( #757 ): --permission-mode invalid and --allowedTools missing now emit typed error_kind and hint
2026-05-26 22:04:00 +09:00
YeonGyu-Kim
4df146188f
fix+test( #756 ): missing/invalid flag-value errors now emit typed error_kind and non-null hint
2026-05-26 21:37:28 +09:00
YeonGyu-Kim
0e8a449ea9
fix+test( #755 ): -p consumes exactly one token; flags after prompt text now parse normally
2026-05-26 21:27:39 +09:00
YeonGyu-Kim
c70312bd04
fix( #754 ): missing_credentials hint now newline-delimited so JSON hint field is non-null
2026-05-26 21:23:03 +09:00
YeonGyu-Kim
e93271356f
fix+test( #753 ): claw -p (no arg) parity with #750 : error_kind:missing_prompt with non-null hint
2026-05-26 20:46:27 +09:00
YeonGyu-Kim
cfc26729cf
fix( #752 ): cli_parse unrecognized-arg errors now emit non-null hint for all subcommands
2026-05-26 20:41:12 +09:00
YeonGyu-Kim
ddc71b5620
test( #751 ): regression guard for #750 prompt no-arg error_kind and hint contract
2026-05-26 20:05:34 +09:00
YeonGyu-Kim
ac925ed41c
fix( #750 ): claw prompt (no arg) now emits error_kind:missing_prompt with non-null hint
2026-05-26 20:03:14 +09:00
YeonGyu-Kim
2dfb7af66e
fix+test( #749 ): compact interactive-only hint now non-null; extend compact JSON test for hint contract
2026-05-26 19:38:09 +09:00
YeonGyu-Kim
3975f2b3ab
fix( #748 ): mcp unknown subcommand now emits error_kind:unknown_mcp_action matching agents/plugins parity
2026-05-26 19:35:55 +09:00
YeonGyu-Kim
04eb661e57
test( #747 ): regression guard for #745 bare slash command hint contract (issue/pr/commit)
2026-05-26 19:06:59 +09:00
YeonGyu-Kim
18e7744e42
fix( #746 ): non-TTY interactive-only error populates hint field via newline split
2026-05-26 19:04:56 +09:00
YeonGyu-Kim
3c5459a33b
fix( #745 ): bare slash command guidance adds newline before hint; claw issue/pr/commit etc now have non-null hint
2026-05-26 18:36:21 +09:00
YeonGyu-Kim
92e053a133
test( #744 ): regression guard for #741 config unsupported-section hint contract
2026-05-26 18:06:35 +09:00
YeonGyu-Kim
1d5db5f77d
fix( #743 ): plugins help --output-format json now emits usage envelope matching agents/mcp/skills help shape; resolves #420
2026-05-26 18:04:04 +09:00
YeonGyu-Kim
2036f0bd4c
test( #742 ): add git-fixture test for diff changed_file_count dedup; fixes unreachable branch in #740 coverage
2026-05-26 17:41:02 +09:00
YeonGyu-Kim
6e78c1fc8b
fix( #741 ): config unsupported_config_section error now populates hint field; list/show/help verbs get usage hint
2026-05-26 17:38:02 +09:00
YeonGyu-Kim
5d072d21e9
test( #740 ): diff JSON contract test now asserts changed_file_count field behavior per #733
2026-05-26 16:45:02 +09:00
YeonGyu-Kim
d5f0d6ed3e
fix( #739 ): skills unknown-subcommand JSON path no longer emits double error envelope; help action not propagated as Err
2026-05-26 16:38:17 +09:00
YeonGyu-Kim
4c3cb0f347
fix( #738 ): interactive-only slash command error adds newline before hint; hint field now non-null with remediation text
2026-05-26 16:06:38 +09:00
YeonGyu-Kim
c592313d9a
test( #737 ): add boot_preflight details non-null-value regression guard to output_format_contract
2026-05-26 15:05:00 +09:00
YeonGyu-Kim
ad982d20c2
fix( #736 ): boot_preflight doctor details[] null-value entries: add double-space separator to Required binary, Last failed boot, MCP/Plugin eligible format strings
2026-05-26 14:33:18 +09:00
YeonGyu-Kim
b3242e8c04
fix( #735 ): classify_error_kind: /compact and other interactive-only slash commands now emit error_kind:interactive_only not unknown
2026-05-26 14:08:53 +09:00