This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-core/pkg/agent
Levi Neely 47f8eed119 agent: remove unsandboxed ! shell escape
The ! prefix allowed arbitrary command execution without sandbox
protection. Since agents share the same Submit path as users, this
was a sandbox bypass vector. Remove it entirely; users who need
shell access can use execute_code (sandboxed) or run commands
directly in their terminal.
2026-05-21 15:18:02 +02:00
..
commands.go agent: remove unsandboxed ! shell escape 2026-05-21 15:18:02 +02:00
core.go agent: remove unsandboxed ! shell escape 2026-05-21 15:18:02 +02:00
core_test.go agent: remove unsandboxed ! shell escape 2026-05-21 15:18:02 +02:00
cost.go core: Anthropic prompt caching and cache-aware cost accounting 2026-04-28 12:01:14 +02:00
cost_test.go core: caching risk-reduction tests 2026-04-28 14:33:29 +02:00
fifo_test.go agent: add PromptFIFO unit tests 2026-04-11 10:03:47 +02:00
hooks.go speed up agent tests 2026-05-04 11:58:01 +02:00
loop.go truncation: avoid mid-rune cut with ToValidUTF8 2026-05-17 12:59:49 +02:00
loop_cache_test.go refactor agent core: extract runtime, simplify commands 2026-05-21 14:42:45 +02:00
loop_errlimit_test.go refactor agent core: extract runtime, simplify commands 2026-05-21 14:42:45 +02:00
loop_maxsteps_helpers_test.go state: expose estimateTokens/stripCold on interface; remove type assertion 2026-05-17 11:06:45 +02:00
loop_maxsteps_test.go loop: replace plan file re-injection with structured TaskState re-injection 2026-05-17 10:14:44 +02:00
loop_parallel_test.go refactor agent core: extract runtime, simplify commands 2026-05-21 14:42:45 +02:00
loop_texttool_test.go refactor agent core: extract runtime, simplify commands 2026-05-21 14:42:45 +02:00
loop_truncate_test.go refactor agent core: extract runtime, simplify commands 2026-05-21 14:42:45 +02:00
loop_turnerror_test.go refactor agent core: extract runtime, simplify commands 2026-05-21 14:42:45 +02:00
prompt_resolver.go add OLLIE_DEFAULT_AGENT support and update agent commands 2026-05-21 12:33:18 +02:00
runtime.go refactor agent core: extract runtime, simplify commands 2026-05-21 14:42:45 +02:00
session.go session persistence: /save, /resume, cwd-scoped /sessions 2026-05-21 15:08:16 +02:00
state.go state: expose estimateTokens/stripCold on interface; remove type assertion 2026-05-17 11:06:45 +02:00
types.go agent: publish events on pubsub bus, self-drain queue 2026-05-20 16:45:32 +02:00
waitchange_test.go agent: refactor prompt architecture and session lifecycle 2026-04-25 19:38:18 +02:00