368 Commits
Author SHA1 Message Date
dev-agent c1f3d9dafb Merge pull request 'The call record: every model call, for the operator's study (M6.6a)' (#179) from call-record into main
CI / checks (push) Successful in 3m21s
CI / e2e (push) Skipped
2026-10-24 13:10:31 +00:00
dev-agent 0d16b5b7d2 Merge pull request 'Benchmark Qwen3.8-Flash-Next against qwen3.8-27b' (#180) from bench-flash-next into main
CI / checks (push) Canceled after 0s
CI / e2e (push) Canceled after 0s
2026-10-24 13:10:30 +00:00
dev-agent 91d1c582ad Merge pull request 'Docs: the status page and the call record (#109)' (#178) from ui-spec into main
CI / e2e (push) Canceled after 0s
CI / checks (push) Canceled after 59s
2026-10-24 13:09:30 +00:00
dev-agent 6f07507420 Merge pull request 'Benchmark: workspaces are git repositories' (#177) from bench-git-workspace into main
CI / e2e (push) Canceled after 0s
CI / checks (push) Canceled after 12s
2026-10-24 13:09:21 +00:00
dongarandClaude Opus 5.5 3b614bd918 Benchmark Qwen3.8-Flash-Next against qwen3.8-27b
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m12s
CI / e2e (pull_request) Successful in 3m56s
Five runs per task through LiteLLM on the RTX 4090. qwen3.8-27b (thinking)
passed 36 of 40. Flash-Next was run thinking, at reasoning_effort low, and
with no thinking.

The first Flash-Next runs used non-git workspaces, where `git log` fails,
so their task hashes are older and the report marks them (old). On git
workspaces (#177), both thinking and lowthink passed 32 of 40; nothink
passed 12 of 40 on the old workspaces and was not rerun. qwen3.8-27b had no
git-caused failures, so it was not rerun.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-24 08:40:23 +00:00
dongarandClaude Opus 5.5 dd060566b2 The call record: every model call, for the operator's study (M6.6a)
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m54s
CI / e2e (pull_request) Successful in 4m20s
nisse-core records each model call of every agent into a file beside its
state store (<state>.calls.db), for the status page (L7, X6):

- the request body exactly as sent (never headers), the raw response with
  its reasoning, the model asked and the one that answered, time, tokens
  and llama-server's own prompt reuse (timings.cache_n);
- its work item, role, run and purpose: Driver.run and nisse-dev's
  delegation loop open runs, nested; compaction, expert consults, the
  classifier and the go-ahead reader label their calls;
- provenance, worked out in BudgetedClient by comparing the events at
  each stage: each event sent with its log id and content as sent, which
  a compaction replaced, which fitting shortened (by how much) and
  dropped.

Content is stored once by hash, compressed. It is diagnostic only: the
agent never reads it, a failed write is logged once and recording stops
while the call goes on, and the file is deleted when the agent starts,
so its layout never migrates; CallReader refuses a layout it doesn't
know. While recording, the system prompt ends with one sentence saying
so. `call_record: false` in either agent's YAML turns it off.

The benchmark records each run beside that run's own state store, and
`--keep-runs DIR` keeps both for the page.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-24 06:28:53 +00:00
dongarandClaude Opus 5.5 cba35eb7d4 Docs: runs going in circles end; agents are told they're recorded
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m47s
CI / e2e (pull_request) Successful in 4m30s
A run that repeats itself, or keeps getting the same correction, ends in
code as escalated instead of running to its turn cap (L2, M7.8), and the
page flags such runs (X6). While the call record is on, each system
prompt says so.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-24 06:14:15 +00:00
dongarandClaude Opus 5.5 5045faefad Docs: the call record is off per agent; the page exports nothing
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-24 06:11:25 +00:00
dongarandClaude Opus 5.5 d44581539b Docs: the status page and the call record (#109)
nisse-ui (X6) shows the operator each agent's work and, per item, a
walkthrough down to every model request and response, for studying how
context, compaction and memory work. It reads each agent's state store,
call record and memory folder through read-only mounts, so agent code is
unchanged and each agent stays the only writer of its state; it is
released with the agents and tested against stores their own code wrote.

The call record (L7) is new in nisse-core: every request as sent, the raw
response with its reasoning, timing, tokens, prompt reuse and each
message's provenance. It is diagnostic only, never read by the agent, and
deleted at start, so it never migrates.

Commands from the page, including a hold on a task or a whole agent, are
an open question (Part Q). The shared database first proposed in #109 is
dropped. The plan gets M6.6.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-24 06:07:11 +00:00
dongarandClaude Opus 5.5 7a57cef9ff Benchmark: the seed is a git repository's first commit
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 3m33s
CI / e2e (pull_request) Successful in 4m28s
The agent works in a clone, but benchmark workspaces were plain
directories, so a model that starts with `git log` failed two commands
in a row and was stopped as stuck within seconds (Flash-Next, 10 of 13
failures on 2026-10-24). The seed is now committed on main, locally and
on the build VM, and how a workspace is set up is part of each task's
hash, so earlier runs are reported as not comparable.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-24 02:44:22 +00:00
dev-agent 3caf4aab69 Merge pull request 'Docs: identity is Samba AD with Authelia, not LLDAP' (#176) from identity-samba into main
CI / checks (push) Successful in 3m0s
CI / e2e (push) Skipped
2026-10-20 23:19:31 +00:00
dev-agent 949a89f6a4 Merge pull request 'Log every model call's time and tokens' (#175) from call-timing into main
CI / checks (push) Canceled after 0s
CI / e2e (push) Canceled after 0s
2026-10-20 23:19:30 +00:00
dongarandClaude Opus 5.5 073e0caf1a Docs: rewrap the identity lines; M6.3 names only today's directory
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m12s
CI / e2e (pull_request) Successful in 4m0s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-20 23:11:47 +00:00
bot-claudeandClaude Opus 5.5 cf6058544f Docs: identity is Samba AD with Authelia, not LLDAP
LLDAP was retired on 2026-10-20 (infra/identity#3); agents' accounts are in
Samba AD, still signed in through Authelia.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012qTZm2xcsS8SGngGQ9369K
2026-10-20 23:11:35 +00:00
dongarandClaude Opus 5.5 31c97ccfb5 Log every model call's time and tokens
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m57s
CI / e2e (pull_request) Successful in 4m42s
Each call through BudgetedClient emits llm.call: seconds, input,
output and cached tokens, and the answering model when a fallback
answered; a failed call logs how long it ran before it failed.
Usage now carries the server's cached-prompt count on both routes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-20 23:07:18 +00:00
dev-agent bd05acb89d Merge pull request 'M7.6: nisse-review's image' (#171) from review-image into main
CI / checks (push) Successful in 3m13s
CI / e2e (push) Skipped
2026-10-20 22:48:03 +00:00
dongarandClaude Opus 5.5 bc25f54356 Plan: the status table says nisse-review runs from its image
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 1m48s
CI / e2e (pull_request) Successful in 4m53s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-20 03:14:25 +00:00
dongarandClaude Opus 5.5 2fb654f92b M7.6: nisse-review's image
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 1m49s
CI / e2e (pull_request) Successful in 4m0s
A `review` target in the Dockerfile: its own user (nisse-review, uid
10002), git for its clones, state and clones in /var/lib/nisse-review,
configuration at /etc/nisse-review, and only its own agent installed.
release.yml publishes gitea.dongar.net/dev/nisse-review beside nisse-dev,
at the same version. review-bringup.sh builds and runs the image, as
bringup.sh runs nisse-dev's.

The test stage adds an agent package its base lacks, without its
dependencies, since the suite's own code imports every agent's. Without
that, the tests over nisse-dev's image no longer import since
test_review_live arrived. tests/deploy/test_images.py checks the image and
that the test stage leaves what it installed as it was.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-20 00:05:31 +00:00
dev-agent 5277d7827b Merge pull request 'nisse-review marks a reply that settles its thread; the PR's author resolves it' (#169) from review-settled into main
CI / checks (push) Successful in 3m26s
CI / e2e (push) Skipped
2026-10-19 23:40:27 +00:00
dongarandClaude Opus 5.5 0694b47c34 nisse-dev: a settled reply posted top-level is no point to answer either
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m15s
CI / e2e (pull_request) Successful in 5m6s
nisse-review's review of #169: a reply quoting a top-level point, or one
Gitea refused on its line, arrives through list_comments, so answering it
would start the thank-you loop again. Also records what the live Gitea
showed: resolving is per comment, and resolving again is a 204.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-19 23:32:43 +00:00
dev-agent 9150c4ac92 Merge pull request 'CI: one e2e at a time across every PR' (#170) from e2e-one-at-a-time into main
CI / checks (push) Failing after 2m42s
CI / e2e (push) Skipped
2026-10-19 22:30:14 +00:00
dongarandClaude Opus 5.5 210f681ee5 CI: one e2e at a time across every PR
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m21s
CI / e2e (pull_request) Successful in 3m54s
Gitea now has two runners but there is one 4090. The e2e job joins one
concurrency group without cancel-in-progress, so a second PR's e2e waits
for the first. checks still run in parallel.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-19 22:23:39 +00:00
dev-agent 03023b18b0 Merge pull request 'The agent host's vault and SilverBullet (M5.4)' (#166) from agent-host-vault into main
CI / checks (push) Successful in 3m13s
CI / e2e (push) Skipped
2026-10-19 22:22:39 +00:00
dongarandClaude Opus 5.5 7cd2de6ab6 Merge main into agent-host-vault
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m0s
CI / e2e (pull_request) Successful in 6m27s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-19 22:10:22 +00:00
dongarandClaude Opus 5.5 33d030590d nisse-review marks a reply that settles its thread; the PR's author resolves it
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 1m58s
CI / e2e (pull_request) Successful in 7m41s
The reviewer is read-only (R3), so Gitea refuses it resolving a thread.
Now each reply says whether it settles its thread, and a settled reply
carries <!-- nisse-review: settled -->. nisse-dev, as the author, resolves
every comment on that thread's line when it watches the PR, and doesn't
take the settled reply as a point to answer. scripts/resolve_settled.py
does the same for PRs made by hand.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-19 22:06:56 +00:00
dev-agent 6b85e5a039 Merge pull request 'nisse-review: a review refused for an open point posts once the point is answered' (#168) from review-held-end into main
CI / checks (push) Successful in 2m55s
CI / e2e (push) Skipped
2026-10-19 21:57:35 +00:00
dongarandClaude Opus 5.5 26ef125d1e nisse-review: a review refused for an open point posts once the point is answered
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 1m54s
CI / e2e (pull_request) Successful in 5m10s
On #166 the reviewer called post_review with two points unanswered, was
refused, answered them, then only skipped already-answered points until the
40-turn cap: the review went out as partial, its summary lost. A refused
ending call is now held, and the driver ends the run with it as soon as the
last point is settled (a new due hook in nisse-core's driver; nisse-dev
doesn't use it). A held call that is wrong for another reason by then
(sign_off over drafted comments) is left to the model. With nothing open,
reply and skip say which tool ends the run.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-19 20:11:40 +00:00
dongarandClaude Opus 5.5 bf98445fcb Agent host: SilverBullet serves the vault as its one space, behind Authelia
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m0s
CI / e2e (pull_request) Successful in 4m25s
The operator chose single-space mode: the vault is mounted at /data, with
memory/ read-only over it, and there are no accounts or setup wizard;
Authelia in the operator's Caddy is the login. SB_NAME forces the mode, so
an empty vault can't boot the wizard. SilverBullet's own data folder is
gone. check now fails if the wizard could be open. The README says how to
make memory/ writable for a while and back.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-19 16:41:29 +00:00
dongarandClaude Opus 5.5 1d33d50907 Agent host: SilverBullet boots into accounts and the vault, not a bare space
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m10s
CI / e2e (pull_request) Successful in 4m20s
SB_NAME alone put SilverBullet 2.11 in single-space mode: no accounts, no
setup wizard, and its /data folder served instead of the vault. The compose
file sets only PUID and PGID now, a test holds it to that, and the host
check fails on a single-space boot.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-19 16:28:09 +00:00
dongarandClaude Opus 5.5 e287eea2d3 Agent host: the site is nisse-memory.dongar.net, inside garrett-hall.com
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m30s
CI / e2e (pull_request) Successful in 5m25s
The operator renamed the site from vault.dongar.net.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-19 16:08:30 +00:00
dongarandClaude Opus 5.5 5ab0861e8e Agent host check: run every step, and say so
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m7s
CI / e2e (pull_request) Successful in 3m59s
The check went to the host on stdin, and the first docker compose exec read
the rest of it: the memory and firewall checks never ran, and it passed.
It is now its own file, sent as an argument, and ends with "all checks
passed" only when every check has run. Tests fake the host with a docker
that reads stdin.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-19 14:48:31 +00:00
dongar be81adc185 Merge pull request 'Development Plan: every agent is its own container image' (#167) from agent-images into main
CI / checks (push) Successful in 2m41s
CI / e2e (push) Skipped
Reviewed-on: #167
2026-10-19 14:27:45 +00:00
dongarandClaude Opus 5.5 75958aef28 Development Plan: every agent is its own container image
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 1m49s
CI / e2e (pull_request) Successful in 4m3s
Each agent ships as its own image, since that's how it runs on the agent
host. nisse-review's image becomes M7.6, ahead of the agent host; its
deployment moves to M7.7. nisse-ops' image comes with its first slice.
Also fixes two stale references to M7.6.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-19 13:16:07 +00:00
dongarandClaude Opus 5.5 454326e750 Agent host README: rewrap the introduction
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m20s
CI / e2e (pull_request) Successful in 4m17s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-19 13:08:16 +00:00
dongarandClaude Opus 5.5 e7a0c0f1db Agent host: the VM is now nisse, not nisse-host
CI / checks (push) Skipped
CI / checks (pull_request) Canceled after 0s
CI / e2e (pull_request) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-19 13:08:06 +00:00
dongarandClaude Opus 5.5 eafe1b9f4a The agent host's vault and SilverBullet (M5.4)
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 1m50s
CI / e2e (pull_request) Successful in 4m45s
deploy/agent-host sets up the vault on nisse-host (infra/tofu#77) and
SilverBullet over it: the operator writes the vault, the agents' memory/
is read-only to it, and only the operator's Caddy reaches it, which
serves vault.dongar.net to the LAN. scripts/agent-host.sh installs and
checks it from here.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-18 20:55:21 +00:00
dev-agent da9097a4dd Merge pull request 'A model's safety-filter refusal is an error that says so, not an empty reply' (#165) from expert-refusal into main
CI / checks (push) Successful in 2m59s
CI / e2e (push) Skipped
2026-10-18 14:09:12 +00:00
dongarandClaude Opus 5.5 369b6ed52f test_expert: a declined consult hands back the clients' real wording
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 1m40s
CI / e2e (pull_request) Successful in 4m5s
The fake client raises _refused() from llm.py, and the test checks the
whole handback, so a change to the real message fails it (review on #165).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-18 14:01:15 +00:00
dongarandClaude Opus 5.5 9d2992c20a A model's safety-filter refusal is an error that says so, not an empty reply
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m25s
CI / e2e (pull_request) Successful in 4m41s
Opus's provider filter declined one of nisse-review's ask_expert
questions (which repositories a Gitea token can list) every time. It came
back as a 200 with no text, and the expert reported "unparseable reply:
empty reply". Both LLM clients now raise ModelRefused for
finish_reason content_filter (chat route) and stop_reason refusal
(passthrough). The expert's handback says what happened and what to do
instead.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-18 13:39:26 +00:00
dev-agent 098d42ff2c Merge pull request 'Trust test: wait for Gitea to dismiss a stale approval before merging (#162)' (#164) from flaky-stale-approval into main
CI / checks (push) Successful in 2m54s
CI / e2e (push) Skipped
2026-10-18 13:23:25 +00:00
dongarandClaude Opus 5.5 a1eeab1bc7 test_trust_live: ride out a transient Gitea error while waiting for the dismissal
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 1m55s
CI / e2e (pull_request) Successful in 4m45s
A dropped connection or a 5xx inside the wait is retried until the
deadline; any other error fails at once (review on #164).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-18 13:16:10 +00:00
dongarandClaude Opus 5.5 63ad679c8b Trust test: wait for Gitea to dismiss a stale approval before merging (#162)
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m9s
CI / e2e (pull_request) Successful in 4m40s
Gitea dismisses an approval made stale by a push in a job it queues on the
push (services/pull AddTestPullRequestTask, v28.1.0), and its merge check
counts approvals not yet dismissed. Measured here, the approval stands for
0.15-0.23 s after the push; the test's merge came a couple of API calls
later, so it usually lost the race, and once won it. The test now waits for
the dismissal, with a timeout, before expecting Gitea's refusal, and checks
the agent's own rule at once: the PR's head is read from the branch, so the
approval is for an older commit straight away.

Also notes in the Development Plan why the helper loop doesn't compact.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-18 04:27:59 +00:00
dev-agent bc43862516 Merge pull request 'Compaction: the model's notes replace the middle of a long run (#158)' (#163) from context-compaction into main
CI / checks (push) Successful in 2m37s
CI / e2e (push) Skipped
2026-10-17 23:36:10 +00:00
dongarandClaude Opus 5.5 cb638fe687 Compaction: the model's notes replace the middle of a long run (#158)
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 1m57s
CI / e2e (pull_request) Successful in 4m57s
Before each driver call, over compact_at (0.6) of the prompt budget, the
same model is asked for notes over the very request it was about to get,
plus one message, so the server's cache covers all but the notes. The notes,
with code's list of the calls they replace, become a compaction event that
renders in place of its range, keeping word for word what started the work
and the last few turns. Rare, large steps keep the prompt's start unchanged
between them. A later compaction folds in the earlier; one from an earlier
run's view is hidden.

Failed notes are logged and fitting takes over. Fitting now applies
compactions before it measures, records what it cuts (Trim) and logs each
cut as context.trimmed. Wired into both agents' drivers and the benchmark;
nisse-dev's helper loop is a follow-up.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-17 22:51:36 +00:00
dev-agent fa8d93cf41 Merge pull request 'nisse-review: read code from a git clone kept between runs' (#160) from review-clone into main
CI / checks (push) Failing after 2m47s
CI / e2e (push) Skipped
2026-10-17 22:12:51 +00:00
dev-agent 3c046f93a6 Merge pull request 'nisse-review: a stop ends a review in progress; quieter repo failures' (#159) from review-stop into main
CI / e2e (push) Canceled after 0s
CI / checks (push) Canceled after 24s
2026-10-17 22:12:32 +00:00
dongarandClaude Opus 5.5 3813ad55d6 nisse-review: read code from a git clone kept between runs
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m3s
CI / e2e (pull_request) Successful in 4m5s
Archives were downloaded and unpacked afresh for every run, which doesn't
scale to very large repositories. Each repository is now cloned once, with
its whole history, under scratch/repos/<owner>/<name>/ (head/ the clone,
base/ a worktree when read). A run fetches every branch and the PR's
refs/pull/N/head, checks out the head exactly, and fails if that head is
gone. Only the latest repository is kept for now.

Git runs walled off: none of the host's git configuration, links checked
out as plain files, no hooks, submodules or LFS, only the Gitea URL's
protocol, and the token as an http.extraHeader for that URL in git's
environment only. A stop ends a git command; a cut-short first clone is
removed. The reader never shows .git. GiteaClient.archive is gone.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-17 20:37:12 +00:00
dongarandClaude Opus 5.5 a85e855fc2 nisse-review: a stop ends a review in progress; quieter repo failures
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m22s
CI / e2e (pull_request) Successful in 4m20s
SIGTERM used to stop only new rounds: a review in progress ran on until
systemd killed it 90s later. Now the scheduler's stop sets the driver's
cancel flag, so the run ends at its next turn, and a model call in flight
is broken off (Interruptible, raising Stopped from the signal handler, only
ever inside a model call). The item goes back to ready, with nothing
drafted posted and no failure counted; replies already posted carry their
markers and are not repeated.

intake.repo_failed is logged when a repository starts failing or the reason
changes, and intake.repo_ok when it lists again, not every round.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-17 20:37:12 +00:00
dev-agent 52d30ccab9 Merge pull request 'nisse-dev: a VM lost as a helper's work is taken back ends the run' (#161) from dev-delegate-lost-vm into main
CI / checks (push) Successful in 2m42s
CI / e2e (push) Skipped
2026-10-17 20:37:11 +00:00
dongarandClaude Opus 5.5 76d8e36f43 nisse-dev: a VM lost as a helper's work is taken back ends the run
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m0s
CI / e2e (pull_request) Successful in 3m54s
The property walk (seed 468, a CI run's moving seed) found it: when the
build VM went out of reach while _delegate moved the helper's work back
onto the milestone's branch, git's HostUnavailable came back as a
GitError, was noted as a fact, and the driver's run went on, calling the
model with its VM gone (no_model_on_a_lost_vm). Now a GitError caused by a
lost VM raises VMUnreachable once the delegation's intents are settled, so
the run ends and the VM is blocked, as for any other lost-VM call (#137).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-17 16:00:31 +00:00