garmin-running-data-normalizer 1.1.1__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 (55) hide show
  1. garmin_running_data_normalizer-1.1.1/LICENSE +202 -0
  2. garmin_running_data_normalizer-1.1.1/PKG-INFO +265 -0
  3. garmin_running_data_normalizer-1.1.1/README.md +241 -0
  4. garmin_running_data_normalizer-1.1.1/pyproject.toml +41 -0
  5. garmin_running_data_normalizer-1.1.1/setup.cfg +4 -0
  6. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/__init__.py +6 -0
  7. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/__main__.py +5 -0
  8. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/common/__init__.py +1 -0
  9. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/common/identity.py +21 -0
  10. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/common/time.py +42 -0
  11. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/common/validation.py +19 -0
  12. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/export/__init__.py +5 -0
  13. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/export/analysis_pack.py +102 -0
  14. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/fit/__init__.py +12 -0
  15. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/fit/hrv.py +333 -0
  16. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/fit/parser.py +480 -0
  17. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/intake/__init__.py +5 -0
  18. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/intake/archive.py +99 -0
  19. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/intake/discovery.py +69 -0
  20. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/normalizers/__init__.py +17 -0
  21. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/normalizers/activities.py +72 -0
  22. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/normalizers/gear.py +62 -0
  23. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/normalizers/health_status.py +286 -0
  24. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/normalizers/hrv.py +144 -0
  25. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/normalizers/personal_records.py +57 -0
  26. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/normalizers/sleep.py +192 -0
  27. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/output_experience.py +1262 -0
  28. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/policies/__init__.py +5 -0
  29. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/policies/datasets.py +123 -0
  30. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/qa.py +36 -0
  31. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/relationships.py +649 -0
  32. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/run_all.py +802 -0
  33. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/runner.py +244 -0
  34. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer/standalone.py +175 -0
  35. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer.egg-info/PKG-INFO +265 -0
  36. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer.egg-info/SOURCES.txt +53 -0
  37. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer.egg-info/dependency_links.txt +1 -0
  38. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer.egg-info/entry_points.txt +2 -0
  39. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer.egg-info/requires.txt +7 -0
  40. garmin_running_data_normalizer-1.1.1/src/garmin_running_data_normalizer.egg-info/top_level.txt +1 -0
  41. garmin_running_data_normalizer-1.1.1/tests/test_bootstrap.py +26 -0
  42. garmin_running_data_normalizer-1.1.1/tests/test_common_and_policies.py +59 -0
  43. garmin_running_data_normalizer-1.1.1/tests/test_fit_and_analysis_pack.py +299 -0
  44. garmin_running_data_normalizer-1.1.1/tests/test_golden_path.py +178 -0
  45. garmin_running_data_normalizer-1.1.1/tests/test_health_status_normalizer.py +169 -0
  46. garmin_running_data_normalizer-1.1.1/tests/test_hrv_normalizer.py +169 -0
  47. garmin_running_data_normalizer-1.1.1/tests/test_intake_and_normalizers.py +200 -0
  48. garmin_running_data_normalizer-1.1.1/tests/test_output_experience.py +618 -0
  49. garmin_running_data_normalizer-1.1.1/tests/test_packaging_readiness.py +54 -0
  50. garmin_running_data_normalizer-1.1.1/tests/test_pypi_publish_workflow.py +105 -0
  51. garmin_running_data_normalizer-1.1.1/tests/test_relationships.py +350 -0
  52. garmin_running_data_normalizer-1.1.1/tests/test_run_all.py +553 -0
  53. garmin_running_data_normalizer-1.1.1/tests/test_sleep_normalizer.py +134 -0
  54. garmin_running_data_normalizer-1.1.1/tests/test_standalone.py +146 -0
  55. garmin_running_data_normalizer-1.1.1/tests/test_static_policy.py +73 -0
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2026 tsubotti63
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,265 @@
1
+ Metadata-Version: 2.4
2
+ Name: garmin-running-data-normalizer
3
+ Version: 1.1.1
4
+ Summary: Deterministic local Garmin Account Export normalization primitives
5
+ License-Expression: Apache-2.0
6
+ Project-URL: Homepage, https://github.com/tsubotti63/garmin-running-data-normalizer
7
+ Project-URL: Repository, https://github.com/tsubotti63/garmin-running-data-normalizer
8
+ Project-URL: Issues, https://github.com/tsubotti63/garmin-running-data-normalizer/issues
9
+ Project-URL: Documentation, https://github.com/tsubotti63/garmin-running-data-normalizer/blob/main/docs/product_quick_start.md
10
+ Project-URL: Changelog, https://github.com/tsubotti63/garmin-running-data-normalizer/blob/main/docs/product_changelog.md
11
+ Keywords: garmin,running,normalization,fit
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Requires-Python: >=3.11
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ Provides-Extra: test
19
+ Requires-Dist: pytest<9,>=8.4; extra == "test"
20
+ Provides-Extra: release
21
+ Requires-Dist: build<2,>=1.2; extra == "release"
22
+ Requires-Dist: twine<7,>=6; extra == "release"
23
+ Dynamic: license-file
24
+
25
+ # Garmin Running Data Normalizer
26
+
27
+ Garmin Running Data Normalizer is a local-first Python project for discovering
28
+ an unmodified Garmin Account Export and producing deterministic,
29
+ provenance-rich Garmin records without sending the export to a hosted service.
30
+
31
+ ## Current status
32
+
33
+ The source repository is public and maintained on `main`. Version `1.1.1` is
34
+ the Human-approved stable Production package candidate. It carries the reviewed
35
+ v1.1 FIT integrity, relationship QA, and standalone Output Experience while
36
+ preserving existing `1.x` CLI and output paths. The existing `v1.1.0` tag and
37
+ [GitHub Release](https://github.com/tsubotti63/garmin-running-data-normalizer/releases/tag/v1.1.0)
38
+ remain immutable; their tagged source declares `1.1.0rc1`, and those TestPyPI
39
+ artifacts are not reused as stable Production artifacts. The `v1.1.1` tag,
40
+ GitHub Release, TestPyPI upload, and Production PyPI upload remain separate
41
+ Human Approval Boundaries.
42
+
43
+ The formal CLI supports the existing activities-only Golden Path and a minimum
44
+ multi-family Run-All workflow. Run-All requires Activities and processes Gear,
45
+ Personal Records, and bounded FIT sessions/laps when those families are
46
+ present. Public reproduction uses synthetic fixtures. A private real-export
47
+ validation completed with status `PASS`, exit code 0, unchanged input, two
48
+ independent byte-identical outputs, and a public-safe privacy check; no private
49
+ rows, paths, identifiers, dates, filenames, hashes, or fingerprints are
50
+ published. Only public-safe aggregate relationship acceptance counts are
51
+ reported.
52
+
53
+ This project is licensed under the
54
+ [Apache License 2.0](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/v1.0.0/LICENSE).
55
+
56
+ The `1.0.0` scope aligns FIT Activity/Lap metric mappings and adds
57
+ dependency-free library-level Sleep, HRV, and Health Status normalization.
58
+ HRV uses the bounded FIT Message 370 candidate and keeps `healthStatusData`
59
+ comparison as validation evidence only. Health Status emits complete long and
60
+ fixed daily schemas without dynamic columns. These families are not yet part of
61
+ the formal CLI or Run-All public output contract.
62
+
63
+ ## Supported datasets and interfaces
64
+
65
+ | Dataset or output | Implemented scope | Formal CLI support |
66
+ |---|---|---|
67
+ | Activities | `summarizedActivities.json` normalization with activity grain, `garmin_activity_key`, provenance, QA, and manifest | Yes |
68
+ | Gear and activity-gear links | `gear.json` normalizer | Run-All |
69
+ | Personal records | `personalRecord.json` normalizer | Run-All |
70
+ | FIT sessions and laps | CRC-validated multi-session parser with `fit_session_key` and `fit_lap_key`; record coordinates and raw telemetry are not emitted | Run-All |
71
+ | Activity/FIT links | Auditable evidence-qualified links with exclusions and relationship QA | Run-All |
72
+ | Sleep | `sleepData.json` daily normalization with review states and provenance; no filling or inference | No; library level only |
73
+ | HRV | FIT Message 370 / Field 1 daily candidate with invalid-sentinel handling and non-promotional JSON consistency evidence | No; library level only |
74
+ | Health Status | Exact-suffix `healthStatusData.json` long metrics and fixed daily schema with explicit dedupe/review evidence | No; library level only |
75
+ | Analysis Pack | Deterministic allowlist-only ZIP; optional external-safe profile is limited to month-level activity volume/count and removes identifiers, provenance, exact timestamps, and unneeded health/performance detail | Run-All opt-in |
76
+
77
+ The dataset registry documents stable keys, record grain, merge policy, and
78
+ provenance requirements. See the
79
+ [Supported Datasets](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/main/docs/supported_datasets.md)
80
+ for the stable CLI/output boundary and library-level scope.
81
+
82
+ ## Install
83
+
84
+ Garmin Running Data Normalizer requires Python 3.11 or later:
85
+
86
+ Production PyPI publication has not yet been performed. Until the `v1.1.1` tag
87
+ and package-index release are separately authorized, install the earlier
88
+ reviewed stable tag from a checkout:
89
+
90
+ ```bash
91
+ git clone --branch v1.0.0 --depth 1 \
92
+ https://github.com/tsubotti63/garmin-running-data-normalizer.git
93
+ cd garmin-running-data-normalizer
94
+ python3 -m venv .venv
95
+ source .venv/bin/activate
96
+ python -m pip install .
97
+ python -m garmin_running_data_normalizer --version
98
+ ```
99
+
100
+ The equivalent installed console command is `garmin-running-data-normalizer`.
101
+ The project has no third-party runtime package dependency.
102
+
103
+ After a separate PyPI publication is completed, the canonical index install
104
+ command will be:
105
+
106
+ ```bash
107
+ python -m pip install garmin-running-data-normalizer
108
+ ```
109
+
110
+ Maintainers can reproduce the packaging gate without uploading anything:
111
+
112
+ ```bash
113
+ python -m pip install -e '.[test,release]'
114
+ python -m build
115
+ python -m twine check --strict dist/*
116
+ ```
117
+
118
+ ## Try the synthetic Golden Path
119
+
120
+ No Garmin account or real export is required. After local installation, run the
121
+ bounded activities workflow with the visibly synthetic fixture:
122
+
123
+ ```bash
124
+ python -m garmin_running_data_normalizer normalize-activities --input examples/synthetic/garmin_export --output workspace/golden-path
125
+ ```
126
+
127
+ It creates deterministic normalized activities, a QA summary, and a provenance
128
+ manifest without modifying the input. Follow the complete copy-and-paste setup,
129
+ Golden Result comparison, repeat-run check, privacy guidance, and current
130
+ limitations in the
131
+ [Product Quick Start](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/main/docs/product_quick_start.md).
132
+
133
+ ## Run the minimum multi-family workflow
134
+
135
+ Use a new output directory for every run:
136
+
137
+ ```bash
138
+ python -m garmin_running_data_normalizer run-all \
139
+ --input examples/synthetic/garmin_export \
140
+ --output workspace/run-all
141
+ ```
142
+
143
+ The tracked fixture contains Activities only, so this tested example returns
144
+ `PASS_WITH_WARNINGS` with exit code 0 and records the absent optional families.
145
+ Run-All writes normalized JSON, FIT and relationship audit, deterministic
146
+ Activities CSV, dataset and relationship QA, three human-readable handoff
147
+ documents, machine-readable analysis/schema context, a run manifest, and
148
+ `run_summary.json` as its completion marker. `START_HERE.md`,
149
+ `ANALYSIS_HANDOFF.md`, and `ANALYSIS_CONTEXT.json` report coverage for every
150
+ explicit relationship without hiding unresolved, ambiguous, or duplicate
151
+ records; detailed evidence remains in relationship QA and audit artifacts.
152
+ Exit code 2 is fatal; exit code 3 is an explicit `PARTIAL_SUCCESS` for auditable
153
+ incomplete FIT parsing. See the
154
+ [Product Quick Start](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/main/docs/product_quick_start.md)
155
+ for the additive v1.1 output layout and privacy boundary. Add
156
+ `--external-safe-pack` to create a deterministic reviewable ZIP; Run-All never
157
+ uploads it.
158
+
159
+ Full normalized JSON and audit output use the `local_trusted_full` privacy mode.
160
+ They can retain memo text and source-relative Garmin filenames, including
161
+ email-shaped personal identifiers. Keep them local; the optional external-safe
162
+ pack removes those fields.
163
+
164
+ ## Why this project matters
165
+
166
+ Run-All creates a reviewable boundary between a complex local Garmin export and
167
+ downstream analysis: deterministic normalization, fixed output, QA and
168
+ provenance, explicit warnings, and a separate human-owned interpretation step.
169
+ See the
170
+ [Primary Case Study](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/v1.0.0/docs/case_studies/from_garmin_export_to_reproducible_analysis_handoff_v0_1.md).
171
+
172
+ ## Analyze Run-All output
173
+
174
+ Review generated `START_HERE.md` first. In a trusted local environment, follow
175
+ `DATASET_INVENTORY.md` and `ANALYSIS_HANDOFF.md`, then start with
176
+ `analysis/activities.csv` and the
177
+ [Analysis Handoff Specification](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/main/docs/project/analysis_handoff_spec_v0_1.md).
178
+ The [Run-All Output Contract](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/main/docs/output_contract.md),
179
+ [Dataset Catalog](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/main/docs/supported_datasets.md),
180
+ and [Dataset Relationship Catalog](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/main/docs/dataset_relationships.md)
181
+ explain artifact authority, dataset roles, and the explicit v1.1 joins.
182
+ The [prompt template](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/v1.0.0/docs/project/analysis_prompt_template_v0_1.md),
183
+ [public usage example](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/v1.0.0/docs/project/run_all_public_usage_example_v0_1.md), and
184
+ [use-case catalog](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/v1.0.0/docs/project/run_all_use_case_catalog_v0_1.md) separate facts,
185
+ calculations, interpretation, and unknowns.
186
+
187
+ Three key-free synthetic examples are available:
188
+
189
+ - [Monthly and Weekly Training Trends](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/v1.0.0/examples/analysis/monthly_weekly_training_trends/README.md)
190
+ - [Pace and Heart Rate Relationship](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/v1.0.0/examples/analysis/pace_heart_rate_relationship/README.md)
191
+ - [Training Consistency and Return Pattern](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/v1.0.0/examples/analysis/training_consistency_return_pattern/README.md)
192
+
193
+ Calculated facts are reproducible; generative wording is not claimed to be
194
+ byte-identical. The current `garmin_activity_key` may incorporate a source
195
+ activity ID. Keep real CSV local, remove that key from any externally shared
196
+ derivative, and review exact date/time granularity before transfer.
197
+
198
+ ## Local verification
199
+
200
+ ```bash
201
+ PYTHONPATH=src python3 -m unittest discover -s tests -v
202
+ python3 scripts/validate_bootstrap.py
203
+ python3 scripts/static_policy_scan.py
204
+ python3 scripts/validate_platform_alignment.py
205
+ python3 scripts/validate_public_history.py --ci
206
+ ```
207
+
208
+ The public-history command assumes a normal public clone whose `origin/HEAD`
209
+ points to `origin/main`. The no-argument mode is intentionally reserved for the
210
+ historical pre-registration checkout contract.
211
+
212
+ Only synthetic fixtures may be committed. Real Garmin exports and generated
213
+ personal output belong in ignored local directories.
214
+
215
+ ## Activities Golden Path guarantees
216
+
217
+ - The documented Golden Path produces byte-identical JSON for identical input.
218
+ - Input is read-only; output must be absent or empty and is never silently
219
+ overwritten.
220
+ - ZIP input is validated for traversal, links, encryption, entry count, size,
221
+ total size, and compression-ratio limits.
222
+ - Stable keys, activity record grain, source-relative provenance, hashes, and
223
+ deterministic QA are included in the reviewed output contract.
224
+ - Unsupported or unsafe Golden Path input fails closed with a non-zero exit
225
+ status.
226
+
227
+ ## Known limitations
228
+
229
+ Run-All v1 requires Activities; Gear, Personal Records, and FIT are optional.
230
+ Sleep, HRV, and Health Status are library-level interfaces and are not Run-All
231
+ outputs. Hosted processing, Open-Meteo, Parquet, automatic upload, and
232
+ Production PyPI publication are not included. The
233
+ documented CLI and versioned Run-All output contract are the stable `1.x`
234
+ interface; other Python modules may evolve compatibly as their contracts mature.
235
+ See
236
+ [Known Limitations](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/main/docs/known_limitations.md)
237
+ for the precise boundaries.
238
+
239
+ ## Non-goals
240
+
241
+ Hosted processing, Garmin account authentication, JMA or Instagram ingestion,
242
+ wellness/coaching interpretation, personal analysis, and non-Garmin data
243
+ platform generalization are outside the project scope.
244
+
245
+ See the
246
+ [Product Change History](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/main/docs/product_changelog.md)
247
+ for factual product
248
+ changes. The root `CHANGELOG.md` is the byte-locked change log of the adopted AI
249
+ Collaboration Platform v0.9 Standard, not a Garmin product release history.
250
+
251
+ ## Project map
252
+
253
+ - `docs/project_os/`: unmodified AI Collaboration Platform v0.9 Standard
254
+ - `docs/project/`: Project Customization and current phase controls
255
+ - `docs/proofs/`: Platform capability evidence
256
+ - `docs/reference/`: reuse, privacy, licensing, release, and handoff references
257
+ - `templates/`: unmodified Platform project/operation templates
258
+ - `runtime/`: unmodified Platform runtime plus Target Runtime Addendum
259
+ - `src/garmin_running_data_normalizer/`: public product implementation
260
+ - `tests/`: synthetic, dependency-free unit tests
261
+ - `packages/`: tracked package policy; review packs are generated under ignored
262
+ `.review/`
263
+
264
+ Start with
265
+ [`docs/README.md`](https://github.com/tsubotti63/garmin-running-data-normalizer/blob/v1.0.0/docs/README.md).