Skip to main content

Reflex

Reflex is a local, evidence-first observability and learning loop for agent work. It ingests safe projections of sessions, tool calls, CI results and delivery receipts from the Subactor, Semcod and Autogrammar ecosystem; it then normalizes repeated events, detects recurring failure patterns and emits bounded improvement proposals.

What is delivered

The first release provides a deterministic, stdlib-only pipeline for JSONL, NDJSON and bounded text evidence:

  • secret and home-directory redaction, event normalization and duplicate collapse;
  • recurring-pattern detection for governance, dependency, tool-contract, credential-readiness, remote-rate-limit and test-feedback failures;
  • an optional SQLite store containing normalized evidence only, so observations can accumulate across sessions without retaining raw transcripts;
  • a closed reflexdsl request format for bounded INGEST, ANALYZE, REPORT, STATUS and PROPOSE operations;
  • an offline status projection with issue creation lists, open-resource counts, closed/merged pull requests, last closure time and closure history;
  • an optional SubLLM reflection step that produces advisory hypotheses only.

The analysis and ownership recommendations are recorded in docs/analysis/reflex-learning-loop.md.

Quick start

From the assembled checkout:

python -m venv .venv
pip install -e .
reflex analyze --source /path/to/safe/logs --store .subactor/cache/reflex.sqlite
reflex analyze --source /path/to/safe/logs --llm
reflex status --source /path/to/github-events.jsonl --format text

For a bounded DSL request:

reflex dsl --request '```reflexdsl
ANALYZE ROOT "/path/to/safe/logs" MIN_REPEAT 3
```' --allowed-root /path/to/safe/logs

For lifecycle status, use the closed DSL command:

reflex dsl --request '```reflexdsl
STATUS ROOT "/path/to/github-events.jsonl" FORMAT text
```' --allowed-root /path/to

Use a path outside the repository, or the ignored .subactor/cache area, for the SQLite store. Reflex never treats a proposal as permission to create a ticket, change code, merge a branch, deploy a service or publish a release.

Operating boundary

Only bounded projections should be supplied as input. Raw chat transcripts, credentials, private keys and unrestricted environment dumps are not inputs to this project. Source lines are represented by digests and short redacted summaries. The LLM is downstream of deterministic normalization and its output is advisory; protected governance, ticket ownership and delivery controllers remain authoritative.

The repository is intentionally initialized with the Wellmanifest governance contract before implementation. See TODO.md for the next bounded integration steps and docs/README.md for the analysis index.

Metadata

Release files for subactor-reflex 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for subactor-reflex 0.1.0
File Size Uploaded Provenance Actions
subactor_reflex-0.1.0.tar.gz 53.9 kB Without provenance Details for subactor_reflex-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for subactor-reflex 0.1.0
File Interpreter ABI Platform Actions
subactor_reflex-0.1.0-py3-none-any.whl Python 3 none any Details for subactor_reflex-0.1.0-py3-none-any.whl

Total release size: 90.2 kB

Release files / subactor_reflex-0.1.0.tar.gz

Download URL subactor_reflex-0.1.0.tar.gz
Size 53.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7b6632b1d6767df7c3e2d8b588be8807dd71074fcb47ce6efe24a5d3247e4756
BLAKE2b-256 checksum
How to use checksums
c36398fa1d25d55298132a23058d183acc623c97b62517e61084f0198a0a7009
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / subactor_reflex-0.1.0-py3-none-any.whl

Download URL subactor_reflex-0.1.0-py3-none-any.whl
Size 36.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f54971786d297d825659caf420e8bd4cd948453d15f7bbf34e2dcfc20f8aed4
BLAKE2b-256 checksum
How to use checksums
7d1f630ae9d0e0af3b64a96d82d6c912b553782d10b47910cb823236861f4350
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Security for subactor-reflex 0.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page