sentinel-openrig 0.4.0__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 (100) hide show
  1. sentinel_openrig-0.4.0/CHANGELOG.md +29 -0
  2. sentinel_openrig-0.4.0/LICENSE +202 -0
  3. sentinel_openrig-0.4.0/MANIFEST.in +25 -0
  4. sentinel_openrig-0.4.0/PKG-INFO +83 -0
  5. sentinel_openrig-0.4.0/README.md +127 -0
  6. sentinel_openrig-0.4.0/README.pypi.md +58 -0
  7. sentinel_openrig-0.4.0/__init__.py +2 -0
  8. sentinel_openrig-0.4.0/contracts/fleet-registry.schema.json +50 -0
  9. sentinel_openrig-0.4.0/contracts/history.schema.json +181 -0
  10. sentinel_openrig-0.4.0/contracts/mission-registry.schema.json +58 -0
  11. sentinel_openrig-0.4.0/contracts/module-config.schema.json +84 -0
  12. sentinel_openrig-0.4.0/contracts/module-manifest.schema.json +77 -0
  13. sentinel_openrig-0.4.0/contracts/observation.schema.json +200 -0
  14. sentinel_openrig-0.4.0/contracts/openapi.json +244 -0
  15. sentinel_openrig-0.4.0/contracts/project-init.d.ts +6 -0
  16. sentinel_openrig-0.4.0/contracts/project-init.schema.json +237 -0
  17. sentinel_openrig-0.4.0/contracts/recording.schema.json +44 -0
  18. sentinel_openrig-0.4.0/contracts/roster.schema.json +33 -0
  19. sentinel_openrig-0.4.0/contracts/seat-observation.schema.json +81 -0
  20. sentinel_openrig-0.4.0/contracts/simulation-event.schema.json +511 -0
  21. sentinel_openrig-0.4.0/contracts/snapshot.schema.json +286 -0
  22. sentinel_openrig-0.4.0/contracts/status.schema.json +66 -0
  23. sentinel_openrig-0.4.0/contracts/telemetry-event.schema.json +511 -0
  24. sentinel_openrig-0.4.0/contracts/types.d.ts +13 -0
  25. sentinel_openrig-0.4.0/docs/CONTRIBUTING.md +33 -0
  26. sentinel_openrig-0.4.0/docs/INTEGRATION.md +38 -0
  27. sentinel_openrig-0.4.0/docs/SECURITY.md +19 -0
  28. sentinel_openrig-0.4.0/docs/STATUS.md +47 -0
  29. sentinel_openrig-0.4.0/docs/brand/asset-manifest.json +182 -0
  30. sentinel_openrig-0.4.0/docs/brand/style-guide.md +156 -0
  31. sentinel_openrig-0.4.0/docs/design/product-preview.md +53 -0
  32. sentinel_openrig-0.4.0/docs/design/site-design.md +47 -0
  33. sentinel_openrig-0.4.0/docs/design/verification.md +43 -0
  34. sentinel_openrig-0.4.0/docs/guides/getting-started.md +56 -0
  35. sentinel_openrig-0.4.0/docs/guides/github-pages.md +47 -0
  36. sentinel_openrig-0.4.0/docs/guides/operations.md +77 -0
  37. sentinel_openrig-0.4.0/docs/guides/project-setup.md +52 -0
  38. sentinel_openrig-0.4.0/docs/guides/releasing.md +76 -0
  39. sentinel_openrig-0.4.0/docs/index.md +36 -0
  40. sentinel_openrig-0.4.0/docs/reference/api.md +36 -0
  41. sentinel_openrig-0.4.0/docs/reference/cli.md +29 -0
  42. sentinel_openrig-0.4.0/docs/reference/contracts.md +40 -0
  43. sentinel_openrig-0.4.0/docs/research/DRTW-public-documentation.md +72 -0
  44. sentinel_openrig-0.4.0/docs/wiki/architecture.md +49 -0
  45. sentinel_openrig-0.4.0/docs/wiki/index.md +39 -0
  46. sentinel_openrig-0.4.0/docs/wiki/observation-model.md +35 -0
  47. sentinel_openrig-0.4.0/examples/atlas-roster.json +1026 -0
  48. sentinel_openrig-0.4.0/examples/minimal-roster.json +3 -0
  49. sentinel_openrig-0.4.0/module.json +21 -0
  50. sentinel_openrig-0.4.0/plugin/.claude-plugin/plugin.json +5 -0
  51. sentinel_openrig-0.4.0/plugin/.codex-plugin/plugin.json +6 -0
  52. sentinel_openrig-0.4.0/plugin/plugin.json +6 -0
  53. sentinel_openrig-0.4.0/plugin/skills/sentinel-monitor/SKILL.md +14 -0
  54. sentinel_openrig-0.4.0/pyproject.toml +50 -0
  55. sentinel_openrig-0.4.0/requirements-dev.txt +1 -0
  56. sentinel_openrig-0.4.0/requirements-docs.txt +3 -0
  57. sentinel_openrig-0.4.0/requirements-release.txt +5 -0
  58. sentinel_openrig-0.4.0/sentinel_openrig.egg-info/PKG-INFO +83 -0
  59. sentinel_openrig-0.4.0/sentinel_openrig.egg-info/SOURCES.txt +156 -0
  60. sentinel_openrig-0.4.0/sentinel_openrig.egg-info/dependency_links.txt +1 -0
  61. sentinel_openrig-0.4.0/sentinel_openrig.egg-info/entry_points.txt +3 -0
  62. sentinel_openrig-0.4.0/sentinel_openrig.egg-info/top_level.txt +1 -0
  63. sentinel_openrig-0.4.0/setup.cfg +4 -0
  64. sentinel_openrig-0.4.0/site/assets/brand/app-icon.png +0 -0
  65. sentinel_openrig-0.4.0/site/assets/brand/app-icon.svg +1 -0
  66. sentinel_openrig-0.4.0/site/assets/brand/apple-touch-icon.png +0 -0
  67. sentinel_openrig-0.4.0/site/assets/brand/favicon-32.png +0 -0
  68. sentinel_openrig-0.4.0/site/assets/brand/favicon.svg +1 -0
  69. sentinel_openrig-0.4.0/site/assets/brand/lockup-dark.svg +1 -0
  70. sentinel_openrig-0.4.0/site/assets/brand/lockup-light.svg +1 -0
  71. sentinel_openrig-0.4.0/site/assets/brand/mark-dark.svg +1 -0
  72. sentinel_openrig-0.4.0/site/assets/brand/mark-light.svg +1 -0
  73. sentinel_openrig-0.4.0/site/assets/brand/mark-mono.svg +1 -0
  74. sentinel_openrig-0.4.0/site/assets/brand/mark-white.svg +1 -0
  75. sentinel_openrig-0.4.0/site/assets/brand/preview.html +12 -0
  76. sentinel_openrig-0.4.0/site/assets/brand/readme-banner.png +0 -0
  77. sentinel_openrig-0.4.0/site/assets/brand/readme-banner.svg +1 -0
  78. sentinel_openrig-0.4.0/site/assets/brand/social-preview.png +0 -0
  79. sentinel_openrig-0.4.0/site/assets/brand/social-preview.svg +1 -0
  80. sentinel_openrig-0.4.0/site/assets/brand/wordmark-dark.svg +1 -0
  81. sentinel_openrig-0.4.0/site/assets/brand/wordmark-light.svg +1 -0
  82. sentinel_openrig-0.4.0/site/assets/product-preview-data.js +36 -0
  83. sentinel_openrig-0.4.0/site/assets/product-preview.css +5 -0
  84. sentinel_openrig-0.4.0/site/assets/product-preview.html +20 -0
  85. sentinel_openrig-0.4.0/site/assets/product-preview.js +211 -0
  86. sentinel_openrig-0.4.0/site/assets/site.css +28 -0
  87. sentinel_openrig-0.4.0/site/assets/site.js +79 -0
  88. sentinel_openrig-0.4.0/site/docs-template.html +37 -0
  89. sentinel_openrig-0.4.0/site/index.html +90 -0
  90. sentinel_openrig-0.4.0/tests/test_module.py +60 -0
  91. sentinel_openrig-0.4.0/tools/__init__.py +0 -0
  92. sentinel_openrig-0.4.0/tools/bootstrap.py +88 -0
  93. sentinel_openrig-0.4.0/tools/build_contracts.py +25 -0
  94. sentinel_openrig-0.4.0/tools/build_product_preview.py +205 -0
  95. sentinel_openrig-0.4.0/tools/build_site.py +183 -0
  96. sentinel_openrig-0.4.0/tools/check_release.py +181 -0
  97. sentinel_openrig-0.4.0/tools/project_skill.py +19 -0
  98. sentinel_openrig-0.4.0/tools/sentinel.py +256 -0
  99. sentinel_openrig-0.4.0/web/live.html +3 -0
  100. sentinel_openrig-0.4.0/web/simulation.html +69 -0
