Skip to content

State History

Luis edited this page Dec 4, 2026 · 1 revision

State history

The full Current state that AGENTS.md carried before #436 capped it at 10 bullets of at most 400 characters. Merges after it: #420, #421, #422 (v0.8 release review), #427, #438 (package token minted from a GitHub App), #432 (versioned agent definitions), #441 (prcheck checks the Conventional Commits title and Signed-off-by).

  • CLI, contracts and CI: moved off the sneakercreepers org to the personal repo Ludocius/creep on 2026-12-02: module path github.com/Ludocius/creep, v0.1–v0.6 keep the old signing identity (ADR 0040 Accepted; the org is kept empty against repojacking); #1 CLI; no unimplemented command remains: creep init writes the project template (ADR 0031, #334, #340) and creep resume continues a killed scan (ADR 0032, #335, #341; v0.4 release review: finished steps served first, keyed header incl. model.env values, files digest under the deadline, scan time persisted every 15 s); 13 required CI jobs in .github/rulesets/main.json (package-check since ADR 0040) incl. protections (#18, #17), action (#29) and docs-only, which fails a ticked Documentation-only box on any path outside the shortcut (#57, ADR 0018); the live ruleset matches .github/rulesets/main.json: make rulesets applied 2026-12-02, 13 required checks plus required signatures (drift check from #50); signed commits required on main (ADR 0026 Accepted, #49, #313, #315); make check also runs GOARCH=386 vet and the gitindex and gateway tests built for 386 (#145, #283); make budget enforces deps (incl. tool and versioned replace), layers table, os/exec/net rules with transitive net and process-start reach over every release and CI build, image digests, 400-line cap and agent-loop policy (#55, #119, #43–#46); rulesets and settings as code (#39); make map and threat model (#20, #120); module github.com/Ludocius/creep; ADRs 0002/0004/0005/0006/0018 set the loop (0002 links its amendments, #134); architecture §8 lets only principles be waived with a reason, layers, contracts and invariants need an ADR (#132); §9 names the CI job per fitness function (#143); goldens pin exit codes, --help and every flag, v1 fixtures pin egress.log and the consent store (#135).
  • Config and redaction: layered config, creep config explain (#2, ADR 0001); the project file only tightens: gates floored at the inherited gate, limits incl. budget.max_seconds only lowered, never sets model.contract, model.endpoint, model.name, model.tier, model.run, model.env, model.preset, egress.allow, sandbox.enabled, sandbox.runtime, scanners.enabled, report.formats or output.format (#61, #62, #245, #253), and narrowing it is a security fix, not a contract break (#254); CREEP_POLICY absolute (#63). internal/redact: callers must fragment only redact.File output and treat redact.ErrRunFull as scan incomplete; linear, bounded, stops on context (#69, #102, #260); format-character tokens (#70); fewer false positives on password-handling code (#71).
  • Gateway, models and presets: internal/gateway is the only net and model-CLI path: allowlist before DNS, TLS except loopback, DNS pinning, private IPs and test ranges refused, FQDN lookup (#80, #111), write-ahead egress.log opened through the run-dir handle (#81, #113), budget and AIMD (OpenEgressLog takes a *Budget, #84), slow-body bounds (#110), FileScan lists what it cannot send; command models only via EgressLog.Exec with tool canary and a private run dir (ADR 0014, #6, #257). internal/models: closed output, key only from CREEP_API_KEY (#5). Embedded presets: claude-code and gemini (Gemini CLI 0.70.0, AI Studio key, #338) verified, gemini only with GEMINI_CLI_HOME in model.env (verified_env, else it warns); codex tool-off flags checked with codex-cli 0.171.0 but unverified, since apply_patch cannot be switched off and probes host files (#272, #316); codex/gemini warn on host reads; no antigravity (ADR 0015, #229, #258).
  • State and calibration: JSONL run state, --record/--replay, inter-process lock state.ErrLocked (#8, #160), MAC accepted only as lowercase hex (#161); calibration with Wilson score, tiers S/M/L, 30-day signed cache keyed on model, client settings and a keyed digest of the model.env values (#401), --recalibrate (#89–#91, #180); language-neutral task set, no per-language templates (ADR 0037, #358); an unfit model exits 3 unless --allow-unfit-model, which labels model findings unreliable_model (ADR 0036, #363); safe twins clean in every class (#162); context probe records why it stopped (#174); tier mapping test derived from calibrate.Tiers (#208).
  • Analysis (ADR 0017, #265): internal/discover is language-agnostic: inventory by file name and bytes, lexical tripwire, model discovery over whole redacted files with one canary per batch (missed: parse_failed, exit 4), union only, every candidate planned at worst case; internal/repofile holds neutral file rules; vendor only a tree that is gitignored and untracked; under an index that disagrees with the working tree, vendor is bounded by the code bytes discovery reads, past which it is vendor_exceeds_read, exit 4 (#366, #380; internal/vendortree since the v0.6 review, every format prints the vendor files and bytes, ADR 0039 Accepted; internal/gitindex, #213; entry count bounded before its int conversion, #283); links and junctions never followed, listed not_regular unless the walk covers their target (#214); scan deadline budget.max_seconds 7200 s (#260); ignore wildcards matched by one Shift-And automaton per ignore file under an 8 Ki-unit cap, non-ASCII names never matched (#388, #402); canary entry and sink lines kept more than two windows apart (#387, #404). internal/static and wazero are gone (ADR 0008, 0012 superseded); x/sys is back only as the MCP SDK's indirect cpu (ADR 0027).
  • Planner, reader, report: planner gets only IDs, enums, booleans and bounded numbers (invariant 3 wording, #187; reflection-guarded), tier step caps, Parameterized only on SQL, NoSQL sinks (#12, #234, #242); reader per-tier prompts, closed schema, slices only from redact.File output, replay fixtures from testdata/apps for S, M and L, tier S live-recorded (ADR 0038), M and L live-recorded from claude-haiku-5-5 and claude-sonnet-5-5 through claude-code (#385, #401, ADR 0038 amendment Accepted); --record cannot re-record them (#92–#95, #16, #204, #312; -update). internal/report: SARIF, JSON v1, Markdown in .creep/ (ADR 0009); exits 0 ok · 1 gate · 2 usage/config/consent · 3 model/canary/calibration/sandbox · 4 incomplete (ADR 0007); report.ValidPath paths only (#236); creep why, estimate, --stats (ADR 0011). Gate per mode: --mode pr|nightly, nightly also reads gates.pr and, unverified, reads its gate at probable (ADR 0021, #28); incremental --changed <file> lists the rest unchanged (#26); internal/baseline: fingerprints, --baseline, --baseline-write, creep accept with expiries (ADR 0022, #27). Discovery stability --stability N labels unstable probable findings, never changes the gate (ADR 0024 Accepted, #37, #317). Recipes (ADR 0025 Accepted, #33, #309, post-merge review #314): internal/recipe closed JSON v1, loaded only when the reader flags its vulnerable fixture and clears its safe one, hint only as a reader HINT block, never from the repo or a config layer; creep recipe new|lint|test; scan loads installed recipes only after creep.lock verification (ADR 0028, #34).
  • Scanners, sandbox, verify, release: semgrep detected only (ADR 0010); internal/scanrun runs gitleaks and osv-scanner offline (ADR 0013); product os/exec only in gateway, scanrun and sandbox. internal/sandbox drives the docker/podman CLI: hardened profile, creep clean, internal run network, network canary, empty database plus the app's own migrate step with the env file mounted, offline build from the repo's own compose file or Dockerfile, StartApp, PoC runner, minimum engines Docker Engine >= 25.0.2 with runc >= 1.1.12 or Podman with Buildah >= 1.35.3 and runc >= 1.1.12 or crun >= 1.4.4, else old_runtime/unknown_version and no build (ADR 0016 and amendments, #21–#24, #308, #311); internal/verify: closed PoC templates with creep-owned oracles (ADR 0019, #24), 5 runs against HEAD, rate, redacted bundle, creep reproduce (ADR 0020, #25); only a nightly scan builds and runs PoCs; outcome in text/Markdown/SARIF, never the exit code. Signed, attested releases from main (#19); v0.1.0 released 2026-11-17, its pentest fixed in #231; v0.2.0 released 2026-11-22. GitHub Action at the root (ADR 0023, #29, review #303); guides on the wiki (#31).
  • Releases v0.3–v0.5. v0.3 (v0.3.0 2026-11-24): creep mcp, a read-only stdio MCP server (scan in pr mode, findings, why) on github.com/modelcontextprotocol/go-sdk v1.8.0 (v1.9.0 since #396), with no sandbox, PoC, scanner, consent prompt, calibration run or write outside .creep/; make budget runs internal/tools/linkcheck, which proves on every release binary that no third-party code links net or a process start (ADR 0027 Accepted, #32); recipe installs pinned by commit in creep.lock (ADR 0028, #34); operator build mirror, Podman only (Docker refuses it), proxy port bounded (ADR 0029, #277, #324); creep bench with a corpus disjoint from calibration and a synthesized published fixture (ADR 0030, #35); wiki guides Writing recipes, MCP and Sharing model results, linked from CONTRIBUTING.md and the issue forms (#325, #38); nightly bench on a pinned Ollama model, cloud bench by dispatch in the bench-cloud environment, internal/tools/benchgate blocks releases on regression (baseline set in #384); docs-only PRs skip heavy jobs via changes.yml@main (ADR 0018 amendment, #36); release review: linkcheck also catches raw syscall socket/exec without inlining, recipe store moved to internal/recipestore (#330). v0.4 (v0.4.0 2026-11-24): creep init writes a commented-out ./creep.yaml template v1, create-exclusive in os.Root (ADR 0031, #334); creep resume continues an interrupted scan: keyed header digests (settings, model.env values, baseline), files and tier checked before any send, finished steps served only from signed recordings whose reply digest matches, budget and deadline carried over (ADR 0032, #335); gemini verified with Gemini CLI 0.70.0 only when model.env declares GEMINI_CLI_HOME (verified_env), codex still unverified (#333, #338); release review fixed (#342). v0.5 (v0.5.0 2026-11-25, v0.5.1 2026-11-26): go install first in Install (#345); the Homebrew cask and Scoop manifest are written by the release workflow's separate package-repos job (release environment, contents: read, the only holder of PACKAGE_REPOS_TOKEN), which re-verifies checksums.txt with cosign, binds each url/hash/version to the tag and refuses a downgrade; script cases in internal/tools/releasescripts (ADR 0033 Accepted, #344, #346); release review fixed (#349); v0.5.1 fixed the first publish, where a 404 body on stdout was read as a sha (#352).
  • Releases v0.6–v0.8. v0.6 (v0.6.0 2026-11-29): creep doctor sends two synthetic model probes (ADR 0035, #362); every report lists coverage.not_looked_for, and code eval and deserialization are code_injection/insecure_deserialization (ADR 0034, #365, #371); unfit-model floor and neutral calibration (ADR 0036, 0037); discovery reads any text file but known non-code formats, vendor is only gitignored + untracked (under an untrusted index vendor is bounded, then vendor_exceeds_read), with coverage.vendor_skipped/vendor_not_proven (ADR 0039, #366, #380); flaskpg verified end to end in CI (#364); ollama-e2e, live-record and live-verify workflows; package-check installs the cask and manifest on macOS and Windows (#357); tier-S fixtures live from pinned qwen2.5-coder:1.5b, bench on qwen2.5-coder:7b with benchgate's first baseline (ADR 0038, #356, #355, #367); release review fixed (#386, #389), its follow-ups #385, #387, #388 done in v0.7 (#401, #404, #402). v0.7 (v0.7.0 2026-12-03): module github.com/Ludocius/creep, cask and manifest in this repository behind the required package-check (#403, ADR 0040 Accepted), Roadmap moved to Ludocius project 5; release review: --check-pins requires each file to equal its canonical render byte for byte, only a 404 reads as a new file, no bootstrap fallback, every path brew or scoop read watched, ignore fuzz targets weekly (#406); README capped at 160 lines, details on the wiki (#407); its package PR was opened from the maintainer's machine (#409) because PACKAGE_REPOS_TOKEN was stale. v0.8 (in progress): HTML report, html in report.formats/output.format (#411, #415, ADR 0009 amendment Accepted); release preflight job package-token checks PACKAGE_REPOS_TOKEN before anything is published, probing Contents write with a POST /git/refs at the all-zero object and Pull requests write with a main-into-main POST /pulls, both refused with 422 (#413, #416, ADR 0040 amendment Accepted; Contents probe from the v0.8 release review); codex re-checked on codex-cli 0.172.0, still unverified (apply_patch), browser and computer-use features off, so its consent key changed (#412, #417, ADR 0015 amendment Accepted); architecture and design debt closed (#414: §6 re-measured, privacy modes and the discovery user cache dropped).
  • Review lessons: never exit 0 on unimplemented paths; open files without blocking (FIFO); escape every printed error; run golangci-lint locally (CI lint is required); redact whole files before fragmenting; keep constants inside a 32-bit int; back every documented worst case with a benchmark. Windows dev: Go 1.27 and make via winget (no cgo, so -race runs only on Linux). Linux check: docker run --rm -v "$PWD:/src" -w /src golang:1.27.4 go test -race ./....

Clone this wiki locally