Operational Value
Operational value is the degree to which a workflow’s intended repository outcome is attained across eligible opportunities, demonstrated by accepted evidence under a fixed measurement contract.
It measures repository outcomes rather than workflow runs, generated output, or an agent’s assessment. A person or another system achieving the same outcome must count as success under the same contract.
The normative cross-subsystem contract is the Value specification. It connects the frozen measurement, canonical records, 365-day compact history, recurring collectors, webhook hints, private archive linkage, and dashboard presentation without treating those layers as interchangeable.
Value interface at a glance
Section titled “Value interface at a glance”| Step | Supply | Receive |
|---|---|---|
| Define | Workflow intent at adoption, target repository, eligible opportunities, acceptance evidence, metric formula/unit/direction and cadence | Frozen versioned definition and, for recurring acquisition, declared evidence requirements |
| Measure | Requested window and observation time, canonical query access or immutable proof | collectBatch evidence/provenance, then a native-unit score or explicit unavailable result; the adapter sends JSONL definition and assessments to Activity |
| Collect richer evidence | Exact reviewed registration, previous packet, bounded workspace, admitted read-only acquisition | collectValueEvidence returns an original schema-v2 packet with contract, coverage and evidence facts; validation atomically replaces the previous packet |
| Publish and read | Validated original JSONL via Activity, or an administrator-authorized packet via hosted POST /api/v1/value |
Separate canonical measurements, rich evidence and collection-health records; Dashboard Language queries deliver the result and drilldown |
The interface contract shows the exact request and response shapes, boundaries and failure behavior. A published packet is not a collector registration, a collection decision is not an outcome, and a missing assessment is not zero.
For the short intent → output → Git evidence flow, see Define and measure workflow value.
Open Value in the sidebar (the trophy icon) to see reviewed registrations, collection health, native measurements and evidence-backed workflow result cards. This top-level destination is the single discovery surface for workflow Value; it is not repeated as a permanent workflow tab. Collection-health cards may open a workflow-scoped detail page, while result and measurement cards open their retained evidence directly. The legacy Operational Value page and its Repository measurements tab have been removed. Existing native observations remain in the canonical data model; missing measurements are not zero value. A result card appears when a validated report packet has been published. For example, ↑ +38 files · Worse means the independently measured repository population increased by 38 since its displayed first snapshot, against a lower is better goal. It is not an alert, a pre-adoption baseline or a causal rating of the workflow. Select the card to follow consolidated intent, retained safe outputs, distinct accepted changes and their Git evidence; select a measured dot to inspect the exact counted items. The card and native report share one canonical evidence packet, not a saved HTML page. Opening either does not collect new evidence or silently fill missing measurements. Each workflow still needs a frozen measurement contract and published evidence. No packet does not mean unconfigured: an enabled collector can be deferred before its first capture. Only an authoritative policy check establishes an unconfigured or disabled state. Health cards keep the decision time, last actual attempt, successful capture and evidence cutoff separate. A newer failure or deferral does not make retained evidence fresh. “No retained capture” describes available history, not every historical archive. These evidence routes keep their declared cohort and cutoff when the dashboard’s global display horizon changes; they are not new evaluations of that horizon.
Publish a report once
Section titled “Publish a report once”After the skill has collected and validated fresh evidence, use
gh cao value publish OWNER/REPO WORKFLOW --server URL --input REPORT-evidence.jsonl.
This writes original facts through an administrator-authenticated API into the
hosted PostgreSQL canonical database. It does not upload HTML, execute evaluator
code or enable recurring collection. Exact retries are idempotent; conflicts
fail closed. Activity replacement preserves these publications and their
structural parents. The dashboard’s active subscriptions see the new revision;
value-dependent query caches are revision-keyed so an old cached card cannot
hide the new evidence.
See authentication and command details. The synthetic Pages demo does not receive operational evidence.
Verify publication in each deployment
Section titled “Verify publication in each deployment”Use the same exact repository and workflow when comparing deployments. First confirm that the frozen definition and original packet were validated; an evaluation artifact by itself is not a published dashboard result.
- Hosted PostgreSQL: Publish through the authenticated Value API above and
confirm that the receipt advanced the canonical revision (
updated: true) or was an exact idempotent retry (updated: false). Open the same workflow’s Value card and report on the Go-hosted origin. The active view requeries on committed revisions; the browser must not read the Pages cache if the hosted query fails. Local Go/PostgreSQL can query a downloaded snapshot but cannot accept direct Value publication.
Compare the report identity, native unit and direction, original capture,
evidence cutoff, collection decision and last actual attempt in both views.
The decision may be newer than the accepted evidence; matching UI text alone
does not prove matching snapshot revisions. Missing or partial evidence stays
unavailable, not zero. Hosted recurring native acquisition is an additional
explicit deployment choice: the documented Azure collector template leaves
CAO_COLLECT_NATIVE_VALUES unset. Do not enable it, broaden Activity scope or
register every workflow merely to populate the dashboard. Select only verified
collectors under reviewed exact-pair policy with their required quota admission.
Recurring collection after opt-in
Section titled “Recurring collection after opt-in”The skill designs the measurement once. Once the frozen function and bounded collector pass verification, the skill stages registration automatically for that exact repository and workflow. There is no separate enable step in the normal skill flow. A report upload alone is not registration. Unconfigured workflows are never discovered or evaluated automatically.
The skill uses gh cao value enable ... --collector PATH --if-absent to record
the selection under
control-plane.campaigns.activity.workflow-values in the control repository’s
reviewed policy. The collector and policy must be committed and deployed
together; the repository must also be in the effective Activity collection scope.
For a remote collector, the skill includes its verified maximum as
--api-requests N; local-only collectors omit that option.
gh cao value disable ... persists enabled: false without deleting
measurements. Automatic registration preserves existing selections and explicit
disables; use value enable without --if-absent to deliberately re-enable.
Without an enrolled control repository or a verified collector, a function file
alone does not start collection.
The repository-local ECMAScript collector exports its frozen definition and
collectValueEvidence({repository, workflow, observedAt, database, previous, workspace}).
It returns the original schema-v2 operational_value_evidence envelope.
It may acquire bounded, read-only evidence missing from the canonical database;
measurement uses the same fixed rules, never a new model-generated assessment.
Keep immutable measurements and receipts in the supplied per-workflow workspace
for reuse. Uploaded report packets cannot register or execute collector code.
Remote acquisition requires a reviewed api-requests ceiling on the exact
registration. The hosted collector uses shared quota admission and preserves
protected capacity. Missing enforcement or insufficient capacity defers before
invocation and leaves accepted packets, immutable proof and freshness clocks
unchanged. A separate worker alone does not isolate shared quota.
Each invoked collector retains collection-cost.json in its existing private
per-pair proof workspace. Its cumulative totals and last 30 attempts record
actual uncached GitHub requests consumed from the reviewed grant (not the grant
ceiling), separate capacity-check requests, elapsed collector wall time and
stdout bytes, including failed attempts. Unmetered local attempts are counted separately;
wall time is not CPU or billing cost, and Git transport is not included in the
GitHub API count. Capacity checks that defer before invocation appear in the
capacity decision, not as collector attempts. Retained proof and its cost history
are copied forward together, so a failed refresh does not erase prior usage.
Collectors without remote requests need no ceiling. Git transport and immutable blob measurement remain under their separate existing bounds rather than being misrepresented as GitHub REST requests.
Bounded cache-only/local computation remains available separately. The hosted collector uses a separate lease and private snapshot, never the core projection lease. Publication rechecks enrollment and the starting input, policy and retained evidence; a concurrent change defers the result rather than overwriting newer evidence. Completed-cache imports reject conflicting measurements at an identical observation identity. When the optional hosted GitHub App collector is explicitly selected, verified issue, pull-request and completed-run deliveries and default-branch pushes persist a debounced Value refresh hint for enrolled repositories. A separate bounded worker checks reviewed remote registrations, current enrollment and the frozen cadence before collecting; a daily sweep repairs missed webhooks. A webhook is a prompt to inspect evidence, not proof of acceptance or a new capture. Explicit snapshot ingestion does not provide inbound webhooks.
Value uses a versioned safe-output adoption registry. Delivery is a successfully created or applied safe output. Adoption uses an authoritative human decision when GitHub exposes one—such as an issue completed by a human, a merged pull request, an answered discussion, or a published advisory. Where no human decision channel exists, successful delivery is the explicit fallback. Unknown or custom types remain ineligible until reviewed.
The Campaigns dashboard uses these universal lifecycle facts as an evidence
surface before Value evaluation. It counts delivery events by delivered-at
and accepted events by adoption-at inside the selected horizon, keeps every
retained campaign visible, and shows pending, rejected/lifecycle, and
unknown/not-applicable delivery-horizon evidence separately. Those counts use
different clocks and potentially different cohorts, so they are not a
conversion rate, measured impact, or Operational Value. Retention and source
coverage metadata remain part of the interpretation.
Accepted outputs are measured only after a survival window. The collector rechecks that the accepted effect was not reverted, removed, reopened, unpublished, unassigned, hidden, expired before the cutoff, or invalidated by a failed downstream run or session. The before/after diagnostic is anchored to the authoritative acceptance time, not webhook receipt time. A surviving zero or negative result remains valid evidence; a reversed or unobservable effect cannot support positive attributed Value.
The hosted Go worker keeps the installation token out of policy, packets and private proof. Its repository-confined API bridge admits REST/core, search and GraphQL requests against the same shared installation quota used by Activity; GraphQL is limited to the reviewed File Diet query shape and its points are accounted separately from the reviewed API request count. Unsupported query shapes fail closed rather than extending a registration’s authority. Missing quota evidence, exhausted capacity, changed policy/enrollment, incomplete collection or superseded accepted evidence defers publication. On success only validated original packets are atomically published to PostgreSQL. File Diet’s private per-pair proof retains the last 30 attempts’ API request count, wall time and received/output bytes, including failures, plus cumulative observed GraphQL points and the number of requests whose point cost could not be verified. An unknown point cost is not reported as zero; quota preflight is counted as an API call. These are acquisition costs, not CPU or billed spend. On withdrawal the private proof and pending hint are erased. No webhook alone establishes applied-output lineage or cadence-aligned repository snapshots.
Collection decisions and actual attempts retain independent clocks. Reordered or repeated health observations cannot erase a known attempt or restore an older registration. A missing attempt remains unknown; accepted capture and cutoff dates still come only from measurement evidence.
Opening a report does not trigger collection. A failed acquisition, timeout or invalid result leaves previous evidence and its capture/cutoff timestamps intact; it is not a fresh success or zero. Explicit operator evaluation and one-time publication remain separate, subject to their existing authority and budgets.
Collector failures cross runtime boundaries only as bounded categories:
api-budget, budget-unavailable, timeout, output-budget, or
collector-failed. Worker markers cannot supply output-budget; that category
is owned by the host enforcing its output limits. Unknown markers and raw stderr
collapse to the generic category, and hosted diagnostics use fixed host-owned
text. Private cost history may retain the allowlisted category, but diagnostics
never advance evidence freshness.
Daily File Diet collector
Section titled “Daily File Diet collector”.github/value-collectors/daily-file-diet.mjs reuses the existing read-only
File Diet acquisition and report instrument for github/gh-aw only. This
source-managed control-repository collector is not installed into catalog
consumers or registered there automatically. It keeps
the named retrospective 800-line structural measure unchanged; full
behavior-preserving acceptance remains unverified. The collector retains
immutable inventories, applied receipts and all previously accepted snapshot
cutoffs under its supplied workspace’s latest/proof/ directory. Failed or
incomplete refreshes do not replace that accepted proof.
On a cold start it retrieves only the skill’s historical evidence archives at
immutable source revision 0782148c0af21f4f1d10b7cb5e81b571ed58c463, validates
their digests, then acquires fresh discovery and lifecycle evidence. This
preserves verified receipts after upstream artifact expiry without treating the
historical capture as fresh. Subsequent collections continue from their retained
proof and cutoff: discovery and workflow-source history cover only the new
interval, missed daily snapshot cutoffs are reconstructed from immutable Git
history, immutable merged pulls, receipts, snapshots, Git inventories and blob
measurements are reused, and only mutable lifecycle evidence is refreshed.
Rich evidence acquisition has a ten-minute per-collector runtime ceiling
(the hosted wrapper allows ten additional seconds for shutdown), independent
of the shorter compact-measurement budget.
The same reviewed registration pins
.github/value-evidence/daily-file-diet.jsonl.gz to decoded envelope SHA-256
9afaf3b49a02c1eda0c634016bae98bf0be0a5c1b63f1ae6c6353b151301d19e.
That compact retained original reproduces the October 18 schema-v2 packet
without another checkout or network request. Activity validates and merges it
through the shared acceptance boundary while publishing the current recurring
collector deferral independently. Its 2026-10-18T12:05:52.580Z capture and
2026-10-18T11:54:09Z cutoff remain historical; a later Activity run does not
retime either clock.
The control policy explicitly lists the same six repositories previously
collected from scope.allowed-repositories; this pins Activity enrollment
without adding targets or activating Daily File Diet itself. Only the File Diet and Dependabot Update Planner pairs in github/gh-aw are
registered for recurring Value acquisition.
Registration is visible after the collector and policy are reviewed and
deployed together. Its reviewed api-requests: 700 ceiling allows Activity to
refresh it automatically only when that full grant fits above ordinary
collection’s protected reserve.
Collected packets remain in canonical operational stores. Verify the packet in
an authorized hosted or local query result; acquisition or merge alone does not
prove canonical publication. See Agent analysis for local
evidence collection.
Documentation Pages independently builds a synthetic enterprise demo, not a
view of this repository’s measurements. It consumes no operational artifact,
and the former campaigns.dashboard.deploy setting is removed. Direct hosted
publication requires its actual server URL and administrator OAuth session.
Dependabot lifecycle collector
Section titled “Dependabot lifecycle collector”The separately reviewed dependabot-update-planner registration covers only
github/gh-aw. Its Go collector follows bounded alert after cursors for
closed and open Dependabot security-alert lifecycles (at most 100 pages) and Dependabot-authored pull-request search
results (at most ten pages) through the installation’s shared Core and Search
quotas. At 100 records per page, the reviewed ceiling is 111 metered
requests (100 alert pages, ten search pages, and one optional Search-quota
preflight); exceeding either bound, the search-result cap, or the timeout is
missing evidence, not an empty queue. The installation needs Dependabot-alert
and pull-request read permissions for that repository; lacking either defers
collection without changing accepted observations.
Three packets, one for each frozen metric, commit atomically with the private proof after complete acquisition. The local Go evaluator queries only those canonical packets for the aligned seven-day cutoff. It emits numeric open alert, critical/high-alert, and Dependabot PR counts when all three are complete, including genuine zeroes; otherwise it emits missing measurements and preserves earlier accepted captures. This registration does not change the Dependabot campaign’s rollout mode or grant another repository access.
Existing compact repository measurements
Section titled “Existing compact repository measurements”CAO uses one shared campaign module for both collection paths:
- Explicit
cao operational-valuecollection evaluates the current repository observation and publishes compact numeric records to the canonical data model. Automatic local-only computation uses the same contract without remote acquisition. Retention keeps one observation per declared cadence bucket: closed cadence-aligned observations remain fixed, while repeated collections replace the latest observation in the still-open bucket. - Explicit historical evaluation incrementally fills missing immutable observations and produces the evidence archive, timeline, chart, and definitions page.
Both paths import the same frozen evidence contract, collector, and scoring functions. Default routine collection does not rebuild repository history, and a metric cannot drift between the dashboard record and its historical report.
Accepted operational-value observations are queryable from any local or downloaded canonical PostgreSQL namespace with cao query --collection operationalValues. Querying alone does not publish or reconstruct history. An explicit historical evaluation may query missing cadence observations for a named campaign while their authoritative source evidence remains in its bounded canonical database. The automatic local lane does not request that backfill. No history archive is installed with the campaign. Operational records never become Pages demo inputs.
The rolling Activity database is a query source for current observations, not the definition of operational-value history. Explicit evaluation schedules observations from adoption and incrementally preserves accepted snapshots. Git and other immutable repository facts can be reconstructed at historical cutoffs. Ephemeral run, usage, artifact, queue, and tool-call facts can be backfilled only while their source remains available; an expired interval without a contemporaneous snapshot is missing, not zero. Compact operational-value history retains its separate 365-day window, compacted to each metric’s declared cadence plus its latest open-bucket observation, while the explicit evidence archive is the durable since-adoption record.
Standalone design reference
Section titled “Standalone design reference”The operational-value reference prototype contains a seven-scene storyboard, a dependency-free synthetic model, tests, and a reproducible operation-count study with retained offline-replay inputs. It explores independent observation cadence, optional linked-integration questions, selective computation, and evidence timing. It is not a production collector or dashboard feature: the storyboard uses fictional Go-file counts, while the executable study uses a separate synthetic JavaScript-file metric. See its README for local viewing, exact-runtime replay, and limitations.