Audit L2 announcement risk, token fate, and activity in a traceable 0-10 health report.
- Classifies delistings and network sunsets as CRITICAL, maintenance as INFO, and migrations according to their token impact.
- Distinguishes token retirement, an explicit conversion route, and no detected impact phrase without inventing conversion rights.
- Weighs snapshot volume, transactions, and active addresses; promotional claims never substitute for measured activity.
- Applies event penalties and severity caps before returning
healthy,watch, ordying; CRITICAL events can never produce a healthy verdict. - Links each decision to a local source ID, source text, and matched phrase.
Generated by the demo: examples/output/audit-report.md.
Demo data: synthetic fixtures
Records: 7 | CRITICAL: 3 | WARNING: 1 | INFO: 3
Activity subscore: 3.22/10
Final score: 0.00/10 | Verdict: dying
Research scoring model. Not investment advice.
The seven fictional announcements include a redirect migration, explicit
replacement, network sunset, and a loud adoption headline with an empty
reported_metrics object. The snapshot has deliberately uneven values.
A loud headline cannot increase activity. Tests also exercise a healthy 8.73
case and verdict boundaries. No fixture describes a real project.
Brief: a migration explicitly using a bridge must report redirect and WARNING.
Finding: "Token migration will use a bridge to the new token" returned
unaffected; the added regression test really failed.
Fix: recognize explicit use/using/via/through bridge or converter
routes while retaining local-negation checks. The classification suite then passed
28 tests.
Evidence and reproduction include actual before/after logs and commits. This check and fix occurred in one Codex execution context; they are not a completed review by a separately assigned independent auditor.
Python 3.11+ and Git are required. From a parent directory, in an activated virtual environment if desired, run these three commands:
git clone https://github.com/vap1024/l2-project-audit.git
python -m pip install -r l2-project-audit/requirements.txt
python l2-project-audit/examples/run_demo.pyThe demo prints the report and writes examples/output/audit-report.md inside
the clone. The application uses only the Python standard library; pytest is the
test dependency. Use --output audit.md for another output destination.
The repository is published, and
release v0.1.0
is available. CI runs on GitHub Actions; the clone commands above are the normal
way to get started. From an existing local repository root, run
python examples/run_demo.py. Verification records what was
actually checked.
From the cloned repository root:
python -m pytestActual local result: 82 passed on Python 3.13.15, pytest 9.1.1, Windows. The GitHub Actions job runs on every push on Ubuntu and Python 3.11, and is green. The badge at the top of this README shows its current status. Tests cover required events, fate conflicts, simple negation, score caps and boundaries, invalid metrics, future evidence, empty claim metrics, Markdown escaping, the generated sample, and actual CLI calls.
Codex as an independent auditor is the workflow role: compare claims with primary-source records, challenge unsupported conclusions, and accept results only after checking files and test output. The maintainer assigns tasks to agents and accepts results through verification rather than writing application code by hand. This project was built with Codex; that does not establish independent approval. A separately assigned audit is still pending.
Open-source edition of a toolkit I use in my own operation; all demo data is synthetic.
Demo primary-source records are fictional local JSON entries, not authenticated
publications. English phrase rules cannot resolve arbitrary negation, quotations,
conditional claims, source reliability, or historical trends. unaffected means
no supported impact phrase was found, not verified safety.
See scoring and schemas for assumptions and limits.
Part of a Codex-auditor toolchain:
- nft-collection-audit: collection scoring and price tracking, without transaction execution.
- codex-ops-system: the flagship method, briefs, audit evidence, acceptance, and decision packages.
- Flagship protocol and worked workflow.
The linked repositories are published and publicly reachable.
.github/workflows/tests.yml # one Ubuntu / Python 3.11 job
src/l2_audit/
classify.py, token_fate.py # event risk and token impact
activity.py, score.py # validated metrics, penalties, verdicts
report.py, _rules.py # source-linked Markdown and phrase rules
data/ # fictional Aurora Chain announcements and snapshot
examples/run_demo.py # offline CLI
examples/output/audit-report.md
tests/ # classification, activity, score, report and CLI
docs/ # scoring, actual audit trail and evidence logs
publication/ # About/topics, release notes, future-action checklist
CHANGELOG.md, VERIFICATION.md
MIT. See LICENSE.