Skip to content

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 14 Nov 13:17
· 131 commits to main since this release

A security and correctness release. Six fixes and a set of verification
gates; no new features to learn.

  • A repository's .codape/settings.json no longer takes effect just because
    you ran the agent in that directory. A workspace whose settings would
    change behaviour asks first, and /trust records the answer in the config
    home — so a repository cannot approve itself.
  • An explicit deny permission rule now beats an approving hook. auto mode
    could allow what a rule denied, because the rule was only consulted after
    hooks ran.
  • The control plane requires a shared token before it accepts a connection,
    and the three network services bind 127.0.0.1 unless told otherwise.
  • OpenAI-compatible endpoints receive chat messages now, not Anthropic wire
    messages forwarded verbatim. Tool calls and system prompts translate.
  • A stream that dies mid-answer is reported as incomplete instead of arriving
    as a finished answer that happens to be cut off.
  • A panic gives the terminal back before the process dies, so a crash does
    not leave the shell in raw mode.

Compaction was reworked around the provider's own token count: the summary
tail is sized from the landing target, micro and auto stop once they reach
it, the ratio between the provider's count and the heuristic is learned per
model, and a blocked context recovers instead of aborting.

CODAPE_MAX_TOKENS sets the per-request output ceiling; a provider-stated
context window is remembered for the next session.

Verification gained teeth. The coverage floor is computed from the recorded
baseline and COVERAGE_DRIFT instead of a fixed 85%, so the 2.4-point gap
below the 87.4% baseline is gone. A job compiles the workspace on the
declared MSRV (1.97) rather than only on 1.99.1. The unsafe_code deny is
backed by a checked allowlist, so a new file cannot opt out unnoticed. The
review contract requires a coverage claim to be proven, and the eval review
compares output properties against the previous version.

The external benchmark pins stay at v0.2.0: changing one changes what a
recorded score means.