Artifact 7e7bfc47f8ee3f091fde4b3d8cd72aaf4b82dfbc056f7712c4d72a4dd872d9d6:
- File docs/evidence.md — part of check-in [ac44a32bed] at 2026-11-12 19:36:41 on branch trunk — Start the rewrite: vocabulary, decisions, evidence and phases (user: dmestas, size: 1780) [annotate] [blame] [check-ins using]
Evidence
Measured on 2026-11-12 on an Apple silicon Mac, against the libfossil
build in ~/libfossil (debug, check-in 3d8f959f).
Extracting a version gives an exact tree
A wardrobe of 602 files, including one executable script and one symlink, with one file deleted in the second check-in.
- Extracted in 392 ms.
- The executable bit and the symlink were kept.
- The deleted file was absent.
- The skills tree was identical to the source.
A local edit survives an upstream update
Replayed with a skill file: an upstream branch, a local edit on trunk that rewrites one line, then two upstream updates.
| Upstream change | Result |
|---|---|
| A different line | Merged. Both the local edit and the upstream change are in the file. |
| The same line | Reported as a conflict, with three-way markers. The local edit is not overwritten. |
What one run costs
400 runs each, at load average 65.
| What ran | Median | 95th percentile |
|---|---|---|
Starting any process (/usr/bin/true) |
6.4 ms | 19.5 ms |
| 33 KB C23 binary: read a stamp, compare, exit | 6.8 ms | 11.2 ms |
| 3 MB binary with libfossil linked in | 7.8 ms | 13.1 ms |
| Plain SQLite query on the repository | 12.0 ms | 19.8 ms |
| Load libfossil, open the repository, resolve trunk | 15.7 ms | 24.2 ms |
Starting a process is the cost. A large binary adds about 1 ms. Opening the repository adds 5 to 9 ms, so the no-change run never opens it.
From ctx, which is built the same way
- Capture a real payload from a harness before writing a parser for it.
- Time under load. Two regressions were invisible on a quiet machine.
- Log a start and an end line for every run, so a run killed at its deadline leaves a trace.
- Never write into a folder from something an agent is waiting on.