agentleFS
roy-tongroy-tong/AgentMeasure/AGENTS.md

AgentMeasure

AGENTS.md221 starsChanged 7 days agoMITView on GitHub

Agent-readable metadata for Verovo. Product boundary reviewed: 2026-11-29. If you are a coding agent asked to implement, integrate, or verify Verovo claims, this file is the shortest correct path. It is normative only where it cites a normative document. Verovo is buyer-first independent measurement and audit for the agent economy. It starts from a task and separately answers whether the money was correct and authorized, what behavior occurred, and which option earned the next comparable task. Financial, control, delivery and…

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. roy-tong/Verovo★ 221100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository3 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read product-definition.md before changing product scope.

    line 11
  2. Distinctive:

    If a task asks you to compute a metric, first resolve the grain.

    line 21
  3. Distinctive:

    Do not emit a claim when: the window is partial or lossy.

    line 111
  4. Distinctive:

    Do not state an attribution as a cause (invariant 14)

    line 163
  5. Distinctive:

    Do not present a participating-network observation as market share (QUALITY 2)

    line 164
  6. Distinctive:

    Do not sum sub-token fields (cached, reasoning) into totals — they are subsets

    line 165
  7. Distinctive:

    Do not describe a synthetic fixture as production data

    line 166

≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md — implementation metadata for coding agents

Agent-readable metadata for Verovo. Product boundary reviewed: 2026-11-29. If you are a coding agent asked to implement, integrate, or verify Verovo claims, this file is the shortest correct path. It is normative only where it cites a normative document.

1. What you are implementing

Verovo is buyer-first independent measurement and audit for the agent economy. It starts from a task and separately answers whether the money was correct and authorized, what behavior occurred, and which option earned the next comparable task. Financial, control, delivery and value conclusions never collapse. Read product-definition.md before changing product scope. The released review command compares explicit buyer criteria with local JSON observations; missing evidence remains UNPROVABLE. delivery is an effort journal, not the buyer acceptance command. Technical tools and POCs do not redefine the product.

The underlying telemetry tools answer two questions:

  1. What counts as one? (operation vs attempt vs delegation)
  2. Can the result be proven? (PASS / FAIL / UNPROVABLE)

If a task asks you to compute a metric, first resolve the grain. Different grains are not interchangeable (invariant 16): 10 attempts ≠ 10 operations ≠ 10 delegations.

2. The four observability states

TRUE          confirmed to have happened
FALSE         able to judge, and confirmed not to have happened
UNKNOWN       should be judgeable, but data is missing or conflicting
UNOBSERVABLE  the current observation surface cannot see it at all

These four come from CORE §4. Never collapse UNOBSERVABLE or UNPROVABLE into FALSE. This is invariant 17. Adjacent vocabularies are separate, not extra states:

  • Verdicts — PASS / FAIL / UNPROVABLE (review, the conformance pack, docs/review-method/): the decision about a claim. UNPROVABLE means evidence was seen but cannot be decided; never guess it into FAIL.
  • Settlement verdicts — settled / assumed / escalated / cannot settle / out of scope (VSS-1 §0): billing-settlement outcomes, never observability states.
  • UNPROVABLE-by-surface — a known-limit class (the measurement topology cannot observe it; a design output, not a missing implementation) defined in standard/known-limits-unprovable-by-surface.md; UNOBSERVABLE ≠ UNPROVABLE.

3. Canonical namespaces

verovo.dev/usage.*        operation, attempt, retry, consumption
verovo.dev/outcome.*      outcome_class, observer_grade, effect confirmation
verovo.dev/delegation.*   delegation scope, depth, lineage, cost attribution
verovo.dev/quality.*      coverage, observability, qualification

Do not invent parallel names. The registry is the single source of truth for managed enums: registry/vocabularies.yaml holds 21 vocabularies (revision 0.4.3-2). Nine of them are wired into the observation schema (usage_context, validity, context_source, validity_source, caller_type, caller_identity_strength, observer_side, provenance, observation_type); five also have TS unions and eight Python tuples that CI checks against the YAML. The remaining entries (e.g. outcome_class, choice_mode, delegation_scope) are canonical names with no generated consumer yet.