@@ -0,0 +1,29 @@
1
+ # Changelog
2
+
3
+ Release notes describe shipped behavior and its limits. See GitHub release assets and PyPI metadata for publication records.
4
+
5
+ ## 0.4.0 — 2026-11-24
6
+
7
+ Initial public alpha release of the local observability companion.
8
+
9
+ ### Public documentation and distribution
10
+
11
+ - Added a public README, marketing site, and shared documentation/wiki structure.
12
+ - Declared Apache-2.0 licensing and the designated `OOOffsite/sentinel` repository.
13
+ - Added PyPI-oriented package metadata and a README with absolute documentation links.
14
+ - Excluded local agent instructions and runtime state from new distribution builds.
15
+ - Added artifact checks and an explicitly dispatched build/TestPyPI/PyPI workflow using Trusted Publishing.
16
+
17
+ The release preserves observation contract **1.1.0** and simulation contract **1.0.0**. Release assets are rebuilt from reviewed source; the original development wheel is not a release asset.
18
+
19
+ ### Observation and preparation
20
+
21
+ - Project-independent rosters, explicit identity bindings, and local observation views.
22
+ - OTLP HTTP JSON logs/metrics subset, allowlisted normalized records, and SQLite history.
23
+ - Read-only status, roster, snapshot, and history API.
24
+ - Declarative project validation and plan-first preparation of isolated resources.
25
+ - Optional read-only monitor skill projection for supported agent harnesses.
26
+
27
+ ### Validation and limits
28
+
29
+ The receiver/module fixtures cover schema validation, ingestion/replay, freshness, instance/configuration boundaries, loopback HTTP behavior, and skill projection. Real upstream exporter interoperability, installed OpenRig materialization, live model sessions, remote security, and sustained capacity require separate evidence before production. This alpha release does not make a production-readiness claim.
@@ -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 [yyyy] [name of copyright owner]
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,25 @@
1
+ # Public source distribution: exclude workstation instructions and runtime state.
2
+ include pyproject.toml README.md README.pypi.md CHANGELOG.md LICENSE
3
+ include module.json __init__.py
4
+ include requirements-dev.txt requirements-docs.txt requirements-release.txt
5
+ recursive-include tools *.py
6
+ recursive-include tests *.py
7
+ recursive-include contracts *.json *.ts
8
+ recursive-include web *.html
9
+ include plugin/plugin.json
10
+ include plugin/.claude-plugin/plugin.json
11
+ include plugin/.codex-plugin/plugin.json
12
+ recursive-include plugin/skills *.md
13
+ recursive-include docs *.md *.json
14
+ recursive-include examples *.json
15
+ recursive-include site *.html *.css *.js *.svg *.png *.webp *.ico
16
+ global-exclude AGENTS.md CLAUDE.md validation.txt .DS_Store *.py[cod] *.sqlite* *.db checkpoint.json
17
+ prune .git
18
+ prune .agents
19
+ prune .claude-flow
20
+ prune .uharness
21
+ prune .venv
22
+ prune runtime
23
+ prune build
24
+ prune dist
25
+ prune _site
@@ -0,0 +1,83 @@
1
+ Metadata-Version: 2.4
2
+ Name: sentinel-openrig
3
+ Version: 0.4.0
4
+ Summary: Local project-independent OpenRig observability and bootstrap companion
5
+ License-Expression: Apache-2.0
6
+ Project-URL: Homepage, https://github.com/OOOffsite/sentinel
7
+ Project-URL: Repository, https://github.com/OOOffsite/sentinel
8
+ Project-URL: Documentation, https://github.com/OOOffsite/sentinel/tree/main/docs
9
+ Project-URL: Issues, https://github.com/OOOffsite/sentinel/issues
10
+ Project-URL: Changelog, https://github.com/OOOffsite/sentinel/blob/main/CHANGELOG.md
11
+ Keywords: openrig,observability,telemetry,agents,otlp
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3 :: Only
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Topic :: System :: Monitoring
21
+ Requires-Python: >=3.11
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Dynamic: license-file
25
+
26
+ # SENTINEL
27
+
28
+ *monitor the situation*
29
+
30
+ **Local, evidence-driven observability for OpenRig-managed agent fleets.**
31
+
32
+ Sentinel receives a defined OTLP HTTP JSON subset from the existing upstream exporter, retains allowlisted metadata in SQLite, and serves a loopback dashboard and read API. It distinguishes observed activity, declared topology, and simulation. Missing or stale evidence remains unknown.
33
+
34
+ This is a **Python package** for Python 3.11 or newer, with no third-party Python runtime dependencies. Its commands are `sentinel-openrig` and `sentinel-project`.
35
+
36
+ **Actual fleet telemetry requires a separately installed OpenRig system and the pinned upstream exporter running on Node.js 22/24.** These integration prerequisites are not installed by pip. Sentinel can initialize configuration and show an empty monitor without them.
37
+
38
+ ## Capabilities
39
+
40
+ - Inspect sampled presence and activity with explicit freshness rules.
41
+ - Associate immutable exported node IDs with operator-verified logical seats.
42
+ - Read local status, roster, snapshots, and cursor-based history.
43
+ - Retain metadata without prompts, transcripts, or message bodies.
44
+ - Validate project declarations and review plans for isolated worktrees and AgentSpecs.
45
+
46
+ OpenRig remains the agent and queue authority. Sentinel does not launch agents or enqueue work. The separate legacy Atlas simulation never substitutes for real observations, and the current observation API does not establish directed messages between agents.
47
+
48
+ ## Installation
49
+
50
+ Use a project-local environment for the release:
51
+
52
+ ```bash
53
+ python3 -m venv .venv
54
+ . .venv/bin/activate
55
+ python -m pip install sentinel-openrig==0.4.0
56
+ sentinel-openrig --help
57
+ sentinel-project --help
58
+ ```
59
+
60
+ For a source checkout, use `python -m pip install .` from the repository root instead. To use a downloaded release wheel without resolving dependencies, run `python -m pip install --no-deps --no-index /path/to/sentinel_openrig-0.4.0-py3-none-any.whl`.
61
+
62
+ Git is needed for project preparation. No upstream binary or exporter is vendored.
63
+
64
+ ## Documentation
65
+
66
+ Source, issues, release assets, and documentation are maintained in [OOOffsite/sentinel](https://github.com/OOOffsite/sentinel).
67
+
68
+ - [Getting started](https://github.com/OOOffsite/sentinel/blob/main/docs/guides/getting-started.md)
69
+ - [Operations](https://github.com/OOOffsite/sentinel/blob/main/docs/guides/operations.md)
70
+ - [Wiki](https://github.com/OOOffsite/sentinel/tree/main/docs/wiki)
71
+ - [API and contracts](https://github.com/OOOffsite/sentinel/tree/main/docs/reference)
72
+ - [Status and verification limits](https://github.com/OOOffsite/sentinel/blob/main/docs/STATUS.md)
73
+ - [Release notes](https://github.com/OOOffsite/sentinel/blob/main/CHANGELOG.md)
74
+
75
+ ## Compatibility and boundaries
76
+
77
+ Package **0.4.0** is an **alpha release of a local prototype**. Observation contract **1.1.0** and simulation contract **1.0.0** remain separate. OpenRig documentation was reviewed at **0.7.21**; verify the actual installed CLI and exact exporter commit `1beecce96befec880a93f60b11d83b44d7347620` before production use.
78
+
79
+ The receiver binds to loopback and trusts the local OS account. It is not an authenticated remote gateway. A received observation is not proof of source reachability or complete history. The 128-seat implementation ceiling is not a validated capacity claim. Retention, remote security, and sustained throughput remain future work.
80
+
81
+ ## License
82
+
83
+ Sentinel is licensed under **Apache-2.0**. The separately obtained upstream exporter has its own license and is not included in this distribution.
@@ -0,0 +1,127 @@
1
+ <div align="center">
2
+
3
+ ![Sentinel — clarity for your agent fleet](site/assets/brand/readme-banner.svg)
4
+
5
+ <h1>SENTINEL <small>monitor the situation</small></h1>
6
+
7
+ **Know what your agents are doing. Know what you don't know.**
8
+
9
+ A local observability companion for OpenRig-managed agent fleets.
10
+ Observe sampled activity, retain metadata, and replay what was received.
11
+
12
+ [![Version 0.4.0](https://img.shields.io/badge/version-0.4.0-c5f36b?style=flat-square&labelColor=111c26)](pyproject.toml)
13
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-65d9ed?style=flat-square&labelColor=111c26&logo=python&logoColor=white)](pyproject.toml)
14
+ [![Contract 1.1.0](https://img.shields.io/badge/contract-1.1.0-65d9ed?style=flat-square&labelColor=111c26)](docs/reference/contracts.md)
15
+ [![Local prototype](https://img.shields.io/badge/status-local_prototype-ecc77b?style=flat-square&labelColor=111c26)](docs/STATUS.md)
16
+ [![Zero third-party Python runtime dependencies](https://img.shields.io/badge/Python_runtime_deps-0-c5f36b?style=flat-square&labelColor=111c26)](pyproject.toml)
17
+
18
+ [![CI](https://github.com/OOOffsite/sentinel/actions/workflows/ci.yml/badge.svg)](https://github.com/OOOffsite/sentinel/actions/workflows/ci.yml)
19
+ [![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-65d9ed?style=flat-square&labelColor=111c26)](LICENSE)
20
+
21
+ [Get started](docs/guides/getting-started.md) · [Documentation](docs/index.md) · [Wiki](docs/wiki/index.md) · [API reference](docs/reference/api.md) · [Status](docs/STATUS.md)
22
+
23
+ </div>
24
+
25
+ ---
26
+
27
+ ## See the signal
28
+
29
+ Sentinel gives operators a grounded view of an OpenRig fleet without taking over agent control. It receives a defined OTLP JSON subset from the existing upstream exporter, stores allowlisted metadata in SQLite, and serves a local dashboard and read API.
30
+
31
+ | Capability | What you get |
32
+ | :--- | :--- |
33
+ | **Observe** | Project rosters, verified seat bindings, and sampled presence/activity with freshness checks. |
34
+ | **Retain** | A local metadata journal with normalized duplicate suppression. No prompt, transcript, or message-body capture. |
35
+ | **Replay** | Cursor-based history and snapshots of what the receiver had observed. |
36
+ | **Stay honest** | Stale, missing, unsupported, or unverified evidence remains unknown. |
37
+ | **Prepare** | A separate project CLI validates declarations and produces a reviewable preparation plan. Applying that plan is explicit. |
38
+
39
+ ```text
40
+ OpenRig → pinned upstream exporter → Sentinel → local dashboard / read API
41
+ │
42
+ └── SQLite metadata journal
43
+ ```
44
+
45
+ OpenRig remains the agent and queue authority. Sentinel does not launch agents, enqueue work, or infer who messaged whom. The legacy simulation is a separate, labeled view.
46
+
47
+ ## Requirements
48
+
49
+ | Dependency | Required for | Installed by pip? |
50
+ | --- | --- | --- |
51
+ | Python 3.11+ | Sentinel itself | No; provide a Python runtime. |
52
+ | **OpenRig** | **Real fleet telemetry and managed agents** | No; install and verify separately. |
53
+ | Node.js 22/24 | The upstream telemetry exporter | No; install separately. |
54
+ | Pinned `openrig-telemetry` exporter | Sending supported observations to Sentinel | No; reviewed separately. |
55
+ | Git | Exporter checkout and project preparation | No; install separately. |
56
+
57
+ Zero third-party Python runtime dependencies does not mean zero system requirements. An empty local monitor can run without OpenRig; observing a real fleet requires it.
58
+
59
+ ## Quick start
60
+
61
+ **Requires Python 3.11+.** Git is needed for project preparation. Actual telemetry also requires separately installed OpenRig and Node.js 22/24 for the upstream exporter.
62
+
63
+ Install the `0.4.0` alpha release in a project-local virtual environment:
64
+
65
+ ```bash
66
+ python3 -m venv .venv
67
+ . .venv/bin/activate
68
+ python -m pip install sentinel-openrig==0.4.0
69
+ sentinel-openrig --help
70
+ sentinel-project --help
71
+ ```
72
+
73
+ This is a **Python package**. OpenRig and its Node.js exporter are installed separately. To install from a source checkout, run `python -m pip install .` at the repository root; build isolation may download setuptools. Reviewed wheel assets also support an offline install with `--no-deps --no-index`.
74
+
75
+ Next, follow [getting started](docs/guides/getting-started.md) to declare a small roster, initialize a local configuration, and understand the empty dashboard before connecting verified telemetry. For project worktrees and AgentSpecs, use [project preparation](docs/guides/project-setup.md).
76
+
77
+ ## Designed around evidence
78
+
79
+ - **Local by design.** The receiver binds to loopback and trusts the local OS account. It is not an authenticated remote gateway.
80
+ - **Explicit identity.** Bind an immutable exported node ID to a declared seat only with authoritative host evidence.
81
+ - **Freshness matters.** A recent receipt, a running process, and advancing source telemetry are different facts.
82
+ - **Replay has limits.** Journal order is receipt order, not proof of source causality or complete history.
83
+ - **Simulation stays separate.** Illustrations and the legacy Atlas simulation never stand in for missing observations.
84
+
85
+ Read the [observation model](docs/wiki/observation-model.md) and [security boundary](docs/SECURITY.md) before operating the receiver.
86
+
87
+ ## Explore the documentation
88
+
89
+ | Start here | Go deeper |
90
+ | :--- | :--- |
91
+ | [Getting started](docs/guides/getting-started.md) | [Architecture and data flow](docs/wiki/architecture.md) |
92
+ | [Operations and exporter setup](docs/guides/operations.md) | [CLI reference](docs/reference/cli.md) |
93
+ | [Project preparation](docs/guides/project-setup.md) | [HTTP API](docs/reference/api.md) |
94
+ | [Wiki and FAQ](docs/wiki/index.md) | [Schemas, types, and specifications](docs/reference/contracts.md) |
95
+ | [GitHub Pages publishing](docs/guides/github-pages.md) | [Integration decision / ADR-S01](docs/INTEGRATION.md) |
96
+
97
+ The marketing site and documentation share one static GitHub Pages build. The wiki lives in this repository so the same content is reviewable on GitHub and readable on the site. See [site source](site/index.html) and the [publishing guide](docs/guides/github-pages.md). The repository target is [OOOffsite/sentinel](https://github.com/OOOffsite/sentinel); Pages deployment is tracked separately.
98
+
99
+ ## Development
100
+
101
+ Use an isolated development environment with the optional test and documentation dependencies:
102
+
103
+ ```bash
104
+ python -m pip install -r requirements-dev.txt -r requirements-docs.txt
105
+ python tests/test_module.py
106
+ python tools/build_site.py --check
107
+ ```
108
+
109
+ The module suite covers schemas, ingestion, replay, freshness, identity/configuration constraints, local HTTP behavior, and skill projection. These fixture tests do not establish interoperability with a real OpenRig deployment. [Contributing](docs/CONTRIBUTING.md) explains the workflow; [status and validation](docs/STATUS.md) records the boundaries.
110
+
111
+ ## Status and compatibility
112
+
113
+ | Component | Current baseline |
114
+ | :--- | :--- |
115
+ | Sentinel package | `0.4.0` — local prototype |
116
+ | Observation contract | `1.1.0` |
117
+ | Preserved simulation contract | `1.0.0` |
118
+ | OpenRig documentation reviewed | `0.7.21`; verify the installed CLI separately |
119
+ | Exporter pin | [`1beecce…`](https://github.com/smota/openrig-telemetry/tree/1beecce96befec880a93f60b11d83b44d7347620) |
120
+
121
+ Before production, test the exact pinned exporter and installed OpenRig version. Sustained capacity, retention, and remote deployment are not validated. The 128-seat ceiling is an implementation limit, not a performance claim. Static badges describe declared metadata. The CI badge reports GitHub workflow state and may show no run until the initial push; neither is a production-readiness certificate.
122
+
123
+ ## Contributing and licensing
124
+
125
+ Bug reports should include reproducible steps, versions, and synthetic fixtures. Keep private payloads and runtime journals out of public issues. Read [contribution guidance](docs/CONTRIBUTING.md) and [security reporting](docs/SECURITY.md).
126
+
127
+ Licensed under [Apache-2.0](LICENSE). The upstream exporter is a separate Apache-2.0 project. See the [brand guide](docs/brand/style-guide.md) for identity and asset usage.
@@ -0,0 +1,58 @@
1
+ # SENTINEL
2
+
3
+ *monitor the situation*
4
+
5
+ **Local, evidence-driven observability for OpenRig-managed agent fleets.**
6
+
7
+ Sentinel receives a defined OTLP HTTP JSON subset from the existing upstream exporter, retains allowlisted metadata in SQLite, and serves a loopback dashboard and read API. It distinguishes observed activity, declared topology, and simulation. Missing or stale evidence remains unknown.
8
+
9
+ This is a **Python package** for Python 3.11 or newer, with no third-party Python runtime dependencies. Its commands are `sentinel-openrig` and `sentinel-project`.
10
+
11
+ **Actual fleet telemetry requires a separately installed OpenRig system and the pinned upstream exporter running on Node.js 22/24.** These integration prerequisites are not installed by pip. Sentinel can initialize configuration and show an empty monitor without them.
12
+
13
+ ## Capabilities
14
+
15
+ - Inspect sampled presence and activity with explicit freshness rules.
16
+ - Associate immutable exported node IDs with operator-verified logical seats.
17
+ - Read local status, roster, snapshots, and cursor-based history.
18
+ - Retain metadata without prompts, transcripts, or message bodies.
19
+ - Validate project declarations and review plans for isolated worktrees and AgentSpecs.
20
+
21
+ OpenRig remains the agent and queue authority. Sentinel does not launch agents or enqueue work. The separate legacy Atlas simulation never substitutes for real observations, and the current observation API does not establish directed messages between agents.
22
+
23
+ ## Installation
24
+
25
+ Use a project-local environment for the release:
26
+
27
+ ```bash
28
+ python3 -m venv .venv
29
+ . .venv/bin/activate
30
+ python -m pip install sentinel-openrig==0.4.0
31
+ sentinel-openrig --help
32
+ sentinel-project --help
33
+ ```
34
+
35
+ For a source checkout, use `python -m pip install .` from the repository root instead. To use a downloaded release wheel without resolving dependencies, run `python -m pip install --no-deps --no-index /path/to/sentinel_openrig-0.4.0-py3-none-any.whl`.
36
+
37
+ Git is needed for project preparation. No upstream binary or exporter is vendored.
38
+
39
+ ## Documentation
40
+
41
+ Source, issues, release assets, and documentation are maintained in [OOOffsite/sentinel](https://github.com/OOOffsite/sentinel).
42
+
43
+ - [Getting started](https://github.com/OOOffsite/sentinel/blob/main/docs/guides/getting-started.md)
44
+ - [Operations](https://github.com/OOOffsite/sentinel/blob/main/docs/guides/operations.md)
45
+ - [Wiki](https://github.com/OOOffsite/sentinel/tree/main/docs/wiki)
46
+ - [API and contracts](https://github.com/OOOffsite/sentinel/tree/main/docs/reference)
47
+ - [Status and verification limits](https://github.com/OOOffsite/sentinel/blob/main/docs/STATUS.md)
48
+ - [Release notes](https://github.com/OOOffsite/sentinel/blob/main/CHANGELOG.md)
49
+
50
+ ## Compatibility and boundaries
51
+
52
+ Package **0.4.0** is an **alpha release of a local prototype**. Observation contract **1.1.0** and simulation contract **1.0.0** remain separate. OpenRig documentation was reviewed at **0.7.21**; verify the actual installed CLI and exact exporter commit `1beecce96befec880a93f60b11d83b44d7347620` before production use.
53
+
54
+ The receiver binds to loopback and trusts the local OS account. It is not an authenticated remote gateway. A received observation is not proof of source reachability or complete history. The 128-seat implementation ceiling is not a validated capacity claim. Retention, remote security, and sustained throughput remain future work.
55
+
56
+ ## License
57
+
58
+ Sentinel is licensed under **Apache-2.0**. The separately obtained upstream exporter has its own license and is not included in this distribution.
@@ -0,0 +1,2 @@
1
+ """Project-independent Sentinel observability companion."""
2
+ __version__ = "0.4.0"
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "array",
4
+ "items": {
5
+ "type": "object",
6
+ "properties": {
7
+ "team": {
8
+ "type": "string",
9
+ "pattern": "^[a-z][a-z0-9-]{0,62}$"
10
+ },
11
+ "seat": {
12
+ "type": "string",
13
+ "pattern": "^[a-z][a-z0-9-]{0,62}$"
14
+ },
15
+ "runtime": {
16
+ "enum": [
17
+ "codex",
18
+ "claude-code",
19
+ "omp",
20
+ "pi",
21
+ "stub",
22
+ "terminal"
23
+ ]
24
+ },
25
+ "cell": {
26
+ "type": "string",
27
+ "minLength": 1
28
+ },
29
+ "scope": {
30
+ "type": "string",
31
+ "minLength": 1
32
+ },
33
+ "role": {
34
+ "type": "string",
35
+ "minLength": 1
36
+ }
37
+ },
38
+ "required": [
39
+ "team",
40
+ "seat",
41
+ "runtime",
42
+ "cell",
43
+ "scope",
44
+ "role"
45
+ ],
46
+ "additionalProperties": false
47
+ },
48
+ "minItems": 1,
49
+ "maxItems": 128
50
+ }