Skip to content

Prepare AgentLoop Python 0.2.4 - #338

Merged
dipeshbabu merged 1 commit into
mainfrom
codex/prepare-024
Nov 18, 2026
Merged

dipeshbabu merged 1 commit into
mainfrom
codex/prepare-024

Conversation

@dipeshbabu

@dipeshbabu dipeshbabu commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Problem

The PyPI 0.2.3 build predates the guided report timing split, the repeated-tool advice corrections, the local verifier, and the optional runner wall-time gate. Python 0.2.4 makes those reviewed changes available from an ordinary package install.

Changes

Validation

  • D:/agentloop/.venv/Scripts/python.exe -m pytest tests/test_bump_version.py tests/test_release_workflows.py tests/test_published_readme.py -q --basetemp D:/agentloop/runs/024-release-focused — 49 passed.
  • D:/agentloop/.venv/Scripts/python.exe D:/agentloop/runs/bugfix_quality_checks.py — applicable hooks passed after line-ending normalization.
  • uv build --out-dir D:/agentloop/runs/release024-dist --quiet — 0.2.4 wheel and sdist built.
  • uv tool run --from twine twine check runs/release024-dist/agentloop_profiler-0.2.4-py3-none-any.whl runs/release024-dist/agentloop_profiler-0.2.4.tar.gz — both passed.
  • A fresh standard-pip install reported AgentLoop 0.2.4 and author Dipesh Tharu Mahato. runs/release024-wheel/Scripts/python.exe -I scripts/smoke_installed_wheel.py --expected-version 0.2.4 — installed metadata and complete guided/runtime smoke passed outside the checkout.
  • uv tool run --from pip-audit pip-audit -r runs/release024-requirements.txt --no-deps --disable-pip --format json --output runs/release024-dependency-audit.json — 76 locked dependencies for this interpreter, zero known advisories and zero skips.
  • The integrated runtime passed the local full suite with 2,822 tests and 109 skips. This PR changes release metadata and the changelog.
  • All runnable hosted checks passed on 1383fab3815528a708c42d69a752c6a58f21a724, including the four full Python suites, PostgreSQL, TypeScript, Hermes host fixtures, installed package, standalone builds, Docker and docs. GitHub Pages deploys from main.

Compatibility and limits

The version diff updates the project entry in the lockfile. Dependency versions and native schema/API versions stay stable. Older guided sessions remain readable. The verifier and runner regression budget require explicit selection at session setup. The offline coding pilot exercised the application tests and both rejection paths. Outside developer adoption remains unmeasured.

This PR prepares the reviewed Python release. The existing protected release workflow runs after the maintainer approves the version tag and publication.

Substantial implementation and validation assistance was provided by Codex.

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

Copy link
Copy Markdown

AgentLoop replay self-test

This required repository check evaluates generated synthetic demo traces. It tests the replay and CI machinery; it does not show that this PR improves application performance.

AgentLoop CI Report

  • Status: passed
  • Replay: Replay passed: latency improvement 69.66%, cost improvement 78.82%, retry delta -1.
  • Merge recommendation: synthetic self-test only; assess application traces before merge
  • Findings: 1 total, 0 high severity, 1 patchable

Performance Gates

Gate Status Detail
latency_regression pass 0.00% regression <= 0.00% allowed
cost_regression pass 0.00% regression <= 0.00% allowed
latency_improvement pass 69.66% improvement >= 20.00% required
cost_improvement pass 78.82% improvement >= 5.00% required
retry_non_increase pass 0 candidate retries <= 1 baseline retries

Trace inputs

This comparison includes synthetic data. It does not establish application performance gains from a pull request.

Side Run ID Path Synthetic marker Source
baseline run_8b058b01b9e94835 runs/research_agent_baseline.json yes agentloop_demo
candidate run_961507bfaad84f1b runs/research_agent_optimized.json yes agentloop_demo

Metric Impact

Metric Impact
Latency improvement 69.66%
Cost improvement 78.82%
Retry delta -1
Candidate schema validity not provided
Candidate quality score not provided

Top Findings

Finding Severity Type Rewrite
al_cache_context_f9bae8f6ac44: Cache repeated prompt/context prefix medium cache_context Move stable instructions into cached prefixes, summaries, or framework-level memory instead of resending full text.

@dipeshbabu
dipeshbabu marked this pull request as ready for review November 18, 2026 18:55
@dipeshbabu
dipeshbabu merged commit 096b8f6 into main Nov 18, 2026
25 checks passed
@dipeshbabu
dipeshbabu deleted the codex/prepare-024 branch November 18, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant