This release is a pre-release and may not be stable for production use.
Codex Feedback Lens
Codex Feedback Lens is a small, read-only-first feedback path for Codex CLI projects. After a supported post-edit event, it can run an already-installed TypeScript checker and return bounded current diagnostics to Codex.
This is an early release with a deliberately narrow support boundary.
Install
The PyPI distribution is codex-feedback-lens. The installed command is agent-lens.
pipx install codex-feedback-lens
cd your-project
agent-lens init
agent-lens doctor --json
init creates a project-level Codex hooks file only when Agent Lens can prove that the path is empty and safe to own. It refuses existing or drifted configuration instead of overwriting it.
doctor is read-only. uninstall removes only an exact, unchanged installation that Agent Lens can prove it owns.
Supported feedback path
The verified first-phase path is limited to:
- Linux-native Codex CLI
0.146.0. - Non-interactive
codex exec. - A successful canonical
apply_patchPostToolUseevent. - A pre-installed, conformed TypeScript
tscrunner.
Make the absolute runner path available to the Codex process before starting it:
export AGENT_LENS_TSC=/absolute/path/to/tsc
The hook reports current errors in changed files with a fixed detail limit. Project-scope errors outside the changed files are summarized by count, without causal or historical claims.
Safety boundaries
- Existing, malformed, unknown, or drifted project hook configuration is preserved and refused.
doctordoes not run Codex, write runtime evidence, repair files, or change trust state.- Agent Lens never installs, downloads, updates, fixes, or formats a runner.
- The first phase does not provide
rufforbiomeadapters, historical comparisons, autofixes, or support for other Codex hosts and edit paths. pyrightremains reported asdisabled-unverifieduntil a separate real conformance gate enables it.
Development
Focused checks from a checkout:
PYTHONPATH=src python -m unittest test.test_cli
python -m unittest test.test_packaging_acceptance
The supported-path end-to-end claim is limited to the host and event boundary listed above; it is not a claim that every Codex edit path or every project has been checked.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codex_feedback_lens-0.1.0rc3.tar.gz.
File metadata
- Download URL: codex_feedback_lens-0.1.0rc3.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15166dac3204b1d6ab52b519d17dac74942066126891a31eeb0c2000a307091e
|
|
| MD5 |
65293e0889dbc04de07a9572ae432ed2
|
|
| BLAKE2b-256 |
af594b23ed5165c7d35305017cc1cdf6d2b7cc8b2d142e2b1ea81ff91bd72163
|
File details
Details for the file codex_feedback_lens-0.1.0rc3-py3-none-any.whl.
File metadata
- Download URL: codex_feedback_lens-0.1.0rc3-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddfabe79f28feca557cb965529b532422368255ab3a482631524d5bfac1401a1
|
|
| MD5 |
06039f6910a2cb2d41b8f52a7ee36b03
|
|
| BLAKE2b-256 |
46304d3bf97bfbd0aac0a13fb3cedeb79d117a21650cb1cd0f2e6c91da67bbd8
|