evidattice 0.5.25__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.
Files changed (201) hide show
  1. evidattice-0.5.25/CHANGELOG.md +151 -0
  2. evidattice-0.5.25/LICENSE +201 -0
  3. evidattice-0.5.25/MANIFEST.in +32 -0
  4. evidattice-0.5.25/NOTICE +7 -0
  5. evidattice-0.5.25/PKG-INFO +280 -0
  6. evidattice-0.5.25/README.md +253 -0
  7. evidattice-0.5.25/compatibility_tests/__init__.py +1 -0
  8. evidattice-0.5.25/compatibility_tests/conftest.py +21 -0
  9. evidattice-0.5.25/compatibility_tests/fast_agent/__init__.py +1 -0
  10. evidattice-0.5.25/compatibility_tests/fast_agent/conftest.py +15 -0
  11. evidattice-0.5.25/compatibility_tests/fast_agent/host_fixture.py +221 -0
  12. evidattice-0.5.25/compatibility_tests/fast_agent/owned_mcp_server.py +48 -0
  13. evidattice-0.5.25/compatibility_tests/fast_agent/test_factory.py +245 -0
  14. evidattice-0.5.25/compatibility_tests/fastmcp/__init__.py +1 -0
  15. evidattice-0.5.25/compatibility_tests/fastmcp/conftest.py +15 -0
  16. evidattice-0.5.25/compatibility_tests/fastmcp/server.py +65 -0
  17. evidattice-0.5.25/compatibility_tests/fastmcp/support.py +156 -0
  18. evidattice-0.5.25/compatibility_tests/fastmcp/test_attachment.py +237 -0
  19. evidattice-0.5.25/compatibility_tests/fastmcp/test_session_contract.py +34 -0
  20. evidattice-0.5.25/compatibility_tests/legacy/__init__.py +1 -0
  21. evidattice-0.5.25/compatibility_tests/legacy/host_endpoint.py +68 -0
  22. evidattice-0.5.25/compatibility_tests/legacy/host_peer.py +61 -0
  23. evidattice-0.5.25/compatibility_tests/legacy/host_run.py +125 -0
  24. evidattice-0.5.25/compatibility_tests/legacy/session_peer.py +81 -0
  25. evidattice-0.5.25/compatibility_tests/legacy/support.py +99 -0
  26. evidattice-0.5.25/compatibility_tests/legacy/test_host.py +243 -0
  27. evidattice-0.5.25/compatibility_tests/legacy/test_proxy.py +98 -0
  28. evidattice-0.5.25/compatibility_tests/legacy/test_session.py +694 -0
  29. evidattice-0.5.25/compatibility_tests/native/__init__.py +1 -0
  30. evidattice-0.5.25/compatibility_tests/native/host_endpoint.py +82 -0
  31. evidattice-0.5.25/compatibility_tests/native/host_evidence.py +124 -0
  32. evidattice-0.5.25/compatibility_tests/native/host_fixture.py +301 -0
  33. evidattice-0.5.25/compatibility_tests/native/host_server.py +78 -0
  34. evidattice-0.5.25/compatibility_tests/native/model_support.py +213 -0
  35. evidattice-0.5.25/compatibility_tests/native/session_server.py +95 -0
  36. evidattice-0.5.25/compatibility_tests/native/test_anyllm.py +1114 -0
  37. evidattice-0.5.25/compatibility_tests/native/test_host.py +266 -0
  38. evidattice-0.5.25/compatibility_tests/native/test_receipts.py +309 -0
  39. evidattice-0.5.25/compatibility_tests/native/test_session.py +825 -0
  40. evidattice-0.5.25/compatibility_tests/recipes/__init__.py +1 -0
  41. evidattice-0.5.25/compatibility_tests/recipes/test_pydantic.py +172 -0
  42. evidattice-0.5.25/docs/agent-workflow.md +137 -0
  43. evidattice-0.5.25/docs/architecture.html +528 -0
  44. evidattice-0.5.25/docs/architecture.md +919 -0
  45. evidattice-0.5.25/docs/capture.md +171 -0
  46. evidattice-0.5.25/docs/easy-integration.md +240 -0
  47. evidattice-0.5.25/docs/inspection.md +337 -0
  48. evidattice-0.5.25/docs/integrations.md +331 -0
  49. evidattice-0.5.25/docs/mcp-inspection.md +116 -0
  50. evidattice-0.5.25/docs/openai_mcp.md +123 -0
  51. evidattice-0.5.25/docs/proxy.md +238 -0
  52. evidattice-0.5.25/docs/release-notes.md +11 -0
  53. evidattice-0.5.25/docs/releasing.md +120 -0
  54. evidattice-0.5.25/docs/testing.md +274 -0
  55. evidattice-0.5.25/docs/tool_roundtrip.md +144 -0
  56. evidattice-0.5.25/examples/agent_recorder.py +39 -0
  57. evidattice-0.5.25/examples/fast_agent.py +47 -0
  58. evidattice-0.5.25/examples/fastmcp_session.py +15 -0
  59. evidattice-0.5.25/examples/inspect_recording.py +90 -0
  60. evidattice-0.5.25/examples/mcp_agent_session.py +19 -0
  61. evidattice-0.5.25/examples/openai_mcp.py +174 -0
  62. evidattice-0.5.25/examples/openai_mcp_peers.py +65 -0
  63. evidattice-0.5.25/examples/proxy_server.py +38 -0
  64. evidattice-0.5.25/examples/pydantic_openai.py +85 -0
  65. evidattice-0.5.25/examples/quickstart.py +41 -0
  66. evidattice-0.5.25/examples/regression/host.py +107 -0
  67. evidattice-0.5.25/examples/regression/test_host.py +92 -0
  68. evidattice-0.5.25/examples/tool_roundtrip.py +215 -0
  69. evidattice-0.5.25/pyproject.toml +37 -0
  70. evidattice-0.5.25/requirements/fast-agent.txt +6 -0
  71. evidattice-0.5.25/requirements/fastmcp.txt +6 -0
  72. evidattice-0.5.25/requirements/integration.txt +4 -0
  73. evidattice-0.5.25/requirements/legacy.txt +6 -0
  74. evidattice-0.5.25/requirements/native.txt +8 -0
  75. evidattice-0.5.25/requirements/recipes.txt +7 -0
  76. evidattice-0.5.25/requirements/release.txt +5 -0
  77. evidattice-0.5.25/requirements/test.txt +4 -0
  78. evidattice-0.5.25/setup.cfg +4 -0
  79. evidattice-0.5.25/setup.py +15 -0
  80. evidattice-0.5.25/sql/q1.sql +16 -0
  81. evidattice-0.5.25/sql/q2.sql +75 -0
  82. evidattice-0.5.25/sql/q3.sql +5 -0
  83. evidattice-0.5.25/sql/q5.sql +4 -0
  84. evidattice-0.5.25/sql/q6.sql +11 -0
  85. evidattice-0.5.25/sql/schema.sql +269 -0
  86. evidattice-0.5.25/src/evidattice/__init__.py +11 -0
  87. evidattice-0.5.25/src/evidattice/__main__.py +5 -0
  88. evidattice-0.5.25/src/evidattice/_artifacts.py +498 -0
  89. evidattice-0.5.25/src/evidattice/_capture.py +429 -0
  90. evidattice-0.5.25/src/evidattice/_config.py +90 -0
  91. evidattice-0.5.25/src/evidattice/_inspect_checks.py +267 -0
  92. evidattice-0.5.25/src/evidattice/_inspect_common.py +400 -0
  93. evidattice-0.5.25/src/evidattice/_inspect_diagnostics.py +253 -0
  94. evidattice-0.5.25/src/evidattice/_inspect_gate.py +259 -0
  95. evidattice-0.5.25/src/evidattice/_inspect_navigation.py +477 -0
  96. evidattice-0.5.25/src/evidattice/_inspect_query.py +178 -0
  97. evidattice-0.5.25/src/evidattice/_inspect_records.py +136 -0
  98. evidattice-0.5.25/src/evidattice/_inspect_relations.py +808 -0
  99. evidattice-0.5.25/src/evidattice/_inspect_slice.py +302 -0
  100. evidattice-0.5.25/src/evidattice/_inspect_text.py +138 -0
  101. evidattice-0.5.25/src/evidattice/_logging.py +13 -0
  102. evidattice-0.5.25/src/evidattice/_mcp_inspect.py +166 -0
  103. evidattice-0.5.25/src/evidattice/_proxy.py +503 -0
  104. evidattice-0.5.25/src/evidattice/_recorder.py +741 -0
  105. evidattice-0.5.25/src/evidattice/_recording_path.py +26 -0
  106. evidattice-0.5.25/src/evidattice/_snapshot.py +197 -0
  107. evidattice-0.5.25/src/evidattice/_storage.py +444 -0
  108. evidattice-0.5.25/src/evidattice/_types.py +131 -0
  109. evidattice-0.5.25/src/evidattice/_values.py +307 -0
  110. evidattice-0.5.25/src/evidattice/cli.py +364 -0
  111. evidattice-0.5.25/src/evidattice/demo.py +101 -0
  112. evidattice-0.5.25/src/evidattice/easy.py +674 -0
  113. evidattice-0.5.25/src/evidattice/inspect.py +10 -0
  114. evidattice-0.5.25/src/evidattice/integrations/__init__.py +1 -0
  115. evidattice-0.5.25/src/evidattice/integrations/_common.py +141 -0
  116. evidattice-0.5.25/src/evidattice/integrations/_mcp_capture.py +164 -0
  117. evidattice-0.5.25/src/evidattice/integrations/_mcp_native.py +48 -0
  118. evidattice-0.5.25/src/evidattice/integrations/_model_capture.py +286 -0
  119. evidattice-0.5.25/src/evidattice/integrations/_model_stream.py +300 -0
  120. evidattice-0.5.25/src/evidattice/integrations/anyllm_ollama.py +107 -0
  121. evidattice-0.5.25/src/evidattice/integrations/mcp_client.py +46 -0
  122. evidattice-0.5.25/src/evidattice/integrations/mcp_session.py +64 -0
  123. evidattice-0.5.25/src/evidattice/integrations/mcp_session_legacy.py +102 -0
  124. evidattice-0.5.25/src/evidattice/integrations/openai_chat.py +75 -0
  125. evidattice-0.5.25/src/evidattice/testing.py +35 -0
  126. evidattice-0.5.25/src/evidattice.egg-info/PKG-INFO +280 -0
  127. evidattice-0.5.25/src/evidattice.egg-info/SOURCES.txt +199 -0
  128. evidattice-0.5.25/src/evidattice.egg-info/dependency_links.txt +1 -0
  129. evidattice-0.5.25/src/evidattice.egg-info/entry_points.txt +2 -0
  130. evidattice-0.5.25/src/evidattice.egg-info/requires.txt +16 -0
  131. evidattice-0.5.25/src/evidattice.egg-info/top_level.txt +1 -0
  132. evidattice-0.5.25/tests/__init__.py +1 -0
  133. evidattice-0.5.25/tests/conftest.py +15 -0
  134. evidattice-0.5.25/tests/fixture_checks.py +57 -0
  135. evidattice-0.5.25/tests/fixtures/integration/expected-counts.json +18 -0
  136. evidattice-0.5.25/tests/fixtures/integration/mcp-tool.json +16 -0
  137. evidattice-0.5.25/tests/fixtures/integration/messages.json +70 -0
  138. evidattice-0.5.25/tests/fixtures/integration/provider-normal.json +65 -0
  139. evidattice-0.5.25/tests/fixtures/integration/provider-stream.json +90 -0
  140. evidattice-0.5.25/tests/fixtures/integration/provider-tools.json +21 -0
  141. evidattice-0.5.25/tests/fixtures/integration/request-order.json +36 -0
  142. evidattice-0.5.25/tests/producers/minimal_host.py +376 -0
  143. evidattice-0.5.25/tests/producers/proxy_peer.py +195 -0
  144. evidattice-0.5.25/tests/producers/proxy_sdk_peer.py +166 -0
  145. evidattice-0.5.25/tests/producers/record_core.py +134 -0
  146. evidattice-0.5.25/tests/recordings.py +51 -0
  147. evidattice-0.5.25/tests/test_admission.py +300 -0
  148. evidattice-0.5.25/tests/test_async_shutdown.py +277 -0
  149. evidattice-0.5.25/tests/test_bindings.py +574 -0
  150. evidattice-0.5.25/tests/test_capture_values.py +1661 -0
  151. evidattice-0.5.25/tests/test_comparisons.py +75 -0
  152. evidattice-0.5.25/tests/test_contract.py +176 -0
  153. evidattice-0.5.25/tests/test_core.py +199 -0
  154. evidattice-0.5.25/tests/test_deferred.py +568 -0
  155. evidattice-0.5.25/tests/test_duplicate_transition.py +126 -0
  156. evidattice-0.5.25/tests/test_easy.py +633 -0
  157. evidattice-0.5.25/tests/test_easy_sdk.py +679 -0
  158. evidattice-0.5.25/tests/test_failures.py +314 -0
  159. evidattice-0.5.25/tests/test_finalization.py +116 -0
  160. evidattice-0.5.25/tests/test_fixture.py +355 -0
  161. evidattice-0.5.25/tests/test_inspection_checks.py +931 -0
  162. evidattice-0.5.25/tests/test_inspection_commands.py +499 -0
  163. evidattice-0.5.25/tests/test_inspection_content.py +588 -0
  164. evidattice-0.5.25/tests/test_inspection_diagnostics.py +330 -0
  165. evidattice-0.5.25/tests/test_inspection_gate.py +697 -0
  166. evidattice-0.5.25/tests/test_inspection_inputs.py +571 -0
  167. evidattice-0.5.25/tests/test_inspection_logging.py +280 -0
  168. evidattice-0.5.25/tests/test_inspection_navigation.py +562 -0
  169. evidattice-0.5.25/tests/test_inspection_query.py +668 -0
  170. evidattice-0.5.25/tests/test_inspection_slice.py +601 -0
  171. evidattice-0.5.25/tests/test_inspection_snapshot.py +929 -0
  172. evidattice-0.5.25/tests/test_inspection_snapshot_api.py +70 -0
  173. evidattice-0.5.25/tests/test_integration_fixture.py +411 -0
  174. evidattice-0.5.25/tests/test_integration_history.py +461 -0
  175. evidattice-0.5.25/tests/test_lifecycle_ownership.py +280 -0
  176. evidattice-0.5.25/tests/test_logging.py +163 -0
  177. evidattice-0.5.25/tests/test_mcp_client.py +1472 -0
  178. evidattice-0.5.25/tests/test_mcp_inspection.py +357 -0
  179. evidattice-0.5.25/tests/test_openai_chat.py +3065 -0
  180. evidattice-0.5.25/tests/test_openai_mcp_example.py +147 -0
  181. evidattice-0.5.25/tests/test_proxy.py +813 -0
  182. evidattice-0.5.25/tests/test_proxy_sdk.py +325 -0
  183. evidattice-0.5.25/tests/test_scale_regressions.py +1239 -0
  184. evidattice-0.5.25/tests/test_scope_validation.py +124 -0
  185. evidattice-0.5.25/tests/test_shutdown.py +341 -0
  186. evidattice-0.5.25/tests/test_testing.py +138 -0
  187. evidattice-0.5.25/tests/test_tool_roundtrip.py +324 -0
  188. evidattice-0.5.25/tools/check_package.py +274 -0
  189. evidattice-0.5.25/tools/ci.sh +108 -0
  190. evidattice-0.5.25/tools/installed_smoke.py +133 -0
  191. evidattice-0.5.25/tools/public_files.txt +196 -0
  192. evidattice-0.5.25/tools/release.py +189 -0
  193. evidattice-0.5.25/tools/release_artifacts.py +164 -0
  194. evidattice-0.5.25/tools/release_github.py +458 -0
  195. evidattice-0.5.25/tools/release_registry.py +151 -0
  196. evidattice-0.5.25/tools/test_package_guard.py +332 -0
  197. evidattice-0.5.25/tools/test_release.py +146 -0
  198. evidattice-0.5.25/tools/test_release_artifacts.py +190 -0
  199. evidattice-0.5.25/tools/test_release_github.py +886 -0
  200. evidattice-0.5.25/tools/test_release_registry.py +276 -0
  201. evidattice-0.5.25/tools/test_release_workflow.py +312 -0
