Skip to main content
Pre-release

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_patch PostToolUse event.
  • A pre-installed, conformed TypeScript tsc runner.

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.
  • doctor does 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 ruff or biome adapters, historical comparisons, autofixes, or support for other Codex hosts and edit paths.
  • pyright remains reported as disabled-unverified until 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

codex_feedback_lens-0.1.0rc3.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codex_feedback_lens-0.1.0rc3-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

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

Hashes for codex_feedback_lens-0.1.0rc3.tar.gz
Algorithm Hash digest
SHA256 15166dac3204b1d6ab52b519d17dac74942066126891a31eeb0c2000a307091e
MD5 65293e0889dbc04de07a9572ae432ed2
BLAKE2b-256 af594b23ed5165c7d35305017cc1cdf6d2b7cc8b2d142e2b1ea81ff91bd72163

See more details on using hashes here.

File details

Details for the file codex_feedback_lens-0.1.0rc3-py3-none-any.whl.

File metadata

File hashes

Hashes for codex_feedback_lens-0.1.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 ddfabe79f28feca557cb965529b532422368255ab3a482631524d5bfac1401a1
MD5 06039f6910a2cb2d41b8f52a7ee36b03
BLAKE2b-256 46304d3bf97bfbd0aac0a13fb3cedeb79d117a21650cb1cd0f2e6c91da67bbd8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page