4. Where the enums live (do not redefine them)

registry/vocabularies.yaml does not generate every consumer:

  • python3 scripts/gen_vocab.py --build rewrites the nine managed enums in schemas/observation.schema.json and regenerates registry/VOCABULARIES.md;
  • python3 scripts/gen_vocab.py --check verifies those schema enums plus five TS unions in sdk/src/index.ts and eight Python tuples in reference/collector/usage.py against the YAML;
  • other YAML entries are registry-only for now: canonical, but with no generated consumer.

CI runs --check and fails on any drift. Change the YAML, run --build, never hand-edit a consumer.

The four observability states are normative in CORE §4; PASS / FAIL / UNPROVABLE verdicts come from the review/conformance vocabulary, and VSS-1 §0 owns settlement verdicts. None of these is a YAML enum — do not add or redefine them in the registry.

5. Core object chain

Task → Decision Opportunity → Selection
                                  │
                                  ▼
                              Operation ──▶ Attempt 1 ──▶ Result / Effect
                                  │             │  (retry)
                                  │             ▼
                                  │          Attempt 2 ──▶ Result / Effect
                                  │
                             Delegation ──▶ [sub-agent scope]
                                  ▼
                              Outcome

Rules that bite:

  • attempt_id is Verovo's own identity; protocol ids go in external_ids
  • Attempts are an append-only ledger; never rewrite or merge them
  • Operation is a derived grouping; without evidence, do not group (invariant 23)
  • A delegation must NOT be counted as an operation (invariant 27)

6. Outcome semantics (the part most implementations get wrong)

outcome_class:   resolved | assumed_resolved | escalated | abandoned | reopened | not_outcome
observer_grade:  self_attested | affected_party | third_party_corroborated
  • assumed_resolved MUST NOT be aggregated into resolved
  • An escalated outcome is not a resolution, regardless of observer grade
  • Settlement-grade requires resolved and affected_party (cross the two axes; marginal aggregates will over-count)

7. Evidence postures (COMMERCIAL 5.2)

provider_recognized   may enter a claim
bill_bounded          measured loss, not recognised, stays visible
exposure_only         verify against invoice, never summed into a variance
review_only           insufficient evidence; list what is missing

Missing evidence lowers the posture. It never fills the gap. Postures are detector output, not human judgement.

8. When to abstain

Do not emit a claim when: the window is partial or lossy; the outcome is observed but attribution is only correlational; the metric definition version is unregistered; the denominator is unknown; the value is derived rather than observed; the outcome is asserted by a party other than the observer; or the method changed mid-window.

Abstention is a valid output. See standard/hard-questions.md Q4.

9. Current implementation boundaries

  • discover keeps the legacy first-supported-runtime selection; an empty Codex directory no longer masks Claude sessions. sources inventories every discovered Codex and Claude runtime with roots, file counts and observed file-time ranges. sources --check runs a complete report for each selected runtime without merging currencies, charges, evidence or verdicts across sources. Explicit Codex discovery filters rollout filename dates and ignores non-rollout JSONL. Only local discovery/parsing is proven; arbitrary Agent formats and actual supplier charges remain outside that claim.
  • monitor track uses explicit event identity or operation+attempt identity before content-hash fallback, retains revisions without double counting and rejects identity changes without a distinct revision. Changed revisions must be provably newer through an integer sequence or timezone-aware timestamp; older replay and unordered revisions are refused. Content-only identities remain explicitly uncertain. Frozen baselines include historical unit prices; CSV false/0 retries are false.
  • tool-value --economics-case derives cost and acceptance from Canonical Task Economics and refuses incomplete cost or unknown buyer acceptance. CSV/JSONL remains declared compatibility input with a distinct trust label. Comparative statistics still require comparable group, currency, task type, acceptance rubric, task uniqueness, success evidence refs and canonical cost basis. MCP accepts the same canonical case. optimize-verify additionally enforces sufficient same-task IDs and optional quality-score guardrails.
  • budget apply executes only an explicitly authorized hold command adapter matching the current decision budget/scope, then reads runtime state. APPLIED requires command success plus stopped readback with matching budget/scope/action and a timezone-aware observation no earlier than the decision; wrong-scope or stale readbacks are UNPROVABLE. Subsequent-spend coverage remains separate through budget verify, with no automatic retry or realized-saving claim.
  • economics includes a read-only ovo.task-result/1 projection. Only complete cost and buyer-outcome coverage is completed; open allocation or acceptance evidence stays partial_result with scoped gaps and no automatic ROI, payment or realized-saving upgrade. The default terminal report leads with confirmed economics and open business items; --details exposes calculation rows, coverage and audit detail without changing the JSON or Markdown contracts.
  • optimize loop persists a named local-only authorization, fixed baseline/final task files, review contract and interval. Explicit tick calls reuse optimization_review, preserve source hashes and schedule the next review; pause/resume and registration fingerprints are enforced. It is not a daemon and never changes external configuration, applies rollback or claims realized savings.
  • monitor series projects local records into UTC minute/hour/day buckets with half-open windows and task/tool/model scope. Currencies, including UNKNOWN, remain separate; it is not a final bill or cross-currency total.
  • monitor forecast projects remaining cost from local same-task/currency observations and explicit progress evidence. It is a linear estimate_not_cap, not a final bill, causal prediction or applied budget control.
  • experiment run executes only named, local-only authorized control/treatment argv with per-pair fresh processes, timeout and output caps. The offline core requires an injected adapter; CLI/MCP explicitly select verovo_local_runner, which stays outside the verovo_healthcheck offline import boundary. Cost remains unknown, output directories never overwrite and process success never becomes causal or production proof.
  • human-baseline compares equal-contract human and agent task arms with direct cost plus declared human-minute cost. It is descriptive and unreconciled, never causal savings or procurement authorization; quality drops and unknown success denominators stay inconclusive.
  • budget resume requires named confirmation, current allow/warn status and a running runtime readback. It preserves spend, appends deduplicated local history and never resets a budget or contacts an external runtime. Outcome transitions append; only identical source+outcome repeats deduplicate. Current hold/review cannot be bypassed by declaration.
  • budget verify reconciles a hold/review decision with a matching stopped runtime readback and complete subsequent-spend coverage. Positive post-stop charges fail and credits cannot mask them; incomplete coverage or ambiguous ordering stays UNPROVABLE. This is local receipt/monitor consistency only, never runtime contact or proof of external-record authenticity.
  • evidence-review projects supplied invoice, contract and attempt evidence into a payable range plus evidence requests. Missing event evidence widens the range; it never becomes a guessed operation count or overcharge.
  • review-queue compares participation, final-round presence and call-count review priority with preserved ties and task-cluster bootstrap. It does not turn a changed review order into a procurement decision.
  • control-coverage separates controlled, uncontrolled, unknown, post-stop and actually avoided spend. Known bypass or positive post-stop charges fail; unknown coverage stays UNPROVABLE.
  • experiment-pairs reports exact McNemar, paired bootstrap, cost/quality differences and proxy-versus-experiment disagreement. decision-utility compares held-out strategies without production routing. Fewer than 30 pairs or a zero-covering interval remains inconclusive.
  • monitor resolution projects a spend alert into ovo.problem-resolution/1 without executing its recommendation. Orphan anomalies retain event/operation/attempt identities. With an authorized local registry, unique task mappings or exact approved billing rules produce a side-effect-free auto_fix reprojection proposal with source refs; missing/conflicting matches stay data_needed, never guessed. CLI --registry and MCP registry share the implementation. Retry or spend anomalies remain buyer business decisions, and an external pause is never implied.
  • monitor notify creates a deduplicated local JSONL alert outbox from active monitoring anomalies. monitor pending lists alerts without a confirmed receipt, and monitor_alerts.deliver uses an injected adapter to append delivery records; failed delivery remains pending. No host wake-up, spend control or default external channel is implied. Repeated tracks do not spam the same anomaly, and damaged outbox data fails closed.
  • spend-actions projects an existing Audit Case into ready/evidence/review/unreviewed/partially_settled/settled work items. Only versioned charge_reviews bound to normalized source content and contract versions become ready for payment; text digests normalize LF/CRLF for cross-platform checkouts. Legacy clean_charge_lines alone does not clear a line. realized requires independently verified credit evidence before becoming settled, and partial credit produces partially_settled. Missing affected lines and duplicate finding IDs fail closed. provider check validates a local Provider Manifest and returns admit/degrade/refuse without contacting the engine or claiming production coverage. Both are Python 3.9 standard-library, read-only workflows.
  • Buyer-close Markdown and terminal summaries lead with the buyer decision, invoice/open difference, accepted tasks, cost and value boundaries; verdict codes, axes, line items and replay metadata stay in the appendix. Open items mean direct payment/renewal is not recommended, never automatic approval. Calculations and verdict semantics do not change.
  • buyer_ledger.period_case.PeriodCase owns the read-only buyer-close projection; CaseRepository owns registered state paths, strict JSON reads, atomic case writes and byte-level projection snapshots. Legacy close init/ingest/mapping writes use the same Repository boundary. Direct projections refuse unfinished journals and detect state drift; close status still runs recovery first and may report unresolved recovery state, so it is not a side-effect-free read. Projections also require report revision, report/calculation/canonical fingerprints and signoff metadata to bind one revision. Revision-built reports carry their actual revision id. Selected-revision review and signoff share the root-case lock, and signing requires an exact reviewer match in manifest.buyer.acceptance_signers. close.build_case remains a compatibility facade.
  • healthcheck/verovo_healthcheck/money.py owns display rounding for task economics, optimization, cost drivers and spend actions. Default two-decimal behavior is unchanged; BHD/IQD/JOD/KWD/LYD/OMR/TND explicitly use three minor units. Zero-decimal currency tolerances and allocation rules remain explicit separate contracts.
  • reproduce builds and verifies in a sibling staging directory before replacing the output. Canonical finance and usage replay remain separate engines and proof scopes.
  • The verovo wheel includes canonical proof commands. Pre-M1 python3 -m buyer_ledger close/reproduce commands are source-checkout tools and are not implied by pipx install verovo.