@@ -0,0 +1,151 @@
1
+ # Changelog
2
+
3
+ ## Unreleased
4
+
5
+ ## 0.5.25
6
+
7
+ - Rename the distribution, Python package and sole installed command to `evidattice`, with repository `Steady-Hand-AI/evidattice` and MCP inspection server name `evidattice-inspection`.
8
+ - Document migration from `mcp-flightrecorder`, `mcp_flightrecorder` and `fr`, including imports, launch commands and logging configuration.
9
+ - Preserve capture and inspection behavior, SQLite schema 6, serialized identifiers, comparison digests and optional SDK contracts. Keep historical release entries under their original names.
10
+
11
+ ## 0.5.24
12
+
13
+ - Add a complete source-shipped OpenAI and MCP example using the existing facade, with deterministic peers, preserved text-block formatting and independent evidence/application checks.
14
+ - Add a matching pinned-package and source-archive walkthrough that keeps native host responsibilities and preparation limits explicit.
15
+
16
+ ## 0.5.23
17
+
18
+ - Add `testing.assert_evidence` for ordinary tests, using the existing gate once. Return passing evidence, raise `AssertionError` for completed FAIL or UNKNOWN, and preserve reader reasons in `EvidenceReadError` for unavailable results.
19
+ - Keep all-answer comparison as the default. Explicit local-tool allowance excludes only validated local comparisons while preserving missing or ambiguous MCP evidence and independent failures.
20
+ - Add a source-shipped regression example that runs the current host afresh and checks evidence and application behavior independently. Document a pinned package and matching source recipe with standard-library tests.
21
+
22
+ ## 0.5.22
23
+
24
+ - Add the SDK-free installed demo with four synthetic recordings, complete investigation commands and the `mcp-flightrecorder` CLI alias alongside `fr`.
25
+ - Add explicit MCP answer scope and bounded readable gate verdicts. Exclude only validated local result-text comparisons; preserve default policy, raw comparison facts and independent failures or unknowns.
26
+ - Support fresh directory destinations for the facade and proxy, including supported trailing separators, and optional strict proxy initialization before child launch. Keep writer reservation and default fail-open forwarding unchanged.
27
+ - Add CLI directory selection and readable MCP-only operation views without inventing host turns or changing JSON turn results. Document file/run identity, scope, uncertainty and the SDK-free host example with release-pinned public links.
28
+
29
+ ## 0.5.21
30
+
31
+ - Add `fr proxy --record FILE -- SERVER_COMMAND ...` for one POSIX stdio client and child, forwarding native bytes unchanged while a separate bounded observer captures selected MCP tool requests and responses.
32
+ - Default proxy recordings to metadata retention, with explicit content opt-in and a forwarding-only mode. Preserve MCP-only coverage without inventing host turns, model decisions or dispatch attribution.
33
+ - Keep capture refusal, observation limits and writer failures separate from native forwarding. Preserve opaque traffic, explicit request IDs, out-of-order results, modern input-required exchanges and legacy reverse traffic, with bounded EOF/interruption cleanup.
34
+ - Add a deterministic server and public recording/inspection walkthrough, including separate metadata and content examples using the existing bounded readers and MCP inspector. Preserve schema 6 and zero core dependencies.
35
+
36
+ ## 0.5.20
37
+
38
+ - Add optional `fr mcp` stdio inspection of one operator-selected stable portable recording, with five metadata tools, one schema resource and explicit payload access only under `--allow-content`.
39
+ - Expose the existing portable-copy implementation as `inspect.snapshot`, sharing the CLI's destination ownership, deadline and result rules.
40
+ - Add `inspect.gate` / `fr gate` with explicit coverage and activity expectations, complete-population evaluation in one read transaction, and distinct pass, fail and unknown outcomes. Reuse validated preparation without changing raw mismatch facts.
41
+ - Add an actual MCP subprocess client walkthrough. Keep core inspection, snapshot and gate SDK-free; preserve capture contracts, SQLite schema 6 and existing inspection behavior.
42
+
43
+ ## 0.5.19
44
+
45
+ - Add `AgentRecorder` with caller-owned conversation history, explicit selected attempts, stable replay keys and prepared text snapshots over the existing JSON/OpenAI and modern MCP boundaries. Preserve host selection, native execution, retry and stream ownership.
46
+ - Add bounded `inspect.diagnose` / `fr doctor`, readable `turns` and `explain` views, and explicit latest-turn selection. Explain validated preparation separately while preserving existing inspection JSON, raw mismatch flags and statistics.
47
+ - Reject recorder use from a foreign process before recorder-owned locks or storage access, and clean up failed construction only when file ownership is established. Keep fresh-worker lifecycle and fresh-path recovery explicit.
48
+ - Add the integration concepts/recipes and facade demo without changing schema 6 or adding core runtime dependencies.
49
+
50
+ ## 0.5.18
51
+
52
+ - Add a deterministic SDK-backed model → selected MCP tool → prepared answer example with capture-on/off comparison and a guided `fr turns` / `fr explain` investigation. Preserve the SDK-free quickstart and existing capture/inspection contracts.
53
+
54
+ ## 0.5.17
55
+
56
+ - Add opt-in OpenAI response usage capture for provider-reported prompt, cache-read and cache-write counts independently of body retention, including metadata mode. Preserve unknowns as null and explicit zeros, with a timeline query through the existing `fr sql` command.
57
+ - Confirm registry and GitHub release visibility with bounded read-only retries after uploads and publication, preserving exact identities and downloaded-byte checks without repeating mutations.
58
+
59
+ ## 0.5.16
60
+
61
+ - Add canonical repository, issue-tracker and documentation links; clarify source installation and public test recipes.
62
+ - Exclude local planning, agent instructions, credentials and generated evidence from source distributions.
63
+ - Make snapshot-path and SQL-formatting tests portable across macOS path aliases and SQLite versions without changing runtime behavior.
64
+ - Require Python 3.11+ and preserve host exceptions and scope attribution when turn/dispatch cleanup runs in a foreign context.
65
+ - Separate stream raw-chunk and pending-tool retention into independent 1,048,576-byte pools, preserving complete tool observations after raw-body overflow.
66
+ - Cap query-only SQLite values and encoded rows at 8,388,608 bytes, with explicit native too-big errors and successful formatting NULL preserved.
67
+
68
+ - Replace closure's correlated response lookup with a run-scoped NULL-safe set query, retaining duplicate and unscoped unfinished requests.
69
+ - Reuse one lazy calling-thread identity reader per capture preparation, with fresh autocommit statements and cleanup before admission; preserve the 512-entry committed cache and receipt semantics.
70
+ - Bound per-read immutable-fact caching at 8 MiB / 4,096 entries / 1 MiB per entry; keep occurrence-specific completeness, repeated diagnostics and authoritative first-witness fallback after minimum eviction.
71
+ - Avoid discarded request-member projections in turn totals while preserving row order and display diagnostics; validate links before operation checks displace membership-prefix cache facts.
72
+ - Count turn answers through the shared occurrence traversal without discarded public dictionaries; reuse the current request structure only for matching witness validation, preserving both answer passes, diagnostics and cache bounds.
73
+ - Expose a validated per-read timeout on check, find_turns, explain, payload and slice, forwarding it through both CLI reads when run selection is implicit.
74
+
75
+ - Move the eight technical control-flow diagrams into the architecture documentation and remove repository agent instructions from source distributions.
76
+ - Correct sequence-diagram message punctuation so all eight detailed flows render with Mermaid without changing control-flow meaning.
77
+ - Compare recorded and producer SDK versions independently against installed distribution metadata.
78
+ - Replace sandbox-specific selector polling in test support with standard asyncio while preserving existing watchdogs, native outcomes and cleanup.
79
+ - Show direct capture, independent snapshot publication and per-invocation reader ownership in the architecture guides; keep the offline diagram readable and keyboard-scrollable on narrow screens.
80
+ - Use one selected interpreter in development commands, distinguish the 18 core and ten integration modules, and describe current public contracts without obsolete assignment or pinned-SDK wording.
81
+ - Preserve library behavior, public interfaces, SQLite schema 6 and `mfr.inspect/1`.
82
+
83
+ ## 0.5.15
84
+
85
+ - Remove exact build-backend and public optional-SDK version pins. Keep the dependency-free core and the deliberate MCP 1.x `<2` boundary for the legacy session adapter.
86
+ - Replace seven large, hash-locked transitive requirements files with small direct-dependency lists; optional host profiles remain isolated and require genuine SDK testing.
87
+ - Document a latest-stable, GIL-enabled CPython 3.15 core qualification procedure separately from SDK-specific tests, without imposing a Python 3.12 development gate. Preserve runtime behavior, SQLite schema 6 and `mfr.inspect/1`.
88
+
89
+ ## 0.5.14
90
+
91
+ - Classify cyclic source and destination symlinks consistently as `invalid_request/invalid_path` on supported Python versions, while preserving missing source and fresh destination behavior.
92
+ - Keep existing snapshot private staging, exclusive publication, no-public-unlink ownership, schema 6 and `mfr.inspect/1` unchanged.
93
+
94
+ ## 0.5.13
95
+
96
+ - Detect a destination SQLite sidecar visible immediately after successful exclusive snapshot publication. Return `recording_unreadable/destination_finalize` instead of a false verified-success status; the public main may already exist and no public path is deleted.
97
+ - Add deterministic `-wal`, `-shm` and `-journal` interleavings at the native-link boundary. The final sidecar check is best effort for shared-directory writers, not an atomic multi-path lock. Keep schema 6, `mfr.inspect/1`, and the SDK boundaries unchanged.
98
+
99
+ ## 0.5.12
100
+
101
+ - Remove the public main-file cleanup TOCTOU: finish SQLite backup, DELETE conversion, read-only verification and bounded result preparation in private same-parent staging, then publish the verified main with one exclusive hard link. No unsuccessful or interrupted path unlinks a public output pathname.
102
+ - Preserve competing main-file and destination suffix bytes at backup, interruption and publication boundaries. Keep foreign sidecars, source bytes, error envelopes and timeouts; add deterministic race tests, plus updated snapshot/logging cleanup assertions.
103
+ - Update M07 and inspection/architecture contracts for late publication. No change to schema 6, `mfr.inspect/1`, SDK adapters or dependency pins.
104
+
105
+ ## 0.5.11
106
+
107
+ - Fix snapshot cleanup ownership: SQLite backs up/finalizes in a private staging directory, while the public output main is created exclusively and published through its retained descriptor. Public `-wal`, `-shm` and `-journal` names are never cleanup targets without ownership proof.
108
+ - Preserve independently created sidecars after main reservation on copy failure or interruption; retain no-clobber, live-source backup, verified portable DELETE output, deadlines and error envelopes. Cover all three suffix races and genuine private SQLite sidecar cleanup with installed-path regression tests.
109
+ - Update the agent map and snapshot contract to distinguish the owned output inode and private staging files from unrelated public sidecars. No SQLite schema, reader-format or SDK changes.
110
+
111
+ ## 0.5.10
112
+
113
+ - Keep `examples/` focused on concise host-attachment recipes and an SDK-free `quickstart.py`.
114
+ - Move long deterministic recording producers to `tests/producers/` without changing their recording scenarios.
115
+ - Refresh README, testing instructions, integration links and HTML architecture navigation for the new layout.
116
+ - No capture, storage, inspection or SDK adapter behavior changes.
117
+
118
+ ## 0.5.9
119
+
120
+ - Add standard Python module logging for recorder lifecycle, capture loss, writer failures, adapter evidence losses, inspection errors and snapshot outcomes. Keep application configuration and output ownership external; omit captured content and raw exceptions.
121
+ - Bound repeated capture warnings and unchanged close results. Contain ordinary application-handler failures, emit outside admission/retry locks and read transactions, and distinguish portable storage from complete capture.
122
+ - Give capture one result/logging boundary and consolidate reader/snapshot SQLite error translation without changing deadline precedence.
123
+ - Preserve the recorded comparison reasons `invalid_raw_arguments`, `conflicting_arguments` and `text_paths_unavailable` in inspection output instead of replacing them with `digest_unavailable`.
124
+ - Add behavioral logging regressions for content privacy, handler failure, concurrent loss reporting, ownership, cleanup and native result/error/cancellation preservation. Align the Markdown and HTML architecture guides with the new logging boundary.
125
+
126
+ ## 0.5.8
127
+
128
+ - Restore recursive validation in original-comparison encoding, correcting the deep raw-argument token/reason regression introduced by the 0.5.7 copy removal; add two public regression cases.
129
+ - Correct five published-wheel hashes in four compatibility locks without changing package versions or the FastMCP source pins.
130
+ - Remove remaining unused native-test explanation queries, duplicate hashing/copying and report metadata, plus three redundant integration-fixture assertions.
131
+ - Make the newly created disposable testing environment readable by the ordinary-user media probe while preserving its UID-drop capability check and the actual media-permission boundary.
132
+
133
+ ## 0.5.7
134
+
135
+ - Remove the unused capture, slice and snapshot reference implementations and migrate five useful cases to the installed public API/CLI tests.
136
+ - Move independent core/integration scenario assertions into ordinary pytest tests and six small shared helpers; remove the three standalone verification programs and their obsolete interface tests.
137
+ - Encode and hash already-owned JSON directly. This introduced the deep raw-argument comparison regression corrected in 0.5.8; retention and digest framing remained unchanged.
138
+ - Remove 61 unread compatibility-report writes and their dead support code; preserve the six consumed IPC files and native behavioral checks.
139
+ - Replace the stream detector self-test with cancellation before the first consumed chunk; remove the unsupported high-level FastMCP failure requirement.
140
+ - Reuse existing async fixtures while preserving the two-, four- and 45-second case watchdogs and FastMCP's 30-second default.
141
+ - Update current source maps and installed-wheel testing instructions. Public signatures, SQLite schema 6, inspection format `mfr.inspect/1` and SDK dependency pins remain unchanged.
142
+
143
+ ## 0.5.6
144
+
145
+ - Reduce the distribution to current source, useful examples, meaningful tests, dependency profiles and current documentation.
146
+ - Remove accumulated handoffs, audit ledgers, generated recordings, run logs, stored reports, experiment scripts, vendored wheels and nested release artifacts.
147
+ - Generate test recordings in temporary directories from the source examples and small declarative integration inputs.
148
+ - Simplify the test harness and keep incompatible SDK compatibility profiles in separate environments.
149
+ - Replace historical navigation with current capture, inspection, integration and testing guidance, plus matching Markdown and HTML architecture maps.
150
+
151
+ The public capture and inspection interfaces and SQLite schema version 6 remain unchanged.
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,32 @@
1
+ include README.md CHANGELOG.md
2
+ recursive-include src *.py
3
+ recursive-include sql *.sql
4
+ recursive-include tests *.py *.json
5
+ recursive-include compatibility_tests *.py
6
+ recursive-include examples *.py
7
+ recursive-include requirements *.txt
8
+ recursive-include docs *.md *.html
9
+ recursive-include tools *.py *.sh *.txt
10
+
11
+ # Local/private material must not enter source distributions.
12
+ prune .git
13
+ prune .agents
14
+ prune .codex
15
+ prune .claude
16
+ prune internal
17
+ prune private
18
+ prune review
19
+ prune playbook
20
+ prune skills
21
+ prune handoff
22
+ prune evidence
23
+ prune work
24
+ prune archive
25
+ prune build
26
+ prune dist
27
+ prune .venv
28
+ prune venv
29
+ prune .pytest_cache
30
+ global-exclude AGENTS.md CLAUDE.md SKILL.md PLAN.md PLAN.html TASK.md NEXT_TASK.md REVIEW.md RESULT.md CURRENT_STATE.md IDENTITY.json ISSUES.json
31
+ global-exclude .env .env.* *.pem *.key *.p12 *.pfx .DS_Store
32
+ global-exclude *.py[cod] *.sqlite *.sqlite-* *.db *.log *.zip *.whl *.tar.gz *.jsonl
@@ -0,0 +1,7 @@
1
+ MCP Flight Recorder
2
+ Copyright 2026 Volodymyr Barylyak
3
+
4
+ MCP Flight Recorder is licensed under the Apache License, Version 2.0.
5
+ See the LICENSE file for the complete license terms.
6
+
7
+ This NOTICE supplies attribution only and does not modify the Apache License.