agent-gorgon 0.1.6__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.
- agent_gorgon-0.1.6/AGENTS.md +42 -0
- agent_gorgon-0.1.6/CHANGELOG.md +123 -0
- agent_gorgon-0.1.6/LICENSE +190 -0
- agent_gorgon-0.1.6/MANIFEST.in +9 -0
- agent_gorgon-0.1.6/PKG-INFO +324 -0
- agent_gorgon-0.1.6/README.md +289 -0
- agent_gorgon-0.1.6/SECURITY.md +45 -0
- agent_gorgon-0.1.6/agent_gorgon.egg-info/PKG-INFO +324 -0
- agent_gorgon-0.1.6/agent_gorgon.egg-info/SOURCES.txt +53 -0
- agent_gorgon-0.1.6/agent_gorgon.egg-info/dependency_links.txt +1 -0
- agent_gorgon-0.1.6/agent_gorgon.egg-info/entry_points.txt +3 -0
- agent_gorgon-0.1.6/agent_gorgon.egg-info/requires.txt +9 -0
- agent_gorgon-0.1.6/agent_gorgon.egg-info/top_level.txt +1 -0
- agent_gorgon-0.1.6/agent_warden/__init__.py +35 -0
- agent_gorgon-0.1.6/agent_warden/cli.py +5 -0
- agent_gorgon-0.1.6/agent_warden/enforcement.py +5 -0
- agent_gorgon-0.1.6/agent_warden/forensic_report.py +150 -0
- agent_gorgon-0.1.6/agent_warden/intent_match.py +122 -0
- agent_gorgon-0.1.6/agent_warden/models.py +5 -0
- agent_gorgon-0.1.6/agent_warden/observer.py +5 -0
- agent_gorgon-0.1.6/agent_warden/policy.py +5 -0
- agent_gorgon-0.1.6/agent_warden/scope.py +5 -0
- agent_gorgon-0.1.6/agent_warden/warden.py +3651 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/LICENSE +190 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/README.md +9 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/pyproject.toml +31 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/src/suy_sideguy/__init__.py +19 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/src/suy_sideguy/_compat_cli.py +16 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/src/suy_sideguy/_warning.py +20 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/src/suy_sideguy/cli.py +1 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/src/suy_sideguy/enforcement.py +1 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/src/suy_sideguy/forensic_report.py +8 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/src/suy_sideguy/intent_match.py +1 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/src/suy_sideguy/models.py +1 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/src/suy_sideguy/observer.py +1 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/src/suy_sideguy/policy.py +1 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/src/suy_sideguy/scope.py +1 -0
- agent_gorgon-0.1.6/compat/suy-sideguy/src/suy_sideguy/warden.py +8 -0
- agent_gorgon-0.1.6/examples/scope.generic.yaml +86 -0
- agent_gorgon-0.1.6/examples/scope.low-disruption.yaml +89 -0
- agent_gorgon-0.1.6/examples/scope.openclaw.yaml +92 -0
- agent_gorgon-0.1.6/llms.txt +27 -0
- agent_gorgon-0.1.6/pyproject.toml +63 -0
- agent_gorgon-0.1.6/setup.cfg +4 -0
- agent_gorgon-0.1.6/tests/test_compatibility_shim.py +87 -0
- agent_gorgon-0.1.6/tests/test_forensic_report.py +48 -0
- agent_gorgon-0.1.6/tests/test_fs_diff_observer.py +502 -0
- agent_gorgon-0.1.6/tests/test_halt_enforcement.py +989 -0
- agent_gorgon-0.1.6/tests/test_llm_advisory_only.py +312 -0
- agent_gorgon-0.1.6/tests/test_mypy_ci_contract.py +85 -0
- agent_gorgon-0.1.6/tests/test_new_features.py +278 -0
- agent_gorgon-0.1.6/tests/test_safety_behaviors.py +308 -0
- agent_gorgon-0.1.6/tests/test_scope.py +99 -0
- agent_gorgon-0.1.6/tests/test_scope_noop_regression.py +37 -0
- agent_gorgon-0.1.6/tests/test_trigger_happy_regression.py +1307 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# AGENTS.md
|
|
2
|
+
|
|
3
|
+
`agent-warden` is a best-effort user-space polling guard for agent processes.
|
|
4
|
+
|
|
5
|
+
## Use it for
|
|
6
|
+
|
|
7
|
+
- watching process, file, and network behavior after the agent starts running
|
|
8
|
+
- applying policy verdicts and attempting SIGSTOP/SIGKILL controls for HALT/KILL
|
|
9
|
+
- generating forensic evidence after suspicious or blocked activity
|
|
10
|
+
|
|
11
|
+
## Do not use it for
|
|
12
|
+
|
|
13
|
+
- kernel-level sandboxing
|
|
14
|
+
- prompt injection detection on inbound input
|
|
15
|
+
- assuming name-based process matching is safe enough for production targeting
|
|
16
|
+
|
|
17
|
+
## Minimal commands
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pip install -e ".[dev]"
|
|
21
|
+
agent-warden --scope examples/scope.low-disruption.yaml --agent-pid 12345 --poll 0.5
|
|
22
|
+
agent-warden-forensic --last-hours 24
|
|
23
|
+
pytest -q
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Output shape
|
|
27
|
+
|
|
28
|
+
- the warden emits runtime verdicts and records attempted control outcomes
|
|
29
|
+
- forensic reporting reads stored incident artifacts and produces an incident-ready summary
|
|
30
|
+
|
|
31
|
+
## Success means
|
|
32
|
+
|
|
33
|
+
- the policy scope loads cleanly
|
|
34
|
+
- the target process is identified correctly
|
|
35
|
+
- runtime events are classified consistently and evidence is preserved
|
|
36
|
+
|
|
37
|
+
## Common failure cases
|
|
38
|
+
|
|
39
|
+
- using `--agent-name` when multiple matching processes exist
|
|
40
|
+
- overly broad policies that create noisy early flags
|
|
41
|
+
- expecting full OS visibility from `psutil.open_files()` on every platform
|
|
42
|
+
- assuming activity shorter than the poll interval will always be observed
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [0.1.6] - 2026-07-22
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- GitHub repository renamed `agent-warden` -> `agent-gorgon` to match the PyPI
|
|
12
|
+
distribution name. Imports (`agent_warden`) and the `agent-warden` /
|
|
13
|
+
`agent-warden-forensic` CLIs are unchanged. First release published to PyPI.
|
|
14
|
+
|
|
15
|
+
## [0.1.5] - 2026-07-20
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- **Agent Warden is the canonical identity** — the primary distribution is `agent-warden`,
|
|
19
|
+
imports use `agent_warden`, and the CLIs are `agent-warden` and `agent-warden-forensic`.
|
|
20
|
+
- **Suy Sideguy is a time-bounded compatibility shim** — `suy-sideguy==0.1.5` depends on
|
|
21
|
+
exactly `agent-gorgon==0.1.5` (the PyPI distribution of Agent Warden), forwards historical imports and commands, and emits
|
|
22
|
+
deprecation diagnostics. The proposed default removal is Agent Warden 0.4.0, no earlier
|
|
23
|
+
than 2026-10-10 and only after the owner records the release flip.
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
- **Prior exact-review blockers closed** — shell `-c` parsing preserves the command-string boundary,
|
|
27
|
+
advisory LLM fanout is bounded to one in-flight task, and completed advisory evidence is persisted.
|
|
28
|
+
- **Evidence claims are outcome-bound** — a failed or partial process-tree SIGKILL attempt stays
|
|
29
|
+
retryable and its report no longer claims that the process terminated; retries update one episode
|
|
30
|
+
report without repeating rollback, and report generator metadata now matches 0.1.5.
|
|
31
|
+
- **Runtime and privacy claims are explicit** — snapshot deletes are documented as unattributed and
|
|
32
|
+
non-enforcing, nonexistent audit/confirm modes are no longer advertised, `--no-llm` disables local
|
|
33
|
+
Ollama traffic, and raw-IP checks no longer use untrusted/leaky reverse DNS.
|
|
34
|
+
- **HALT now attempts control** — a HALT verdict attempts to SIGSTOP the agent process tree
|
|
35
|
+
(reversible pause) and records the observed outcome in a forensic report. Later HALTs reconcile
|
|
36
|
+
the visible process state before suppressing a signal, and failed one-shot attempts retry without
|
|
37
|
+
duplicating the episode report. Previously HALT only logged and the agent kept running.
|
|
38
|
+
- **LLM judge is advisory-only** — the Ollama judge can no longer emit KILL/HALT (schema is SAFE/FLAG; anything else is coerced to FLAG) and runs off the enforcement hot path, closing the blind-window DoS on the monitor. KILL and SIGSTOP remain the deterministic rule engine's exclusive authority.
|
|
39
|
+
- **Credential-read plus non-local network egress KILLs deterministically** when an external socket
|
|
40
|
+
is active at read time or a new external connection appears inside the correlation window. A bare
|
|
41
|
+
network-out stays HALT/FLAG, and the complete IP loopback ranges stay SAFE without disarming a
|
|
42
|
+
later external-egress correlation. A close followed by a reopen or reconnect emits a fresh
|
|
43
|
+
observation instead of being suppressed by lifetime de-duplication.
|
|
44
|
+
- **In-process deletes are now observed** — poll-time filesystem diff of scope roots emits synthetic
|
|
45
|
+
FILE_DELETE/FILE_WRITE actions (`os.remove` opens no fd, so `psutil.open_files()` alone was blind
|
|
46
|
+
to them). Literal symlink roots such as macOS `/tmp` are opened through a pinned concrete target
|
|
47
|
+
while evidence retains the configured path spelling; descendant symlinks are not traversed.
|
|
48
|
+
- **No more SIGKILL on benign dev work** — rate-limit breaches do not kill, and conventional
|
|
49
|
+
relative project/build cleanup inside the filesystem allowlist remains low-noise. Arbitrary
|
|
50
|
+
recursive-delete operands outside the allowlist HALT reversibly instead of becoming SAFE through an allowed shell;
|
|
51
|
+
`rm -rf` on protected roots (`~/.ssh`, `~/.aws`, `~/.gnupg`) still KILLs, including the bare
|
|
52
|
+
directory (contents-glob regression closed).
|
|
53
|
+
- **Relative recursive-delete targets use the observed child cwd** — `sh -c 'rm -rf .ssh'`
|
|
54
|
+
launched from the user's home now resolves to the protected credential directory; if child-cwd
|
|
55
|
+
observation is unavailable, the Warden HALTs instead of guessing SAFE. Known project cwd cleanup
|
|
56
|
+
such as `build/` and `.venv` remains benign.
|
|
57
|
+
- **Recursive-delete wrapper and glob bypasses are closed** — supported `env` execution wrappers,
|
|
58
|
+
including `env -C`, are reduced before classification; root/home ancestors and first-level glob
|
|
59
|
+
forms such as `/**`, `/.*`, `~/**`, `$HOME*`, and `~/..` no longer classify SAFE. Unsupported
|
|
60
|
+
wrapper, dynamic-option, command-substitution, or shell-expansion semantics HALT reversibly,
|
|
61
|
+
while literal project-scoped cleanup remains benign. Observed direct argv preserves literal
|
|
62
|
+
metacharacters instead of re-expanding them as shell text. Forbidden-glob intersections are
|
|
63
|
+
decided symbolically without recursively enumerating the filesystem on the monitoring hot path.
|
|
64
|
+
- **Shipped generic scope enforced nothing** — `examples/scope.generic.yaml` used a flat schema the parser silently read as empty allowlists; rewritten nested, and `Scope` now fails loud on legacy flat-schema keys.
|
|
65
|
+
|
|
66
|
+
### Added
|
|
67
|
+
- Regression coverage for enforcement outcomes, observer limits, packaging compatibility, and
|
|
68
|
+
protected-delete countercontrols.
|
|
69
|
+
|
|
70
|
+
## [0.1.4] - 2026-05-30
|
|
71
|
+
|
|
72
|
+
### Added
|
|
73
|
+
- DOI-readiness metadata (CITATION.cff, .zenodo.json). Tagged `v0.1.4` on GitHub; not published to PyPI.
|
|
74
|
+
|
|
75
|
+
## [0.1.3] - 2026-03-08
|
|
76
|
+
|
|
77
|
+
### Added
|
|
78
|
+
- **HALT verdict** — new escalation level between FLAG and KILL. Dangerous patterns freeze the agent and alert the operator without killing the process.
|
|
79
|
+
- **HALT triggers**: 3+ file deletions in 10 seconds; curl/wget process spawned; 50+ network calls in 60 seconds (bulk messaging pattern); writes outside allowed workspace.
|
|
80
|
+
- **Hardcoded KILL triggers**: SSH key file access (`~/.ssh/`, `*id_rsa*`, `*id_ed25519*`); modification of `~/.openclaw/openclaw.json`; `rm -rf` on non-tmp paths.
|
|
81
|
+
- `intent_match.py` — standalone module for classifying instruction intent (READ/WRITE/DELETE/NETWORK/SPAWN) and detecting intent-action mismatches.
|
|
82
|
+
|
|
83
|
+
## [0.1.2] - 2026-03-02
|
|
84
|
+
|
|
85
|
+
### Fixed
|
|
86
|
+
- Standardized package metadata (author: Hermes Labs, email: lpcisystems@gmail.com)
|
|
87
|
+
- Removed leaked personal paths from repository
|
|
88
|
+
- Removed internal review documents
|
|
89
|
+
- Removed legacy product references and standardized naming
|
|
90
|
+
- Added contact email to SECURITY.md
|
|
91
|
+
- Added dependabot configuration
|
|
92
|
+
|
|
93
|
+
## [0.1.1] - 2026-03-02
|
|
94
|
+
|
|
95
|
+
### Fixed
|
|
96
|
+
- Resolved mypy type annotation errors across the codebase
|
|
97
|
+
- Fixed ruff f-string formatting warnings
|
|
98
|
+
- Added `from __future__ import annotations` for forward-compatible type hints
|
|
99
|
+
|
|
100
|
+
### Changed
|
|
101
|
+
- CI workflow now passes all lint and type checks cleanly
|
|
102
|
+
- Published to PyPI as `suy-sideguy`
|
|
103
|
+
|
|
104
|
+
## [0.1.0] - 2026-03-02
|
|
105
|
+
|
|
106
|
+
### Added
|
|
107
|
+
- Initial release of Suy Sideguy
|
|
108
|
+
- Runtime process, file, and network monitoring via `psutil`
|
|
109
|
+
- YAML-based policy engine with SAFE / FLAGGED / KILLED verdicts
|
|
110
|
+
- `suy-warden` CLI entrypoint for live agent monitoring
|
|
111
|
+
- `suy-forensic-report` CLI for post-incident forensic reports
|
|
112
|
+
- PID and process-name targeting modes
|
|
113
|
+
- Evidence logging (JSONL actions log + JSON incident files)
|
|
114
|
+
- Example scope policies (`scope.openclaw.yaml`, `scope.low-disruption.yaml`)
|
|
115
|
+
- Audit checklist and layered implementation plan
|
|
116
|
+
- Test suite with pytest
|
|
117
|
+
- CI and publish GitHub Actions workflows
|
|
118
|
+
- Security disclosure policy (`SECURITY.md`)
|
|
119
|
+
- Contributing guide and Code of Conduct
|
|
120
|
+
|
|
121
|
+
[0.1.2]: https://github.com/hermes-labs-ai/suy-sideguy/compare/v0.1.1...v0.1.2
|
|
122
|
+
[0.1.1]: https://github.com/hermes-labs-ai/suy-sideguy/compare/v0.1.0...v0.1.1
|
|
123
|
+
[0.1.0]: https://github.com/hermes-labs-ai/suy-sideguy/releases/tag/v0.1.0
|
|
@@ -0,0 +1,190 @@
|
|
|
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 the 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 the 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 any 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
|
+
Copyright 2026 Hermes Labs
|
|
179
|
+
|
|
180
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
|
+
you may not use this file except in compliance with the License.
|
|
182
|
+
You may obtain a copy of the License at
|
|
183
|
+
|
|
184
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
185
|
+
|
|
186
|
+
Unless required by applicable law or agreed to in writing, software
|
|
187
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
188
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
189
|
+
See the License for the specific language governing permissions and
|
|
190
|
+
limitations under the License.
|