oc-box 1.7.224.dev0__tar.gz → 1.7.225.dev0__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.
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/.github/workflows/ci.yml +12 -4
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/AGENTS.md +12 -5
- {oc_box-1.7.224.dev0/src/oc_box.egg-info → oc_box-1.7.225.dev0}/PKG-INFO +1 -1
- oc_box-1.7.225.dev0/build-info.json +7 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/cli.md +38 -8
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/oc-box.1 +7 -5
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/oc-box.info +66 -32
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/oc-box.texi +7 -5
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/releases/1.7.md +60 -4
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/testing.md +91 -4
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/history_reader.py +192 -65
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/history_recovery.py +34 -1
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/oc_box.py +5 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/workspace_service.py +7 -3
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0/src/oc_box.egg-info}/PKG-INFO +1 -1
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_history_recovery_v2.py +136 -26
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_history_subagent_recovery_v2.py +10 -5
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_history_reader.py +418 -84
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_history_recovery.py +217 -35
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_workspace_service.py +25 -6
- oc_box-1.7.224.dev0/build-info.json +0 -7
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/.github/workflows/distros.yml +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/.github/workflows/linkedin.yml +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/.github/workflows/publish.yml +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/CONTRIBUTING.md +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/LICENSE +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/MANIFEST.in +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/NOTICE +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/README.md +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/SECURITY.md +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/completions/oc-box +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/host-plugins.md +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/opencode-2.md +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/plans/exit-sync-activity-timeout.md +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/release-announcements.md +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/releases/tui-v1.md +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/sharing-handoff.md +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/sharing-host-acceptance.md +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/tui.md +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/ui-state.md +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/update-channels.md +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/docs/web-shell.md +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/install.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/install.sh +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/pyproject.toml +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/setup.cfg +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/setup.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/_oc_box_build.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/__init__.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/__main__.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/activity_log.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/attachment_io.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/attachments.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/backup_archive.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/backup_crypto.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/backups.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/bootstrap.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/credentials.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/dependencies.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/host_drop.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/host_drop_input.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/host_drop_io.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/install.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/installation.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/native_tabs.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/opencode_compat.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/opencode_v2_io.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/package_updates.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/paths.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/plugin_bridge.js +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/plugin_compat.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/private_memory.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/secret_prompt.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/session_backups.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/session_terminal.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/sharing.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/status_report.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/sync_config.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/terminal_ui.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui_app.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui_backend.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui_backup_workflow.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui_clipboard.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui_logs.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui_management.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui_notifications.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui_operation_io.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui_operations.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui_sessions.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui_settings.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui_status.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui_storage.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/tui_terminal.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/ui_state.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/ui_state_memory.js +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/ui_state_rpc.js +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/ui_state_server.js +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/ui_state_tui.js +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/update_channels.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/updater.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/vault.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/version_info.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/web_attachments.js +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/web_attachments.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/web_sessions.css +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/web_sessions.js +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/web_sessions.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/workspace_control.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/workspace_identity.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box/workspace_preferences.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box.egg-info/SOURCES.txt +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box.egg-info/dependency_links.txt +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box.egg-info/entry_points.txt +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box.egg-info/requires.txt +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/src/oc_box.egg-info/top_level.txt +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/copied_plugin_bytes.mjs +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/fixture_services.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/host_sandbox_fixture.mjs +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/interrupted_v1_fixture.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/native_plugin_fixture.mjs +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/plugin_bridge_fixture.mjs +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_attachments_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_build_permissions_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_global_vault.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_global_vault_host_helpers.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_host_drop_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_host_plugins.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_image_preview_preferences_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_mainline.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_native_host_port.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_native_preferences_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_native_tabs_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_session_backup_transport_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_session_backups_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_session_sync_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_sharing_host_helpers.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_sharing_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_tui_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_ui_state_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_web_attachments_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/smoke_web_sessions_v2.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_activity_log.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_attachment_io.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_attachments.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_backup_archive.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_backup_crypto.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_backups.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_channel_bootstrap.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_channel_installer.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_channel_updater.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_ci_ubuntu_apt.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_completion.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_dependencies.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_documentation.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_global_vault.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_global_vault_edges_host_fixture.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_global_vault_host_fixture.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_global_vault_launch.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_history_source_lease.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_home_ownership_host_fixture.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_host_drop.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_host_drop_input.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_host_drop_io.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_host_drop_preferences.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_host_plugin_migration.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_image_preview.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_interactive_host_fixture.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_interactive_host_service_port.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_native_host_port.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_native_recovery_process.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_native_tab_routing.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_native_tabs.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_oc_box.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_opencode_compat.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_package_updates.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_packaging.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_plugin_compat.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_podman_options.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_private_memory.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_private_output.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_process_io.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_release_announcement_workflows.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_release_announcements.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_release_artifacts.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_release_card.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_release_channels.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_secret_prompt.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_session_backups.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_session_import.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_session_sync.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_session_sync_host_fixture.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_session_terminal.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_sharing.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_sharing_archive_scan.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_sharing_backup_diagnostic.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_sharing_backup_probe.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_sharing_fixture_provider.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_sharing_host_fixture.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_sharing_host_oracles.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_sharing_owner_control.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_sharing_pax_metadata.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_sharing_pax_reason.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_sharing_session_payload.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_sharing_transport.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_src_layout.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_stale_workspaces.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_startup.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_status.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_sync_config_preferences.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_terminal.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_app.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_backend.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_backup_integration.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_backup_workflow.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_card_layout.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_card_metrics.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_cli.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_clipboard.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_clipboard_privacy.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_delete_notifications.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_display_performance.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_global_interactions.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_input_controls.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_installation.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_loading.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_log_feedback.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_logs.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_management.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_management_cards.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_notifications.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_operation_io.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_operation_results.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_operations.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_selection.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_sessions.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_settings.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_status.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_storage.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_tui_terminal.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_ui_state.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_update_channels.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_updater.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_upgrade_cli.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_v2_host_fixture.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_vault.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_version.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_web_attachments.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_web_sessions.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_workspace_control.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_workspace_identity.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_workspace_preferences.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/test_workspace_repair.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/ui_state_fixture.mjs +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/web_attachments_browser.mjs +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/web_attachments_shell_dom.mjs +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tests/web_sessions_dom.mjs +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/announce_release.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/benchmark_tui_display.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/build_docs.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/check_package.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/check_release.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/check_release_artifacts.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/ci_ubuntu_apt.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/diagnose_import.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/diagnose_sharing_backup.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/host_sandbox.js +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/migrate_host_plugins.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/native_plugins/lemonade-models/index.js +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/native_plugins/no-nested-sandbox/index.js +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/native_plugins/output-clamp/index.js +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/native_plugins/pdf-to-text/index.js +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/native_plugins/python-isolation/index.js +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/port_host_plugins.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/release_card.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/sharing_archive_scan.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/sharing_archive_scan_original.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/sharing_backup_probe.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/sharing_fixture_provider.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/sharing_pax_reason.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/test_backup_podman.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/test_dependency_distro.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/test_global_vault_edges_podman.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/test_global_vault_podman.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/test_home_ownership_podman.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/test_interactive_podman.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/test_session_sync_podman.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/test_sharing_podman.py +0 -0
- {oc_box-1.7.224.dev0 → oc_box-1.7.225.dev0}/tools/test_v2_podman.py +0 -0
|
@@ -91,9 +91,15 @@ jobs:
|
|
|
91
91
|
"$RUNNER_TEMP/global-vault-tests/bin/python" -B tests/smoke_build_permissions_v2.py --opencode "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
92
92
|
"$RUNNER_TEMP/global-vault-tests/bin/python" -B tests/smoke_global_vault_host_helpers.py --opencode-v2 "$RUNNER_TEMP/opencode-v2/node_modules/.bin/opencode"
|
|
93
93
|
|
|
94
|
-
opencode-
|
|
94
|
+
opencode-v23-history:
|
|
95
95
|
runs-on: ubuntu-latest
|
|
96
96
|
timeout-minutes: 10
|
|
97
|
+
strategy:
|
|
98
|
+
fail-fast: false
|
|
99
|
+
matrix:
|
|
100
|
+
# Retain the original regression and follow stable 2.3 patches without
|
|
101
|
+
# another patch-version allowlist edit. The fixture records exact identity.
|
|
102
|
+
opencode: ['2.3.0', '~2.3.0']
|
|
97
103
|
steps:
|
|
98
104
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
99
105
|
with:
|
|
@@ -102,9 +108,11 @@ jobs:
|
|
|
102
108
|
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
|
103
109
|
with:
|
|
104
110
|
python-version: '3.13'
|
|
105
|
-
- name: Install unmodified OpenCode
|
|
106
|
-
run: npm install --prefix "$RUNNER_TEMP/opencode-
|
|
111
|
+
- name: Install unmodified OpenCode ${{ matrix.opencode }} in temporary storage
|
|
112
|
+
run: npm install --prefix "$RUNNER_TEMP/opencode-v23" --no-audit --no-fund @opencode/cli@${{ matrix.opencode }}
|
|
113
|
+
- name: Record the exact selected native version
|
|
114
|
+
run: '"$RUNNER_TEMP/opencode-v23/node_modules/.bin/opencode" --version'
|
|
107
115
|
- name: Native retained-subagent history snapshot regression
|
|
108
116
|
run: >-
|
|
109
117
|
python3 -B tests/smoke_history_subagent_recovery_v2.py
|
|
110
|
-
--opencode "$RUNNER_TEMP/opencode-
|
|
118
|
+
--opencode "$RUNNER_TEMP/opencode-v23/node_modules/.bin/opencode"
|
|
@@ -146,11 +146,18 @@ their checkout ownership distinct from unrelated source and flat installations.
|
|
|
146
146
|
exclusive against reset/purge/backup. Attach never refreshes credentials.
|
|
147
147
|
- `history_recovery.py` / `history_reader.py` / `workspace_control.py`: one bounded
|
|
148
148
|
persisted-history snapshot after audited live timeouts: shell-only on native
|
|
149
|
-
2.2.6/2.2.7; shell/subagent on
|
|
150
|
-
native job cleanup. The 2.3.
|
|
151
|
-
source/destination native history processing; image/unknown jobs, unknown forms,
|
|
152
|
-
legacy background rows and incompatible schemas refuse.
|
|
153
|
-
|
|
149
|
+
2.2.6/2.2.7; shell/subagent on canonical stable 2.3.x. Never a live readiness
|
|
150
|
+
waiver or native job cleanup. The shared 2.3.x profile checks durable job/recovery
|
|
151
|
+
metadata before source/destination native history processing; image/unknown jobs, unknown forms,
|
|
152
|
+
legacy background rows and incompatible schemas refuse. Actual binary versions
|
|
153
|
+
must match the captured exact patch on both sides; a shared series is not a
|
|
154
|
+
patch-mismatch waiver or untested-future-native acceptance. Prereleases,
|
|
155
|
+
modified/malformed identities and unknown minor/major series refuse.
|
|
156
|
+
Detected contract/version incompatibilities give fixed-category guidance to
|
|
157
|
+
update oc-box/OpenCode as appropriate, never a reset or state-downgrade bypass.
|
|
158
|
+
Do not misclassify ordinary activity, timeouts or cleanup failures as version
|
|
159
|
+
drift. Never substitute normal manual-sync preparation or managed restart
|
|
160
|
+
continuity. Require actual verified whole-container stop,
|
|
154
161
|
immutable same-resource restart, stop intent/admission and persistent uncertainty
|
|
155
162
|
fences. Readers are unregistered/non-executing, with source/destination scheduler
|
|
156
163
|
metadata and system-config refusals, one endpoint, unchanged checked exports and
|
|
@@ -711,10 +711,10 @@ If automatic post-stop recovery is not attempted, a separate fixed-category line
|
|
|
711
711
|
explains its routing guards. For example, `custom-podman-options` means the
|
|
712
712
|
container baseline is outside this conservative path; `non-shell-jobs` is the
|
|
713
713
|
legacy fixed label for jobs outside that native version's audited snapshot
|
|
714
|
-
profile, including image jobs on 2.3.
|
|
715
|
-
2.3.
|
|
716
|
-
pairs were retained.
|
|
717
|
-
profile; unsupported job kinds still refuse automatic recovery. Control-state,
|
|
714
|
+
profile, including image jobs on 2.3.x. `insufficient-shell-observations` or the
|
|
715
|
+
2.3.x counterpart `insufficient-job-observations` means fewer than two qualifying
|
|
716
|
+
pairs were retained. Stable native 2.3.x uses the guarded retained-subagent
|
|
717
|
+
storage profile; unsupported job kinds still refuse automatic recovery. Control-state,
|
|
718
718
|
attached-client and
|
|
719
719
|
unverified-owner-close refusals are also distinguished. These labels do not waive
|
|
720
720
|
any guard or establish that a job completed. Do not clear control markers, remove
|
|
@@ -751,11 +751,25 @@ For supported native owners, a qualifying timeout can trigger **one post-stop
|
|
|
751
751
|
persisted-history snapshot** automatically:
|
|
752
752
|
|
|
753
753
|
* Native **2.2.6/2.2.7** retains the original shell-only profile.
|
|
754
|
-
*
|
|
755
|
-
shell and subagent jobs. Image jobs remain outside this
|
|
754
|
+
* Stable native **2.3.x** also permits retained subagent jobs, including mixtures
|
|
755
|
+
of shell and subagent jobs. Image jobs remain outside this guarded profile.
|
|
756
|
+
Canonical releases such as `2.3.0`, `2.3.1` and `2.3.2` share this contract;
|
|
757
|
+
prereleases, build suffixes, malformed versions and other minor series do not.
|
|
758
|
+
Series membership selects the metadata checks, never bypasses them or certifies
|
|
759
|
+
untested future native behavior. Incompatible schemas and recovery forms refuse.
|
|
760
|
+
Other native integrations retain their independently documented version limits.
|
|
761
|
+
|
|
762
|
+
The 2.3.x contract recognizes exactly one known scheduler column layout:
|
|
763
|
+
2.3.0's `schedule` table or the `automation` replacement in 2.3.1/2.3.2.
|
|
764
|
+
Missing, ambiguous, extended or incompatible column layouts refuse; **any** scheduler
|
|
765
|
+
row refuses, including paused/terminal/unknown statuses and committed WAL rows.
|
|
766
|
+
Native 2.3.0 cannot read an automation-layout store through this path.
|
|
767
|
+
Subagent recovery may include a bounded `outstanding` list of known shell or
|
|
768
|
+
subagent metadata. Image, Code Mode, nested/unknown forms and invalid bindings
|
|
769
|
+
remain unsupported; these references are not completed, acknowledged or resumed.
|
|
756
770
|
|
|
757
771
|
Two complete validated observations must have shown no foreground activity and
|
|
758
|
-
only jobs allowed by that
|
|
772
|
+
only jobs allowed by that storage profile. A later real query timeout does
|
|
759
773
|
not manufacture an observation; a contradictory/malformed response or known
|
|
760
774
|
non-timeout API error invalidates the hint. The live wait still refuses, and no
|
|
761
775
|
live export is authorized by that hint.
|
|
@@ -767,7 +781,7 @@ normal owning launch. There is no runtime/configuration/auth refresh, vault unlo
|
|
|
767
781
|
credential forwarding, controller publication or requested model/tool execution.
|
|
768
782
|
This uses the normal checked archival implementation through the fenced reader;
|
|
769
783
|
it does **not** recursively invoke ordinary `oc-box sync`, prepare the workspace
|
|
770
|
-
again or refresh credentials. Native 2.3.
|
|
784
|
+
again or refresh credentials. Native 2.3.x job metadata is checked before source
|
|
771
785
|
or destination native history processing: image/unknown jobs, unknown recovery
|
|
772
786
|
forms, legacy background state and incompatible schemas refuse rather than
|
|
773
787
|
starting managed job recovery. Retained jobs, execution claims and queued input
|
|
@@ -781,6 +795,22 @@ It also refuses native scheduler rows (including paused/completed rows), unknown
|
|
|
781
795
|
scheduler schemas, unsafe stores and nonempty system OpenCode configuration.
|
|
782
796
|
Read-only executable-version probes must match the captured supported release
|
|
783
797
|
on both sides; a binary changed during the session does not inherit that proof.
|
|
798
|
+
The host and container must match the captured exact patch version, not merely
|
|
799
|
+
belong to the same 2.3 series. Unsupported versions are warned about before the
|
|
800
|
+
owning client opens; they retain normal live sync and manual-sync retry guidance,
|
|
801
|
+
not an unsafe recovery fallback.
|
|
802
|
+
The existing runtime checks validate the selected contract on each attempt:
|
|
803
|
+
recognizing a future stable 2.3 patch does not waive its database or API checks.
|
|
804
|
+
Recognized schema/metadata or activity-response incompatibilities also print an
|
|
805
|
+
actionable compatibility warning when detected. Check for an oc-box update
|
|
806
|
+
first; upgrade OpenCode too if it is older than a supported release. If both are
|
|
807
|
+
current, report the fixed refusal category. Do not reset or downgrade workspace
|
|
808
|
+
data to bypass a compatibility refusal. A matching schema alone cannot certify
|
|
809
|
+
unknown native startup behavior; unrecognized minor/major series remain refused.
|
|
810
|
+
Column-layout checks cover names, types, non-primary-column requiredness,
|
|
811
|
+
primary-key membership and generated-column flags, but do not fingerprint
|
|
812
|
+
defaults, triggers, indexes or foreign keys. They cannot detect every
|
|
813
|
+
schema-preserving behavioral change.
|
|
784
814
|
Source and destination helpers use isolated configuration, execution denials and
|
|
785
815
|
disabled scheduling/warming; disabling scheduling alone is insufficient because
|
|
786
816
|
native restart notification handling can still wake work. Other failures retain
|
|
@@ -267,7 +267,7 @@ Native browser draft storage, including **IndexedDB**, still stores attachment d
|
|
|
267
267
|
.PP
|
|
268
268
|
After the last client exits, V2 final sync waits up to 30 seconds for the same private server's foreground sessions and unconsumed background jobs to settle. An idle persistent shell terminal does not block this wait. Timeout or an invalid activity response refuses live history export. Unless the guarded post\-stop path below completes in full, history remains pending and the command returns nonzero. Normal cleanup still stops the container, so running work is not promised to continue. This is bounded checking, not an atomic freeze of every possible history producer. On timeout, a separate diagnostic reports the wait phase (\fBforeground\-query\fR, \fBbackground\-query\fR or \fBpoll\-delay\fR) and counts from the last complete, validated activity/job observation. Job counts distinguish running, completed, error and cancelled entries, with separate allowlisted shell/subagent/image kind counts; counts above 9999 appear as \fB9999+\fR\&. If no complete pair was validated, the observation is \fBunavailable\fR, not zero. These are previous observations, not proof of the current state or that a native request succeeded: a request failure at the deadline also retains the \fBactivity\-timeout\fR category. No session/job identifiers, commands, transcript text or native errors are printed.
|
|
269
269
|
.PP
|
|
270
|
-
If automatic post\-stop recovery is not attempted, a separate fixed\-category line explains its routing guards. For example, \fBcustom\-podman\-options\fR means the container baseline is outside this conservative path; \fBnon\-shell\-jobs\fR is the legacy fixed label for jobs outside that native version's audited snapshot profile, including image jobs on 2.3.
|
|
270
|
+
If automatic post\-stop recovery is not attempted, a separate fixed\-category line explains its routing guards. For example, \fBcustom\-podman\-options\fR means the container baseline is outside this conservative path; \fBnon\-shell\-jobs\fR is the legacy fixed label for jobs outside that native version's audited snapshot profile, including image jobs on 2.3.x. \fBinsufficient\-shell\-observations\fR or the 2.3.x counterpart \fBinsufficient\-job\-observations\fR means fewer than two qualifying pairs were retained. Stable native 2.3.x uses the guarded retained\-subagent storage profile; unsupported job kinds still refuse automatic recovery. Control\-state, attached\-client and unverified\-owner\-close refusals are also distinguished. These labels do not waive any guard or establish that a job completed. Do not clear control markers, remove job rows or reset a workspace merely to bypass a refusal.
|
|
271
271
|
.PP
|
|
272
272
|
The 30 seconds are oc\-box's live\-readiness grace, not a native export/import timeout or a duration limit for the entire synchronization. This grace remains unchanged. The two paths differ:
|
|
273
273
|
.IP "\(bu" 2
|
|
@@ -283,13 +283,15 @@ For supported native owners, a qualifying timeout can trigger **one post\-stop p
|
|
|
283
283
|
.IP "\(bu" 2
|
|
284
284
|
Native **2.2.6/2.2.7** retains the original shell\-only profile.
|
|
285
285
|
.IP "\(bu" 2
|
|
286
|
-
|
|
286
|
+
Stable native **2.3.x** also permits retained subagent jobs, including mixtures of shell and subagent jobs. Image jobs remain outside this guarded profile. Canonical releases such as \fB2.3.0\fR, \fB2.3.1\fR and \fB2.3.2\fR share this contract; prereleases, build suffixes, malformed versions and other minor series do not. Series membership selects the metadata checks, never bypasses them or certifies untested future native behavior. Incompatible schemas and recovery forms refuse. Other native integrations retain their independently documented version limits.
|
|
287
287
|
.PP
|
|
288
|
-
|
|
288
|
+
The 2.3.x contract recognizes exactly one known scheduler column layout: 2.3.0's \fBschedule\fR table or the \fBautomation\fR replacement in 2.3.1/2.3.2. Missing, ambiguous, extended or incompatible column layouts refuse; **any** scheduler row refuses, including paused/terminal/unknown statuses and committed WAL rows. Native 2.3.0 cannot read an automation\-layout store through this path. Subagent recovery may include a bounded \fBoutstanding\fR list of known shell or subagent metadata. Image, Code Mode, nested/unknown forms and invalid bindings remain unsupported; these references are not completed, acknowledged or resumed.
|
|
289
289
|
.PP
|
|
290
|
-
|
|
290
|
+
Two complete validated observations must have shown no foreground activity and only jobs allowed by that storage profile. A later real query timeout does not manufacture an observation; a contradictory/malformed response or known non\-timeout API error invalidates the hint. The live wait still refuses, and no live export is authorized by that hint.
|
|
291
291
|
.PP
|
|
292
|
-
|
|
292
|
+
After the owner closes normally and all clients detach, oc\-box verifies and stops the same existing, ready container. If stop intent is unchanged, it starts that exact container once for an isolated history reader, never a replacement or a normal owning launch. There is no runtime/configuration/auth refresh, vault unlock, credential forwarding, controller publication or requested model/tool execution. This uses the normal checked archival implementation through the fenced reader; it does **not** recursively invoke ordinary \fBoc\-box sync\fR, prepare the workspace again or refresh credentials. Native 2.3.x job metadata is checked before source or destination native history processing: image/unknown jobs, unknown recovery forms, legacy background state and incompatible schemas refuse rather than starting managed job recovery. Retained jobs, execution claims and queued input are not acknowledged, cleared or replayed. The transition budget is 35 seconds and the snapshot budget 180 seconds, with separate bounded cleanup. The container is stopped again before exit.
|
|
293
|
+
.PP
|
|
294
|
+
This conservative path requires a passive container entrypoint, no custom Podman arguments or automatic health/restart/shell\-loader hooks, and validated identity/home mounts. It also refuses native scheduler rows (including paused/completed rows), unknown scheduler schemas, unsafe stores and nonempty system OpenCode configuration. Read\-only executable\-version probes must match the captured supported release on both sides; a binary changed during the session does not inherit that proof. The host and container must match the captured exact patch version, not merely belong to the same 2.3 series. Unsupported versions are warned about before the owning client opens; they retain normal live sync and manual\-sync retry guidance, not an unsafe recovery fallback. The existing runtime checks validate the selected contract on each attempt: recognizing a future stable 2.3 patch does not waive its database or API checks. Recognized schema/metadata or activity\-response incompatibilities also print an actionable compatibility warning when detected. Check for an oc\-box update first; upgrade OpenCode too if it is older than a supported release. If both are current, report the fixed refusal category. Do not reset or downgrade workspace data to bypass a compatibility refusal. A matching schema alone cannot certify unknown native startup behavior; unrecognized minor/major series remain refused. Column\-layout checks cover names, types, non\-primary\-column requiredness, primary\-key membership and generated\-column flags, but do not fingerprint defaults, triggers, indexes or foreign keys. They cannot detect every schema\-preserving behavioral change. Source and destination helpers use isolated configuration, execution denials and disabled scheduling/warming; disabling scheduling alone is insufficient because native restart notification handling can still wake work. Other failures retain the normal pending\-history/manual\-sync behavior.
|
|
293
295
|
.PP
|
|
294
296
|
Snapshots retain the existing complete\-inventory, checked\-export, pending\-session and verified\-host\-import safeguards. Native startup/projection can maintain its database; this is not a byte\-read\-only database backup. No native job is deleted, rewritten or declared completed, and no queued input is acknowledged.
|
|
295
297
|
.PP
|
|
@@ -834,14 +834,15 @@ fixed-category line explains its routing guards. For example,
|
|
|
834
834
|
‘custom-podman-options’ means the container baseline is outside this
|
|
835
835
|
conservative path; ‘non-shell-jobs’ is the legacy fixed label for jobs
|
|
836
836
|
outside that native version's audited snapshot profile, including image
|
|
837
|
-
jobs on 2.3.
|
|
837
|
+
jobs on 2.3.x. ‘insufficient-shell-observations’ or the 2.3.x
|
|
838
838
|
counterpart ‘insufficient-job-observations’ means fewer than two
|
|
839
|
-
qualifying pairs were retained.
|
|
840
|
-
retained-subagent profile; unsupported job kinds still refuse
|
|
841
|
-
recovery. Control-state, attached-client and
|
|
842
|
-
refusals are also distinguished. These labels do
|
|
843
|
-
establish that a job completed. Do not clear
|
|
844
|
-
job rows or reset a workspace merely to bypass a
|
|
839
|
+
qualifying pairs were retained. Stable native 2.3.x uses the guarded
|
|
840
|
+
retained-subagent storage profile; unsupported job kinds still refuse
|
|
841
|
+
automatic recovery. Control-state, attached-client and
|
|
842
|
+
unverified-owner-close refusals are also distinguished. These labels do
|
|
843
|
+
not waive any guard or establish that a job completed. Do not clear
|
|
844
|
+
control markers, remove job rows or reset a workspace merely to bypass a
|
|
845
|
+
refusal.
|
|
845
846
|
|
|
846
847
|
The 30 seconds are oc-box's live-readiness grace, not a native
|
|
847
848
|
export/import timeout or a duration limit for the entire
|
|
@@ -877,13 +878,30 @@ For supported native owners, a qualifying timeout can trigger **one
|
|
|
877
878
|
post-stop persisted-history snapshot** automatically:
|
|
878
879
|
|
|
879
880
|
• Native **2.2.6/2.2.7** retains the original shell-only profile.
|
|
880
|
-
•
|
|
881
|
-
mixtures of shell and subagent jobs. Image jobs remain
|
|
882
|
-
this
|
|
881
|
+
• Stable native **2.3.x** also permits retained subagent jobs,
|
|
882
|
+
including mixtures of shell and subagent jobs. Image jobs remain
|
|
883
|
+
outside this guarded profile. Canonical releases such as ‘2.3.0’,
|
|
884
|
+
‘2.3.1’ and ‘2.3.2’ share this contract; prereleases, build
|
|
885
|
+
suffixes, malformed versions and other minor series do not. Series
|
|
886
|
+
membership selects the metadata checks, never bypasses them or
|
|
887
|
+
certifies untested future native behavior. Incompatible schemas
|
|
888
|
+
and recovery forms refuse. Other native integrations retain their
|
|
889
|
+
independently documented version limits.
|
|
890
|
+
|
|
891
|
+
The 2.3.x contract recognizes exactly one known scheduler column layout:
|
|
892
|
+
2.3.0's ‘schedule’ table or the ‘automation’ replacement in 2.3.1/2.3.2.
|
|
893
|
+
Missing, ambiguous, extended or incompatible column layouts refuse;
|
|
894
|
+
**any** scheduler row refuses, including paused/terminal/unknown
|
|
895
|
+
statuses and committed WAL rows. Native 2.3.0 cannot read an
|
|
896
|
+
automation-layout store through this path. Subagent recovery may
|
|
897
|
+
include a bounded ‘outstanding’ list of known shell or subagent
|
|
898
|
+
metadata. Image, Code Mode, nested/unknown forms and invalid bindings
|
|
899
|
+
remain unsupported; these references are not completed, acknowledged or
|
|
900
|
+
resumed.
|
|
883
901
|
|
|
884
902
|
Two complete validated observations must have shown no foreground
|
|
885
|
-
activity and only jobs allowed by that
|
|
886
|
-
|
|
903
|
+
activity and only jobs allowed by that storage profile. A later real
|
|
904
|
+
query timeout does not manufacture an observation; a
|
|
887
905
|
contradictory/malformed response or known non-timeout API error
|
|
888
906
|
invalidates the hint. The live wait still refuses, and no live export
|
|
889
907
|
is authorized by that hint.
|
|
@@ -896,7 +914,7 @@ runtime/configuration/auth refresh, vault unlock, credential forwarding,
|
|
|
896
914
|
controller publication or requested model/tool execution. This uses the
|
|
897
915
|
normal checked archival implementation through the fenced reader; it
|
|
898
916
|
does **not** recursively invoke ordinary ‘oc-box sync’, prepare the
|
|
899
|
-
workspace again or refresh credentials. Native 2.3.
|
|
917
|
+
workspace again or refresh credentials. Native 2.3.x job metadata is
|
|
900
918
|
checked before source or destination native history processing:
|
|
901
919
|
image/unknown jobs, unknown recovery forms, legacy background state and
|
|
902
920
|
incompatible schemas refuse rather than starting managed job recovery.
|
|
@@ -912,11 +930,27 @@ rows (including paused/completed rows), unknown scheduler schemas,
|
|
|
912
930
|
unsafe stores and nonempty system OpenCode configuration. Read-only
|
|
913
931
|
executable-version probes must match the captured supported release on
|
|
914
932
|
both sides; a binary changed during the session does not inherit that
|
|
915
|
-
proof.
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
933
|
+
proof. The host and container must match the captured exact patch
|
|
934
|
+
version, not merely belong to the same 2.3 series. Unsupported versions
|
|
935
|
+
are warned about before the owning client opens; they retain normal live
|
|
936
|
+
sync and manual-sync retry guidance, not an unsafe recovery fallback.
|
|
937
|
+
The existing runtime checks validate the selected contract on each
|
|
938
|
+
attempt: recognizing a future stable 2.3 patch does not waive its
|
|
939
|
+
database or API checks. Recognized schema/metadata or activity-response
|
|
940
|
+
incompatibilities also print an actionable compatibility warning when
|
|
941
|
+
detected. Check for an oc-box update first; upgrade OpenCode too if it
|
|
942
|
+
is older than a supported release. If both are current, report the
|
|
943
|
+
fixed refusal category. Do not reset or downgrade workspace data to
|
|
944
|
+
bypass a compatibility refusal. A matching schema alone cannot certify
|
|
945
|
+
unknown native startup behavior; unrecognized minor/major series remain
|
|
946
|
+
refused. Column-layout checks cover names, types, non-primary-column
|
|
947
|
+
requiredness, primary-key membership and generated-column flags, but do
|
|
948
|
+
not fingerprint defaults, triggers, indexes or foreign keys. They
|
|
949
|
+
cannot detect every schema-preserving behavioral change. Source and
|
|
950
|
+
destination helpers use isolated configuration, execution denials and
|
|
951
|
+
disabled scheduling/warming; disabling scheduling alone is insufficient
|
|
952
|
+
because native restart notification handling can still wake work. Other
|
|
953
|
+
failures retain the normal pending-history/manual-sync behavior.
|
|
920
954
|
|
|
921
955
|
Snapshots retain the existing complete-inventory, checked-export,
|
|
922
956
|
pending-session and verified-host-import safeguards. Native
|
|
@@ -3993,20 +4027,20 @@ Node: Name769
|
|
|
3993
4027
|
Node: Synopsis930
|
|
3994
4028
|
Node: Description3039
|
|
3995
4029
|
Node: Commands6637
|
|
3996
|
-
Node: Options
|
|
3997
|
-
Node: Lifecycle and persistence
|
|
3998
|
-
Node: Distribution images
|
|
3999
|
-
Node: Sessions and recovery
|
|
4000
|
-
Node: Devices and host permissions
|
|
4001
|
-
Node: Resource reports
|
|
4002
|
-
Node: Configuration and environment
|
|
4003
|
-
Node: Files
|
|
4004
|
-
Node: Exit status
|
|
4005
|
-
Node: Examples
|
|
4006
|
-
Node: Troubleshooting
|
|
4007
|
-
Node: Installation and manuals
|
|
4008
|
-
Node: Authors and license
|
|
4009
|
-
Node: See also
|
|
4030
|
+
Node: Options116443
|
|
4031
|
+
Node: Lifecycle and persistence148543
|
|
4032
|
+
Node: Distribution images150843
|
|
4033
|
+
Node: Sessions and recovery155718
|
|
4034
|
+
Node: Devices and host permissions162303
|
|
4035
|
+
Node: Resource reports164649
|
|
4036
|
+
Node: Configuration and environment166760
|
|
4037
|
+
Node: Files178141
|
|
4038
|
+
Node: Exit status184085
|
|
4039
|
+
Node: Examples185493
|
|
4040
|
+
Node: Troubleshooting187579
|
|
4041
|
+
Node: Installation and manuals198931
|
|
4042
|
+
Node: Authors and license208527
|
|
4043
|
+
Node: See also209134
|
|
4010
4044
|
|
|
4011
4045
|
End Tag Table
|
|
4012
4046
|
|
|
@@ -294,7 +294,7 @@ Native browser draft storage, including **IndexedDB**, still stores attachment d
|
|
|
294
294
|
|
|
295
295
|
After the last client exits, V2 final sync waits up to 30 seconds for the same private server's foreground sessions and unconsumed background jobs to settle. An idle persistent shell terminal does not block this wait. Timeout or an invalid activity response refuses live history export. Unless the guarded post-stop path below completes in full, history remains pending and the command returns nonzero. Normal cleanup still stops the container, so running work is not promised to continue. This is bounded checking, not an atomic freeze of every possible history producer. On timeout, a separate diagnostic reports the wait phase (@code{foreground-query}, @code{background-query} or @code{poll-delay}) and counts from the last complete, validated activity/job observation. Job counts distinguish running, completed, error and cancelled entries, with separate allowlisted shell/subagent/image kind counts; counts above 9999 appear as @code{9999+}. If no complete pair was validated, the observation is @code{unavailable}, not zero. These are previous observations, not proof of the current state or that a native request succeeded: a request failure at the deadline also retains the @code{activity-timeout} category. No session/job identifiers, commands, transcript text or native errors are printed.
|
|
296
296
|
|
|
297
|
-
If automatic post-stop recovery is not attempted, a separate fixed-category line explains its routing guards. For example, @code{custom-podman-options} means the container baseline is outside this conservative path; @code{non-shell-jobs} is the legacy fixed label for jobs outside that native version's audited snapshot profile, including image jobs on 2.3.
|
|
297
|
+
If automatic post-stop recovery is not attempted, a separate fixed-category line explains its routing guards. For example, @code{custom-podman-options} means the container baseline is outside this conservative path; @code{non-shell-jobs} is the legacy fixed label for jobs outside that native version's audited snapshot profile, including image jobs on 2.3.x. @code{insufficient-shell-observations} or the 2.3.x counterpart @code{insufficient-job-observations} means fewer than two qualifying pairs were retained. Stable native 2.3.x uses the guarded retained-subagent storage profile; unsupported job kinds still refuse automatic recovery. Control-state, attached-client and unverified-owner-close refusals are also distinguished. These labels do not waive any guard or establish that a job completed. Do not clear control markers, remove job rows or reset a workspace merely to bypass a refusal.
|
|
298
298
|
|
|
299
299
|
The 30 seconds are oc-box's live-readiness grace, not a native export/import timeout or a duration limit for the entire synchronization. This grace remains unchanged. The two paths differ:
|
|
300
300
|
|
|
@@ -315,14 +315,16 @@ For supported native owners, a qualifying timeout can trigger **one post-stop pe
|
|
|
315
315
|
@item
|
|
316
316
|
Native **2.2.6/2.2.7** retains the original shell-only profile.
|
|
317
317
|
@item
|
|
318
|
-
|
|
318
|
+
Stable native **2.3.x** also permits retained subagent jobs, including mixtures of shell and subagent jobs. Image jobs remain outside this guarded profile. Canonical releases such as @code{2.3.0}, @code{2.3.1} and @code{2.3.2} share this contract; prereleases, build suffixes, malformed versions and other minor series do not. Series membership selects the metadata checks, never bypasses them or certifies untested future native behavior. Incompatible schemas and recovery forms refuse. Other native integrations retain their independently documented version limits.
|
|
319
319
|
@end itemize
|
|
320
320
|
|
|
321
|
-
|
|
321
|
+
The 2.3.x contract recognizes exactly one known scheduler column layout: 2.3.0's @code{schedule} table or the @code{automation} replacement in 2.3.1/2.3.2. Missing, ambiguous, extended or incompatible column layouts refuse; **any** scheduler row refuses, including paused/terminal/unknown statuses and committed WAL rows. Native 2.3.0 cannot read an automation-layout store through this path. Subagent recovery may include a bounded @code{outstanding} list of known shell or subagent metadata. Image, Code Mode, nested/unknown forms and invalid bindings remain unsupported; these references are not completed, acknowledged or resumed.
|
|
322
322
|
|
|
323
|
-
|
|
323
|
+
Two complete validated observations must have shown no foreground activity and only jobs allowed by that storage profile. A later real query timeout does not manufacture an observation; a contradictory/malformed response or known non-timeout API error invalidates the hint. The live wait still refuses, and no live export is authorized by that hint.
|
|
324
324
|
|
|
325
|
-
|
|
325
|
+
After the owner closes normally and all clients detach, oc-box verifies and stops the same existing, ready container. If stop intent is unchanged, it starts that exact container once for an isolated history reader, never a replacement or a normal owning launch. There is no runtime/configuration/auth refresh, vault unlock, credential forwarding, controller publication or requested model/tool execution. This uses the normal checked archival implementation through the fenced reader; it does **not** recursively invoke ordinary @code{oc-box sync}, prepare the workspace again or refresh credentials. Native 2.3.x job metadata is checked before source or destination native history processing: image/unknown jobs, unknown recovery forms, legacy background state and incompatible schemas refuse rather than starting managed job recovery. Retained jobs, execution claims and queued input are not acknowledged, cleared or replayed. The transition budget is 35 seconds and the snapshot budget 180 seconds, with separate bounded cleanup. The container is stopped again before exit.
|
|
326
|
+
|
|
327
|
+
This conservative path requires a passive container entrypoint, no custom Podman arguments or automatic health/restart/shell-loader hooks, and validated identity/home mounts. It also refuses native scheduler rows (including paused/completed rows), unknown scheduler schemas, unsafe stores and nonempty system OpenCode configuration. Read-only executable-version probes must match the captured supported release on both sides; a binary changed during the session does not inherit that proof. The host and container must match the captured exact patch version, not merely belong to the same 2.3 series. Unsupported versions are warned about before the owning client opens; they retain normal live sync and manual-sync retry guidance, not an unsafe recovery fallback. The existing runtime checks validate the selected contract on each attempt: recognizing a future stable 2.3 patch does not waive its database or API checks. Recognized schema/metadata or activity-response incompatibilities also print an actionable compatibility warning when detected. Check for an oc-box update first; upgrade OpenCode too if it is older than a supported release. If both are current, report the fixed refusal category. Do not reset or downgrade workspace data to bypass a compatibility refusal. A matching schema alone cannot certify unknown native startup behavior; unrecognized minor/major series remain refused. Column-layout checks cover names, types, non-primary-column requiredness, primary-key membership and generated-column flags, but do not fingerprint defaults, triggers, indexes or foreign keys. They cannot detect every schema-preserving behavioral change. Source and destination helpers use isolated configuration, execution denials and disabled scheduling/warming; disabling scheduling alone is insufficient because native restart notification handling can still wake work. Other failures retain the normal pending-history/manual-sync behavior.
|
|
326
328
|
|
|
327
329
|
Snapshots retain the existing complete-inventory, checked-export, pending-session and verified-host-import safeguards. Native startup/projection can maintain its database; this is not a byte-read-only database backup. No native job is deleted, rewritten or declared completed, and no queued input is acknowledged.
|
|
328
330
|
|
|
@@ -210,8 +210,9 @@ The development line now includes the audited native **2.3.0** recovery extensio
|
|
|
210
210
|
from stable-line commits `328f83e` and `7f441b8`. Only the two recovery modules and
|
|
211
211
|
their focused regressions/native fixture are ported; unrelated stable runtime,
|
|
212
212
|
host fixtures, CI orchestration and dashboard changes are not merged.
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
That original backport supported exactly **2.2.6, 2.2.7 and 2.3.0**. The later
|
|
214
|
+
2.3.x compatibility amendment below changes current eligibility without
|
|
215
|
+
reclassifying the original native evidence.
|
|
215
216
|
|
|
216
217
|
Native 2.3.0 drains the old reload/cancelled-job case, but can retain a running
|
|
217
218
|
shell after producer termination. The native fixture therefore uses an actual
|
|
@@ -267,8 +268,9 @@ existing guidance to retry `oc-box sync` remains.
|
|
|
267
268
|
The automatic path already uses the same checked `sync_sessions` implementation
|
|
268
269
|
as manual sync. It adds no recursive CLI call, ordinary runtime preparation,
|
|
269
270
|
vault unlock, configuration/plugin/credential refresh or job/input
|
|
270
|
-
acknowledgement.
|
|
271
|
-
2.2.6/2.2.7 and shell/subagent on 2.3.
|
|
271
|
+
acknowledgement. Eligibility is shell-only on native
|
|
272
|
+
2.2.6/2.2.7 and shell/subagent on stable 2.3.x under the compatibility amendment
|
|
273
|
+
below; there is no job-age/status exemption,
|
|
272
274
|
job cleanup or global permission autoaccept.
|
|
273
275
|
|
|
274
276
|
The 30-second grace is oc-box's live-readiness wait, not a native archive-copy
|
|
@@ -288,6 +290,60 @@ The new source/outcome policy requires separately scoped formal acceptance befor
|
|
|
288
290
|
any later release; this amendment does not authorize publication or replay of
|
|
289
291
|
retained fixtures.
|
|
290
292
|
|
|
293
|
+
### Guarded compatibility across stable native 2.3.x
|
|
294
|
+
|
|
295
|
+
The original `cb1e299` outcome correction could not run its fallback on native
|
|
296
|
+
2.3.2: both capture and retained-subagent routing still selected only 2.3.0.
|
|
297
|
+
The compatibility amendment uses one shared storage-profile selector for every
|
|
298
|
+
canonical stable `2.3.N` version, not a growing patch allowlist. It retains exact
|
|
299
|
+
2.2.6/2.2.7 shell-only behavior and refuses prereleases, modified/malformed
|
|
300
|
+
identities and unknown minor/major series. Unsupported native versions now warn
|
|
301
|
+
before the owning client opens instead of first revealing this limit at exit.
|
|
302
|
+
Detected schema/metadata and activity-response incompatibilities also print
|
|
303
|
+
fixed-category guidance: check for an oc-box update first, update an older
|
|
304
|
+
OpenCode to a supported release when appropriate, and report the refusal if both
|
|
305
|
+
are current. Preserve workspace/history rather than resetting or downgrading
|
|
306
|
+
state to bypass the check. These are compatibility refusals, not declarations
|
|
307
|
+
that upgrading necessarily repairs every unsupported state.
|
|
308
|
+
|
|
309
|
+
All 2.3.x patches select the existing strict job/recovery metadata, filesystem,
|
|
310
|
+
deadline, scheduler and system-configuration checks on both source and destination.
|
|
311
|
+
The profile recognizes known `schedule` and newer `automation` column layouts,
|
|
312
|
+
requires exactly one of them, and refuses every scheduler row before native
|
|
313
|
+
startup regardless of status or WAL placement. The 2.3.0 binary is refused on an
|
|
314
|
+
automation-layout store. Native 2.3.1/2.3.2's optional subagent `outstanding`
|
|
315
|
+
metadata is explicitly bounded and validated for known shell/subagent references,
|
|
316
|
+
not silently discarded. Unknown/nested, image and Code Mode forms remain refused.
|
|
317
|
+
Image/unknown jobs, unknown forms, legacy background state and incompatible
|
|
318
|
+
schemas still refuse before native history processing. Actual executable probes
|
|
319
|
+
must match the captured exact patch version on both sides. A matching series
|
|
320
|
+
does not permit a different host/container patch or authorize normal managed
|
|
321
|
+
restart continuity, recursive manual-sync preparation or background execution.
|
|
322
|
+
A compatible future patch needs no new allowlist entry while these contract
|
|
323
|
+
checks hold. Matching schemas alone cannot prove unknown native startup behavior;
|
|
324
|
+
unrecognized minor/major series still require separate qualification.
|
|
325
|
+
The guards check column layouts, not a complete fingerprint of defaults, triggers,
|
|
326
|
+
indexes or foreign keys; future schema-preserving startup behavior remains an
|
|
327
|
+
assumption, not a proven non-execution guarantee.
|
|
328
|
+
|
|
329
|
+
The unchanged 30-second live grace and checked post-stop archival/outcome rules
|
|
330
|
+
still apply. This is recovery compatibility only, not a full-history performance
|
|
331
|
+
fix or an expansion of unrelated native UI/attachment or quiet-source features.
|
|
332
|
+
The focused native regression accepts a selected stable 2.3.x executable; CI
|
|
333
|
+
retains 2.3.0 and follows the latest stable 2.3 patch (2.3.2 when this amendment
|
|
334
|
+
was prepared), recording its exact version and binary hash. This does not claim
|
|
335
|
+
that every future patch has already been tested, that native job bookkeeping is repaired, or that new
|
|
336
|
+
external-host acceptance exists. Historical failures and acceptance scopes below
|
|
337
|
+
remain unchanged. This source amendment does not itself authorize publication.
|
|
338
|
+
|
|
339
|
+
Focused source checks and a fresh local synthetic native 2.3.2 run passed on the
|
|
340
|
+
compatibility amendment: twelve native-verified sessions, one isolated Reader,
|
|
341
|
+
eight source plus eight destination automation refusals and preserved durable
|
|
342
|
+
jobs/claims/history without extra provider, shell or plugin execution. Initial
|
|
343
|
+
fixture failures remain failed evidence; their corrected runs are recorded
|
|
344
|
+
separately in [testing](../testing.md#stable-native-23x-recovery-compatibility).
|
|
345
|
+
This is not a new whole-container or external-host acceptance.
|
|
346
|
+
|
|
291
347
|
### Recovery behavior and earlier evidence
|
|
292
348
|
|
|
293
349
|
Native OpenCode can retain background-shell jobs after a location reload, even
|
|
@@ -1002,7 +1002,7 @@ inbox and history must remain unchanged, with no fabricated completion notice.
|
|
|
1002
1002
|
Saved and project configuration canaries, source/destination schedule refusals,
|
|
1003
1003
|
and ambient credential exclusion remain part of the test boundary.
|
|
1004
1004
|
|
|
1005
|
-
|
|
1005
|
+
The original extension gave only exact native 2.3.0 shell/subagent snapshot eligibility after repeated
|
|
1006
1006
|
validated foreground-idle observations. The live wait still refuses all pending
|
|
1007
1007
|
jobs, and the original nonzero interruption result remains. Before native history
|
|
1008
1008
|
processing, the new profile validates durable job schemas and recovery metadata;
|
|
@@ -1048,11 +1048,98 @@ These observations belong to the exact source above, not automatically to later
|
|
|
1048
1048
|
integrations. They support focused development integration, not the retained
|
|
1049
1049
|
42/12/six gate identities, stable promotion or security certification.
|
|
1050
1050
|
|
|
1051
|
+
#### Stable native 2.3.x recovery compatibility
|
|
1052
|
+
|
|
1053
|
+
The later compatibility amendment replaces the exact 2.3.0 selector with one
|
|
1054
|
+
shared profile for canonical stable `2.3.N` identities, including 2.3.1/2.3.2
|
|
1055
|
+
and future patches. Version routing is not native execution acceptance: the
|
|
1056
|
+
existing strict source/destination scheduler, job/recovery metadata, filesystem,
|
|
1057
|
+
system-config and deadline refusals remain mandatory. Executable versions must
|
|
1058
|
+
match the exact captured patch on both sides, not merely the selected series.
|
|
1059
|
+
Other minor/major versions, prereleases, build suffixes, noncanonical leading
|
|
1060
|
+
zeros and malformed/nonstring identities remain refused.
|
|
1061
|
+
Known contract refusals must produce fixed-category upgrade guidance without
|
|
1062
|
+
printing native errors or protected metadata. Unsupported versions warn before
|
|
1063
|
+
the owning client; schema/metadata and malformed activity responses warn when
|
|
1064
|
+
detected. Ordinary activity, timeouts, stop requests and cleanup failures are not
|
|
1065
|
+
misclassified as version incompatibility. Unknown minor/major startup behavior
|
|
1066
|
+
cannot be certified from a matching schema alone.
|
|
1067
|
+
|
|
1068
|
+
Exact-tag source inspection found that 2.3.1/2.3.2 replaced `schedule` with
|
|
1069
|
+
`automation`, whose startup rewake still requires an empty-table guard despite
|
|
1070
|
+
disabled feature flags. The runtime recognizes exactly one known scheduler
|
|
1071
|
+
column layout; it refuses missing/ambiguous/changed columns and every row,
|
|
1072
|
+
including terminal/unknown statuses and committed WAL rows. Native 2.3.0 is
|
|
1073
|
+
refused on the newer automation layout. Optional subagent `outstanding` metadata
|
|
1074
|
+
has bounded, explicit shell/subagent validation, with image/Code Mode, nested,
|
|
1075
|
+
unknown and malformed forms refused. This inspection is not native execution or
|
|
1076
|
+
host acceptance.
|
|
1077
|
+
|
|
1078
|
+
These are column-layout checks, not a complete SQLite-schema fingerprint:
|
|
1079
|
+
defaults, triggers, indexes and foreign keys are not compared. Passing them
|
|
1080
|
+
does not prove an unknown future binary's startup behavior remains non-executing.
|
|
1081
|
+
|
|
1082
|
+
Focused source coverage exercises capture, host/remote Reader admission, exact
|
|
1083
|
+
binary matching, shell/subagent timeout routing and the real owner exit path on
|
|
1084
|
+
2.3.2 and representative future-patch identities. Synthetic changed schemas and
|
|
1085
|
+
unknown recovery forms must still refuse before native startup. The existing
|
|
1086
|
+
native fixture now accepts a selected stable 2.3.x binary without relaxing its
|
|
1087
|
+
real-job, non-execution, archive/import, source/destination preservation or
|
|
1088
|
+
scheduler canaries; CI retains 2.3.0 and follows the latest stable 2.3 patch using
|
|
1089
|
+
the `~2.3.0` npm range, recording the actual selected version and binary hash.
|
|
1090
|
+
The current native target for this amendment is 2.3.2:
|
|
1091
|
+
|
|
1092
|
+
```bash
|
|
1093
|
+
python3 -B tests/smoke_history_subagent_recovery_v2.py \
|
|
1094
|
+
--opencode /srv/native/opencode-2.3.2 --temp-dir /srv/private-tmp
|
|
1095
|
+
```
|
|
1096
|
+
|
|
1097
|
+
Keep actual runs source/native/hash-qualified. A fixture accepting future
|
|
1098
|
+
versions is not evidence that they have run or that native startup behavior
|
|
1099
|
+
cannot change. This amendment creates no new external-host acceptance, does not
|
|
1100
|
+
replay the historical failed/incomplete runner, and does not change the
|
|
1101
|
+
30-second grace, cleanup/result policy or required manual-sync failure guidance.
|
|
1102
|
+
|
|
1103
|
+
The local compatibility amendment based on `cb1e299` passed 22 selected source
|
|
1104
|
+
methods across its focused run and one corrected negative-fixture case. That
|
|
1105
|
+
case initially left the automation schema unchanged because its replacement
|
|
1106
|
+
literal assumed a space instead of a newline; only the fixture was corrected.
|
|
1107
|
+
The first native attempt also failed and remains failed evidence: a leftover
|
|
1108
|
+
fixture call selected the legacy scheduler guard instead of the tested version.
|
|
1109
|
+
After passing that version explicitly, a fresh synthetic native **2.3.2** run
|
|
1110
|
+
passed in 51.0 seconds, with unchanged tracked bytes during execution:
|
|
1111
|
+
|
|
1112
|
+
* Native executable SHA-256:
|
|
1113
|
+
`e6543f6e5c39c40971ba38afd1819ac852c29ac735b5a89065d3d148d47f27ad`.
|
|
1114
|
+
* Ten source subagents, twelve native-verified sessions and one Reader lease;
|
|
1115
|
+
one retained destination subagent and both original destination sessions
|
|
1116
|
+
preserved, including real standalone archive replacement.
|
|
1117
|
+
* Source and destination both used native `automation`; all eight refusal cases
|
|
1118
|
+
per side passed, including committed WAL cases.
|
|
1119
|
+
* Producer exits were clean and unforced. Durable execution/history were
|
|
1120
|
+
unchanged, with no extra provider, shell or plugin execution.
|
|
1121
|
+
|
|
1122
|
+
The frozen tested runtime hashes are:
|
|
1123
|
+
|
|
1124
|
+
```text
|
|
1125
|
+
d7c3ae933b74f0184bfd318f111c77959dc1177e882e9ad931d3b338a13987be history_reader.py
|
|
1126
|
+
13a85ccfd5b022148b2adab0808c51c7e34312d069e099e9a8310c7ddba64e92 history_recovery.py
|
|
1127
|
+
a62a85b636f05ececf675d49220201f1a8e51de2893055859753de417d18f9e9 workspace_service.py
|
|
1128
|
+
8a1201ee625fb1b9825846900ca68fa7db161469a4162bff36cb060ff804bf4f oc_box.py
|
|
1129
|
+
```
|
|
1130
|
+
|
|
1131
|
+
Nonempty `outstanding` forms have synthetic metadata coverage, not a separately
|
|
1132
|
+
observed native reproduction. Native 2.3.0 remains in CI but was not rerun
|
|
1133
|
+
locally for this amendment. No full local suite, host Podman fixture, retained
|
|
1134
|
+
recovery replay or new external-host acceptance is implied by these results.
|
|
1135
|
+
|
|
1051
1136
|
#### Focused shutdown-outcome policy checks
|
|
1052
1137
|
|
|
1053
|
-
The approved outcome-only amendment
|
|
1054
|
-
live-readiness grace and exact-version recovery guards:
|
|
1055
|
-
2.2.6/2.2.7, shell/subagent on 2.3.0.
|
|
1138
|
+
The approved outcome-only amendment preserved the existing 30-second oc-box
|
|
1139
|
+
live-readiness grace and was originally scoped to exact-version recovery guards:
|
|
1140
|
+
shell-only on native 2.2.6/2.2.7, shell/subagent on 2.3.0. The later series
|
|
1141
|
+
compatibility amendment above broadens eligibility, not that grace or its
|
|
1142
|
+
required metadata checks. That grace is not a native export/import
|
|
1056
1143
|
timeout. Automatic exit can spend it before checked archive copying; manual sync
|
|
1057
1144
|
omits the original owner's live wait. Both already use the same checked
|
|
1058
1145
|
`sync_sessions` implementation. Recovery must not recursively invoke the CLI,
|