Repository navigation
Conversation
7 tasks done
Owner
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
Part of the #198–#205 dependency stack, based on
fix/issue-201-chain-67e26f4(stacked on #201). Merge in issue order; after the parent merges, retarget this PR tomain.mode=ro&immutable=1) for valid closed/checkpointed original v1 WAL output; ALL live/dangling sidecars and aliases are rejected before any SQLite open; artifact bytes stay unchanged.Commits in this PR:
047c7f8feat: export explicit msinsight-compatible datasets ([FEATURE] 输出当前 msinsight 可直接复用的兼容分片产物 #202)26 files changed, 1259 insertions(+), 94 deletions(-):
README.md
README_zh.md
docs/en/database.md
docs/en/focus-management.md
docs/en/quickstart.md
docs/en/sharded-snapshotdb.md
docs/zh/database.md
docs/zh/focus-management.md
docs/zh/quickstart.md
docs/zh/sharded-snapshotdb.md
src/pt_snap_cli/cli.py
src/pt_snap_cli/context.py
src/pt_snap_cli/core/context_cache.py
src/pt_snap_cli/core/dataset_contract.py
src/pt_snap_cli/core/dataset_files.py
src/pt_snap_cli/core/dataset_resolver.py
src/pt_snap_cli/core/import_metadata.py
src/pt_snap_cli/core/import_service.py
src/pt_snap_cli/core/models.py
src/pt_snap_cli/core/msinsight_export.py
src/pt_snap_cli/core/query_service.py
tests/core/test_dataset_import.py
tests/core/test_msinsight_export.py
tests/test_contract_cli_api.py
tests/test_dataset_focus.py
tests/test_dataset_import_cli.py
🔗 Related Issue
Refs #202 — deliberately no auto-closing keywords; the issue stays open because GUI/C++/installed-wheel acceptance is human-deferred.
Review comment: #202 (comment)
🧪 Testing
Real compatibility-v1 export plus immutable readonly consumption of the authentic closed original artifact (8092 real events, 10 boundary rows, 5 closed-WAL shards) verified locally, with all original file hashes unchanged before/after.
✅ Checklist
"No new warnings" keeps the pre-existing external pytest-asyncio startup deprecation and existing informational type warnings unchanged rather than hidden;
ResourceWarning/PytestUnraisableExceptionWarningremain errors.Snapshot Runtime Provenance
No snapshot runtime files change in this PR, so no provenance declaration is required.
📸 Screenshots (if applicable)
Not applicable — no user-interface or C++ changes in this PR.
📋 Additional Notes
main; this stacked PR runs CI once it is retargeted tomainafter [FEATURE] 分库 import 的事务发布、数据集缓存与 focus 回滚 #201 merges.Head SHA:
047c7f865a3b410c9447c25c1c67272a4be83938; branchfix/issue-202-chain-67e26f4. All checks above were recorded locally on this exact head; the C++/GUI consumer and installed-wheel profile remain untested and unclaimed.