kestrel-feature-reflection
Agent self-reflection and self-improvement for Kestrel Sovereign.
Installation
uv pip install kestrel-feature-reflection
The package registers ReflectionFeature through the kestrel_sovereign.features
entry point group.
Conversation and memory boundaries
Version 0.4 requires Core 0.66.1 or newer. Reflection uses Core's canonical speaker projection and escaped input boundaries. Connected clients' external assistant transcripts remain quoted external data, rather than Kestrel's own responses or actions. Memory excerpts are quoted as data as well.
Conversation reads go through the live privacy-aware conversation owner. EPHEMERAL mode also excludes durable episode context and stored insights using Core's existing privacy configuration predicate. Insight reads discard their results if Core's privacy installation changes during retrieval. Reflection sessions and insights use MemorySystem's existing persistence permission and hold its privacy-transition lock through both original writes. EPHEMERAL, ISOLATED and DEIDENTIFIED modes do not persist these derivatives. Analysis retains Core's original privacy installation and its local-only model requirement. A policy change discards old results before persistence or delivery, even if the agent later returns to the same mode. Selected conversation excerpts stay bounded after canonical rendering, with complete escaped input boundaries.
Tests cover native SQLite, privacy transitions, genuine native MCP source rows and prompt construction with generation disabled. These checks do not establish LLM judgment quality, a vendor account installation or an overnight deployment.
Development
uv sync --extra test
uv run --extra test pytest
Metadata
Release files for kestrel-feature-reflection 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kestrel_feature_reflection-0.4.0.tar.gz | 280.1 kB | With provenance | Details for kestrel_feature_reflection-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kestrel_feature_reflection-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for kestrel_feature_reflection-0.4.0-py3-none-any.whl |
Total release size: 355.4 kB
Release files / kestrel_feature_reflection-0.4.0.tar.gz
| Download URL | kestrel_feature_reflection-0.4.0.tar.gz |
|---|---|
| Size | 280.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7d8eb55caa2c8759206f7351ade6724fce7fca08da021fb9cc6785ccafba508
|
|
BLAKE2b-256 checksum How to use checksums |
4381feffd7a31538282c446cfe8ded414436633df4d9addc41a731c98278c752
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logRelease files / kestrel_feature_reflection-0.4.0-py3-none-any.whl
| Download URL | kestrel_feature_reflection-0.4.0-py3-none-any.whl |
|---|---|
| Size | 75.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f1576c4de22cc1823f341f879f588f1c45485833b545eec9aa5b6e2857c438b
|
|
BLAKE2b-256 checksum How to use checksums |
45741361e1cc2e5a60fa9eb82e153c8d1a827a0a9681c6fd9b2b8dafb087a171
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logSecurity for kestrel-feature-reflection 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for kestrel_feature_reflection-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.