sayfirstd 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.
sayfirstd/__init__.py ADDED
@@ -0,0 +1,2 @@
1
+ # SPDX-License-Identifier: Apache-2.0
2
+ """The operator surface of the daemon."""
sayfirstd/main.py ADDED
@@ -0,0 +1,255 @@
1
+ # SPDX-License-Identifier: Apache-2.0
2
+ """The `sayfirstd` command: the operator surface of the daemon.
3
+
4
+ The constitution names one command with subcommands — `whoami` in article 6,
5
+ `status` in article 7, `plugins list` in article 8 — and one console script can
6
+ point at one module. Two repositories claimed `sayfirst` for it; the operator
7
+ settled that on 2026-09-05, and it is the product command-line interface's. The
8
+ commands that inspect *this* daemon are `sayfirstd`, by the conventional Unix
9
+ shape that gives the daemon and its inspection one binary. This distribution is
10
+ that surface: it answers `plugins list` here and hands `whoami`, `status` and
11
+ `conformance replay` to the contract distribution that implements them, whose
12
+ parsers and exit codes are its own.
13
+
14
+ Starting the daemon is not folded in. The daemon carries its own console script
15
+ in the server distribution, and folding `serve` under this one would make the
16
+ surface depend on the server it inspects, which article 14 points the other way
17
+ round and which `test_the_surface_depends_on_the_contract_and_never_on_the_server`
18
+ holds. The names are held by `tests/test_client_distribution_names.py`.
19
+ """
20
+
21
+ from __future__ import annotations
22
+
23
+ import argparse
24
+ import sys
25
+ import tomllib
26
+ from collections.abc import Iterable, Sequence
27
+ from dataclasses import dataclass
28
+ from pathlib import Path
29
+ from typing import TextIO
30
+
31
+ from sayfirst_contract.cli import main as contract_main
32
+ from sayfirst_contract.plugins import (
33
+ SUPPORTED_PLUGIN_INTERFACE_VERSIONS,
34
+ ComposedProvider,
35
+ PluginEntryPointMetadata,
36
+ accepts_plugin_interface_version,
37
+ discover_plugin_entry_points,
38
+ parse_plugin_configuration,
39
+ read_composition_evidence,
40
+ )
41
+ from sayfirst_contract.transport.cli import EXIT_MISUSE
42
+
43
+ REFUSED = "refused"
44
+ UNKNOWN = "unknown"
45
+
46
+ #: The subcommands the contract distribution implements and this one forwards
47
+ #: whole, so that each keeps the parser and the exit codes it publishes.
48
+ CONTRACT_COMMANDS = ("whoami", "status", "conformance")
49
+
50
+
51
+ @dataclass(frozen=True)
52
+ class ConfiguredSelection:
53
+ interface: str
54
+ provider: str
55
+ interface_version: object
56
+
57
+ @property
58
+ def accepted(self) -> bool:
59
+ """Whether bootstrap would accept this selection, or fail closed on it.
60
+
61
+ The rule is the contract's, not a second copy of it: a report that said
62
+ yes where bootstrap fails closed would be a claim without evidence.
63
+ """
64
+ return accepts_plugin_interface_version(self.interface, self.interface_version)
65
+
66
+ def rendered_interface(self) -> str:
67
+ if self.interface not in SUPPORTED_PLUGIN_INTERFACE_VERSIONS:
68
+ return f"{self.interface} ({REFUSED}: unknown interface)"
69
+ if not self.accepted:
70
+ return f"{self.interface} ({REFUSED}: unsupported version)"
71
+ return self.interface
72
+
73
+ def rendered_version(self) -> str:
74
+ if self.interface_version is None:
75
+ return UNKNOWN
76
+ if not self.accepted:
77
+ return REFUSED
78
+ return str(self.interface_version)
79
+
80
+
81
+ def _read_selections(path: Path | None) -> tuple[ConfiguredSelection, ...] | None:
82
+ """What a configuration selects, `()` when it selects nothing, `None` when none was named.
83
+
84
+ A daemon configuration without a plugins table is a valid one — the daemon
85
+ composes its defaults from it, and the quickstart's own `daemon.toml` is
86
+ one — so it selects nothing rather than failing to read.
87
+ """
88
+ if path is None:
89
+ return None
90
+ with path.open("rb") as stream:
91
+ document = tomllib.load(stream)
92
+ if "plugins" not in document:
93
+ return ()
94
+ providers = parse_plugin_configuration(document)
95
+ return tuple(
96
+ ConfiguredSelection(interface, selection.provider, selection.interface_version)
97
+ for interface, selection in providers.items()
98
+ )
99
+
100
+
101
+ def _read_composition(path: Path | None) -> tuple[ComposedProvider, ...] | None:
102
+ if path is None:
103
+ return None
104
+ return read_composition_evidence(path)
105
+
106
+
107
+ def _discover(
108
+ entry_points: Iterable[PluginEntryPointMetadata] | None,
109
+ ) -> tuple[PluginEntryPointMetadata, ...]:
110
+ return discover_plugin_entry_points(entry_points)
111
+
112
+
113
+ def _composition_cell(
114
+ provider_name: str,
115
+ configured: Sequence[ConfiguredSelection],
116
+ composed_selections: set[tuple[str, str, int]],
117
+ composed_interfaces: dict[str, list[str]],
118
+ composed: tuple[ComposedProvider, ...] | None,
119
+ ) -> str:
120
+ """Answer the composed question about a *selection*, never about a name.
121
+
122
+ Article 2: a selection is a provider, an interface and an interface version
123
+ together, and bootstrap composes only what matches on all three — it refuses
124
+ a name configured for another interface, and it refuses a version other than
125
+ the one the loaded provider registered. So the join is on all three, and a
126
+ selection this release would refuse outright reads `no` rather than reading
127
+ as refused in two columns and composed in the third. Where the configuration
128
+ names no selection for this provider there is no claim to make, and the cell
129
+ says which interface the composition itself recorded.
130
+ """
131
+ if composed is None:
132
+ return UNKNOWN
133
+ if configured:
134
+ return ",".join(
135
+ "yes" if _was_composed(item, composed_selections) else "no" for item in configured
136
+ )
137
+ interfaces = composed_interfaces.get(provider_name)
138
+ return f"yes: {','.join(interfaces)}" if interfaces else "no"
139
+
140
+
141
+ def _was_composed(
142
+ selection: ConfiguredSelection, composed_selections: set[tuple[str, str, int]]
143
+ ) -> bool:
144
+ """Whether the composition recorded exactly this selection.
145
+
146
+ The acceptance question is asked first and asked of the contract: a version
147
+ this release refuses is never composed, and asking makes the answer
148
+ independent of how a refused version happens to compare — `True` equals `1`
149
+ in Python, and a boolean version is refused, not composed for version one.
150
+ """
151
+ if not selection.accepted:
152
+ return False
153
+ return (
154
+ selection.provider,
155
+ selection.interface,
156
+ selection.interface_version,
157
+ ) in composed_selections
158
+
159
+
160
+ def _write_plugin_list(
161
+ stream: TextIO,
162
+ selections: tuple[ConfiguredSelection, ...] | None,
163
+ entry_points: tuple[PluginEntryPointMetadata, ...],
164
+ composed: tuple[ComposedProvider, ...] | None,
165
+ ) -> None:
166
+ discovered_names = {item.name for item in entry_points}
167
+ configured_by_provider: dict[str, list[ConfiguredSelection]] = {}
168
+ for selection in selections or ():
169
+ configured_by_provider.setdefault(selection.provider, []).append(selection)
170
+ composed_selections = {(item.provider, item.interface, item.version) for item in composed or ()}
171
+ composed_interfaces: dict[str, list[str]] = {}
172
+ for item in composed or ():
173
+ composed_interfaces.setdefault(item.provider, []).append(item.interface)
174
+ provider_names = sorted(
175
+ discovered_names | set(configured_by_provider) | set(composed_interfaces)
176
+ )
177
+
178
+ stream.write("PROVIDER\tDISCOVERED\tCONFIGURED FOR\tINTERFACE VERSION\tCOMPOSED\n")
179
+ if not provider_names:
180
+ composition = UNKNOWN if composed is None else "none composed"
181
+ stream.write(f"-\tnone found\t{UNKNOWN}\t{UNKNOWN}\t{composition}\n")
182
+ return
183
+ for provider_name in provider_names:
184
+ configured = configured_by_provider.get(provider_name, [])
185
+ if selections is None:
186
+ interfaces = versions = UNKNOWN
187
+ elif configured:
188
+ interfaces = ",".join(item.rendered_interface() for item in configured)
189
+ versions = ",".join(item.rendered_version() for item in configured)
190
+ else:
191
+ interfaces = versions = "-"
192
+ discovered = "yes" if provider_name in discovered_names else "no"
193
+ composition = _composition_cell(
194
+ provider_name, configured, composed_selections, composed_interfaces, composed
195
+ )
196
+ stream.write(f"{provider_name}\t{discovered}\t{interfaces}\t{versions}\t{composition}\n")
197
+
198
+
199
+ def _parser() -> argparse.ArgumentParser:
200
+ parser = argparse.ArgumentParser(prog="sayfirstd")
201
+ commands = parser.add_subparsers(dest="command", required=True)
202
+ plugins = commands.add_parser("plugins")
203
+ plugin_commands = plugins.add_subparsers(dest="plugin_command", required=True)
204
+ list_parser = plugin_commands.add_parser("list")
205
+ list_parser.add_argument("--config", type=Path)
206
+ list_parser.add_argument(
207
+ "--composition",
208
+ type=Path,
209
+ help="a recorded composition evidence entry, the record of what ran",
210
+ )
211
+ # Declared so `--help` lists every subcommand the tool answers (article 2).
212
+ # They are reached by the dispatch in `main`, before this parser reads them.
213
+ for forwarded in CONTRACT_COMMANDS:
214
+ commands.add_parser(forwarded, add_help=False)
215
+ return parser
216
+
217
+
218
+ def main(
219
+ argv: Sequence[str] | None = None,
220
+ *,
221
+ entry_points: Iterable[PluginEntryPointMetadata] | None = None,
222
+ stdout: TextIO | None = None,
223
+ stderr: TextIO | None = None,
224
+ ) -> int:
225
+ forwarded = list(sys.argv[1:] if argv is None else argv)
226
+ if forwarded and forwarded[0] in CONTRACT_COMMANDS:
227
+ return contract_main(forwarded, stdout=stdout)
228
+ arguments = _parser().parse_args(forwarded)
229
+ if arguments.command == "plugins" and arguments.plugin_command == "list":
230
+ # A file named on the command line that does not read — absent, not
231
+ # TOML, not the shape it has to have — is the caller's misuse, said once
232
+ # with the reason and the file it was; a traceback is not how this
233
+ # command reports a file it was handed. (A TOML decode error is a
234
+ # ValueError.) Each file is read on its own so the sentence names the
235
+ # one that failed.
236
+ try:
237
+ selections = _read_selections(arguments.config)
238
+ except (OSError, ValueError) as unread:
239
+ return _unread(arguments.config, unread, stderr)
240
+ try:
241
+ composed = _read_composition(arguments.composition)
242
+ except (OSError, ValueError) as unread:
243
+ return _unread(arguments.composition, unread, stderr)
244
+ _write_plugin_list(stdout or sys.stdout, selections, _discover(entry_points), composed)
245
+ return 0
246
+ raise AssertionError("argparse accepted an unknown command")
247
+
248
+
249
+ def _unread(path: Path, unread: Exception, stderr: TextIO | None) -> int:
250
+ (stderr or sys.stderr).write(f"sayfirstd: plugins list: {path}: {unread}\n")
251
+ return EXIT_MISUSE
252
+
253
+
254
+ def run() -> None:
255
+ raise SystemExit(main())
@@ -0,0 +1,94 @@
1
+ Metadata-Version: 2.5
2
+ Name: sayfirstd
3
+ Version: 0.3.0
4
+ Summary: The operator surface of the open control plane's daemon
5
+ Project-URL: Repository, https://github.com/fredaime/sayfirst-control-plane
6
+ Project-URL: Documentation, https://github.com/fredaime/sayfirst-control-plane/blob/main/packages/cli/README.md
7
+ Project-URL: Changelog, https://github.com/fredaime/sayfirst-control-plane/blob/main/CHANGELOG.md
8
+ Author-email: fredaime <frederic.aime@gmail.com>
9
+ License-Expression: Apache-2.0
10
+ License-File: LICENSE
11
+ License-File: NOTICE
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Requires-Python: <3.15,>=3.12
18
+ Requires-Dist: sayfirst-contract==0.3.0
19
+ Description-Content-Type: text/markdown
20
+
21
+ <!-- SPDX-License-Identifier: Apache-2.0 -->
22
+ # `sayfirstd` — the operator surface
23
+
24
+ This distribution is the command the operator of a daemon of this repository
25
+ types. It inspects; it starts nothing.
26
+
27
+ ```console
28
+ sayfirstd plugins list --config /etc/sayfirst/plugins.toml
29
+ sayfirstd whoami --socket /run/sayfirst/daemon.sock --mode system --daemon-user sayfirst
30
+ sayfirstd status --socket /run/sayfirst/daemon.sock --mode system --daemon-user sayfirst
31
+ sayfirstd conformance replay --socket allow=/run/conformance/allow.sock
32
+ ```
33
+
34
+ `whoami` and `status` take `--socket` as an option: given none, a per-user
35
+ profile is looked for at the per-user default address — the one a per-user
36
+ daemon given no address serves at, `sayfirst-daemon up --quickstart` included —
37
+ so `sayfirstd status` alone asks that daemon. A system profile always names its
38
+ socket and the account the daemon runs as, as the two lines above do for a
39
+ system daemon running as `sayfirst`. Without `--mode system --daemon-user`, a
40
+ profile is per-user: it expects the daemon to run as the account asking, and a
41
+ system daemon at that address is refused as `server_not_the_daemon_principal`
42
+ before a byte is sent (exit `4`).
43
+
44
+ ## The three names
45
+
46
+ The distribution is `sayfirstd`, the import package is `sayfirstd`, and the
47
+ console script is `sayfirstd`. One name in all three forms, held by
48
+ `tests/test_client_distribution_names.py` against the `[project]` tables and
49
+ against the source tree.
50
+
51
+ The distribution `sayfirst-cli`, the import package `sayfirst_cli` and the
52
+ console script `sayfirst` were claimed here until 2026-09-05. Two repositories
53
+ claimed them, and the operator settled it: in all three forms they belong to the
54
+ product command-line interface, and are not published from this repository.
55
+ Nothing had been published under either claim (article 0), so the collision was
56
+ a fact about two source trees and is now closed in both.
57
+
58
+ `sayfirst` remains the project's public name wherever it names the *product*
59
+ — article 0, `TRADEMARKS.md`, the contract's attribute namespace, the sibling
60
+ distributions `sayfirst-contract`, `sayfirst-control-plane`,
61
+ `sayfirst-conformance` and `sayfirst-testing`. Only the three claims moved.
62
+
63
+ ## Why `sayfirstd`
64
+
65
+ The conventional Unix shape: the daemon and the commands that inspect it share
66
+ one binary. Article 6's `whoami`, article 7's `status` and article 8's
67
+ `plugins list` all ask the daemon about itself, so they belong with it.
68
+
69
+ ## What starts the daemon
70
+
71
+ Not this. `sayfirst-daemon serve`, from the `sayfirst-control-plane`
72
+ distribution, starts it. The two are not yet one binary because folding `serve`
73
+ in would make this distribution depend on the server it inspects, and article
74
+ 14 points the dependency the other way: this package depends on
75
+ `sayfirst-contract` and on nothing else of this repository, which
76
+ `packages/cli/tests/test_plugins_list.py` holds. A remote operator forwards a
77
+ socket over SSH and inspects a daemon on a host where this wheel is the only
78
+ one installed (`docs/deployment.md`); a fold would put the whole server in that
79
+ install.
80
+
81
+ ## What it answers, and what it forwards
82
+
83
+ `plugins list` is answered here: it reports configured selections against
84
+ discovered package metadata and against a recorded composition, and it claims no
85
+ provider is active that bootstrap would refuse. `whoami`, `status` and
86
+ `conformance replay` are handed whole to `sayfirst-contract`, which implements
87
+ them, so their parsers and exit codes stay in one place.
88
+
89
+ `status` reads the daemon's own account of itself over the same verified
90
+ connection `whoami` uses: the integrity grade of article 7 with its basis and
91
+ the interval it is re-evaluated on, the active privacy provider of article 11,
92
+ and whether evidence is being delivered. Each of those has a value for "the
93
+ daemon did not report it", and the command renders that value rather than a
94
+ plausible one (article 2).
@@ -0,0 +1,8 @@
1
+ sayfirstd/__init__.py,sha256=W6wJqhuzGqBJUH3naExbd4qEevNk40SS5NpUuOXyAuo,80
2
+ sayfirstd/main.py,sha256=htyTLpax2urMYkJs6wVvabViDx24-_cBzzJ3wYUxok8,10558
3
+ sayfirstd-0.3.0.dist-info/METADATA,sha256=vg25zwXTo-ODsRipSEJX-4OOwn1frM1z7JF_aUBLuXw,4765
4
+ sayfirstd-0.3.0.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
5
+ sayfirstd-0.3.0.dist-info/entry_points.txt,sha256=4vxvfTKxgmC0eZ_4oM1PEunniIr-NWpVVpGSuTTFJQk,49
6
+ sayfirstd-0.3.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
7
+ sayfirstd-0.3.0.dist-info/licenses/NOTICE,sha256=LkjzbuEsvI-1vovqWcVWpdFHf5K94SPnh90HSgAhzMA,514
8
+ sayfirstd-0.3.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ sayfirstd = sayfirstd.main:run
@@ -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,12 @@
1
+ sayfirst control plane
2
+ Copyright 2026 Frédéric Aime
3
+
4
+ This product is licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use these files except in compliance with the License. A copy of the
6
+ License is in the LICENSE file at the root of this repository.
7
+
8
+ Distributions that incorporate this software must reproduce the attribution
9
+ notices this file carries (Apache License 2.0, section 4(d)).
10
+
11
+ The Apache License grants no rights in the names and marks of this project; see
12
+ TRADEMARKS.md.