adopt-const 0.3.0__py3-none-any.whl
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.
adopt_const/__init__.py
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
"""Every tunable for ``adopt-core``. Nothing else lives here.
|
|
2
|
+
|
|
3
|
+
This module is one half of a two-part contract with
|
|
4
|
+
``03-implementation-spec-build0.md`` §2.1-2.3. The specification table is the
|
|
5
|
+
source of truth for the *value*; this module is the source of truth for the
|
|
6
|
+
*name a caller imports*. ``scripts/constants_sync.py`` fails the build when the
|
|
7
|
+
two disagree, when a name appears in both this module and ``plane_const``, or
|
|
8
|
+
when a numeric literal in non-test source duplicates a value declared here.
|
|
9
|
+
|
|
10
|
+
Three rules govern edits:
|
|
11
|
+
|
|
12
|
+
1. A constant changes here and in `03` §2 in the same change. Never one alone.
|
|
13
|
+
2. Nothing is imported into this module except ``typing.Final``, which is what
|
|
14
|
+
the specification requires the declarations to carry. The `const-leaf`
|
|
15
|
+
import contract enforces the absence of every first-party import.
|
|
16
|
+
3. No function, no class, no I/O. A constant that needs logic to compute is not
|
|
17
|
+
a constant.
|
|
18
|
+
|
|
19
|
+
The twelve values in §2.3 are **provisional**. They ship with a measurement
|
|
20
|
+
harness and are ratified at S9 exit against results from the reference runner
|
|
21
|
+
pinned in ``bench/RUNNER.md`` (PRD Q4). Provisional does not mean advisory: they
|
|
22
|
+
gate CI today at the values below.
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
from typing import Final
|
|
26
|
+
|
|
27
|
+
# ---------------------------------------------------------------------------
|
|
28
|
+
# §2.1 -- schema, format, identity
|
|
29
|
+
# ---------------------------------------------------------------------------
|
|
30
|
+
|
|
31
|
+
#: Canonical schema version. Starts at 3; there is no version 1 or 2 in this
|
|
32
|
+
#: line. Consumed by the schema emitters, store open, and `schema_meta`.
|
|
33
|
+
SCHEMA_VERSION: Final[int] = 3
|
|
34
|
+
|
|
35
|
+
#: Export bundle format version. Equal to `SCHEMA_VERSION` at launch by
|
|
36
|
+
#: coincidence only, and versioned independently thereafter. Values 1 and 2 are
|
|
37
|
+
#: deliberately burned so no bundle from the withdrawn 0.1.x line can be
|
|
38
|
+
#: mistaken for this format.
|
|
39
|
+
EXPORT_VERSION: Final[int] = 3
|
|
40
|
+
|
|
41
|
+
#: Store-open version window. A store above the max opens read-only with
|
|
42
|
+
#: `SCHEMA_VERSION_TOO_NEW` and is never upgraded, downgraded or repaired.
|
|
43
|
+
MIN_SUPPORTED_SCHEMA_VERSION: Final[int] = 3
|
|
44
|
+
MAX_SUPPORTED_SCHEMA_VERSION: Final[int] = 3
|
|
45
|
+
|
|
46
|
+
#: Import version window. Outside it, import refuses and names the range.
|
|
47
|
+
MIN_SUPPORTED_EXPORT_VERSION: Final[int] = 3
|
|
48
|
+
MAX_SUPPORTED_EXPORT_VERSION: Final[int] = 3
|
|
49
|
+
|
|
50
|
+
#: Identity URI ceiling. An over-length URI is rejected, never truncated --
|
|
51
|
+
#: truncation would silently merge two distinct referents.
|
|
52
|
+
URI_MAX_BYTES: Final[int] = 1_024
|
|
53
|
+
|
|
54
|
+
#: The URI scheme label, and the whole of the URI format's version (CR-06,
|
|
55
|
+
#: owner-ratified 2026-08-03). It appears in every identity URI ever emitted, so
|
|
56
|
+
#: it is here rather than at the builder, the parser and the validator -- three
|
|
57
|
+
#: literals nobody could reliably grep for on the day `onboard-v2` arrives.
|
|
58
|
+
#:
|
|
59
|
+
#: `v1` versions **the URI grammar and identity interpretation only**. It is
|
|
60
|
+
#: independent of SCHEMA_VERSION, EXPORT_VERSION, the package version and the
|
|
61
|
+
#: release version; those four already move for unrelated reasons, and coupling
|
|
62
|
+
#: this to any of them would change the URI format every time a column was added.
|
|
63
|
+
#:
|
|
64
|
+
#: A future `onboard-v2` is permitted **only** for an incompatible grammar or
|
|
65
|
+
#: identity-semantics change. A compatible addition -- a new identity kind --
|
|
66
|
+
#: stays on `onboard-v1`, because bumping the label for an additive change
|
|
67
|
+
#: invalidates every URI already emitted and buys nothing.
|
|
68
|
+
URI_SCHEME: Final[str] = "onboard-v1"
|
|
69
|
+
|
|
70
|
+
#: Scope slug grammar. Slugs are what URIs are built from, so this pattern is
|
|
71
|
+
#: load-bearing for identity stability, not cosmetic.
|
|
72
|
+
SLUG_PATTERN: Final[str] = r"^[a-z0-9]([a-z0-9-]{0,46}[a-z0-9])?$"
|
|
73
|
+
SLUG_MIN_CHARS: Final[int] = 2
|
|
74
|
+
SLUG_MAX_CHARS: Final[int] = 48
|
|
75
|
+
|
|
76
|
+
#: Opaque idempotency key ceiling, shared by the agent seam and the workflow
|
|
77
|
+
#: client.
|
|
78
|
+
IDEMPOTENCY_KEY_MAX_CHARS: Final[int] = 128
|
|
79
|
+
|
|
80
|
+
#: Export NDJSON line ceiling, enforced by both the writer and the reader.
|
|
81
|
+
EXPORT_NDJSON_MAX_LINE_BYTES: Final[int] = 1_048_576
|
|
82
|
+
|
|
83
|
+
# ---------------------------------------------------------------------------
|
|
84
|
+
# §2.2 -- runtime behavior
|
|
85
|
+
# ---------------------------------------------------------------------------
|
|
86
|
+
|
|
87
|
+
#: SQLite busy timeout. One writer per store; readers use WAL.
|
|
88
|
+
STORE_BUSY_TIMEOUT_MS: Final[int] = 5_000
|
|
89
|
+
|
|
90
|
+
#: `store doctor` emits a finding above this item count.
|
|
91
|
+
STORE_MAX_ITEMS_WARN: Final[int] = 500_000
|
|
92
|
+
|
|
93
|
+
#: Archetype detection below this confidence is ambiguous. Ambiguity escalates
|
|
94
|
+
#: to a reasoning pass behind a default-off flag -- never to a guess.
|
|
95
|
+
DETECT_CONFIDENCE_MIN: Final[float] = 0.70
|
|
96
|
+
|
|
97
|
+
#: Bounds on the detection tree walk. Detection reads file trees it does not
|
|
98
|
+
#: control, so every dimension of the walk is bounded.
|
|
99
|
+
DETECT_MAX_SNIFF_BYTES: Final[int] = 8_192
|
|
100
|
+
DETECT_MAX_FILES: Final[int] = 200_000
|
|
101
|
+
DETECT_MAX_DEPTH: Final[int] = 24
|
|
102
|
+
|
|
103
|
+
#: Missed heartbeats beyond this multiple of a sensor's expected cadence
|
|
104
|
+
#: resolve STALE. Connector silence is never read as stability.
|
|
105
|
+
SENSOR_MISSED_CADENCE_MULTIPLIER: Final[int] = 3
|
|
106
|
+
|
|
107
|
+
#: How many identity ids the coverage-cache alarm carries. The event always
|
|
108
|
+
#: reports the full `disagreement_count`; the ids are a **sample**, because a
|
|
109
|
+
#: cold cache over a 50k-identity store disagrees on every row and an uncapped
|
|
110
|
+
#: field would put a megabyte of ULIDs on one log line -- which is how an alarm
|
|
111
|
+
#: takes down the sink that was meant to carry it. `store doctor` enumerates
|
|
112
|
+
#: every affected identity, so nothing is lost: the alarm says how bad, the
|
|
113
|
+
#: doctor says which.
|
|
114
|
+
COVERAGE_ALARM_SAMPLE_MAX: Final[int] = 20
|
|
115
|
+
|
|
116
|
+
#: Probe diff-ladder similarity threshold. Declared now; item 8 consumes it, so
|
|
117
|
+
#: that the value has one home from the day the first caller appears.
|
|
118
|
+
PROBE_DIFF_SIM_THRESHOLD: Final[float] = 0.92
|
|
119
|
+
|
|
120
|
+
#: `Budget` defaults for the agent seam.
|
|
121
|
+
AGENT_DEFAULT_MAX_USD: Final[float] = 0.50
|
|
122
|
+
AGENT_DEFAULT_MAX_WALL_SECONDS: Final[int] = 120
|
|
123
|
+
|
|
124
|
+
#: Deadline within which a budget-crossing run must abort and return partial
|
|
125
|
+
#: output with accurate cost.
|
|
126
|
+
AGENT_ABORT_GRACE_MS: Final[int] = 2_000
|
|
127
|
+
|
|
128
|
+
#: Output-schema retries the seam performs before returning the raw output.
|
|
129
|
+
AGENT_OUTPUT_SCHEMA_RETRIES: Final[int] = 1
|
|
130
|
+
|
|
131
|
+
#: Per-request adapter timeout. Adapters own transient retry within it; the
|
|
132
|
+
#: seam does not retry, because that would double-count cost.
|
|
133
|
+
AGENT_ADAPTER_TIMEOUT_S: Final[int] = 60
|
|
134
|
+
|
|
135
|
+
#: The `detect-001` disambiguation pass's budget, stated by AI spec §5's prompt
|
|
136
|
+
#: table. **Not provisional**: `04` §5 fixes both values, so there is nothing for
|
|
137
|
+
#: S9 to ratify against a measurement. They are constants rather than literals
|
|
138
|
+
#: because `AGENT_DETECT_MAX_WALL_SECONDS` shares a value with `EXPORT_P95_SECONDS`
|
|
139
|
+
#: and shares nothing else -- one bounds how long one model call may take, the
|
|
140
|
+
#: other how long exporting fifty thousand items may take.
|
|
141
|
+
AGENT_DETECT_MAX_USD: Final[float] = 0.05
|
|
142
|
+
AGENT_DETECT_MAX_WALL_SECONDS: Final[int] = 30
|
|
143
|
+
|
|
144
|
+
#: How many tree entries the `detect-001` prompt's bounded listing may carry --
|
|
145
|
+
#: the `{listing_limit}` placeholder in AI spec §5.1's user template.
|
|
146
|
+
#:
|
|
147
|
+
#: **Provisional, ratified at S9 against the `04` §7.2 golden set.** The pack
|
|
148
|
+
#: requires the listing to be bounded and does not say where; this is the
|
|
149
|
+
#: provisional value, its consumer is `adopt_detect.disambiguate`, and what
|
|
150
|
+
#: ratifies it is whether a larger listing measurably improves top-1 accuracy on
|
|
151
|
+
#: the golden set. A bound that is too small starves the evidence and one that is
|
|
152
|
+
#: too large spends the prompt's budget on directory names, and only the golden set
|
|
153
|
+
#: can say which side of that this is.
|
|
154
|
+
AGENT_DETECT_LISTING_MAX_ENTRIES: Final[int] = 150
|
|
155
|
+
|
|
156
|
+
#: SKILL.md frontmatter bounds, from AI spec §6. They are here rather than as
|
|
157
|
+
#: literals in the loader because `SKILL_DESCRIPTION_MAX_CHARS` and
|
|
158
|
+
#: `URI_MAX_BYTES` are both 1024 today and mean entirely different things -- two
|
|
159
|
+
#: literals that happen to agree are two literals that will silently disagree
|
|
160
|
+
#: the first time one of them moves.
|
|
161
|
+
SKILL_NAME_MAX_CHARS: Final[int] = 64
|
|
162
|
+
SKILL_DESCRIPTION_MAX_CHARS: Final[int] = 1_024
|
|
163
|
+
|
|
164
|
+
#: How stale a `verified_on` date in the price table may be before the CI check
|
|
165
|
+
#: warns (AI spec §3). It shares a value with `WORKFLOW_RUN_RETENTION_DAYS` and
|
|
166
|
+
#: shares nothing else: one bounds how long we keep a record, the other how long
|
|
167
|
+
#: we trust a vendor's published price.
|
|
168
|
+
PRICING_VERIFIED_MAX_AGE_DAYS: Final[int] = 90
|
|
169
|
+
|
|
170
|
+
#: Workflow step retry policy, shared by both backends.
|
|
171
|
+
WORKFLOW_STEP_MAX_ATTEMPTS: Final[int] = 5
|
|
172
|
+
WORKFLOW_STEP_BACKOFF_BASE_MS: Final[int] = 250
|
|
173
|
+
WORKFLOW_STEP_BACKOFF_MAX_MS: Final[int] = 30_000
|
|
174
|
+
|
|
175
|
+
#: Retention window for workflow run records.
|
|
176
|
+
WORKFLOW_RUN_RETENTION_DAYS: Final[int] = 90
|
|
177
|
+
|
|
178
|
+
# ---------------------------------------------------------------------------
|
|
179
|
+
# §2.3 -- NFR gate constants (PROVISIONAL; ratified at S9 exit, PRD Q4)
|
|
180
|
+
# ---------------------------------------------------------------------------
|
|
181
|
+
|
|
182
|
+
#: N1 -- schema v3 creates cleanly in both dialects within this budget.
|
|
183
|
+
SCHEMA_CREATE_P95_SECONDS: Final[int] = 10
|
|
184
|
+
|
|
185
|
+
#: N3 -- store open p95 at <= 50k items, including the `schema_meta` read.
|
|
186
|
+
STORE_OPEN_P95_MS: Final[int] = 200
|
|
187
|
+
|
|
188
|
+
#: N4 -- export of 50k items.
|
|
189
|
+
EXPORT_P95_SECONDS: Final[int] = 30
|
|
190
|
+
|
|
191
|
+
#: N5 -- `build_uri` throughput floor.
|
|
192
|
+
URI_BUILD_MIN_PER_SECOND: Final[int] = 50_000
|
|
193
|
+
|
|
194
|
+
#: N6 -- coverage recompute p95 at 50k identities.
|
|
195
|
+
COVERAGE_RECOMPUTE_P95_SECONDS: Final[int] = 20
|
|
196
|
+
|
|
197
|
+
#: N7 -- freshness resolve p95 per item.
|
|
198
|
+
FRESHNESS_RESOLVE_P95_MS: Final[int] = 25
|
|
199
|
+
|
|
200
|
+
#: CLI cold start ceiling.
|
|
201
|
+
CLI_COLD_START_MS: Final[int] = 400
|
|
202
|
+
|
|
203
|
+
#: Release gate -- single-file binary size ceiling per platform.
|
|
204
|
+
BINARY_MAX_MB: Final[int] = 120
|
|
205
|
+
|
|
206
|
+
#: N12 -- adapter conformance matrix runtime ceiling.
|
|
207
|
+
CONFORMANCE_CI_MAX_MINUTES: Final[int] = 8
|
|
208
|
+
|
|
209
|
+
#: N13 -- the suite runtime ratchet. Adding runtime past these requires
|
|
210
|
+
#: removing equivalent runtime in the same change.
|
|
211
|
+
CI_UNIT_MAX_MINUTES: Final[int] = 2
|
|
212
|
+
CI_PR_MAX_MINUTES: Final[int] = 10
|
|
213
|
+
|
|
214
|
+
#: A floor **alarm** on core packages, never a target. Banned as a target
|
|
215
|
+
#: alongside test count: a rise is not a goal, a drop is a signal.
|
|
216
|
+
COVERAGE_FLOOR_CORE: Final[float] = 0.80
|
adopt_const/py.typed
ADDED
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: adopt-const
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: Every tunable for adopt-core, and nothing else.
|
|
5
|
+
Project-URL: Homepage, https://github.com/onboardux/onboard-core
|
|
6
|
+
Project-URL: Source, https://github.com/onboardux/onboard-core
|
|
7
|
+
Project-URL: Issues, https://github.com/onboardux/onboard-core/issues
|
|
8
|
+
Author: The Adopt Authors
|
|
9
|
+
License-Expression: Apache-2.0
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
License-File: NOTICE
|
|
12
|
+
Requires-Python: >=3.12
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
adopt_const/__init__.py,sha256=kX8DMKu3jpQihQ2pgR0VrBn7PuRBRzpvpnT8QFLqqco,10048
|
|
2
|
+
adopt_const/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
adopt_const-0.3.0.dist-info/METADATA,sha256=ZkgLbir_bdmp-To-r2Fk7GkP76JILNF6F26hy2_IXIo,434
|
|
4
|
+
adopt_const-0.3.0.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
5
|
+
adopt_const-0.3.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
6
|
+
adopt_const-0.3.0.dist-info/licenses/NOTICE,sha256=2_mgo6v6IM9fAn52L5-wXFpISnC6PVU_geTutoRhbWk,1897
|
|
7
|
+
adopt_const-0.3.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
Adopt — Adoption-Phase Platform, shared substrate (`adopt-core`)
|
|
2
|
+
Copyright 2026 The Adopt Authors
|
|
3
|
+
|
|
4
|
+
This product includes software developed by The Adopt Authors.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
you may not use this file except in compliance with the License.
|
|
8
|
+
You may obtain a copy of the License at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
See the License for the specific language governing permissions and
|
|
16
|
+
limitations under the License.
|
|
17
|
+
|
|
18
|
+
--------------------------------------------------------------------------------
|
|
19
|
+
Attribution note
|
|
20
|
+
--------------------------------------------------------------------------------
|
|
21
|
+
|
|
22
|
+
The copyright holder is recorded here as "The Adopt Authors" pending the legal
|
|
23
|
+
entity name. The owner must settle that attribution before the 0.3.0 tag,
|
|
24
|
+
because published package metadata cannot be changed retroactively for a
|
|
25
|
+
release that has already left the machine. The product name itself is settled:
|
|
26
|
+
handoff-index CR-50 keeps `Adopt` distinct from the `onboard` URI namespace.
|
|
27
|
+
|
|
28
|
+
--------------------------------------------------------------------------------
|
|
29
|
+
Third-party dependencies
|
|
30
|
+
--------------------------------------------------------------------------------
|
|
31
|
+
|
|
32
|
+
Every third-party dependency linked into this distribution is permissively
|
|
33
|
+
licensed. The complete list, with licence hash, security status, usage mode,
|
|
34
|
+
owner and re-verification date, is maintained in `licence-verifications.md` and
|
|
35
|
+
enforced by `scripts/licence_gate.py`.
|
|
36
|
+
|
|
37
|
+
Copyleft-licensed tools are invoked as subprocesses only and are never linked
|
|
38
|
+
into this distribution. They are declared in `subprocess-deps.toml` together
|
|
39
|
+
with their invocation sites.
|