Files
harness/.gitignore
T
sausheong eb4fa67976 fix: harden runtime against panics/races, close path-traversal and fail-open gaps
- Runtime.Run rejects concurrent invocations instead of racing on shared state; panics in tools, hooks, and permission checkers are recovered and surfaced as errors/denials instead of crashing the loop
- AgentSpec.Loop now actually overrides RuntimeDeps.AgentLoop per-agent, as documented
- session.Store validates agent ID / session key as single path components, preventing traversal outside the session directory
- ValidatePathInWorkDir resolves symlinks on the target itself, not just its parent, closing a workspace-escape gap
- bash tool now fails closed on an unrecognized ExecPolicy.Level instead of allowing everything
- browser tool rejects unknown actions instead of silently no-op'ing

Bump README to v0.3.4 and document the AgentSpec.Loop override semantics.
2026-08-02 10:14:20 +08:00

46 lines
743 B
Plaintext

# Documentation: only root README.md, developer.md, and example KB packs are tracked
*.md
!/README.md
!/developer.md
!/examples/*/kb/
!/examples/*/kb/*.md
/docs/
# Other prose/document formats
*.txt
*.rst
*.adoc
*.pdf
*.docx
# Go build artifacts
*.exe
*.test
*.out
*.prof
*.bench
# Compiled example binaries. `go build ./examples/<name>/` puts the binary
# in the current dir — could be the example dir or the repo root depending
# on where you invoked it. Cover both.
/examples/*/[a-z]*-agent
/examples/minimal/minimal
/data-agent
/lta-agent
/minimal
/support-agent
# Editor / OS
.DS_Store
.idea/
.vscode/
*.swp
*~
# Example runtime artifacts (audit logs, scratch dirs, etc.)
support-agent-audit.jsonl
/_scratch/
# Env
.env
.env.local