Codebase tooling feature for Kestrel Sovereign agents — 10 tools spanning read-only inspection (read, search, diff, lint, logs) and approval-gated mutation (edit, commit, rollback, restart, test).
uv pip install kestrel-feature-codeThe feature is auto-discovered by Kestrel Sovereign via the kestrel_sovereign.features entry point — install it alongside kestrel-sovereign and CodeFeature registers itself at startup.
v0.2.0 rename:
CodeEditFeature→CodeFeature. The old name is kept as a deprecated alias through v0.2.x for entry-point and import cutover; importing it emits aDeprecationWarning. Removed in v0.3.0. All@toolmethods now returnkestrel_sdk.tools.result.ToolResult(was:Dict[str, Any]); see kestrel-sovereign #1042 for the honesty contract.
| Variable | Description |
|---|---|
KESTREL_CODE_ROOT |
Root directory of the codebase the feature operates on (default: project root) |
kestrel-sovereign-sdk>=0.14.1,<1— baseFeature,tool,ToolCategory,ToolResult
No runtime dependency on kestrel-sovereign itself; the feature operates against any codebase via KESTREL_CODE_ROOT.
uv pip install -e '.[test]'
uv run pytestApache-2.0
