Repository navigation
Conversation
…ool mode (ADR 0348) - Add persistent per-owner Python 3 REPL worker (src/python_repl.zig, src/python_repl_worker.py) with isolated CLOEXEC protocol fds, per-call fd 1/2 capture, AST trailing-expression evaluation + _ binding, SIGALRM / watchdog timeouts, and python_repl folded catalog registration (load_tool_schemas / direct-call auto-load). - Add opt-in --unharnessed / --no-unharnessed, GRAFF_UNHARNESSED, .harness/settings.json "unharnessed", REPL /unharnessed [on|off|reset|status], --json set_unharnessed, and ACP configOptions unharnessed (Off / On) switching the root catalog to a single python tool and compact single-tool prompt (ADR 0348). - Regenerate SDKs and add unit and Tier-2 regressions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/python_repl.zig,src/python_repl_worker.py) using isolatedCLOEXECprotocol fds, per-call fd1/2capture, AST trailing-expression evaluation with_binding,SIGALRMand watchdog timeouts, andpython_replfolded registration viaload_tool_schemas/ direct-call auto-load.--unharnessed/--no-unharnessed,GRAFF_UNHARNESSED,.harness/settings.json"unharnessed", REPL/unharnessed [on|off|reset|status],--jsonset_unharnessed, and ACPconfigOptionsid: "unharnessed") exposing only thepythontool and a single-tool system prompt (docs/adr/0348-persistent-python-repl-and-unharnessed-mode.md).Verification
zig build test(4028 tests passed)python3 spec/conformance.pyscripts/eval-tier1.sh(all gates passed includingsdk)python3 scripts/eval-tier2.py --port 0 --only python-repl-persistent-session-state --only unharnessed-mode-single-tool-and-json-control