Skip to content

docs(reporting): final user, library and command-line documentation - #278

Open
toddysm wants to merge 4 commits into
mainfrom
feature/transfer-endpoint-report/docs-35ec1eda
Open

toddysm wants to merge 4 commits into
mainfrom
feature/transfer-endpoint-report/docs-35ec1eda

Conversation

@toddysm

@toddysm toddysm commented Dec 6, 2026 •

Copy link
Copy Markdown
Owner

Summary

Closes #263.
Related tracking issue: #254; the capability remains In progress.

  • Add the final workflow/recovery guide, library collector/export/schema reference,
    and command coverage/control reference.
  • Document automatic text, verbosity-zero suppression, JSON diagnostics versus
    result stdout, append/mirroring logs, no-progress behavior, and legacy telemetry.
  • Cover authentication/repeated attempts/all methods, multihop redirects, shared
    assets, timing/count/byte semantics, failure/cancellation/incomplete/no-network
    cases, publication uncertainty, privacy and native resource limits.
  • Update related telemetry/design coverage and navigation, including the delivered
    additive Call fields in the complete schema-v1 sample.
  • Provide close-out input without claiming Implemented, release availability,
    accepted performance budgets or complete legacy debug/metrics accounting.

Validation

Tested head: 76a4b1bf43b105c9068da0bd75c8fbab6e13e3a9.

No documentation builder or Markdown linter is configured. Session-local
verification (not new repository tooling) passed:

  • 385 relative links/anchors across all 11 changed documentation files.
  • Five JSON blocks parsed; complete report samples checked against native record
    fields and report identities.
  • Three Python examples compiled and executed through delivered APIs, including
    a real observed manifest response with network-only stubbing, no-network counts,
    and in-lifetime failed-push export; no Click/CLI import in direct Python usage.
  • Ten supported command leaves and 16 shell examples checked against actual options.
  • Actual built-in transport verified the six-dispatch/two-logical-call
    authentication/redirect pull, four-dispatch/three-endpoint push, conservative
    path redaction and known-zero manifest verification accounting.
  • Three real range jobs followed by one full-body entity restart verified four
    distinct logical calls; transport/authentication resends within a job reuse its ID.
  • An actual CLI dry run with a controlled seven-second preview-output delay
    verified that scope-local output contributes to whole-operation elapsed while
    remote elapsed/attempts stay zero and no registry client is constructed.
  • Accounting-write fault injection confirmed the documented partial-upload-total
    limitation; exact failed/cancelled console excerpts also passed.
  • git diff --check passed.
  • Focused existing tests: 27 passed, 327 deselected:
PYTHONPATH=src python3 -m pytest -q \
  src/regshape/tests/test_request_report.py \
  src/regshape/tests/test_request_report_cli.py \
  src/regshape/tests/test_request_observation.py \
  src/regshape/tests/test_pull_request_report.py \
  -k 'empty_report_exact_schema or telemetry_borrows_collector or every_method_and_no_body or ordinary_auth_get_post or multihop_post_transform or dry_run or disabled_request_reporting or library_import or advertised_manifest_identity_is_not_verification or etag_restart'

Local validation used Python 3.12.4/macOS; GitHub-hosted CI and reviews are
requested separately. No runtime source, tests, dependency manifests or workflow
files changed; no benchmark/resource acceptance was rerun or invented.

Review and handoff

Focused self-review checked the changed references against implementation,
existing tests and merged #277 evidence. Corrected all four Copilot findings:
fallback call/attempt linkage, built-in path redaction, known-zero verification
and incomplete upload totals. Each received its own pushed-fix-SHA reply before
resolution. Validation now uses actual transport observation rather than manual
call bookkeeping for those examples. Same-identity storage trust remains explicit.
The subsequent unanchored Copilot concern about range jobs/restarts was confirmed
and clarified in ed5c7d5, with exact counts checked against the real ranged
receiver/reset scenario. A second unanchored concern about dry-run output timing
was confirmed and corrected in 76a4b1b, including scope-local progress output.
The actual CLI timing check uses a canonical native fixture path rather than
macOS's symlinked temporary-root spelling. Current-head hosted review is requested
separately.
No remaining blocking local findings. No local inline-comment attachment tool
was available. Source assessment is limited to documented APIs/examples; unrelated
legacy source and signature sketches are excluded.

Owner authorized this ready-for-review PR and review-fix SHA replies/thread
resolution. Merge, branch deletion, release and inventory close-out are not
authorized by this build.
#254 remains open and In progress.

…nces

Document controls, collector lifetime, schema, accounting, failure recovery and compatibility evidence for #263. Keep #254 In progress pending documentation merge and inventory close-out.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings December 6, 2026 16:42
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 6, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-06T16:44:07.393062Z 3165d5b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Active documentation inaccuracies misrepresent endpoint redaction, verified-byte counts, authentication call linkage, and potentially incomplete upload totals.

4 open issues
What changed in this PR

Adds final request-report documentation for users, Python callers and CLI users, while keeping the capability In progress and unreleased.

Changes:

  • Documents workflows, output controls and failure recovery.
  • Defines collector lifetime, schema, timing, accounting and privacy limits.
  • Updates navigation and delivery status without claiming performance acceptance.
File Description
specs/​telemetry-enhancements.md Describes the delivered reporting extension.
specs/​request-reporting.md Updates delivery status and schema fields.
README.md Introduces reports and documentation links.
docs/​project-state.md Reconciles coverage and remaining gates.
docs/​library/​telemetry.md Connects telemetry to delivered reporting.
docs/​library/​request-reports.md Adds collector, schema and accounting reference.
docs/​library/​request-report-validation.md Links validation evidence to final documentation.
docs/​library/​README.md Adds library reporting navigation.
docs/​index.md Adds request-report documentation links.
docs/​guides/​request-reports.md Adds workflows, examples and recovery guidance.
docs/​cli/​request-reports.md Defines command coverage, controls and exit behavior.

Review effort: Balanced

Comment thread docs/guides/request-reports.md Resolved
Comment thread docs/library/request-reports.md Resolved
Comment thread docs/library/request-reports.md Resolved
Comment thread docs/library/request-reports.md Resolved
…red observers

Correct authentication call linkage, conservative endpoint redaction, known-zero manifest verification accounting and partial upload totals after collection failure. Addresses all four Copilot review findings on #278 without changing runtime behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human assessment is needed because the documentation may conflate range jobs and restarts that create new logical calls with transport/authentication resends that reuse call IDs.

No open issues 🎉

4 resolved since last review

Review effort: Balanced

Distinguish independent range jobs and entity restarts from resends within a logical call. Clarifies the unanchored concern in the current-head Copilot rereview.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human assessment is needed because an omitted finding identifies a documentation mismatch: dry-run CLI output can contribute to operation timing.

No open issues 🎉

Review effort: Balanced

Clarify that dry-run previews and progress output can contribute to operation elapsed time. Verified with the real dry-run CLI and a controlled output-only clock delay; no registry client was constructed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The request-reporting documentation changes have no active review issues.

No open issues 🎉

Review effort: Balanced

This branch has not been deployed

No deployments
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.

Document request reports, timing interpretation and telemetry compatibility

2 participants