aurora-agent 0.3.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.
- aurora_agent-0.3.0/LICENSE +202 -0
- aurora_agent-0.3.0/MANIFEST.in +8 -0
- aurora_agent-0.3.0/NON_CLAIMS.txt +17 -0
- aurora_agent-0.3.0/NOTICE +7 -0
- aurora_agent-0.3.0/PKG-INFO +89 -0
- aurora_agent-0.3.0/PYPI_DISTRIBUTION_APPROVAL_REQUIRED.txt +29 -0
- aurora_agent-0.3.0/README.md +66 -0
- aurora_agent-0.3.0/RELEASE_NOTES_0.3.0.md +33 -0
- aurora_agent-0.3.0/SELF_SERVE_QUICKSTART.md +53 -0
- aurora_agent-0.3.0/examples/jakrow_d3_ingestion.py +87 -0
- aurora_agent-0.3.0/examples/one_action.py +33 -0
- aurora_agent-0.3.0/pyproject.toml +42 -0
- aurora_agent-0.3.0/setup.cfg +4 -0
- aurora_agent-0.3.0/src/aurora_agent/__init__.py +39 -0
- aurora_agent-0.3.0/src/aurora_agent/__main__.py +3 -0
- aurora_agent-0.3.0/src/aurora_agent/adapters/__init__.py +4 -0
- aurora_agent-0.3.0/src/aurora_agent/adapters/claude_agent_sdk.py +179 -0
- aurora_agent-0.3.0/src/aurora_agent/adapters/jakrow_d3.py +418 -0
- aurora_agent-0.3.0/src/aurora_agent/boundary.py +209 -0
- aurora_agent-0.3.0/src/aurora_agent/canonical.py +92 -0
- aurora_agent-0.3.0/src/aurora_agent/cli.py +31 -0
- aurora_agent-0.3.0/src/aurora_agent/command.py +170 -0
- aurora_agent-0.3.0/src/aurora_agent/exceptions.py +21 -0
- aurora_agent-0.3.0/src/aurora_agent/ingestion.py +344 -0
- aurora_agent-0.3.0/src/aurora_agent/ingestion_cli.py +37 -0
- aurora_agent-0.3.0/src/aurora_agent/ingestion_constants.py +43 -0
- aurora_agent-0.3.0/src/aurora_agent/ingestion_http.py +61 -0
- aurora_agent-0.3.0/src/aurora_agent/ingestion_outbox.py +530 -0
- aurora_agent-0.3.0/src/aurora_agent/model.py +82 -0
- aurora_agent-0.3.0/src/aurora_agent/quickstart.py +362 -0
- aurora_agent-0.3.0/src/aurora_agent/sdk.py +442 -0
- aurora_agent-0.3.0/src/aurora_agent/store.py +256 -0
- aurora_agent-0.3.0/src/aurora_agent/verifier.py +303 -0
- aurora_agent-0.3.0/src/aurora_agent.egg-info/PKG-INFO +89 -0
- aurora_agent-0.3.0/src/aurora_agent.egg-info/SOURCES.txt +42 -0
- aurora_agent-0.3.0/src/aurora_agent.egg-info/dependency_links.txt +1 -0
- aurora_agent-0.3.0/src/aurora_agent.egg-info/entry_points.txt +4 -0
- aurora_agent-0.3.0/src/aurora_agent.egg-info/requires.txt +3 -0
- aurora_agent-0.3.0/src/aurora_agent.egg-info/top_level.txt +1 -0
- aurora_agent-0.3.0/tests/test_distribution_license.py +35 -0
- aurora_agent-0.3.0/tests/test_ingestion.py +357 -0
- aurora_agent-0.3.0/tests/test_jakrow_production_integration.py +392 -0
- aurora_agent-0.3.0/tests/test_quickstart.py +81 -0
- aurora_agent-0.3.0/tests/test_sdk.py +363 -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 [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,17 @@
|
|
|
1
|
+
AURORA AGENT EVIDENCE SDK v0.2 NON-CLAIMS
|
|
2
|
+
|
|
3
|
+
The SDK does not prove capture completeness or absence of bypass paths.
|
|
4
|
+
The SDK does not prove that every action performed by an agent was observed.
|
|
5
|
+
The SDK does not prove that a client-supplied digest corresponds to any undisclosed raw value.
|
|
6
|
+
DIGEST_ONLY prevents raw values from entering the SDK outbox and AURORA payload storage, but the server records a CLIENT_COMMITMENT rather than independently recomputing the source digest.
|
|
7
|
+
REDACTED mode does not prove that the redaction is complete or sufficient.
|
|
8
|
+
FULL_PAYLOAD mode may persist sensitive values locally and remotely and must be enabled deliberately.
|
|
9
|
+
A durable local outbox does not prove successful remote receipt until the item is ACKNOWLEDGED.
|
|
10
|
+
A finalized compositional graph proves consistency of stored commitments and links; it does not establish causal truth or semantic correctness of the underlying event claims.
|
|
11
|
+
A local commitment is not an external anchor or external timestamp.
|
|
12
|
+
A local VALID result does not verify an AURORA D5.4 RFC 3161 anchor export.
|
|
13
|
+
A declared outcome evidence strength is not physical-world truth.
|
|
14
|
+
An operation reference is not independent provider confirmation unless separately retrieved and verified.
|
|
15
|
+
JAKROW D3 outcome strength O0 remains local-runtime evidence with provider acknowledgement NOT_PRESENT.
|
|
16
|
+
The SDK does not establish certificate-path trust, revocation status, qualified timestamp status, legal authorization, causality, liability, admissibility, fairness, regulatory compliance, or universal runtime coverage.
|
|
17
|
+
The private SDK release does not establish public-release readiness, product-market fit, or standards conformance.
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: aurora-agent
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: Local-first runtime evidence SDK with a self-serve AURORA quickstart
|
|
5
|
+
Author: AURORA
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://auroraseal.com
|
|
8
|
+
Project-URL: Documentation, https://auroraseal.com/quickstart
|
|
9
|
+
Keywords: ai-agents,evidence,auditability,runtime,compliance
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Requires-Python: <3.14,>=3.11
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
License-File: NOTICE
|
|
20
|
+
Provides-Extra: test
|
|
21
|
+
Requires-Dist: pytest==9.0.2; extra == "test"
|
|
22
|
+
Dynamic: license-file
|
|
23
|
+
|
|
24
|
+
# AURORA Agent Evidence SDK v0.3
|
|
25
|
+
|
|
26
|
+
`aurora-agent` is a local-first Python SDK for instrumenting declared consequential machine actions and transmitting compositional execution evidence to AURORA.
|
|
27
|
+
|
|
28
|
+
It provides two compatible surfaces:
|
|
29
|
+
|
|
30
|
+
1. **Local action evidence** — proposal, authorization/policy, precommit, execution, outcome, deterministic bundle export, and offline verification.
|
|
31
|
+
2. **AURORA ingestion** — incremental runtime events, a durable SQLite outbox, idempotent transport, and finalization into an immutable AURORA Compositional Evidence graph.
|
|
32
|
+
|
|
33
|
+
Core properties:
|
|
34
|
+
|
|
35
|
+
- deterministic JSON canonicalization and SHA-256 commitments;
|
|
36
|
+
- raw-payload minimization with `DIGEST_ONLY` as the default;
|
|
37
|
+
- explicit `REDACTED` and `FULL_PAYLOAD` modes;
|
|
38
|
+
- API keys held only in memory and never written to the outbox;
|
|
39
|
+
- ordered, crash-recoverable delivery with stable idempotency keys;
|
|
40
|
+
- generic Python capture surface;
|
|
41
|
+
- framework-light Claude Agent SDK adapter;
|
|
42
|
+
- direct observer integration with the JAKROW D3 `execute_operation` path;
|
|
43
|
+
- final AURORA graph linked to an existing sealed AURORA record.
|
|
44
|
+
|
|
45
|
+
Package identity:
|
|
46
|
+
|
|
47
|
+
- distribution: `aurora-agent`
|
|
48
|
+
- import: `aurora_agent`
|
|
49
|
+
- version: `0.3.0`
|
|
50
|
+
- Python: `>=3.11,<3.14`
|
|
51
|
+
|
|
52
|
+
Documentation:
|
|
53
|
+
|
|
54
|
+
- `SELF_SERVE_QUICKSTART.md`
|
|
55
|
+
- `QUICKSTART.md`
|
|
56
|
+
- `INGESTION_QUICKSTART.md`
|
|
57
|
+
- `API_REFERENCE.md`
|
|
58
|
+
- `THREAT_MODEL.md`
|
|
59
|
+
- `NON_CLAIMS.txt`
|
|
60
|
+
- `LICENSE` and `NOTICE`
|
|
61
|
+
- `PRIVATE_RELEASE_NOTES.md`
|
|
62
|
+
|
|
63
|
+
The SDK does not claim capture completeness, absence of bypass paths, causal truth, external-provider acknowledgement, qualified timestamp status, or legal compliance. `DIGEST_ONLY` protects raw values from the local outbox and AURORA payload storage, but AURORA can verify only the supplied client commitment unless the raw value is transmitted separately.
|
|
64
|
+
|
|
65
|
+
The `aurora-agent` SDK source and its generated Python distributions are licensed under the Apache License, Version 2.0. See `LICENSE`, `NOTICE`, and the repository-root `LICENSING.md`. AURORA hosted services and JAKROW components outside `aurora-agent/` are not included in that grant.
|
|
66
|
+
|
|
67
|
+
## Self-serve quickstart
|
|
68
|
+
|
|
69
|
+
After creating a Sandbox API key at `https://auroraseal.com/app/quickstart`:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
pip install aurora-agent
|
|
73
|
+
export AURORA_API_KEY="<shown-once-key>"
|
|
74
|
+
aurora-agent quickstart
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
The command creates a controlled sample record, commits evidence locally before a
|
|
78
|
+
local SQLite ledger operation, finalizes the graph, verifies it server-side, and
|
|
79
|
+
prints the authenticated Viewer URL. It does not perform an external payment,
|
|
80
|
+
message, purchase, or customer operation. The default capture mode is
|
|
81
|
+
`DIGEST_ONLY`; the API key is not persisted in the outbox.
|
|
82
|
+
|
|
83
|
+
Recovery commands:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
aurora-agent outbox status --outbox PATH
|
|
87
|
+
aurora-agent outbox flush --outbox PATH
|
|
88
|
+
```
|
|
89
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
AURORA-AGENT PUBLIC DISTRIBUTION APPROVAL RECORD
|
|
2
|
+
================================================
|
|
3
|
+
|
|
4
|
+
The historical filename is retained for release-traceability. The distribution
|
|
5
|
+
blocker recorded by this file has been satisfied.
|
|
6
|
+
|
|
7
|
+
Approval date: 2026-07-22
|
|
8
|
+
Package: aurora-agent
|
|
9
|
+
Approved version: 0.3.0
|
|
10
|
+
License: Apache License, Version 2.0 (SPDX: Apache-2.0)
|
|
11
|
+
Approved scope: the aurora-agent/ directory and Python wheel/source archives
|
|
12
|
+
generated solely from that directory.
|
|
13
|
+
|
|
14
|
+
Explicitly excluded from this approval and license scope:
|
|
15
|
+
- AURORA backend, frontend, hosted verification, infrastructure, and services;
|
|
16
|
+
- JAKROW repository content outside aurora-agent/;
|
|
17
|
+
- AURORA and JAKROW trademarks, names, logos, and branding.
|
|
18
|
+
|
|
19
|
+
Release conditions that remain operational rather than licensing blockers:
|
|
20
|
+
1. The final release tag and package version must match.
|
|
21
|
+
2. Wheel and source distribution must pass build and metadata checks.
|
|
22
|
+
3. TestPyPI and production PyPI Trusted Publishers must match their respective
|
|
23
|
+
workflows and protected environments (`testpypi` and `pypi`).
|
|
24
|
+
4. Production publication must run from the `aurora-agent-v0.3.0` tag.
|
|
25
|
+
5. Public `/quickstart` deployment must wait until a clean installation from
|
|
26
|
+
the public package index succeeds.
|
|
27
|
+
|
|
28
|
+
Approval statement:
|
|
29
|
+
"The aurora-agent SDK directory and its distribution artifacts are publicly distributed under the Apache License 2.0. The AURORA backend, frontend, hosting services, and the remaining components of JAKROW are explicitly excluded from the scope of this license."
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# AURORA Agent Evidence SDK v0.3
|
|
2
|
+
|
|
3
|
+
`aurora-agent` is a local-first Python SDK for instrumenting declared consequential machine actions and transmitting compositional execution evidence to AURORA.
|
|
4
|
+
|
|
5
|
+
It provides two compatible surfaces:
|
|
6
|
+
|
|
7
|
+
1. **Local action evidence** — proposal, authorization/policy, precommit, execution, outcome, deterministic bundle export, and offline verification.
|
|
8
|
+
2. **AURORA ingestion** — incremental runtime events, a durable SQLite outbox, idempotent transport, and finalization into an immutable AURORA Compositional Evidence graph.
|
|
9
|
+
|
|
10
|
+
Core properties:
|
|
11
|
+
|
|
12
|
+
- deterministic JSON canonicalization and SHA-256 commitments;
|
|
13
|
+
- raw-payload minimization with `DIGEST_ONLY` as the default;
|
|
14
|
+
- explicit `REDACTED` and `FULL_PAYLOAD` modes;
|
|
15
|
+
- API keys held only in memory and never written to the outbox;
|
|
16
|
+
- ordered, crash-recoverable delivery with stable idempotency keys;
|
|
17
|
+
- generic Python capture surface;
|
|
18
|
+
- framework-light Claude Agent SDK adapter;
|
|
19
|
+
- direct observer integration with the JAKROW D3 `execute_operation` path;
|
|
20
|
+
- final AURORA graph linked to an existing sealed AURORA record.
|
|
21
|
+
|
|
22
|
+
Package identity:
|
|
23
|
+
|
|
24
|
+
- distribution: `aurora-agent`
|
|
25
|
+
- import: `aurora_agent`
|
|
26
|
+
- version: `0.3.0`
|
|
27
|
+
- Python: `>=3.11,<3.14`
|
|
28
|
+
|
|
29
|
+
Documentation:
|
|
30
|
+
|
|
31
|
+
- `SELF_SERVE_QUICKSTART.md`
|
|
32
|
+
- `QUICKSTART.md`
|
|
33
|
+
- `INGESTION_QUICKSTART.md`
|
|
34
|
+
- `API_REFERENCE.md`
|
|
35
|
+
- `THREAT_MODEL.md`
|
|
36
|
+
- `NON_CLAIMS.txt`
|
|
37
|
+
- `LICENSE` and `NOTICE`
|
|
38
|
+
- `PRIVATE_RELEASE_NOTES.md`
|
|
39
|
+
|
|
40
|
+
The SDK does not claim capture completeness, absence of bypass paths, causal truth, external-provider acknowledgement, qualified timestamp status, or legal compliance. `DIGEST_ONLY` protects raw values from the local outbox and AURORA payload storage, but AURORA can verify only the supplied client commitment unless the raw value is transmitted separately.
|
|
41
|
+
|
|
42
|
+
The `aurora-agent` SDK source and its generated Python distributions are licensed under the Apache License, Version 2.0. See `LICENSE`, `NOTICE`, and the repository-root `LICENSING.md`. AURORA hosted services and JAKROW components outside `aurora-agent/` are not included in that grant.
|
|
43
|
+
|
|
44
|
+
## Self-serve quickstart
|
|
45
|
+
|
|
46
|
+
After creating a Sandbox API key at `https://auroraseal.com/app/quickstart`:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
pip install aurora-agent
|
|
50
|
+
export AURORA_API_KEY="<shown-once-key>"
|
|
51
|
+
aurora-agent quickstart
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
The command creates a controlled sample record, commits evidence locally before a
|
|
55
|
+
local SQLite ledger operation, finalizes the graph, verifies it server-side, and
|
|
56
|
+
prints the authenticated Viewer URL. It does not perform an external payment,
|
|
57
|
+
message, purchase, or customer operation. The default capture mode is
|
|
58
|
+
`DIGEST_ONLY`; the API key is not persisted in the outbox.
|
|
59
|
+
|
|
60
|
+
Recovery commands:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
aurora-agent outbox status --outbox PATH
|
|
64
|
+
aurora-agent outbox flush --outbox PATH
|
|
65
|
+
```
|
|
66
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# aurora-agent 0.3.0
|
|
2
|
+
|
|
3
|
+
## Self-serve quickstart
|
|
4
|
+
|
|
5
|
+
- adds the `aurora-agent` command;
|
|
6
|
+
- adds `aurora-agent init`;
|
|
7
|
+
- adds `aurora-agent quickstart`;
|
|
8
|
+
- adds redacted `aurora-agent outbox status`;
|
|
9
|
+
- adds evidence-only `aurora-agent outbox flush`;
|
|
10
|
+
- creates a controlled sample AURORA record without a pre-existing ATP ID;
|
|
11
|
+
- commits DIGEST_ONLY evidence to the local SQLite outbox before the controlled local-ledger action;
|
|
12
|
+
- finalizes and verifies the immutable evidence graph;
|
|
13
|
+
- prints public verification and authenticated Viewer URLs;
|
|
14
|
+
- adds clean-room cross-repository contract coverage;
|
|
15
|
+
- adds Python 3.11-3.13 CI and a guarded PyPI Trusted Publishing workflow.
|
|
16
|
+
|
|
17
|
+
## Scope
|
|
18
|
+
|
|
19
|
+
The quickstart performs one controlled local SQLite-ledger operation. It does not
|
|
20
|
+
perform a payment, purchase, external message, or customer-side action. VALID
|
|
21
|
+
means the stored evidence commitments recompute consistently; it does not prove
|
|
22
|
+
decision correctness, legality, fairness, compliance, complete capture, or an
|
|
23
|
+
external-world effect.
|
|
24
|
+
|
|
25
|
+
## Distribution
|
|
26
|
+
|
|
27
|
+
The `aurora-agent` SDK and its generated Python distributions are licensed under
|
|
28
|
+
the Apache License, Version 2.0. This grant is limited to the `aurora-agent/`
|
|
29
|
+
directory and does not include AURORA hosted services, JAKROW components outside
|
|
30
|
+
that directory, or AURORA/JAKROW trademarks. Public PyPI publication still
|
|
31
|
+
requires the protected `pypi` GitHub environment, matching Trusted Publisher
|
|
32
|
+
configuration, and a successful clean installation from the public index before
|
|
33
|
+
the public Quickstart page is deployed.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# AURORA self-serve quickstart
|
|
2
|
+
|
|
3
|
+
Target completion time after account creation: 15 minutes. This target is not
|
|
4
|
+
considered externally proven until a first-time user completes the published
|
|
5
|
+
path without operator assistance.
|
|
6
|
+
|
|
7
|
+
## Preconditions
|
|
8
|
+
|
|
9
|
+
1. Create an account at https://auroraseal.com/sign-up
|
|
10
|
+
2. Open https://auroraseal.com/app/quickstart
|
|
11
|
+
3. Activate the no-card Sandbox trial when needed.
|
|
12
|
+
4. Create a quickstart API key. The raw key is shown once.
|
|
13
|
+
|
|
14
|
+
## Run
|
|
15
|
+
|
|
16
|
+
PowerShell:
|
|
17
|
+
|
|
18
|
+
```powershell
|
|
19
|
+
python -m pip install aurora-agent
|
|
20
|
+
$env:AURORA_API_KEY = "<shown-once-key>"
|
|
21
|
+
aurora-agent quickstart
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Bash/zsh:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
python -m pip install aurora-agent
|
|
28
|
+
export AURORA_API_KEY="<shown-once-key>"
|
|
29
|
+
aurora-agent quickstart
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Expected terminal result:
|
|
33
|
+
|
|
34
|
+
```text
|
|
35
|
+
AURORA self-serve quickstart: PASS
|
|
36
|
+
Controlled action executed once : True
|
|
37
|
+
Verification : VALID
|
|
38
|
+
Viewer URL : https://auroraseal.com/verify-app/...
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## What the command does
|
|
42
|
+
|
|
43
|
+
- creates one controlled sample sealed record through `/v1/audit-records`;
|
|
44
|
+
- queues `authorization`, `tool_request`, and `tool_execution` evidence locally;
|
|
45
|
+
- performs one local SQLite-ledger operation;
|
|
46
|
+
- queues `tool_outcome` and `final_decision`;
|
|
47
|
+
- finalizes an immutable compositional evidence graph;
|
|
48
|
+
- requests a fresh server-side verification;
|
|
49
|
+
- prints the authenticated Viewer URL.
|
|
50
|
+
|
|
51
|
+
The fixture performs no external payment, message, purchase, or customer action.
|
|
52
|
+
`DIGEST_ONLY` is the default. Evidence delivery retry is separate from action retry.
|
|
53
|
+
The API key is held only in process memory and is not written to the local outbox.
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"""Run one already-authorized JAKROW D3 action with AURORA ingestion.
|
|
2
|
+
|
|
3
|
+
This example requires both private packages to be installed:
|
|
4
|
+
|
|
5
|
+
pip install aurora-agent
|
|
6
|
+
pip install -e ../
|
|
7
|
+
|
|
8
|
+
It never accepts an API key on the command line. Use ``AURORA_API_KEY``.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from __future__ import annotations
|
|
12
|
+
|
|
13
|
+
import argparse
|
|
14
|
+
import json
|
|
15
|
+
import os
|
|
16
|
+
import sys
|
|
17
|
+
|
|
18
|
+
from aurora_agent import IngestionClient, JAKROWD3IngestionObserver
|
|
19
|
+
from evidence_contract.approval_process_c_execute import run_d3_execution
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def main(argv=None) -> int:
|
|
23
|
+
parser = argparse.ArgumentParser()
|
|
24
|
+
parser.add_argument("--base-url", default=os.environ.get("AURORA_BASE_URL"))
|
|
25
|
+
parser.add_argument("--atp-id", required=True)
|
|
26
|
+
parser.add_argument("--outbox", default="aurora_ingestion_outbox.db")
|
|
27
|
+
parser.add_argument("--run-id")
|
|
28
|
+
parser.add_argument("--approval-db", required=True)
|
|
29
|
+
parser.add_argument("--operations-db", required=True)
|
|
30
|
+
parser.add_argument("--approval-ref", required=True)
|
|
31
|
+
parser.add_argument("--request", required=True)
|
|
32
|
+
args = parser.parse_args(argv)
|
|
33
|
+
|
|
34
|
+
api_key = os.environ.get("AURORA_API_KEY")
|
|
35
|
+
if not args.base_url or not api_key:
|
|
36
|
+
parser.error("AURORA_BASE_URL/--base-url and AURORA_API_KEY are required")
|
|
37
|
+
|
|
38
|
+
client = IngestionClient(
|
|
39
|
+
base_url=args.base_url,
|
|
40
|
+
api_key=api_key,
|
|
41
|
+
outbox_path=args.outbox,
|
|
42
|
+
)
|
|
43
|
+
run = client.start_run(
|
|
44
|
+
atp_id=args.atp_id,
|
|
45
|
+
run_id=args.run_id,
|
|
46
|
+
capture_mode="DIGEST_ONLY",
|
|
47
|
+
runtime="JAKROW-D3",
|
|
48
|
+
release_id="jakrow-d3-compositional-ingestion-v0.1",
|
|
49
|
+
boundary_id="jakrow.claude-agent-sdk.pretooluse.execute_operation",
|
|
50
|
+
boundary_version="0.1",
|
|
51
|
+
source="JAKROW",
|
|
52
|
+
)
|
|
53
|
+
observer = JAKROWD3IngestionObserver(run)
|
|
54
|
+
code, result = run_d3_execution(
|
|
55
|
+
approval_db=args.approval_db,
|
|
56
|
+
operations_db=args.operations_db,
|
|
57
|
+
approval_ref=args.approval_ref,
|
|
58
|
+
request_path=args.request,
|
|
59
|
+
ingestion_observer=observer,
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
# The observer queues final_decision + finalize locally after a durable
|
|
63
|
+
# terminal or honest unknown state. Network delivery is separate.
|
|
64
|
+
transport_results = client.flush()
|
|
65
|
+
output = {
|
|
66
|
+
"d3_exit_code": code,
|
|
67
|
+
"d3_result": result,
|
|
68
|
+
"ingestion": [
|
|
69
|
+
{
|
|
70
|
+
"request_key": item.request_key,
|
|
71
|
+
"state": item.state,
|
|
72
|
+
"http_status": item.response_status,
|
|
73
|
+
"error_code": item.error_code,
|
|
74
|
+
}
|
|
75
|
+
for item in transport_results
|
|
76
|
+
],
|
|
77
|
+
"outbox": str(client.outbox.path.resolve()),
|
|
78
|
+
}
|
|
79
|
+
print(json.dumps(output, indent=2, sort_keys=True))
|
|
80
|
+
|
|
81
|
+
if any(item.state != "ACKNOWLEDGED" for item in transport_results):
|
|
82
|
+
return 40
|
|
83
|
+
return code
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
if __name__ == "__main__":
|
|
87
|
+
raise SystemExit(main())
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
from pathlib import Path
|
|
2
|
+
|
|
3
|
+
from aurora_agent import Aurora, Boundary, FieldRule, Verdict
|
|
4
|
+
|
|
5
|
+
root = Path("example-output")
|
|
6
|
+
root.mkdir(exist_ok=True)
|
|
7
|
+
|
|
8
|
+
boundary = Boundary.strict(
|
|
9
|
+
boundary_id="payment.execute",
|
|
10
|
+
version="0.1",
|
|
11
|
+
tool="send_payment",
|
|
12
|
+
fields={
|
|
13
|
+
"recipient": FieldRule.nonblank_string(),
|
|
14
|
+
"amount": FieldRule.integer_exact(),
|
|
15
|
+
},
|
|
16
|
+
capture_mode="WRAPPED_EXECUTION",
|
|
17
|
+
)
|
|
18
|
+
client = Aurora.local(db_path=root / "evidence.db", boundaries=[boundary])
|
|
19
|
+
action = client.propose(
|
|
20
|
+
boundary="payment.execute",
|
|
21
|
+
tool="send_payment",
|
|
22
|
+
arguments={"recipient": "vendor_123", "amount": 25000},
|
|
23
|
+
risk="high",
|
|
24
|
+
authorization_required=True,
|
|
25
|
+
)
|
|
26
|
+
authorization = action.authorize(approved_by="finance_manager")
|
|
27
|
+
with action.execute(authorization=authorization) as execution:
|
|
28
|
+
result = {"status": "completed", "operation_id": "pay_123"}
|
|
29
|
+
execution.complete(result=result, operation_reference="pay_123")
|
|
30
|
+
bundle = action.export(root / "action-evidence.zip")
|
|
31
|
+
report = client.verify(bundle)
|
|
32
|
+
print(report.verdict.value)
|
|
33
|
+
raise SystemExit(0 if report.verdict is Verdict.VALID else 1)
|