10. Before you push

cd healthcheck && python3 -m unittest discover -s tests
python3 healthcheck/verovo selftest
python3 registry/validate_metrics.py
python3 conformance/runners/run_metrics.py
python3 conformance/runners/run_outcome_audit.py
python3 conformance/runners/run_delegation.py
python3 conformance/runners/run_sse_usage.py

CI red means do not merge. See CI-DISCIPLINE.md. Package distribution metadata dynamically reads verovo_healthcheck.__version__; release verification must compare both wheel metadata and verovo --version. Stable/Preview 安装入口统一由官网 versions.json 和 assets/sync_versions.py 生成;发布后核验 https://pypi.org/pypi/verovo/<version>/json 的精确版本与文件。历史 Release Workflow 失败必须保留并定位,但若精确 RC 已在 PyPI,不得继续写成“当前分发状态未知”;同时也不得用一次成功发布覆盖或删除失败记录。

发版 PR 合并进 origin/main 并打完 tag 后,回到主工作树执行 git merge --ff-only origin/main。发版在 git worktree 或 临时工作区/ 里完成时主工作树不会自动前进,漏掉这一步会让下一次 review 把已经发布的内容读成大量未提交改动。正确状态是 git status --porcelain 为空。

11. What not to claim

  • Do not state an attribution as a cause (invariant 14)
  • Do not present a participating-network observation as market share (QUALITY 2)
  • Do not sum sub-token fields (cached, reasoning) into totals — they are subsets
  • Do not describe a synthetic fixture as production data

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.