|
agent: bounded autonomy — scope boundary + observe-vs-act
navi_code had unwanted "free flight": an observe request ("look at a
directory") triggered the full Phase 3 plan with milestones + auto-todo,
and goal_anchoring then drove the agent to finish those steps, climbing
into sibling projects and executing milestone docs it found.
Two toggleable, default-off profile flags (on for navi_code):
- scope_boundary_enabled: injects a standing system message keeping the
agent within the literally requested scope; forbids acting on
discovered TODO/roadmap/milestone docs (report only).
- observe_skips_plan_enabled: Phase 1 classifies MODE: observe|act; an
observe request skips Phase 2/3 — no multi-step plan, no auto-todo, no
"execute step by step" prompt. The agent just gathers info and answers.
Independent of force_plan (observe on the first message still skips).
Free flight stays reproducible by flipping both flags off.
Co-Authored-By: Claude <noreply@anthropic.com>
|
|---|
|
|
| navi/api/routes/admin.py |
|---|
| navi/core/context_builder.py |
|---|
| navi/core/planning.py |
|---|
| navi/profiles/base.py |
|---|
| navi/profiles/loader.py |
|---|
| navi/profiles/navi_code/config.json |
|---|
| tests/unit/core/test_context_builder.py |
|---|
| tests/unit/core/test_planning.py |
|---|
| tests/unit/profiles/test_base.py |
|---|