NCBM
a54fa534f3
test/tools: clean shell confirm format test
2026-07-19 13:05:43 +08:00
NCBM
fa9f28687f
test/tools: fix shell confirm format test syntax
2026-07-19 13:02:24 +08:00
NCBM
95f277eda7
core/tools: shell confirm argv uses $(command); full -c body indented
2026-07-19 13:01:06 +08:00
NCBM
f13ea9f316
core/tools: soft-confirm file overwrite only, not partial edits
2026-07-19 03:05:01 +08:00
NCBM
f51d11d46f
core/tools/process: add run_command_batch with pipe_out and mix_stderr
2026-07-19 02:46:21 +08:00
NCBM
b1a8c23582
core/tools: soft-confirm shells, REPLs, and python/bash -c one-liners
...
classify_danger prompts on interactive shell/runtime launches and any -c
code (with argv + snippet preview). Confirm deny can attach a user comment
for the model. Restores ToolRegistry.execute after WIP breakage.
2026-07-18 17:41:44 +08:00
NCBM
aaf7fe8e7b
ci/lint: ruff format pass and fix compact seed test typing
...
Apply pending ruff format; narrow AssistantChatMessage.content before
membership checks so basedpyright accepts Unset|None unions.
2026-07-15 11:36:01 +08:00
NCBM
510dd67a54
core/tools: classify destructive tools and clarify policy denies
...
Add classify_danger for delete/move/overwrite paths, get_path_denylist,
and clearer path/command denial messages.
2026-07-14 23:30:02 +08:00