Repository navigation
feat: add offline public-document daily-use commands - #59
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary / 概要
Adds an explicit offline
agent-sleep-lab public-document <action>namespace for one persistent public-document store, plus English/Japanese daily-use guidance. No model/provider call, network dispatch, scheduler or automatic adoption is added.initcreates a store; other actions require an existing store.statusandcleanup-previewuse metadata-only, read-only SQLite access within one coherent transaction. Stored state, effective access and cleanup state remain distinct; integrity is not assessed by preview.永続storeの日常操作を明示的なoffline CLIへまとめ、日英手順を追加します。status/previewは本文を読まず、読取りtransaction内でmetadataを確認します。許可・機械的検証・採用・別task利用の境界を維持し、model呼出し・自動採用・定期実行は追加しません。
Verification and bounded allocation / 検証状況
Independent static re-review accepted the bounded trial with the limitations below; this is not behavioral verification, human approval or merge authorization.
ModuleNotFoundError: No module named 'jsonschema'. Zero test bodies ran; no passing result is claimed. Four local slots / one invocation remain charged. No local retry or install was performed.d225b051a191aca1905046c23bb8d7b15be3cd82. The checkout was synthetic PR mergeb1491320561de4197e32b68a6ebcad4ce939d3e5against base73af93896632d460689fa9b6e6846d607dd40c2b, not a landed main merge. The log confirms 4 unique cases / 1 invocation, all PASS (0.315s). AST parsing 117 Python files and documentation checks 793 relative file links / 107 Markdown files also passed (anchors not checked). No full suite, version matrix, build, live-model acceptance or retry was run. The bilingual status pages preserve the explicitly dated prepublication checkpoint; this paragraph records the later CI result without a new code push or another CI invocation.git diff --check; documentation checker 793 relative file links / 107 Markdown files (anchors not checked). These are static checks, not regression or live acceptance.Selected cases (prefix
test_public_document_daily.DailyUseTests.):test_open_and_preview_are_nonmutatingtest_independent_offline_lifecycle_and_scoped_retrievaltest_exact_expiry_preview_and_explicit_sweeptest_purge_recovery_preserves_unknown_and_private_metricslocalは依存不足で読込み失敗し、本体実行0件・合格0件でした。その後、既存の残りCI枠4件/1起動で**4件すべてPASS(0.315秒)**を確認しました。対象は上記exact PR headに対応する合成mergeで、mainへは未マージです。日英status文書は日付付き公開前checkpointとして残し、後のCI結果は本PRへ追記しています。過去のUNKNOWN操作やmodel呼出しは再実行していません。
Known limitations / 既知の制約
purge_pendingeven if deletion already committed or another client finished it. This is not authoritative persisted-state readback. Obtain freshstatusafter a nonzero exit before deciding any further action; do not blindly repeat withdrawal or a paid operation. The bilingual implementation-status pages disclose this limitation.OperationalErrorwithout establishing the exact failing stage. Source review establishes the explicit read transaction; no concurrency stress-test claim is made.purge例外時の
purge_pendingは保守的な診断で、保存状態の再確認ではありません。新しいstatusを確認してから次の操作を判断してください。構成上のidentityや機械的な受領を、認証・意味判断・実運用受入の証拠にはしません。Review scope
Nine files only: one existing workflow, four bilingual documentation pages, CLI dispatch, the read-only runtime seam, one new daily-use module and its four-case test module. Please review the lifecycle/role boundaries and nonmutating status/preview contract. This PR is left unmerged.