<feed xmlns='http://www.w3.org/2005/Atom'>
<title>agent686/src/session.rs, branch 0.12.1</title>
<subtitle>Small agent harness with support for GNU/Linux x86_64 and i686 platforms.
</subtitle>
<id>https://git.2137697.xyz/agent686/atom?h=0.12.1</id>
<link rel='self' href='https://git.2137697.xyz/agent686/atom?h=0.12.1'/>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/'/>
<updated>2026-11-23T19:36:22Z</updated>
<entry>
<title>License</title>
<updated>2026-11-23T19:36:22Z</updated>
<author>
<name>salmonik</name>
<email>salmon@2137697.xyz</email>
</author>
<published>2026-11-23T19:36:22Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=e803aa488c3a95193d3e3ae358b640c299f8f121'/>
<id>urn:sha1:e803aa488c3a95193d3e3ae358b640c299f8f121</id>
<content type='text'>
</content>
</entry>
<entry>
<title>0.11.0: /undo via git checkpoints, /compact, provider presets, leniency, system CA</title>
<updated>2026-11-18T11:45:05Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-18T11:45:05Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=226c44dc770dd0ea42e322af4d0edd6c14ce14db'/>
<id>urn:sha1:226c44dc770dd0ea42e322af4d0edd6c14ce14db</id>
<content type='text'>
- /undo resets to a git checkpoint taken before each turn
- /compact summarises and rewrites the transcript (ADR 0003, the one sanctioned rewrite)
- --provider presets for six OpenAI-compatible gateways, local ones lenient by default
- --lenient and --system-ca
- proxies already honoured via ureq; documented
</content>
</entry>
<entry>
<title>0.9.1: correctness fixes from the audit</title>
<updated>2026-11-18T11:28:29Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-18T11:28:29Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=84e70c0e73460e5db1297c47d02d9b76802bfdf7'/>
<id>urn:sha1:84e70c0e73460e5db1297c47d02d9b76802bfdf7</id>
<content type='text'>
- 64 MiB limit detected by file length, so pipelines and redirects are reported
- bash temp files removed on every path via a scope guard
- validate requires content/new as the schemas declare (present, may be empty)
- Session::open folds in model-switch records; resume matches --list
- combining mark at a wrap boundary no longer counts as a new row
- --flag=value accepted; flag-shaped values rejected
- dead code removed; last_reply folded into open (one read per resume)
</content>
</entry>
<entry>
<title>0.8.0: comp.sh reports how to build for the machine it runs on</title>
<updated>2026-11-15T17:55:21Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-15T17:54:00Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=53c85c99647ded9fab199c97b9383744e2524364'/>
<id>urn:sha1:53c85c99647ded9fab199c97b9383744e2524364</id>
<content type='text'>
Detects distro, arch, libc/glibc, CPU baseline and toolchain, prints the target
triple, build command, cfg values, and the portable paths (static musl, older
glibc image, cargo-zigbuild). --run builds and checks; --musl and --old-glibc
select the other plans.

Verified: native gnu build needs GLIBC_2.34; static musl build runs on Debian 10
and reaches the live API.
</content>
</entry>
<entry>
<title>0.7.0: resume shows where you left off; no approval for unparsable calls</title>
<updated>2026-11-15T17:00:12Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-15T17:00:12Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=8ae5bd48cf233315b5f36a7a6b39002a5e77f74b'/>
<id>urn:sha1:8ae5bd48cf233315b5f36a7a6b39002a5e77f74b</id>
<content type='text'>
- --continue prints the last answer, or the last reasoning block if there was none
- tool arguments are validated before prompting, so an empty bash call becomes an
  error for the model instead of a blank approval
- empty placeholder tool calls are dropped and reported
- sessions tolerate invalid UTF-8 lines from a torn write
- AGENT686_DEBUG_STREAM=1 dumps SSE frames
</content>
</entry>
<entry>
<title>0.6.0: transcript viewer, turn summary, yolo floor, model/version records</title>
<updated>2026-11-15T16:16:08Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-15T16:16:08Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=14e56289391ea95b493c2a20c87f8d88047aa051'/>
<id>urn:sha1:14e56289391ea95b493c2a20c87f8d88047aa051</id>
<content type='text'>
- --show renders a session without locking it
- status line summarises writes, commands and denials per turn
- sessions record harness version; model switches are appended and listed
- --yolo refuses $HOME and / unless AGENT686_ALLOW_HOME=1
</content>
</entry>
<entry>
<title>0.5.3: session locking, UTF-8 and size guards for edit, correct character widths</title>
<updated>2026-11-15T16:14:22Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-15T16:13:24Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=b7b01494926a134f39daf8102281889702ddf62b'/>
<id>urn:sha1:b7b01494926a134f39daf8102281889702ddf62b</id>
<content type='text'>
- exclusive flock on session files
- edit refuses non-UTF-8 and &gt;64 MiB files with actionable messages
- editor uses unicode-width, expands tabs, handles resize
</content>
</entry>
<entry>
<title>0.4.5: CLI validation, instruction scope, resume context, prompt hygiene</title>
<updated>2026-11-15T14:41:46Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-15T14:41:46Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=3b1351018d3184caa5b5ca25cc13e5da1fc02229'/>
<id>urn:sha1:3b1351018d3184caa5b5ca25cc13e5da1fc02229</id>
<content type='text'>
- session ids validated; missing flag values and conflicting flags are usage errors
- -- terminator; usage goes to stderr
- doctor sends a real session header
- sessions record their starting cwd and warn when resumed elsewhere
- AGENTS.md stops at the git root; no parent-directory injection
- typeahead flush, Ctrl-C during prompts, NO_COLOR/TERM=dumb
</content>
</entry>
<entry>
<title>0.4.3: kill process groups, bound bash output, keep the key out of tool env</title>
<updated>2026-11-15T14:38:57Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-15T14:38:57Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=c7afd1ea752aeff0310ac7c6b78d091ac360c760'/>
<id>urn:sha1:c7afd1ea752aeff0310ac7c6b78d091ac360c760</id>
<content type='text'>
- setsid-style process group kill on timeout and on Ctrl-C
- 64 MiB RLIMIT_FSIZE so a runaway command cannot fill /tmp
- OPENCODE_API_KEY removed from child environment
- sessions 0600/0700, history 0600 and trimmed
</content>
</entry>
<entry>
<title>Robustness: retry with backoff, explained errors, --list, --session creates</title>
<updated>2026-11-15T13:59:31Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-15T13:59:31Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/agent686/commit/?id=f192c40b2a3643a9ab97303310db8dbc7547ee35'/>
<id>urn:sha1:f192c40b2a3643a9ab97303310db8dbc7547ee35</id>
<content type='text'>
- four attempts on 408/425/429/500/502/503/504 and transport errors, honouring Retry-After
- backoff is interruptible so Ctrl-C is not held for up to 8s
- context overflow, auth failure and rate limit messages say what to do
- --list shows id/model/messages/age without needing a key
- --session &lt;id&gt; creates the session when the id does not exist
- probes recorded: session header is mandatory, consecutive user messages allowed
</content>
</entry>
</feed>
