Skip to content

fix: readable daily-use results and accurate purge recovery state - #60

Merged
moruku36 merged 1 commit into
mainfrom
fix/public-document-daily-readability
Nov 15, 2026
Merged

moruku36 merged 1 commit into
mainfrom
fix/public-document-daily-readability

Conversation

@moruku36

@moruku36 moruku36 commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Summary

Builds on merged PR #59 without duplicating the daily-use lifecycle.

  • Add optional public-document <action> --format text: labeled state, expiry/scope, inventory, receipts and references, plus fixed safe next-step guidance. Default/explicit JSON remains compatible. Dynamic values are ASCII JSON escaped; rendering never dispatches twice.
  • After withdrawal purge errors, read fresh metadata instead of assuming purge is pending. Report observed deletion or unconfirmed state, retain exit 1 after failed attempts, and never retry automatically.
  • Preserve role/adoption/expiry boundaries, read-only metadata status/preview, no-retry records and external exports. No models, credentials, schedules or deployments.
  • Add English/Japanese usage guidance and reconcile PR59 status, retaining dated checkpoints.

Verification and budget

  • Local Python 3.12.14: 4 selected cases / 1 invocation PASS, 0.372s. Installed jsonschema 4.26.0 differs from repository direct pin; PR CI uses pinned direct requirements on Python 3.13.
  • Reserve exactly the same 4 cases / 1 PR CI invocation, total 8 executions / 2 invocations on success. No full suite, version matrix, live call, paid evaluation or retry.
  • Static independent review found no blocking issue. Minor exit-code docstring clarification applied afterward.
  • 117 Python files AST-parsed; 795 relative links / 107 Markdown files passed; git diff --check passed. Anchors not checked.
  • Published tree ef53c85229306d5ee146b051740b43333959808f exactly matches the tested local tree (only documentation changed after behavioral tests).

Selected cases in test_public_document_daily.DailyUseTests:

  1. test_readable_status_and_preview_do_not_mutate
  2. test_readable_retrieval_and_default_json_compatibility
  3. test_withdraw_late_failure_and_unavailable_readback
  4. test_purge_recovery_preserves_unknown_and_private_metrics

Limitations

Text labels are English; Japanese usage documentation is included. Configured roles are not authentication. Metadata status does not assess content integrity. Observed deletion does not prove which client completed it, forensic erasure, or removal of external copies. No long-term usability, performance or cost benefit is claimed.

Owner requested implementation through merge; exact-head CI will be checked before merging.

Exact-head CI verified

Run 43756820633 succeeded for PR head cc4d3536d4573c7e2c7ff28cc8bb8ba56d16b7c0. Checkout was synthetic merge a82afec3458e725c4f7270bf61acb9017262c9e8 against base b07626309b39ec1aaae56b0195abc8f5129851d0. Log confirms 4 unique cases / 1 invocation PASS (0.469s) on Python 3.13.18 with pinned direct requirements, plus 117-file AST and 795-link static checks. Total trial: 8 case executions / 2 invocations, no retries. Source review and mergeability checks passed; proceeding with owner-authorized merge. The documentation checkpoint remains explicitly prepublication rather than triggering another code push.

@moruku36
moruku36 marked this pull request as ready for review November 15, 2026 20:15
@moruku36
moruku36 merged commit 922a55f into main Nov 15, 2026
1 check passed
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.

1 participant