thth 4.5.2__tar.gz → 4.5.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {thth-4.5.2 → thth-4.5.3}/PKG-INFO +1 -1
- {thth-4.5.2 → thth-4.5.3}/bin/thth-remote +23 -1
- {thth-4.5.2 → thth-4.5.3}/mcp/server.py +7 -4
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3142_browser_login.py +2 -1
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s4_bookmark.py +3 -1
- thth-4.5.3/tests/test_v453_approve_redo.py +264 -0
- thth-4.5.3/tests/test_v453_bookmark_gate.py +123 -0
- thth-4.5.3/thth/VERSION +1 -0
- {thth-4.5.2 → thth-4.5.3}/thth/bookmark_batch.py +10 -3
- {thth-4.5.2 → thth-4.5.3}/thth/bookmark_cli.py +49 -7
- {thth-4.5.2 → thth-4.5.3}/thth/cli.py +427 -156
- {thth-4.5.2 → thth-4.5.3}/thth/remote.py +6 -0
- thth-4.5.2/thth/VERSION +0 -1
- {thth-4.5.2 → thth-4.5.3}/.gitignore +0 -0
- {thth-4.5.2 → thth-4.5.3}/LICENSE +0 -0
- {thth-4.5.2 → thth-4.5.3}/README.md +0 -0
- {thth-4.5.2 → thth-4.5.3}/accounts.example/bluesky.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/accounts.example/hatenablog.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/accounts.example/mastodon.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/accounts.example/principal-hatena.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/accounts.example/threads.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/accounts.example/x.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/bin/thth +0 -0
- {thth-4.5.2 → thth-4.5.3}/bin/thth-run +0 -0
- {thth-4.5.2 → thth-4.5.3}/pyproject.toml +0 -0
- {thth-4.5.2 → thth-4.5.3}/skills/thth/SKILL.md +0 -0
- {thth-4.5.2 → thth-4.5.3}/skills/thth-admin/SKILL.md +0 -0
- {thth-4.5.2 → thth-4.5.3}/systemd/thth@.service +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/__init__.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/conftest.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/coordination_snapshot.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/fixtures/GraphemeBreakTest-17.0.0.txt +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/fixtures/build_injection_eval.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/fixtures/callback/worker_responses.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/fixtures/injection_eval.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/fixtures/limits_stage3/README.txt +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/fixtures/limits_stage3/ledgers/vm-kopicha-hatenablog.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/fixtures/limits_stage3/ledgers/vm-kopicha-x.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/fixtures/limits_stage3/ledgers/vm-music-threads.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/fixtures/limits_stage3/principals/vm-kopicha.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/fixtures/twitter_text_v3_weighted.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/fixtures/umami-bile.md +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/hatena_s1_flow_helpers.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/hatena_s1_helpers.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/hatena_s2_helpers.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/hatena_s2_http.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/hatena_s3_helpers.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/hatena_s4_helpers.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/hatena_s5_helpers.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/hatena_s6_helpers.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/helpers/__init__.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/helpers/fake_oauth_server.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/helpers/fake_push_adapter.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/helpers/fake_redirect_server.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/helpers/fake_search_adapter.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/helpers/fake_threads_reader.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/helpers/fake_threads_status.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/helpers/fake_threads_writes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/helpers/fake_x.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/helpers/hold_lock.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/helpers/hold_repo_lock.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/helpers/worker_probe.mjs +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_27_acceptance_fixes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_account_name_check.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_account_report.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_accounts_dir.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_adapter_boundary.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_admin_http_mcp.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_admin_log.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_admin_notifications.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_admin_repairs.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_admin_report.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_after_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_analytics_comparison.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_analytics_report.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_api_diagnostic.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_api_error_body.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_app_env_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_approval.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_approve_cmd.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_ask.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_assess.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_atlas_fifth_review.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_atlas_fourth_review.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_atlas_review.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_atlas_second_review.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_atlas_third_review.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_audit1_fixes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_audit2_fixes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_audit_b_counterexamples.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_audit_b_m1_semantics.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_audit_b_n1_depth.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_audit_b_r1_closure.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_audit_v201.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_audit_v23_details.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_auth.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_auth_identity_required.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_b17_remote_reads.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_behind_remote.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_bluesky_adapter.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_bluesky_secret_scrub.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_board_needs_review.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_board_running.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_branch_replies.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_bundle.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_bundle_not_type_mismatch.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_charcount.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_cli_entrypoint.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_cli_help.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_cli_vm_path.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_collect.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_collect_engagements.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_collect_runs.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_collect_sent.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_comparability.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_control_chars_refused.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_conversation_paging.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_count_for.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_docs_links.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_doctor.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_doctor_all_permissions.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_doctor_next_step.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_duplicate_front_matter_keys.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_editorial_audit.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_editorial_n3_n4.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_engagements.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_external_acceptance.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_fake_api.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_form_spec.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_form_spec_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_forms.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_fresh_install.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_front_matter_injection.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_healthcheck_notifications.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_hypotheses.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_hypothesis_boundaries.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_hypothesis_units.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_impact_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_inbox_granted_scopes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_incident_notifications.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_independent_thread_review.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_independent_topic_review.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_independent_topic_review_r2.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_inflight.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_inflight_tag_body_hash.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_jst.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_limits_policy.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_limits_stage2.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_limits_stage3.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_limits_stage4.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_lint.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_list_projections.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_llm_trial.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_llm_trial_engage.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_lock.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_m2_independent.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_maintain.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_mastodon_adapter.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_mastodon_visibility.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_max_per_run.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_mcp.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_mcp_robustness.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_measured.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_media_accounts.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_media_next_steps.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_media_roundtrip.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_media_traits.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_mismatch_diagnostics.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_n5_reply_null_element.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_n6_replies_incomplete_ledger.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_n7_doctor_error_body.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_no_limits.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_observation_provenance.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_operations_handoff.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_packaging.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_preview.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_production_mode.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_pull_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_pulse.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_queue.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_quiet_hours.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_r2_r4_r5.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_read_cli_bare_runtimeerror.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_reason_adoption.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_redact.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_redirect_token_leak.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_refresh.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_refresh_destination.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_rejudge_new.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_rejudge_r2_r3.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_replies.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_replies_refresh.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_repo_lock.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_repo_sync.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_report_checkout_import.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_report_http.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_report_isolation.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_report_service.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_retract_already_gone.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_reverse_audit.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_review_case_id_cluster_m2.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_review_case_id_cluster_r2.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_review_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_review_evidence_account.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_review_form_spec_and_case_id.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_review_provenance.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_review_records.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_revoke.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_roundtrip.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_run_missing_env.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_run_record_failclosed.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_runs_collected.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_runs_read_rows.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_schedule_multiple.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_schedule_view.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_scopes_source_requested.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_search_engage_targets.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_search_media_routes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_secret_value_redact.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_secrets_grep.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_security_small_fixes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_select.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_selfupdate.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_send.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_send_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_send_control_chars.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_send_guard_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_send_media.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_send_visibility.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_sent_integrity.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_server_json.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_site.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_skill_doc.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_study_report.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_systemd.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_thread_publish.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_thread_read.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_threadrun.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_threads_read_permissions.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_threadshape.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_thth_root.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_token_exists.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_token_scopes_record.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_token_set.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_topic.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_topic_advice.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_topic_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_topic_models.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_topic_review_fixes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_topic_shelf_observers.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_topic_store.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_topics_record_concurrent.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_topics_tool.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_trial_frictions.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v1015_path_semantics.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v1015_take_what_we_can.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_admin_transaction.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_approve_account.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_json_contract.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_length.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_lock_wait.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_mastodon_scopes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_mentions.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_post_urls.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_repo_paths.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_reposts.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_study_add.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_tool_version.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_unanswered.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_unanswered_scope.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_where_arguments.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_where_filters.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v210_who_arguments.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v211_auth_integration.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v211_authflow.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v211_bluesky_stdin.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v211_doctor_binding.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v211_mastodon_auth.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v211_x_auth.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_ask_coordination.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_budget.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_budget_auth.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_budget_mcp.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_deletion.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_leave.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_leave_gate.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_leave_providers.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_leave_token_safety.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_mastodon_guide.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_mcp_compat.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_missing_token.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_read_coordination.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_relay.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_server_writes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_token_parent.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v212_write_storage.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v2131_send_dry_run.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v2131_threads_publish_wait.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v2132_send_inflight_hint.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v2132_threads_create_timeout.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v2132_threads_create_unknown.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_acceptance_fixes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_adts_asf.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_attachment_kinds.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_bluesky_external.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_bluesky_media.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_bluesky_metadata.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_bluesky_metadata_uri.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_bluesky_metadata_video.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_bluesky_record.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_bluesky_record_video.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_bluesky_video.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_bluesky_webm_named.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_bmff_typed_metadata.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_budget_lock.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_capabilities.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_carryover_timeout.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_graphemes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_auth_media.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_bmff_audio.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_flac.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_gif.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_link.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_media.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_mp3.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_ogg_opus.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_ogg_vorbis.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_poll.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_primary_size_boundary.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_quote.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_thumbnail.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_wav.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_webm_audio.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_mastodon_webm_video.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_media_cleanup.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_media_formats.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_media_foundation.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_media_prepared.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_media_relay.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_media_relay_refusals.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_media_upload.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_review_followups.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_stage810_audit.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_static_diagnostics.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_stop_observation.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_systemd_worker.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_threads_ghost.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_threads_gif.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_threads_link.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_threads_media.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_threads_media_spoiler.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_threads_poll.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_threads_quote.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_threads_quote_media.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_threads_replies.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_threads_text.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_threads_text_spoiler.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_threads_video.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_transport_review.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_video_typed_metadata.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_vorbis_comment_boundary.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v213_webm_schema_boundary.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v2141_draft_lint_reason.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v2141_managed_repo_umask.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v214_release_signing.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v214_x_adapter.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v214_x_auth.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v214_x_media.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v214_x_posts_budget.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v21b_approved_writes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v28_tags.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3100_docs.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3100_invite_admin_approval.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3100_invite_create.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3100_invite_credential.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3100_invite_limits.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3100_invite_worker.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v310_morning.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v310_search_timeout.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v310_watch_words.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3111_observe_counts_only.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3111_observe_no_world.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v311_leave_same_user.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v311_mastodon_retract.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v311_morning_overdue.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v311_morning_own_exclusion.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v311_morning_unanswered_window.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v311_notifications_guidance.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v311_replies_owned.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3120_activity.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3120_admin_write_reasons.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3120_guard.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3120_worker_version.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v312_leave_shared_token.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v312_own_handles_stopped.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v312_report_admin.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v312_report_channel.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v312_report_inbox.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v312_report_mcp_user.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3140_api_relay.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3140_invite_key.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3140_remote_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3140_server_reads.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3143_activity_push.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3143_cli_umask_leave.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3143_inflight_remote.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3143_managed_repo_recover.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v315_reactions.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v317_run_lock_wait.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3180_json_names.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3180_map_timer.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3180_where_filters.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3180_where_keep.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3192_publish_hold.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v31_analysis.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v31_collection.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3200_x_weighted_length.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v320_reply_to_file_display.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v320_reply_to_file_lint.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v320_reply_to_file_resolve.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v320_report_fixes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3220_account_scheduled.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3220_bluesky_reply_control.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3220_bluesky_retract.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3220_invite_mastodon.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3220_mentions_inbox.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v3250_burst_reply_queue.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v330_fingerprint_version.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v330_held.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v330_held_names.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v330_last_refusals.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v330_notification_route.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v330_observe.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v330_report_friction.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v330_report_words.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v330_reports_effect.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v331_inflight_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v331_listing_resolve.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v331_outbox_retention.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v331_publish_status.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v331_self_resolve.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v340_plaza_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v340_plaza_docs.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v340_plaza_fields.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v340_plaza_mcp.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v340_plaza_morning.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v340_plaza_observe.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v340_plaza_open.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v340_plaza_open_confirm.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v340_plaza_reply.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v340_plaza_store.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v350_map_docs.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v350_map_nodes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v350_map_observe.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v350_map_plaza.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v350_map_retention.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v350_map_self.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v350_map_show.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v350_map_world.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v351_leave_timers.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v351_plaza_open_holes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v351_who_owned.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v360_goal_analytics.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v360_goal_docs.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v360_goal_observe_map.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v360_goal_plaza.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v360_goal_record.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v360_goal_send.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v360_report_timeline.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v370_account_self_healing.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v370_approve_pending.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v370_click_attribution.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v370_collection_stale_basis.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v370_docs.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v370_follow_comparison.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v370_local_path.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v370_weekly_goals.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v370_where_aggregate.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v370_where_also.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v370_where_zero.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v380_docs.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v380_plaza_digest.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v380_plaza_from.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v380_plaza_mcp.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v380_plaza_moments.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v380_plaza_owner.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v380_plaza_received.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v380_plaza_triggers.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v381_plaza_visibility_default.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v382_confirm_file.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v382_first_stage_not_refusal.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v382_reader_lock_and_push_pending.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v382_sync_without_fetch_head.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v390_docs.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v390_per_post_clicks.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v390_where_rate.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v390_where_suggest.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v391_plaza_text_numbers.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_jikki_1017.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_jikki_1017_bookmark.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s1_approve.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s1_deliveries.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s1_events.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s1_fingerprints.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s1_guard.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s1_locks.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s1_principals.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s1_publish.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s1_remote.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s2_adapter.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s2_audit.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s2_audit_fixes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s2_commit.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s2_convert.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s2_held.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s2_oauth1.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s2_principal_auth.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s2_syntax_readback.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s3_adapter.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s3_convert.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s3_flow.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s4_announce.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s4_audit_fixes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s4_ledger.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s5_audit_fixes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s5_conflict.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s5_detect.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s5_guard_remote.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s5_jikki.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s6_audit_fixes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s6_bundle.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v400_s6_collect.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v401_board_hatena_token.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v401_bookmark_burst.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v40_contract_json.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v410_audit_night.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v410_bookmark_batch.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v411_batch_cleanup.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v420_bookmark_edit.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v420_bookmark_tag_bytes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v421_audit_fixes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v422_bookmark_rejections.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v422_sparse_checkout.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v430_reply_batch.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v431_stopped_timer.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v440_reply_follow.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v441_approval_ledger.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v442_sync_lookup.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v450_x_full_archive.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_v452_schedule_stock.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_value_domains_shown.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_version.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_where_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_where_threads_tag_author.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_who_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_writeback_rebase.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_writeback_validate.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_x_community.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_x_list.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_x_metrics.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_x_owned_metrics.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_x_search_thread.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_x_token_autorefresh.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/tests/test_x_trends_counts.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/__init__.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/__main__.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/_grapheme_data.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/account_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/account_report.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/account_settings.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/accounts.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/activity.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/__init__.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/_x_text_data.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/auth_mastodon.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/auth_threads.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/auth_x.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/base.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/bluesky.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/bluesky_media.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/bluesky_video.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/fotolife.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/hatena_common.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/hatenablog.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/hatenabookmark.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/hatenastar.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/mastodon.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/mastodon_media.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/threads.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/threads_media.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/x.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/x_media.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/adapters/x_text.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/admin_diagnose.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/admin_log.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/admin_notifications.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/admin_report.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/advise.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/after_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/analytics_clicks.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/analytics_comparison.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/analytics_goals.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/analytics_report.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/analytics_shapes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/analytics_threads.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/analytics_weekly.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/announce.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/api_diagnostic.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/api_requests.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/appconfig.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/appenv.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/approval.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/approval_ledger.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/approve_pending.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/archive_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/article_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/article_reactions.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/ask.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/ask_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/assess.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/audioformats.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/authclients.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/authflow.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/authpassword.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/bluesky_metadata.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/budget_x.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/budget_x_posts.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/bundle.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/burst_queue.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/click_attribution.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/collect.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/collection_context.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/collection_status.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/community_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/conflict_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/core.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/deletion.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/deliveries.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/deliveries_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/doctor.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/ebmlaudio.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/ebmlvideo.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/engagements.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/events_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/fingerprint_golden.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/flacformats.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/forms.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/fotolife_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/goals.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/graphemes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/guard.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/handoff_cursor.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/hatena_bookmark.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/hatena_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/hatena_conflict.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/hatena_convert.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/hatena_entry.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/hatena_fotolife.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/hatena_publish.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/hatena_reactions.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/healthcheck.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/httpsafe.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/incident.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/inflight.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/inflight_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/inflight_resolve.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/invites.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/jst.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/leave.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/leave_gate.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/limits_config.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/limits_policy.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/limits_view.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/lint.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/list_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/lock.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/maintain.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/managed_repo.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/map_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/map_store.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/map_view.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/map_world.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/measured.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_capabilities.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_cleanup.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_delivery.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_observations.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_relay.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_traits/bluesky.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_traits/fotolife.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_traits/hatenablog.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_traits/hatenabookmark.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_traits/mastodon.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_traits/misskey.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_traits/threads.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_traits/x.json +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_traits.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/media_uploads.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/mediaformats.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/morning.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/mpeg_audio.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/notification_route.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/oauth.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/oauth1.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/oggformats.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/operations_handoff.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/plaza.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/plaza_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/plaza_from.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/plaza_moments.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/plaza_observe.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/plaza_reads.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/plaza_redact.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/postid.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/principal_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/principals.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/private_store.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/publish_hold.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/pulse.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/queuefile.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/reaction_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/reactions.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/read_coordination.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/read_window.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/redact.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/refusals.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/relay.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/replies.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/reply_follow.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/report.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/report_details.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/report_http.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/report_inbox.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/report_isolation.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/report_service.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/report_timeline.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/retract_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/runs.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/scopes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/secrets_fs.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/select.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/selfupdate.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/sent.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/server_files.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/server_reads.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/server_writes.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/stop_observation.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/study_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/study_report.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/summary_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/systemd_gen.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/tags.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/thread_read.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/threadrun.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/threads_read_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/threadshape.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/threadthrow.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/timer_cleanup.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/tool_version.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/topic_advice.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/topic_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/topic_models.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/topic_store.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/topics.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/trends_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/unanswered.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/vorbisformats.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/watch_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/where_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/where_keep.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/where_suggest.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/who_cli.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/worker.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/worker_version.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/writeback.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/x_archive.py +0 -0
- {thth-4.5.2 → thth-4.5.3}/thth/x_metrics.py +0 -0
|
@@ -54,4 +54,26 @@ esac
|
|
|
54
54
|
if [ -n "$TTY_FLAG" ]; then
|
|
55
55
|
exec ssh -t "$HOST" "$REMOTE"
|
|
56
56
|
fi
|
|
57
|
-
|
|
57
|
+
|
|
58
|
+
# 4.5.3: 標準入力は、読むと分かっているときだけ VM へ渡す(こぴちゃ 第3 の 3)。
|
|
59
|
+
# `while read f; do thth revoke "$f"; done < list` が 1 本で止まった——VM の thth は標準入力を
|
|
60
|
+
# 読まないのに、**ssh が手元の標準入力を先に吸い上げて VM へ送っていた**(ループの残りの行が消える)。
|
|
61
|
+
# 渡すのは: 引数に `-`(`--confirm-file -`・`bookmark batch <口座> -`・`revoke -` など)か `…=-` か
|
|
62
|
+
# `--…stdin`(`--stdin`・`--json-stdin`・`--secret-stdin` など)があるとき、と、`send` で本文の引数
|
|
63
|
+
# (`--text`・`--text-file`・`--media`)が無いとき(4.4.2 で案内した `thth send <口座> … < <ファイル>`
|
|
64
|
+
# の互換)。それ以外は `ssh -n`(標準入力を /dev/null に)。
|
|
65
|
+
STDIN_WANTED=""
|
|
66
|
+
SEND_BODY_GIVEN=""
|
|
67
|
+
for arg in "$@"; do
|
|
68
|
+
case "$arg" in
|
|
69
|
+
-|*=-|--*stdin) STDIN_WANTED=1 ;;
|
|
70
|
+
--text|--text=*|--text-file|--text-file=*|--media|--media=*) SEND_BODY_GIVEN=1 ;;
|
|
71
|
+
esac
|
|
72
|
+
done
|
|
73
|
+
if [ "${1:-}" = "send" ] && [ -z "$SEND_BODY_GIVEN" ]; then
|
|
74
|
+
STDIN_WANTED=1
|
|
75
|
+
fi
|
|
76
|
+
if [ -n "$STDIN_WANTED" ]; then
|
|
77
|
+
exec ssh "$HOST" "$REMOTE"
|
|
78
|
+
fi
|
|
79
|
+
exec ssh -n "$HOST" "$REMOTE"
|
|
@@ -821,7 +821,8 @@ SERVER_TOOLS = [
|
|
|
821
821
|
('schedule_request',('draft_id','confirm','approval'),('draft_id',)),
|
|
822
822
|
# 4.0 S1 §7.3: はてなブックマーク(2 段・送信は S4)。tags は a,b の 1 行。
|
|
823
823
|
# 4.0 S4 §11: delivery(自分の記事)か url(参照先)のどちらか 1 つ・op は add(既定)か delete。
|
|
824
|
-
|
|
824
|
+
# 4.5.3: approval(hub の承認の番号)。口座の台帳が require_gate: true なら --production に要る。
|
|
825
|
+
('bookmark_request',('delivery','url','comment','tags','confirm','op','approval'),()),
|
|
825
826
|
('draft_list',(),()),('queue',(),())) ]
|
|
826
827
|
|
|
827
828
|
# 公開・削除・予約の 3 本は、頼まれたらその場で行う(承認ページは無い・設計 3.13.0)。安全装置は効く。
|
|
@@ -858,7 +859,7 @@ SERVER_TOOLS += [
|
|
|
858
859
|
"付けると順番待ちに置く。付けるのは timer(7〜23 時・上限と連投の窓の中で 1 件ずつ間を散らし、1 件ごとに"
|
|
859
860
|
"1 件ずつの承認と同じ柵を通す)。結果が分からない札は打ち直さない",
|
|
860
861
|
"inputSchema": {"type": "object", "properties": {"account": {"type": "string"}, "text": {"type": "string"},
|
|
861
|
-
"confirm": {"type": "string"}},
|
|
862
|
+
"confirm": {"type": "string"}, "approval": {"type": "string"}},
|
|
862
863
|
"required": ["account", "text"], "additionalProperties": False}},
|
|
863
864
|
{"name": "thth_bookmark_batch_status",
|
|
864
865
|
"description": "まとめて承認したブックマークの札の状態(読むだけ): まとめごとの数・待ち・付けた・結果不明・断った札と理由・"
|
|
@@ -1192,10 +1193,12 @@ REMOTE_CLI = {
|
|
|
1192
1193
|
if a.get("op") not in ("delete", "edit") or
|
|
1193
1194
|
(a.get("op") == "edit" and a.get("comment") is not None) else []),
|
|
1194
1195
|
*_opt("--tags", a.get("tags")),
|
|
1195
|
-
*_opt("--confirm", a.get("confirm")),
|
|
1196
|
+
*_opt("--confirm", a.get("confirm")),
|
|
1197
|
+
*_opt("--approval", a.get("approval")), "--production", "--json"], None),
|
|
1196
1198
|
# 4.1: 札のファイルの中身は標準入力で(`thth bookmark batch <口座> -`)。
|
|
1197
1199
|
"thth_bookmark_batch_request": (lambda a: ["bookmark", "batch", a["account"], "-",
|
|
1198
|
-
*_opt("--confirm", a.get("confirm")),
|
|
1200
|
+
*_opt("--confirm", a.get("confirm")),
|
|
1201
|
+
*_opt("--approval", a.get("approval")), "--production", "--json"], "text"),
|
|
1199
1202
|
"thth_bookmark_batch_status": (lambda a: ["bookmark", "batch-status", a["account"], "--json",
|
|
1200
1203
|
*_opt("--batch", a.get("batch"))], None),
|
|
1201
1204
|
"thth_bookmark_batch_cancel": (lambda a: ["bookmark", "batch-cancel", a["account"], a["batch"], "--json",
|
|
@@ -327,7 +327,8 @@ def test_ラッパは_login_logout_だけ手元の_thth_に渡す(shims, argv):
|
|
|
327
327
|
def test_ラッパはそれ以外を今までどおり_VM_へ(shims, argv):
|
|
328
328
|
rc, log = call_wrapper(shims, *argv)
|
|
329
329
|
assert rc == 0
|
|
330
|
-
|
|
330
|
+
# 4.5.3: 標準入力を読まない命令は `ssh -n`(ループの標準入力を吸わない)。
|
|
331
|
+
assert log.startswith("ssh -n wt ") and log.count("\n") == 1, "手元の thth は呼ばれない"
|
|
331
332
|
assert log.rstrip("\n").endswith("exec thth" + "".join(" " + a for a in argv))
|
|
332
333
|
|
|
333
334
|
|
|
@@ -533,7 +533,9 @@ def test_T_S4_10b_MCPに足すのは引数だけで道具は足さない(mcp_ser
|
|
|
533
533
|
assert first_table == BEFORE_S4_SERVER_TOOLS
|
|
534
534
|
assert not [n for n in names if "announce" in n]
|
|
535
535
|
tool = next(t for t in mcp_server.SERVER_TOOLS if t["name"] == "thth_bookmark_request")
|
|
536
|
-
|
|
536
|
+
# 4.5.3: approval(hub の承認の番号・require_gate: true の口座の --production に要る)も引数として足した。
|
|
537
|
+
assert set(tool["inputSchema"]["properties"]) == {"account", "delivery", "url", "comment", "tags", "confirm", "op",
|
|
538
|
+
"approval"}
|
|
537
539
|
build, _ = mcp_server.REMOTE_CLI["thth_bookmark_request"]
|
|
538
540
|
assert build({"account": "a", "url": EXTERNAL, "comment": "c"}) == [
|
|
539
541
|
"bookmark", "add", "a", "--url=" + EXTERNAL, "--comment=c", "--production", "--json"]
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
"""4.5.3 の柵: 承認のやり直しの手数(計画 4.4.3・こぴちゃ 第3 の 2・3・6)。
|
|
2
|
+
|
|
3
|
+
- (1) `thth approve --digest-only`: 本文を出さず束の digest を 1 行だけ標準出力へ。lint の誤りは標準エラーと
|
|
4
|
+
rc 1。`--confirm` とは一緒に使えない。出した digest で `--confirm` が通る。
|
|
5
|
+
- (2) `thth revoke` の複数・ディレクトリ・`--account`・`-`(標準入力のパスの並び)。取り消せない本だけ断る。
|
|
6
|
+
同期は repo ごとに 1 回(と書いたあとの見直しの 1 回)。相対パスが 2 つの repo に当たっても `--account` で解ける。
|
|
7
|
+
- (3) 手元のラッパ(`bin/thth-remote`)は、`-`・`--…stdin`・本文の引数の無い `send` のときだけ
|
|
8
|
+
標準入力を VM へ渡す。それ以外は `ssh -n`(`while read` のループの入力を吸わない)。
|
|
9
|
+
- (4) 承認済みの原稿の本文を直したら、revoke せずに approve の 2 段で承認し直せる。1 段目が「差し替わる」と言う。
|
|
10
|
+
"""
|
|
11
|
+
from __future__ import annotations
|
|
12
|
+
|
|
13
|
+
import json
|
|
14
|
+
import os
|
|
15
|
+
import subprocess
|
|
16
|
+
from pathlib import Path
|
|
17
|
+
|
|
18
|
+
from tests.conftest import approve_via_cli, init_git_pair, make_queue_text, run_git, run_thth
|
|
19
|
+
from thth import approval_ledger
|
|
20
|
+
|
|
21
|
+
REL = "docs/sns/queue/a.md"
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def _setup(tmp_path, factory, *, name=None, sub="r1", fm=None, body="## threads\n\nBODY_A\n"):
|
|
25
|
+
fm = {"status": "draft", **({"account": name} if name else {}), **(fm or {})}
|
|
26
|
+
pair = init_git_pair(tmp_path / sub, seed_content=make_queue_text(fm, body=body))
|
|
27
|
+
kwargs = {"name": name} if name else {}
|
|
28
|
+
acct = factory(repo_dir=pair["work"], production=True, quiet_hours=None, min_interval_hours=0, **kwargs)
|
|
29
|
+
return pair, acct
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def _push(pair, rel, text, message="add"):
|
|
33
|
+
seed = Path(pair["seed"]) / rel
|
|
34
|
+
run_git(pair["seed"], ["pull", "-q", "--ff-only"])
|
|
35
|
+
seed.parent.mkdir(parents=True, exist_ok=True)
|
|
36
|
+
seed.write_text(text, encoding="utf-8")
|
|
37
|
+
run_git(pair["seed"], ["add", rel])
|
|
38
|
+
run_git(pair["seed"], ["commit", "-q", "-m", message])
|
|
39
|
+
run_git(pair["seed"], ["push", "-q"])
|
|
40
|
+
run_git(pair["work"], ["pull", "-q", "--ff-only"])
|
|
41
|
+
return Path(pair["work"]) / rel
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def _digest_lines(stdout):
|
|
45
|
+
return [line.split(": ", 1)[1].strip() for line in stdout.splitlines()
|
|
46
|
+
if line.startswith(("digest: ", "束の digest: "))]
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
# ---------------------------------------------------------------- (1) --digest-only
|
|
50
|
+
|
|
51
|
+
def test_digest_only_prints_one_line_and_confirms(tmp_path, isolated_account_factory):
|
|
52
|
+
pair, acct = _setup(tmp_path, isolated_account_factory)
|
|
53
|
+
path = str(Path(pair["work"]) / REL)
|
|
54
|
+
full = run_thth(["approve", path])
|
|
55
|
+
assert full.returncode == 1
|
|
56
|
+
only = run_thth(["approve", path, "--digest-only"])
|
|
57
|
+
assert only.returncode == 0, only.stderr
|
|
58
|
+
assert only.stdout.splitlines() == [_digest_lines(full.stdout)[-1]]
|
|
59
|
+
assert "BODY_A" not in only.stdout and "BODY_A" not in only.stderr
|
|
60
|
+
done = run_thth(["approve", path, "--confirm", only.stdout.strip(), "--by", "テスト"])
|
|
61
|
+
assert done.returncode == 0, done.stderr
|
|
62
|
+
assert approval_ledger.load(acct["name"])[REL]["state"] == "approved"
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def test_digest_only_bundles_many_files_into_one_digest(tmp_path, isolated_account_factory):
|
|
66
|
+
pair, _acct = _setup(tmp_path, isolated_account_factory)
|
|
67
|
+
second = _push(pair, "docs/sns/queue/b.md", make_queue_text({"status": "draft"}, body="## threads\n\nBODY_B\n"))
|
|
68
|
+
first = str(Path(pair["work"]) / REL)
|
|
69
|
+
full = run_thth(["approve", first, str(second)])
|
|
70
|
+
only = run_thth(["approve", first, str(second), "--digest-only"])
|
|
71
|
+
assert only.returncode == 0, only.stderr
|
|
72
|
+
assert len(only.stdout.splitlines()) == 1
|
|
73
|
+
assert only.stdout.strip() == _digest_lines(full.stdout)[-1] # 束の digest
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
def test_digest_only_lint_error_goes_to_stderr_and_rc1(tmp_path, isolated_account_factory):
|
|
77
|
+
pair, _acct = _setup(tmp_path, isolated_account_factory, body="## threads\n\n#tag1 #tag2 本文\n")
|
|
78
|
+
bad = run_thth(["approve", str(Path(pair["work"]) / REL), "--digest-only"])
|
|
79
|
+
assert bad.returncode == 1
|
|
80
|
+
assert bad.stdout == ""
|
|
81
|
+
assert "lint に通りません" in bad.stderr
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
def test_digest_only_json_has_no_body(tmp_path, isolated_account_factory):
|
|
85
|
+
pair, _acct = _setup(tmp_path, isolated_account_factory)
|
|
86
|
+
only = run_thth(["approve", str(Path(pair["work"]) / REL), "--digest-only", "--json"])
|
|
87
|
+
assert only.returncode == 0, only.stderr
|
|
88
|
+
data = json.loads(only.stdout)
|
|
89
|
+
assert data["digest_only"] is True and data["ok"] is True and len(data["bundle_digest"]) == 12
|
|
90
|
+
assert "BODY_A" not in only.stdout
|
|
91
|
+
assert all("text" not in row and "segments" not in row for row in data["files"])
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def test_digest_only_refuses_with_confirm(tmp_path, isolated_account_factory):
|
|
95
|
+
pair, _acct = _setup(tmp_path, isolated_account_factory)
|
|
96
|
+
both = run_thth(["approve", str(Path(pair["work"]) / REL), "--digest-only", "--confirm", "0" * 12])
|
|
97
|
+
assert both.returncode == 2
|
|
98
|
+
assert "--digest-only" in both.stderr
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
# ---------------------------------------------------------------- (2) revoke の複数
|
|
102
|
+
|
|
103
|
+
def _three(tmp_path, factory):
|
|
104
|
+
"""承認済み 2 本(a・b)と下書き 1 本(c)。"""
|
|
105
|
+
pair, acct = _setup(tmp_path, factory)
|
|
106
|
+
b = _push(pair, "docs/sns/queue/b.md", make_queue_text({"status": "draft"}, body="## threads\n\nBODY_B\n"))
|
|
107
|
+
c = _push(pair, "docs/sns/queue/c.md", make_queue_text({"status": "draft"}, body="## threads\n\nBODY_C\n"))
|
|
108
|
+
a = Path(pair["work"]) / REL
|
|
109
|
+
for path in (a, b):
|
|
110
|
+
assert approve_via_cli(str(path)).returncode == 0
|
|
111
|
+
return pair, acct, a, b, c
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def test_revoke_many_refuses_only_the_one_that_cannot(tmp_path, isolated_account_factory):
|
|
115
|
+
_pair, acct, a, b, c = _three(tmp_path, isolated_account_factory)
|
|
116
|
+
# 断る本(c・下書き)を先頭に置く: 1 本目の断りで残りを止めない。
|
|
117
|
+
result = run_thth(["revoke", str(c), str(a), str(b), "--by", "テスト", "--json"])
|
|
118
|
+
assert result.returncode == 1, result.stderr
|
|
119
|
+
data = json.loads(result.stdout)
|
|
120
|
+
assert [Path(r["file"]).name for r in data["revoked"]] == ["a.md", "b.md"]
|
|
121
|
+
assert [Path(r["file"]).name for r in data["refused"]] == ["c.md"]
|
|
122
|
+
assert "承認されていません" in data["refused"][0]["reason"]
|
|
123
|
+
ledger = approval_ledger.load(acct["name"])
|
|
124
|
+
assert ledger[REL]["state"] == ledger["docs/sns/queue/b.md"]["state"] == "revoked"
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
def test_revoke_directory_picks_only_approved(tmp_path, isolated_account_factory):
|
|
128
|
+
pair, acct, _a, _b, _c = _three(tmp_path, isolated_account_factory)
|
|
129
|
+
result = run_thth(["revoke", str(Path(pair["work"]) / "docs/sns/queue"), "--by", "テスト"])
|
|
130
|
+
assert result.returncode == 0, result.stderr
|
|
131
|
+
assert "取り消し 2 本・断った 0 本" in result.stdout
|
|
132
|
+
assert approval_ledger.load(acct["name"])["docs/sns/queue/b.md"]["state"] == "revoked"
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
def test_revoke_paths_from_stdin_only_with_dash(tmp_path, isolated_account_factory):
|
|
136
|
+
_pair, acct, a, b, _c = _three(tmp_path, isolated_account_factory)
|
|
137
|
+
result = run_thth(["revoke", "-", "--by", "テスト"], stdin=f"{a}\n\n# 注釈\n{b}\n")
|
|
138
|
+
assert result.returncode == 0, result.stderr
|
|
139
|
+
assert "取り消し 2 本" in result.stdout
|
|
140
|
+
assert approval_ledger.load(acct["name"])[REL]["state"] == "revoked"
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
def test_revoke_syncs_and_locks_once_per_repo(tmp_path, isolated_account_factory, monkeypatch, capsys):
|
|
144
|
+
import argparse
|
|
145
|
+
from thth import cli as cli_mod
|
|
146
|
+
_pair, _acct, a, b, _c = _three(tmp_path, isolated_account_factory)
|
|
147
|
+
calls = {"sync": 0, "lock": 0}
|
|
148
|
+
real_sync, real_acquire = cli_mod.writeback_mod.sync_repo, cli_mod.lock_mod.acquire
|
|
149
|
+
|
|
150
|
+
def sync(repo):
|
|
151
|
+
calls["sync"] += 1
|
|
152
|
+
return real_sync(repo)
|
|
153
|
+
|
|
154
|
+
def acquire(lock, seconds=0):
|
|
155
|
+
calls["lock"] += 1
|
|
156
|
+
return real_acquire(lock, seconds)
|
|
157
|
+
monkeypatch.setattr(cli_mod.writeback_mod, "sync_repo", sync)
|
|
158
|
+
monkeypatch.setattr(cli_mod.lock_mod, "acquire", acquire)
|
|
159
|
+
rc = cli_mod.cmd_revoke(argparse.Namespace(file=[str(a), str(b)], reason=None, by="テスト", json=False,
|
|
160
|
+
account=None, wait=0))
|
|
161
|
+
capsys.readouterr()
|
|
162
|
+
assert rc == 0
|
|
163
|
+
# 取り消しの前の同期 1 回と、書いたあとの見直しの 1 回(1 本ずつではない)。
|
|
164
|
+
assert calls == {"sync": 2, "lock": 1}
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
def test_revoke_account_resolves_same_relative_path_in_two_repos(tmp_path, isolated_account_factory):
|
|
168
|
+
first, acct1 = _setup(tmp_path, isolated_account_factory, sub="r1")
|
|
169
|
+
second, acct2 = _setup(tmp_path, isolated_account_factory, name="other-threads", sub="r2")
|
|
170
|
+
for pair in (first, second):
|
|
171
|
+
assert approve_via_cli(str(Path(pair["work"]) / REL)).returncode == 0
|
|
172
|
+
ambiguous = run_thth(["revoke", REL, "--by", "テスト"], cwd=str(tmp_path))
|
|
173
|
+
assert ambiguous.returncode == 2
|
|
174
|
+
assert "複数の repo に同じパス" in ambiguous.stderr and "--account" in ambiguous.stderr
|
|
175
|
+
chosen = run_thth(["revoke", REL, "--account", "other-threads", "--by", "テスト"], cwd=str(tmp_path))
|
|
176
|
+
assert chosen.returncode == 0, chosen.stderr
|
|
177
|
+
assert approval_ledger.load(acct2["name"])[REL]["state"] == "revoked"
|
|
178
|
+
assert approval_ledger.load(acct1["name"])[REL]["state"] == "approved"
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
def test_approve_account_also_resolves_same_relative_path(tmp_path, isolated_account_factory):
|
|
182
|
+
_setup(tmp_path, isolated_account_factory, sub="r1")
|
|
183
|
+
_setup(tmp_path, isolated_account_factory, name="other-threads", sub="r2")
|
|
184
|
+
first = run_thth(["approve", REL, "--account", "other-threads", "--digest-only"], cwd=str(tmp_path))
|
|
185
|
+
assert first.returncode == 0, first.stderr
|
|
186
|
+
assert "r2" in first.stderr # 解いた先は other-threads の repo
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
# ---------------------------------------------------------------- (3) ラッパの標準入力
|
|
190
|
+
|
|
191
|
+
WRAPPER = Path(__file__).resolve().parents[1] / "bin" / "thth-remote"
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
def _wrapper_env(tmp_path):
|
|
195
|
+
"""偽の ssh: `-n` が無ければ標準入力を読み切る(本物の ssh と同じく VM へ送る形)。呼ばれた形を書く。"""
|
|
196
|
+
bin_dir = tmp_path / "bin"
|
|
197
|
+
bin_dir.mkdir()
|
|
198
|
+
log = tmp_path / "ssh.log"
|
|
199
|
+
ssh = bin_dir / "ssh"
|
|
200
|
+
ssh.write_text('#!/bin/sh\n'
|
|
201
|
+
'if [ "$1" = "-n" ]; then printf "n\\n" >> "' + str(log) + '"; '
|
|
202
|
+
'else cat > /dev/null; printf "stdin\\n" >> "' + str(log) + '"; fi\n')
|
|
203
|
+
ssh.chmod(0o755)
|
|
204
|
+
wrapper = tmp_path / "thth"
|
|
205
|
+
wrapper.write_text(WRAPPER.read_text())
|
|
206
|
+
wrapper.chmod(0o755)
|
|
207
|
+
return wrapper, {"PATH": f"{bin_dir}:/usr/bin:/bin", "HOME": str(tmp_path)}, log
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
def test_wrapper_does_not_eat_loop_stdin(tmp_path):
|
|
211
|
+
wrapper, env, log = _wrapper_env(tmp_path)
|
|
212
|
+
script = f'while read f; do /bin/bash "{wrapper}" revoke "$f" --by t; done'
|
|
213
|
+
subprocess.run(["/bin/bash", "-c", script], input="a.md\nb.md\nc.md\n", env=env, text=True, timeout=30,
|
|
214
|
+
check=True)
|
|
215
|
+
assert log.read_text().splitlines() == ["n", "n", "n"]
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
def test_wrapper_forwards_stdin_only_when_asked(tmp_path):
|
|
219
|
+
wrapper, env, log = _wrapper_env(tmp_path)
|
|
220
|
+
cases = [
|
|
221
|
+
(["revoke", "-", "--by", "t"], "stdin"),
|
|
222
|
+
(["approve", "--confirm-file", "-", "--by", "t"], "stdin"),
|
|
223
|
+
(["token", "set", "acct", "--stdin"], None), # tty を割り当てる道(-t)は変えない
|
|
224
|
+
(["topics", "observe", "--json-stdin"], "stdin"),
|
|
225
|
+
(["send", "acct"], "stdin"), # 4.4.2 で案内した `send … < <ファイル>`
|
|
226
|
+
(["send", "acct", "--text-file", "-"], "stdin"),
|
|
227
|
+
(["send", "acct", "--text-file", "x.txt"], "n"),
|
|
228
|
+
(["send", "acct", "--text", "hi"], "n"),
|
|
229
|
+
(["approve", "docs/sns/queue/a.md"], "n"),
|
|
230
|
+
]
|
|
231
|
+
for argv, expected in cases:
|
|
232
|
+
if log.exists():
|
|
233
|
+
log.unlink()
|
|
234
|
+
subprocess.run(["/bin/bash", str(wrapper), *argv], input="x\n", env=env, text=True, timeout=30,
|
|
235
|
+
check=True)
|
|
236
|
+
if expected is None:
|
|
237
|
+
continue
|
|
238
|
+
assert log.read_text().splitlines() == [expected], argv
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
# ---------------------------------------------------------------- (4) 本文の差し替え
|
|
242
|
+
|
|
243
|
+
def test_reapprove_after_edit_without_revoke(tmp_path, isolated_account_factory):
|
|
244
|
+
pair, acct = _setup(tmp_path, isolated_account_factory)
|
|
245
|
+
path = Path(pair["work"]) / REL
|
|
246
|
+
assert approve_via_cli(str(path)).returncode == 0
|
|
247
|
+
old_sha = approval_ledger.load(acct["name"])[REL]["approved_sha"]
|
|
248
|
+
_push(pair, REL, (Path(pair["seed"]) / REL).read_text().replace("BODY_A", "BODY_B"), "edit")
|
|
249
|
+
first = run_thth(["approve", str(path)])
|
|
250
|
+
assert first.returncode == 1
|
|
251
|
+
assert "差し替わります" in first.stdout and "revoke は要りません" in first.stdout
|
|
252
|
+
assert old_sha[:12] in first.stdout
|
|
253
|
+
as_json = json.loads(run_thth(["approve", str(path), "--json"]).stdout)
|
|
254
|
+
assert as_json["files"][0]["replaces"]["approved_sha"] == old_sha[:12]
|
|
255
|
+
again = approve_via_cli(str(path))
|
|
256
|
+
assert again.returncode == 0, again.stderr
|
|
257
|
+
entry = approval_ledger.load(acct["name"])[REL]
|
|
258
|
+
assert entry["state"] == "approved" and entry["approved_sha"] != old_sha
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
def test_first_approval_has_no_replaces_line(tmp_path, isolated_account_factory):
|
|
262
|
+
pair, _acct = _setup(tmp_path, isolated_account_factory)
|
|
263
|
+
first = run_thth(["approve", str(Path(pair["work"]) / REL)])
|
|
264
|
+
assert "差し替わります" not in first.stdout and "承認済みです" not in first.stdout
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"""4.5.3 の柵: はてなブックマークの CLI の `--production` も口座の台帳の `require_gate: true` に従う
|
|
2
|
+
(計画 4.4.3 の伺い 2・本線と合意。4.4.1 では gate の範囲の外だった)。
|
|
3
|
+
|
|
4
|
+
- add・edit・batch の 2 段目: 番号が無いか形が違えば、打つ前(HTTP も順番待ちも無し)に断る。
|
|
5
|
+
- 正しい番号なら通り、まとめて承認ではまとめのファイルに番号を残す。
|
|
6
|
+
- `require_gate` の無い口座は今までどおり番号なしで通る(既存の試験が見ている)。
|
|
7
|
+
"""
|
|
8
|
+
from __future__ import annotations
|
|
9
|
+
|
|
10
|
+
import json
|
|
11
|
+
|
|
12
|
+
import pytest
|
|
13
|
+
|
|
14
|
+
from tests.hatena_s1_flow_helpers import call
|
|
15
|
+
from tests.hatena_s4_helpers import ACCOUNT, EXTERNAL, bm, calls, fake_http, world # noqa: F401
|
|
16
|
+
from tests.test_v410_bookmark_batch import bb, item, write # noqa: F401
|
|
17
|
+
from thth import bookmark_batch
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def _require_gate(world):
|
|
21
|
+
data = world.account(ACCOUNT)
|
|
22
|
+
data["require_gate"] = True
|
|
23
|
+
world.write_account(data)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def _add_stage1(extra=()):
|
|
27
|
+
rc, out, err = call(["bookmark", "add", ACCOUNT, "--url", EXTERNAL, "--comment", "c", "--json", *extra])
|
|
28
|
+
assert rc == 1, (out, err)
|
|
29
|
+
return json.loads(out)["digest"]
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def _add_stage2(digest, extra=()):
|
|
33
|
+
return call(["bookmark", "add", ACCOUNT, "--url", EXTERNAL, "--comment", "c", "--confirm", digest,
|
|
34
|
+
"--by", "tester", "--production", "--json", *extra])
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
@pytest.mark.parametrize("extra, code", [((), "approval_gate_required"),
|
|
38
|
+
(("--approval", "A2610-25"), "approval_invalid")])
|
|
39
|
+
def test_add_refuses_without_gate_before_any_http(bm, extra, code):
|
|
40
|
+
_require_gate(bm)
|
|
41
|
+
digest = _add_stage1()
|
|
42
|
+
before = len(calls(bm, "POST"))
|
|
43
|
+
rc, out, err = _add_stage2(digest, extra)
|
|
44
|
+
assert rc == 1, (out, err)
|
|
45
|
+
assert json.loads(out)["error"] == code
|
|
46
|
+
assert len(calls(bm, "POST")) == before
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def test_add_with_gate_goes_through(bm):
|
|
50
|
+
_require_gate(bm)
|
|
51
|
+
digest = _add_stage1()
|
|
52
|
+
rc, out, err = _add_stage2(digest, ("--approval", "A261023-7"))
|
|
53
|
+
assert rc == 0, (out, err)
|
|
54
|
+
assert json.loads(out)["approval"] == "A261023-7"
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def test_first_stage_hint_names_approval(bm):
|
|
58
|
+
_require_gate(bm)
|
|
59
|
+
rc, out, err = call(["bookmark", "add", ACCOUNT, "--url", EXTERNAL, "--comment", "c"])
|
|
60
|
+
assert rc == 1
|
|
61
|
+
assert "--approval <番号>" in out
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def test_edit_refuses_without_gate(bm):
|
|
65
|
+
_require_gate(bm)
|
|
66
|
+
rc, out, err = _add_stage2(_add_stage1(), ("--approval", "A261023-7"))
|
|
67
|
+
assert rc == 0, (out, err)
|
|
68
|
+
edit = ["bookmark", "edit", ACCOUNT, "--url", EXTERNAL, "--comment", "d", "--json"]
|
|
69
|
+
rc, out, err = call(edit)
|
|
70
|
+
assert rc == 1, (out, err)
|
|
71
|
+
digest = json.loads(out)["digest"]
|
|
72
|
+
before = len(calls(bm, "POST"))
|
|
73
|
+
rc, out, err = call(edit + ["--confirm", digest, "--by", "tester", "--production"])
|
|
74
|
+
assert rc == 1 and json.loads(out)["error"] == "approval_gate_required", (out, err)
|
|
75
|
+
assert len(calls(bm, "POST")) == before
|
|
76
|
+
rc, out, err = call(edit + ["--confirm", digest, "--by", "tester", "--production", "--approval", "A261023-9"])
|
|
77
|
+
assert rc == 0, (out, err)
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
def test_batch_refuses_without_gate_and_records_gate(bb): # noqa: F811
|
|
81
|
+
_require_gate(bb)
|
|
82
|
+
path = write(bb, [item("https://a.example.com/page/1")])
|
|
83
|
+
rc, out, err = call(["bookmark", "batch", ACCOUNT, path, "--json"])
|
|
84
|
+
digest = json.loads(out)["digest"]
|
|
85
|
+
rc, out, err = call(["bookmark", "batch", ACCOUNT, path, "--confirm", digest, "--by", "masaru",
|
|
86
|
+
"--production", "--json"])
|
|
87
|
+
assert rc == 1 and json.loads(out)["error"] == "approval_gate_required", (out, err)
|
|
88
|
+
assert bookmark_batch.load_batches(ACCOUNT) == []
|
|
89
|
+
rc, out, err = call(["bookmark", "batch", ACCOUNT, path, "--confirm", digest, "--by", "masaru",
|
|
90
|
+
"--production", "--approval", "A261023-8", "--json"])
|
|
91
|
+
assert rc == 0, (out, err)
|
|
92
|
+
[batch] = bookmark_batch.load_batches(ACCOUNT)
|
|
93
|
+
assert batch["approval"] == "A261023-8"
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
def test_batch_without_require_gate_needs_no_number(bb): # noqa: F811
|
|
97
|
+
path = write(bb, [item("https://a.example.com/page/1")])
|
|
98
|
+
rc, out, err = call(["bookmark", "batch", ACCOUNT, path, "--json"])
|
|
99
|
+
digest = json.loads(out)["digest"]
|
|
100
|
+
rc, out, err = call(["bookmark", "batch", ACCOUNT, path, "--confirm", digest, "--by", "masaru",
|
|
101
|
+
"--production", "--json"])
|
|
102
|
+
assert rc == 0, (out, err)
|
|
103
|
+
[batch] = bookmark_batch.load_batches(ACCOUNT)
|
|
104
|
+
assert "approval" not in batch
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
# 監査(Fable 10/23): MCP の bookmark_request・bookmark_batch_request も approval を受け、
|
|
108
|
+
# 遠くの CLI に --approval を組む(無いと require_gate: true の口座で MCP からは必ず断られる)。
|
|
109
|
+
def test_mcp_bookmark_tools_accept_and_forward_approval():
|
|
110
|
+
import os
|
|
111
|
+
import sys as _sys
|
|
112
|
+
_sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "mcp"))
|
|
113
|
+
import server
|
|
114
|
+
tools = {t["name"]: t for t in server.SERVER_TOOLS}
|
|
115
|
+
for name in ("thth_bookmark_request", "thth_bookmark_batch_request"):
|
|
116
|
+
assert "approval" in tools[name]["inputSchema"]["properties"], name
|
|
117
|
+
add_argv = server.REMOTE_CLI["thth_bookmark_request"][0]({"account": "alpha", "url": EXTERNAL,
|
|
118
|
+
"approval": "A261021-25"})
|
|
119
|
+
batch_argv = server.REMOTE_CLI["thth_bookmark_batch_request"][0]({"account": "alpha", "text": "",
|
|
120
|
+
"approval": "A261021-25"})
|
|
121
|
+
assert "--approval=A261021-25" in add_argv and "--approval=A261021-25" in batch_argv
|
|
122
|
+
assert not any(a.startswith("--approval") for a in
|
|
123
|
+
server.REMOTE_CLI["thth_bookmark_request"][0]({"account": "alpha", "url": EXTERNAL}))
|
thth-4.5.3/thth/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4.5.3
|
|
@@ -561,8 +561,13 @@ def lines(p: dict) -> list:
|
|
|
561
561
|
# 2 段目(§20.5・口座のロックの中で呼ぶ)
|
|
562
562
|
# --------------------------------------------------------------------------
|
|
563
563
|
|
|
564
|
-
def approve_locked(account_name: str, cfg: dict, p: dict, *, actor, via, credential=None, now=None
|
|
565
|
-
|
|
564
|
+
def approve_locked(account_name: str, cfg: dict, p: dict, *, actor, via, credential=None, now=None,
|
|
565
|
+
approval=None) -> dict:
|
|
566
|
+
"""1 段目の材料 `p`(ロックの中で作り直したもの)を順番待ちに置く。
|
|
567
|
+
|
|
568
|
+
`approval`(4.5.3): hub の承認の番号(CLI の `--approval`)。あればまとめのファイルに残す
|
|
569
|
+
(無ければ鍵ごと書かない——4.5.2 までのまとめと同じ形)。
|
|
570
|
+
"""
|
|
566
571
|
from . import guard, principals
|
|
567
572
|
if not p["included"]:
|
|
568
573
|
raise BatchError("batch_empty")
|
|
@@ -598,6 +603,8 @@ def approve_locked(account_name: str, cfg: dict, p: dict, *, actor, via, credent
|
|
|
598
603
|
"excluded": [{"n": r["n"], "line": r["line"], "url": r.get("url"), "reason": r["reason"],
|
|
599
604
|
"detail": r.get("detail")} for r in p["items"] if not r["include"]],
|
|
600
605
|
"items": items}
|
|
606
|
+
if approval:
|
|
607
|
+
batch["approval"] = approval
|
|
601
608
|
_save_batch(account_name, batch)
|
|
602
609
|
try:
|
|
603
610
|
from . import admin_log
|
|
@@ -607,7 +614,7 @@ def approve_locked(account_name: str, cfg: dict, p: dict, *, actor, via, credent
|
|
|
607
614
|
pass
|
|
608
615
|
return {"account": account_name, "status": "queued", "batch": batch["batch"], "digest": batch["digest"],
|
|
609
616
|
"queued": len(items), "excluded": len(batch["excluded"]), "expires_at": batch["expires_at"],
|
|
610
|
-
"approved_by": actor}
|
|
617
|
+
"approved_by": actor, **({"approval": approval} if approval else {})}
|
|
611
618
|
|
|
612
619
|
|
|
613
620
|
def cancel_locked(account_name: str, batch_id: str, *, by, item=None, now=None) -> dict:
|