Merge pull request #33 from living-ip/codex/teleo-agent-transcript-readwrite-20260702
Some checks are pending
CI / lint-and-test (push) Waiting to run
Some checks are pending
CI / lint-and-test (push) Waiting to run
Allow Telegram agents to write transcript dumps
This commit is contained in:
commit
8ba76ec128
2 changed files with 10 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ ReadWritePaths=/opt/teleo-eval/pipeline/pipeline.db-shm
|
|||
# Agent-specific learnings (all agents share the worktree write path)
|
||||
ReadWritePaths=/opt/teleo-eval/workspaces/main/agents
|
||||
|
||||
# Hourly chat transcript snapshots
|
||||
ReadWritePaths=/opt/teleo-eval/transcripts
|
||||
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
EnvironmentFile=-/opt/teleo-eval/secrets/teleo-agent-%i.env
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,13 @@ def test_teleo_agent_template_supports_optional_per_agent_env_file():
|
|||
assert "EnvironmentFile=-/opt/teleo-eval/secrets/teleo-agent-%i.env" in unit
|
||||
|
||||
|
||||
def test_teleo_agent_template_allows_transcript_dumps_under_strict_fs():
|
||||
unit = (REPO_ROOT / "systemd" / "teleo-agent@.service").read_text()
|
||||
|
||||
assert "ProtectSystem=strict" in unit
|
||||
assert "ReadWritePaths=/opt/teleo-eval/transcripts" in unit
|
||||
|
||||
|
||||
def test_deploy_scripts_restart_wallet_test_agent_when_present():
|
||||
auto_deploy = (REPO_ROOT / "deploy" / "auto-deploy.sh").read_text()
|
||||
manual_deploy = (REPO_ROOT / "deploy" / "deploy.sh").read_text()
|
||||
|
|
|
|||
Loading…
Reference in a new issue