Reporting

From oracle/Fusion-Setup-Configuration-Registry · View interactive version

Reporting is an AI agent skill from the GitHub repository oracle/Fusion-Setup-Configuration-Registry. Validate sanitized implementation-validation evidence and generate HTML/JSON with conservative readiness. Publish new runs into an existing project with artifact registration and token estimates. Build a calculated executive index from explicit prior report sources; entirely local and does not execu

How to use this skill

Skill file

Validation Reporting

Purpose

Generate local stage reports and an executive index from sanitized evidence, preserving scope, provenance and unresolved findings without executing validation checks.

Reviewers: framework architecture owner and QA. This helper performs local report generation only; it does not certify the truth of evidence, inspect customer payloads, enforce a live approval, or contact Fusion.

Prerequisites

Use Python 3.10+; runtime dependencies are standard-library only. The helper validates the supported contract subset and rejects unknown schema keywords. Read report contract for fields, readiness and exit codes. Input must satisfy schemas/implementation-validation-run.schema.json; the old validation-result schema remains supported by its existing consumers and is not modified.

Request modes

Use validation_report.py for a sanitized new stage run. Use executive_summary.py for an index of existing reports; this mode requires a source manifest, not a new run envelope. The input fields above are conditional. A summary-only request goes directly to the executive summary contract and does not recollect evidence or publish an invented stage run.

Workflow — new stage report

  1. Receive a sanitized, redaction-reviewed run from a shared validation skill. Preserve evidence/source identities and recorded business outcomes.
  2. Run local validation without writes:

```bash

python3 core/validation/reporting/scripts/validation_report.py --input /path/to/sanitized-run.json --dry-run

```

  1. Explain derived gaps, blockers and readiness. The script rejects inconsistent PASS records, mixed environments, broken traceability and multi-check transactional invocations. It cannot determine whether a claimed supported API actually exists or whether an approval was obtained; the execution workflow owns those checks.
  2. On an authorized report request, publish a new run:

```bash

python3 core/validation/reporting/scripts/validation_report.py --input /path/to/sanitized-run.json --publish

```

The project_id must identify an existing initialized repository project. Publication writes append-only HTML/JSON under artifacts/shared/validation/<run_id>, registers draft artifacts, records a reporting skill run, updates the project's latest-run reference and appends the standard token log. It never creates a Fusion project/Run Book. If no workspace exists, route to the workspace initializer rather than inventing one in this helper.

  1. For a project summary or final handoff, follow executive summary contract and publish a fresh index.html / index.json from explicitly selected source report pairs. Include the new stage report and the relevant earlier reports; do not silently omit an earlier failure or assume absent stages passed. No project-wide readiness score is calculated.
  2. Return the paths, readiness and estimated tokens. A completed reporting run does not mean the business checks passed. Do not discard reports because their exit code indicates a failure or incomplete verification.

Preflight and approvals

Input schema/semantic validation precedes writes. Require exact project identity, canonical artifact index, safe non-symlink output paths and unused run ID. A validation/report request authorizes new local artifacts and metadata registration; existing run outputs are never overwritten. No live-operation approvals are performed here.

Error handling and recovery

The helper's chars/4 estimate covers sanitized input and report bodies only. It excludes upstream reasoning, external calls, credentials and metadata serialization; owning skills must log their own activity estimates.

Presentation contract

Per-run HTML starts with Run Book task ID, title, recorded status and source completion time, followed by calculated scope/status cards, readiness, gaps/blockers, owners and next actions, requirement mappings, expected/observed assertions, evidence provenance and limitations. An absent completion timestamp is Not recorded, never the capture timestamp. Planned prevalidation tasks are not execution outcomes. Transactions show the new primary-record count, reuse and cleanup disposition separately; unknown counts remain unknown. Evidence references remain escaped text, not arbitrary executable links.

Executive summaries link only validated local stage-report paths and count all selected historical check results with their denominator and stage. They do not close old findings, prove that all Run Book tasks were supplied, or certify stored values. The caller owns source selection, redaction and environment identity. Preserve allowed core status observations only; never persist Data Loader session payloads, previews, hashes, approval objects or encoded artifacts as report evidence. Source SHA-256 values in the summary identify sanitized report files only.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.