eurycleia 0.6.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.
- eurycleia-0.6.0/CHANGELOG.md +234 -0
- eurycleia-0.6.0/CONTRIBUTING.md +25 -0
- eurycleia-0.6.0/LICENSE +235 -0
- eurycleia-0.6.0/MANIFEST.in +8 -0
- eurycleia-0.6.0/NOTICE +17 -0
- eurycleia-0.6.0/PKG-INFO +309 -0
- eurycleia-0.6.0/README.md +260 -0
- eurycleia-0.6.0/SECURITY.md +24 -0
- eurycleia-0.6.0/demo/__init__.py +2 -0
- eurycleia-0.6.0/demo/__main__.py +77 -0
- eurycleia-0.6.0/demo/agent_demo.py +188 -0
- eurycleia-0.6.0/demo/agents.py +99 -0
- eurycleia-0.6.0/demo/api_app.py +21 -0
- eurycleia-0.6.0/demo/bench.py +398 -0
- eurycleia-0.6.0/demo/policy.yaml +106 -0
- eurycleia-0.6.0/demo/pricing.py +95 -0
- eurycleia-0.6.0/demo/results.py +39 -0
- eurycleia-0.6.0/demo/stress.py +268 -0
- eurycleia-0.6.0/demo/world.py +153 -0
- eurycleia-0.6.0/docs/deployment.md +91 -0
- eurycleia-0.6.0/docs/images/real-model-results.svg +46 -0
- eurycleia-0.6.0/docs/policy-reference.md +158 -0
- eurycleia-0.6.0/docs/quickstart.md +62 -0
- eurycleia-0.6.0/docs/real-model-results.md +144 -0
- eurycleia-0.6.0/docs/results/round1-claude-haiku-4-5.json +493 -0
- eurycleia-0.6.0/docs/results/round1-claude-sonnet-5.json +493 -0
- eurycleia-0.6.0/docs/results/round2-claude-haiku-4-5.json +427 -0
- eurycleia-0.6.0/docs/results/round2-claude-opus-5-5.json +140 -0
- eurycleia-0.6.0/docs/results/round2-claude-sonnet-5.json +161 -0
- eurycleia-0.6.0/docs/results/round2-gemini-2.5-flash.json +23 -0
- eurycleia-0.6.0/docs/results/round2-gemini-3.5-flash-lite.json +93 -0
- eurycleia-0.6.0/docs/results/v0.6-claude-haiku-4-5.json +403 -0
- eurycleia-0.6.0/docs/results/v0.6-claude-opus-5-5-run2.json +311 -0
- eurycleia-0.6.0/docs/results/v0.6-claude-opus-5-5.json +407 -0
- eurycleia-0.6.0/docs/results/v0.6-claude-sonnet-5-5.json +397 -0
- eurycleia-0.6.0/docs/results/v0.6-claude-sonnet-5.json +399 -0
- eurycleia-0.6.0/docs/threat-model.md +87 -0
- eurycleia-0.6.0/eurycleia/__init__.py +19 -0
- eurycleia-0.6.0/eurycleia/__main__.py +7 -0
- eurycleia-0.6.0/eurycleia/_names.py +34 -0
- eurycleia-0.6.0/eurycleia/api.py +474 -0
- eurycleia-0.6.0/eurycleia/attacks.py +303 -0
- eurycleia-0.6.0/eurycleia/audit.py +451 -0
- eurycleia-0.6.0/eurycleia/boxes.py +901 -0
- eurycleia-0.6.0/eurycleia/boxes_migrate.py +104 -0
- eurycleia-0.6.0/eurycleia/cache.py +76 -0
- eurycleia-0.6.0/eurycleia/cli.py +644 -0
- eurycleia-0.6.0/eurycleia/connect.py +296 -0
- eurycleia-0.6.0/eurycleia/connectors/__init__.py +38 -0
- eurycleia-0.6.0/eurycleia/connectors/base.py +119 -0
- eurycleia-0.6.0/eurycleia/connectors/email.py +30 -0
- eurycleia-0.6.0/eurycleia/connectors/files.py +62 -0
- eurycleia-0.6.0/eurycleia/connectors/gdrive.py +41 -0
- eurycleia-0.6.0/eurycleia/connectors/rest.py +39 -0
- eurycleia-0.6.0/eurycleia/connectors/saas.py +225 -0
- eurycleia-0.6.0/eurycleia/connectors/salesforce.py +63 -0
- eurycleia-0.6.0/eurycleia/connectors/sharepoint.py +37 -0
- eurycleia-0.6.0/eurycleia/connectors/sql.py +75 -0
- eurycleia-0.6.0/eurycleia/crypto.py +160 -0
- eurycleia-0.6.0/eurycleia/derive.py +134 -0
- eurycleia-0.6.0/eurycleia/detect.py +475 -0
- eurycleia-0.6.0/eurycleia/errors.py +10 -0
- eurycleia-0.6.0/eurycleia/integrations/__init__.py +3 -0
- eurycleia-0.6.0/eurycleia/integrations/_common.py +57 -0
- eurycleia-0.6.0/eurycleia/integrations/crewai.py +28 -0
- eurycleia-0.6.0/eurycleia/integrations/langchain.py +25 -0
- eurycleia-0.6.0/eurycleia/learn.py +477 -0
- eurycleia-0.6.0/eurycleia/llm.py +481 -0
- eurycleia-0.6.0/eurycleia/mcp.py +235 -0
- eurycleia-0.6.0/eurycleia/planner.py +268 -0
- eurycleia-0.6.0/eurycleia/policy.py +315 -0
- eurycleia-0.6.0/eurycleia/py.typed +0 -0
- eurycleia-0.6.0/eurycleia/setup.py +501 -0
- eurycleia-0.6.0/eurycleia/templates/__init__.py +2 -0
- eurycleia-0.6.0/eurycleia/templates/finance.yaml +59 -0
- eurycleia-0.6.0/eurycleia/templates/fixtures-finance.yaml +10 -0
- eurycleia-0.6.0/eurycleia/templates/fixtures-support.yaml +13 -0
- eurycleia-0.6.0/eurycleia/templates/support.yaml +64 -0
- eurycleia-0.6.0/eurycleia/vault.py +1339 -0
- eurycleia-0.6.0/eurycleia/webclient.py +188 -0
- eurycleia-0.6.0/eurycleia.egg-info/PKG-INFO +309 -0
- eurycleia-0.6.0/eurycleia.egg-info/SOURCES.txt +141 -0
- eurycleia-0.6.0/eurycleia.egg-info/dependency_links.txt +1 -0
- eurycleia-0.6.0/eurycleia.egg-info/entry_points.txt +4 -0
- eurycleia-0.6.0/eurycleia.egg-info/requires.txt +32 -0
- eurycleia-0.6.0/eurycleia.egg-info/top_level.txt +2 -0
- eurycleia-0.6.0/examples/business_and_staff.yaml +71 -0
- eurycleia-0.6.0/examples/claude_desktop_config.json +17 -0
- eurycleia-0.6.0/examples/first_task.py +28 -0
- eurycleia-0.6.0/examples/planner_mode.py +34 -0
- eurycleia-0.6.0/examples/support_agent.py +62 -0
- eurycleia-0.6.0/pyproject.toml +69 -0
- eurycleia-0.6.0/requirements/README.md +28 -0
- eurycleia-0.6.0/requirements/check_wheel.py +22 -0
- eurycleia-0.6.0/requirements/ci.in +9 -0
- eurycleia-0.6.0/requirements/ci.lock +892 -0
- eurycleia-0.6.0/requirements/runtime.in +3 -0
- eurycleia-0.6.0/requirements/runtime.lock +235 -0
- eurycleia-0.6.0/requirements/sbom.py +65 -0
- eurycleia-0.6.0/setup.cfg +4 -0
- eurycleia-0.6.0/taskvault/__init__.py +31 -0
- eurycleia-0.6.0/taskvault/__main__.py +9 -0
- eurycleia-0.6.0/tests/__init__.py +2 -0
- eurycleia-0.6.0/tests/conftest.py +25 -0
- eurycleia-0.6.0/tests/data/README.md +3 -0
- eurycleia-0.6.0/tests/data/boxes04/boxes.db +0 -0
- eurycleia-0.6.0/tests/data/boxes04/holder-keys/customer__12.key +1 -0
- eurycleia-0.6.0/tests/data/boxes04/holder-keys/customer__45.key +1 -0
- eurycleia-0.6.0/tests/data/boxes04/holder-keys/customer__7.key +1 -0
- eurycleia-0.6.0/tests/data/boxes04/holder-keys/department__hr.key +1 -0
- eurycleia-0.6.0/tests/data/boxes04/vault.key +1 -0
- eurycleia-0.6.0/tests/fake_mcp_server.py +51 -0
- eurycleia-0.6.0/tests/test_adversarial.py +116 -0
- eurycleia-0.6.0/tests/test_agentdojo_metering.py +85 -0
- eurycleia-0.6.0/tests/test_api.py +286 -0
- eurycleia-0.6.0/tests/test_boxes.py +267 -0
- eurycleia-0.6.0/tests/test_boxes_storage.py +390 -0
- eurycleia-0.6.0/tests/test_cli.py +100 -0
- eurycleia-0.6.0/tests/test_connect.py +157 -0
- eurycleia-0.6.0/tests/test_connectors.py +189 -0
- eurycleia-0.6.0/tests/test_connectors_saas.py +235 -0
- eurycleia-0.6.0/tests/test_costs.py +147 -0
- eurycleia-0.6.0/tests/test_crypto_cache.py +177 -0
- eurycleia-0.6.0/tests/test_findings_051.py +522 -0
- eurycleia-0.6.0/tests/test_fuzz.py +275 -0
- eurycleia-0.6.0/tests/test_hardening.py +372 -0
- eurycleia-0.6.0/tests/test_hardening_06.py +418 -0
- eurycleia-0.6.0/tests/test_integrations.py +50 -0
- eurycleia-0.6.0/tests/test_learn.py +450 -0
- eurycleia-0.6.0/tests/test_llm.py +241 -0
- eurycleia-0.6.0/tests/test_mcp.py +105 -0
- eurycleia-0.6.0/tests/test_mcp_fuzz.py +40 -0
- eurycleia-0.6.0/tests/test_old_name.py +150 -0
- eurycleia-0.6.0/tests/test_owners.py +200 -0
- eurycleia-0.6.0/tests/test_performance.py +38 -0
- eurycleia-0.6.0/tests/test_planner.py +124 -0
- eurycleia-0.6.0/tests/test_protections.py +225 -0
- eurycleia-0.6.0/tests/test_real_apps.py +113 -0
- eurycleia-0.6.0/tests/test_setup.py +156 -0
- eurycleia-0.6.0/tests/test_v03.py +133 -0
- eurycleia-0.6.0/tests/test_v05_properties.py +405 -0
- eurycleia-0.6.0/tests/test_vault.py +181 -0
- eurycleia-0.6.0/tests/test_webclient.py +216 -0
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
**New name: Eurycleia**
|
|
6
|
+
- taskvault is now Eurycleia (`pip install` the `eurycleia` package, `import eurycleia`, command `eurycleia` or `eury` for short). The name is from the *Odyssey*: the keeper of the household's storeroom keys.
|
|
7
|
+
- Nothing set up with 0.5 breaks: `import taskvault`, `python -m taskvault` and the `taskvault` command still work, settings named `TASKVAULT_*`, the `~/.taskvault` folder, a `taskvault.yaml` policy and the `_meta.taskvault` MCP setting are still read when the new names aren't there, and agents connected by 0.5 are still recognised by `connect`, `enforce`, `watch` and `disconnect`. Encryption is unchanged, so existing deposit boxes and keyed audit logs open as before. The TypeScript adapter still exports `TaskVault`
|
|
8
|
+
- The local API's signature headers are now `x-eurycleia-*`: update the TypeScript adapter together with Eurycleia
|
|
9
|
+
|
|
10
|
+
**Tested with real models**
|
|
11
|
+
- Four Claude models through the paid API (Haiku 4.5, Sonnet 5, Sonnet 5.5, Opus 5.5 twice), 21 tickets with 20 attacks each: with Eurycleia 0 of 100 attacks leaked, without it 12 of 100. Every model finished at least as many tickets with Eurycleia as without. [docs/real-model-results.md](docs/real-model-results.md)
|
|
12
|
+
- AgentDojo ran end to end with a real model for the first time: Claude Sonnet 5.5 on 20 banking attacks finished the same tasks with Eurycleia's strict rules as without (18/20); the model resisted all 20 attacks on its own
|
|
13
|
+
|
|
14
|
+
**Benchmark**
|
|
15
|
+
- Eurycleia's rules on [AgentDojo](benchmarks/agentdojo/README.md), a public prompt-injection benchmark (97 tasks, 35 attacks, 4 suites). A replay of every task's and attack's reference actions needs no model or API key: with per-task rules 85/97 tasks still done and 29/609 attacks succeeded (552/609 with no defence); with one set of rules per suite, 85/97 and 142/609. Recipients are trusted only from data the user's side wrote, so the results are the same when the attacker is the sender of the email or payment carrying the attack (a review found an earlier version trusted sender fields and AgentDojo's contact list, which includes anyone who emailed the user). A runner for real models (Gemini, Ollama, OpenAI-compatible) saves as it goes and resumes after a quota stop. Not part of the package
|
|
16
|
+
|
|
17
|
+
**Policy from watch mode**
|
|
18
|
+
- `eurycleia learn --policy FILE [--audit LOG]`: drafts a policy from what the agent did while Eurycleia watched, into a new file with a report (`learn-report.md`) of every change and why. It widens only for patterns seen in many separate tasks, in the narrowest form (the contact on the task's own record); never for addresses from untrusted content, other customers' data, secrets, owner-only data, outside addresses or extra arguments, and nothing at all from a task where something looked wrong. Personal-data fields and big limit increases are left for you to decide. It sets missing call limits, and replays the watched tasks to show what the draft would still block. Your policy file is never changed
|
|
19
|
+
- To make this possible the audit log now records how each recipient relates to the task (for example "the contact on this task's own customer record", "an address from untrusted content"), in policy names only, never the address. Task ids in the log are unique across processes, so several MCP servers can share one log
|
|
20
|
+
|
|
21
|
+
**Business customers and staff**
|
|
22
|
+
- `owner_domain` on a source: a business customer's data may go to anyone at exactly that company's own email domain on file. Domains that look like shared email services are refused (any containing a known provider's name, such as yahoo.com.au or hotmail.fr, plus bare endings like co.uk); add others with the new top-level `shared_email_domains`. Recipients: `*@crm.account:{account_id}.domain`
|
|
23
|
+
- `share_internally: false` on a source: its protected data goes only to its owner, not to anyone at `internal_domains` (for staff records: a colleague doesn't get someone's salary)
|
|
24
|
+
- Example policy and tests for both: [`examples/business_and_staff.yaml`](examples/business_and_staff.yaml); "Who owns a record" in the policy reference
|
|
25
|
+
|
|
26
|
+
**Harder to tamper with**
|
|
27
|
+
- Audit logs with a key (`--key` on `serve`, `api`, `connect`; `AuditLog(..., key=audit_key(provider))`): each entry carries a keyed MAC and a keyed `.head` record notes where the log ends, so rewriting the log needs the key, and cutting entries off the end or deleting the `.head` record is detected. `eurycleia audit verify FILE --key KEYFILE`. Writing to a log that was cut short is refused. Eurycleia never starts keying a log that already has entries by itself: `eurycleia audit seal FILE --key KEYFILE` does it once, after checking the chain, and refuses a log that has held keyed entries (`connect --key` says when it's needed). A crash between writing an entry and its `.head` record is recovered. Verifying while other processes write gives no false alarms. Rolling both files back to older copies isn't detected (documented)
|
|
28
|
+
- Owner-only files on Windows: key files, the local API's token file, audit logs, box archives and holder keys get an access list with only the current user (0600 is ignored on Windows)
|
|
29
|
+
- Tombstones for forgotten box holders: after `forget_holder`, new boxes and deposits for them are refused (including a deposit already under way), so a later import can't quietly bring their data back; the usual spellings of an id (`customer:012`, `customer:12.0`) count as the same holder; `boxes put` skips their rows; `eurycleia boxes unforget` if they genuinely return. The tombstone is a keyed fingerprint, not a name
|
|
30
|
+
|
|
31
|
+
**Also fixed**
|
|
32
|
+
- A customer email address on file containing `*` or `?` (legal in an address) was treated as a pattern, so `*@gmail.com` on file allowed any gmail address as a recipient. Addresses from records are now always compared exactly (present in earlier versions too)
|
|
33
|
+
- `eurycleia check` warns when a task reads staff records (`share_internally: false`) and may send to a wildcard such as `*@yourcompany.com`
|
|
34
|
+
- Windows: a key file is never left in place if its access list can't be set; key files and audit logs from before 0.6 get one when next opened
|
|
35
|
+
- The source archive now includes the tests' data (demo, examples, docs)
|
|
36
|
+
- Secret scanning: a tax file number that shares digits with a card-shaped number next to it is now hidden in full (overlapping secret values are merged instead of one being dropped). Found by the fuzz tests
|
|
37
|
+
- LangChain and CrewAI tools accept a record id sent as a number (`customer_id=12`), as models often do; before, the framework rejected the call before it reached Eurycleia
|
|
38
|
+
- `SMTPSink` now checks the mail server's TLS certificate (Python's default for `starttls()` doesn't)
|
|
39
|
+
|
|
40
|
+
**Easier to start**
|
|
41
|
+
- A 5-minute [quick start](docs/quickstart.md), with its example run in the tests
|
|
42
|
+
- Ready for PyPI: the release workflow can publish with trusted publishing (no stored password), switched off until the project's final name is chosen
|
|
43
|
+
- Fixed: the CrewAI and LangChain helpers (`eurycleia.integrations`) were missing from the 0.5 release files, so they only worked from a source checkout. Every build is now checked to contain every module
|
|
44
|
+
|
|
45
|
+
**Smaller**
|
|
46
|
+
- Only the TypeScript/JavaScript adapter is kept; Go and Java were removed (the local API stays, so any language can sign requests the same way)
|
|
47
|
+
|
|
48
|
+
**Testing (not part of the package)**
|
|
49
|
+
- A spending meter in A$ with a hard limit, reported-token costs and Claude prompt caching for every benchmark runner; OpenRouter as a provider
|
|
50
|
+
- New benchmarks: LangGraph and CrewAI agents ([benchmarks/frameworks](benchmarks/frameworks/run_frameworks.py)), an API model using an MCP server before and after `eurycleia connect` ([benchmarks/mcp_agent](benchmarks/mcp_agent/run_mcp.py)), a long unattended run ([benchmarks/longrun](benchmarks/longrun/run_long.py)) and real apps in test accounts: HubSpot, Zendesk, Stripe test mode, Slack, Gmail/SMTP/Microsoft 365 ([benchmarks/real_apps](benchmarks/real_apps/REAL_APPS.md))
|
|
51
|
+
- The AgentDojo runner now meters cost, samples, and supports Claude and OpenRouter
|
|
52
|
+
- `eurycleia learn` with a real model: watch, learn a draft, then check it enforced on fresh tickets ([benchmarks/learn](benchmarks/learn/run_learn.py))
|
|
53
|
+
- Running order for the test round: [benchmarks/RUN_GUIDE.md](benchmarks/RUN_GUIDE.md)
|
|
54
|
+
- AgentDojo with newer Claude models: no temperature is sent when the Anthropic library doesn't take one, and a call a model refuses because of its temperature setting is sent again without it. Claude Sonnet 5.5 prices added
|
|
55
|
+
|
|
56
|
+
## 0.5.1
|
|
57
|
+
|
|
58
|
+
Security fixes from a private report on 0.5.0 (reproduced and fixed here; tested with simulated data and scripted calls, not live models).
|
|
59
|
+
|
|
60
|
+
**Fixed**
|
|
61
|
+
- **Customer data in links (high).** A fooled agent could put a customer's details, or their stand-ins, inside a link or image address in an email to that same customer; the vault then filled in the real values and, when the email was opened, they went to the linked website. Actions are now blocked when a link to a website outside `internal_domains` (or the new `link_domains`) carries a protected or secret value the task has seen (or two or more words of one), a placeholder or a stand-in. Links are read the way browsers read them: in HTML attributes (the whole value), Markdown, CSS and plain text, with or without `//` after the scheme, and decoded (percent-encoding, `+`, HTML entities, backslashes as slashes). A review of the first version of this fix found three ways around it (links without slashes, quotes inside a link, multi-word values in some attributes); all are fixed and tested
|
|
62
|
+
- **Slow scanning (high).** The email pattern took quadratic time on text like `a.a.a.a...`: one ~1 MB ticket could freeze the whole process for about an hour. Its lengths are now bounded. Our own wider timing tests found two more slow cases in the same scanner (long runs of short digit groups, and IBAN-like text, 8-50 s per 200 KB); runs of groups are now examined once each, with a constant-time Luhn pre-check. Every pattern is now tested on hostile input; the worst case is now about 1-2 s per MB
|
|
63
|
+
- **Cards next to other numbers.** The scanner could take a run of digits that happened to pass the card check instead of the real card beside it, leaving part of the card visible. Cards written the usual way (4-4-4-4, 4-6-5, 4-6-4, 4-4-4-4-3, or unbroken) now come first, and when two overlapping card-shaped runs both pass, both are hidden. In 40,000 random trials with a card among other numbers, dates and amounts, every card was hidden whole (0.5.0: about 14% were not). Tax file and Medicare numbers written right next to other numbers are found about as often as before, which is not always (a known limitation of pattern matching). Digits in other scripts (such as full-width) are handled; an early version of this change crashed on them
|
|
64
|
+
- **Parallel calls (medium).** `max_calls` and data budgets could be exceeded when an agent framework ran tool calls on one task in parallel (LangGraph does by default): 30 of 30 emails went out under `max_calls: 3`. Each task now checks and counts one call at a time (planner-mode checks too). Human approvals, opening a deposit box, `on_flag` handlers and the sink itself run outside that lock, so a slow person, handler or app doesn't hold up the task; a refused approval doesn't use up the limit
|
|
65
|
+
- **Echoed secrets (low-medium).** Sink results are now masked for a secret with any punctuation between its digits (such as an em dash), and in base64 and hex. A secret split across several fields can still get through (documented)
|
|
66
|
+
- **Recipient patterns (low).** `*` no longer reaches past one part of an address: `*acme.example` doesn't match `evil@notacme.example`, and `https://*.partner.com/*` doesn't match `https://evil.com/x.partner.com/y`. `**` matches across path segments; `?` and `[...]` stay within one part too, and `^` in a class is literal (as before). `taskvault check` warns about patterns that match look-alike or any domains (`*acme.example`, `*@*acme.example`, `https://*.com`)
|
|
67
|
+
- **Behaviour change:** recipients other than email addresses (URLs, channel ids) are now compared with their case as written, except a URL's scheme and host (a URL path can be case-sensitive). A policy entry `c0support1` no longer matches `C0SUPPORT1`
|
|
68
|
+
- **Crashes on unusual input (low).** A number over 4,300 digits ended the MCP proxy (and upstream replies or API requests with one got an unclear error); arguments nested thousands of levels deep raised an internal error instead of being blocked. Both are now refused cleanly
|
|
69
|
+
- **Non-ASCII owner addresses (low, usability).** A customer whose address on file has non-ASCII letters (`josé@example.com`) could never be emailed. Such an address is now accepted when it exactly equals the trusted one, and never through a pattern; look-alikes are still blocked
|
|
70
|
+
|
|
71
|
+
**New**
|
|
72
|
+
- `link_domains` policy setting: other websites whose links may carry customer data
|
|
73
|
+
- 180 regression tests for the above; every fix was reviewed by separate AI agents (not an independent security audit), and their findings on the first versions of these fixes are fixed too
|
|
74
|
+
|
|
75
|
+
## 0.5.0
|
|
76
|
+
|
|
77
|
+
**Licence**
|
|
78
|
+
- The taskvault core is now licensed under AGPL-3.0-only (versions up to 0.4.2 stay under Apache-2.0). The language adapters in `adapters/` stay under Apache-2.0 so they can be used in any application. See NOTICE.
|
|
79
|
+
|
|
80
|
+
**Leaner**
|
|
81
|
+
- Removed: session recording and replay (`--record`, `taskvault replay`, `taskvault traces`), the behaviour baseline ("pattern of life": `taskvault baseline`, `--baseline`) and the old secret store (`taskvault store tokenize`, `--store`). Recordings kept an extra copy of real data; firm per-task limits, budgets and approvals do the baseline's job more predictably; deposit boxes replace the secret store. Records still holding old `tvref_` references are refused with a clear message
|
|
82
|
+
- `taskvault plan` is now `taskvault report --audit FILE` (`plan` still works)
|
|
83
|
+
- The core action check is split into named steps (same checks, same order); the one-time 0.4 box upgrade loads only when used
|
|
84
|
+
- Core code about 7% smaller (6,273 to 5,826 lines); 21 commands down to 16; tests run in about 40 s instead of 63 s with nothing dropped but the removed features' own tests
|
|
85
|
+
- Reviewed by a separate AI agent: same behaviour in every path of the action check, no protection lost
|
|
86
|
+
|
|
87
|
+
**Stress testing before release** (load, fuzzing, soak, mixed workloads and a separate review agent; with Claude Opus 5.5, not an independent audit). Found and fixed:
|
|
88
|
+
- The `domain` summary returned the whole value when it wasn't an email (e.g. a card number)
|
|
89
|
+
- Masking of action results missed reformatted values (dashes instead of spaces, capitals) and secrets the task had seen but that weren't part of that action; it now catches any case and spacing, and every secret the task handed out
|
|
90
|
+
- A second net removes secret-looking data (cards, bank accounts, tax file numbers, keys) that the task never saw from action results, and logs that it did (found by fuzzing: an app returning another customer's card)
|
|
91
|
+
- A long-running server kept every audit entry in memory as well as on disk; now a recent window (10,000) is kept and checks stream the file
|
|
92
|
+
- A customer forgotten at the moment a record was being saved could fail the save, or leave items sealed with an old box key; saves now detect this and retry
|
|
93
|
+
- `taskvault connect`: a Windows BOM or broken JSON crashed it; a private settings file (which can hold API keys) became readable by others; a settings file that is a symbolic link was replaced by a copy
|
|
94
|
+
- The AI web client could be held open indefinitely by a server sending one byte at a time; there's now an overall deadline
|
|
95
|
+
- Java adapter reused closed connections under load; the API now says it closes each connection, and the Java client uses HTTP/1.1
|
|
96
|
+
- Invalid Unicode in an API request caused an internal error instead of a clean refusal
|
|
97
|
+
- First test run on Windows (451 passed, 2 failed), both fixed: the audit log's Windows file lock could be released at the wrong position when reading stopped early, hiding the real error; and a refused oversized API request reached the app as a dropped connection instead of "too large"
|
|
98
|
+
- The second net once mistook a placeholder ending in eight digits for a tax file number and cut it (twice in 2,000 tasks); placeholders are now skipped
|
|
99
|
+
- Second Windows run: tests now work from any folder, and a slow app no longer makes the next request on the same task fail; the agent demo reports crashed runs as ERROR instead of "safe"
|
|
100
|
+
- Measured: 2,000 tasks from Python, Node, Go and Java at once with no errors; 120,000 random API requests with no crashes or leaks; an 8-minute soak with flat threads, files and (after the fix) memory
|
|
101
|
+
|
|
102
|
+
**Easy start**
|
|
103
|
+
- `taskvault connect claude-desktop|hermes|mcp-json` puts taskvault in front of an agent's existing MCP servers by editing its settings file (backup saved first). Starts in watch mode: logs what it would block, blocks nothing
|
|
104
|
+
- `taskvault report` (what would have been blocked), `taskvault enforce` / `taskvault watch` (switch modes), `taskvault disconnect` (restores the original settings exactly)
|
|
105
|
+
|
|
106
|
+
**Other languages**
|
|
107
|
+
- `taskvault api`: a local API so agents in other languages get the same protection. Adapters with no dependencies for TypeScript/JavaScript (Node 18+, with helpers for OpenAI, Anthropic and Vercel AI SDK tool formats), Go and Java (17+). Tested against the simulated demo data, including a Vercel AI SDK agent with a scripted model
|
|
108
|
+
- Approved actions run in the app's own language with the real values; what they return (or the error they throw) is masked before the model sees it; blocked actions never reach the app's code
|
|
109
|
+
- The token never travels: every request and reply is signed (HMAC-SHA256, time-limited, no replays), so a program posing as taskvault on the same port gets nothing and can't trigger actions. Local only, web pages refused, connection and size limits
|
|
110
|
+
- A separate AI agent reviewed the local API and adapters; its findings were fixed before release (a long error could be cut before masking, an existing loose connection file could expose the token, an impostor server on the port, idle connections holding threads, and smaller issues)
|
|
111
|
+
- Masking also covers real values in result keys, as numbers, and written without spaces (for the Python SDK too)
|
|
112
|
+
|
|
113
|
+
**Data protections**
|
|
114
|
+
- Free-text scrub: personal data inside text fields (notes, ticket bodies) is replaced before the model sees it
|
|
115
|
+
- Derived answers: a task can get "card ends 4242" or "is over 18: yes" instead of the value itself
|
|
116
|
+
- Fields on request: the agent asks for the fields it needs; unrequested fields are never read
|
|
117
|
+
- Data budgets per task (reads, records, fields)
|
|
118
|
+
- Model trust levels: `model="external"` (default) or `"internal"` for a model you run yourself
|
|
119
|
+
|
|
120
|
+
**Smaller deposit boxes, stronger logs**
|
|
121
|
+
- New storage format: about 2.2 KB per customer (was about 7.2 KB) and about 150 bytes of log per read (was about 2.1 KB); reads about 3 times faster. Encryption unchanged
|
|
122
|
+
- Field names now sit inside one encrypted entry per record, so the database doesn't even show how many fields a record has
|
|
123
|
+
- Box logs are chained with a key derived from the vault key: rewriting a log now needs the key (0.4 used a plain hash chain)
|
|
124
|
+
- `taskvault boxes compact` archives old log entries (compressed, encrypted, tied to the database) and leaves a summary that keeps the chain verifiable
|
|
125
|
+
- `taskvault boxes migrate` upgrades 0.4 box databases in one step; it checks the key and every old log first
|
|
126
|
+
- Forgetting a holder overwrites the deleted data in SQLite; fields dropped from a record are deleted and logged
|
|
127
|
+
- A second review (by a separate AI agent) found and we fixed: compaction removing newer entries after a clock jump, migration accepting a wrong key, a Postgres deadlock between concurrent writers, archives not forced to disk before deleting, archives from another database being accepted
|
|
128
|
+
- Shared audit file: a process opening the log could read another's half-written line
|
|
129
|
+
|
|
130
|
+
**Fewer libraries (supply chain)**
|
|
131
|
+
- Claude, OpenAI-compatible APIs (including Ollama) and Gemini now use a small built-in HTTPS client instead of each company's library: installing taskvault adds no AI libraries (the `[anthropic]`, `[openai]`, `[gemini]`, `[ollama]` extras are now empty)
|
|
132
|
+
- The client always verifies certificates, refuses redirects (so a key can't be forwarded), never sends a key over plain http except to this computer, limits reply size, and keeps keys out of error messages
|
|
133
|
+
- Rate limits are waited out; a used-up quota or credit balance stops cleanly
|
|
134
|
+
- Every library is locked to an exact version and checksum (`requirements/*.lock`); CI installs with `--require-hashes` and checks for known vulnerabilities on every change and weekly (pip-audit)
|
|
135
|
+
- GitHub Actions are pinned to exact commits; Dependabot proposes updates weekly
|
|
136
|
+
- When a release is published, a workflow runs the tests and vulnerability check, builds the package, writes a software bill of materials (SBOM) and checksums, signs a record of how the files were built (GitHub build attestation), and attaches them to the release
|
|
137
|
+
- Tests also run on Windows and macOS
|
|
138
|
+
|
|
139
|
+
**Agent frameworks and connectors**
|
|
140
|
+
- `protect(task)` for CrewAI and LangChain / LangGraph; `OllamaProvider` for local models
|
|
141
|
+
- Connectors (tested against simulated responses): HubSpot, Zendesk, Stripe, Xero, Slack, Outlook, Gmail, MongoDB
|
|
142
|
+
|
|
143
|
+
**Security fixes** (from a reported review and real-model testing)
|
|
144
|
+
- Planner mode now applies document-level sensitivity labels (`label_field` / `label_map`)
|
|
145
|
+
- Personal-data detector runs in near-linear time on adversarial input (was quadratic)
|
|
146
|
+
- Recorded traces must be encrypted (`--record` needs `--key`) and are owner-only
|
|
147
|
+
- `forget_holder` removes every index row for the holder
|
|
148
|
+
- An empty `fields` list means the usual fields, not none
|
|
149
|
+
- A secret bound to an argument (such as a card for a refund) must be the vault's own placeholder; a typed-in card number is blocked
|
|
150
|
+
- CI runs with read-only permissions; block log lines carry no details
|
|
151
|
+
|
|
152
|
+
## 0.4.2
|
|
153
|
+
|
|
154
|
+
Security and reliability fixes from a round of stress testing (with Claude Opus 5.5). Not an independent review.
|
|
155
|
+
|
|
156
|
+
**Security**
|
|
157
|
+
- Recipients must be exactly one plain address or id: a hidden second address could get past a glob rule like `*@yourcompany.com`
|
|
158
|
+
- Sink replies and error messages are masked (real values replaced with the placeholder or stand-in the agent saw); sink errors are raised as `SinkError`
|
|
159
|
+
- `cc` / `bcc` / `reply_to` / `recipients` arguments are checked like the main recipient; sinks receive the checked address
|
|
160
|
+
- Damaged or forged placeholders are blocked; tool arguments are type-checked against the policy's `params`
|
|
161
|
+
- Block reasons written to logs and the audit file contain no data values; agent-chosen names are fingerprinted
|
|
162
|
+
- List settings in policies must be lists (a string like `"*@acme.example"` was read as characters, including `*`); wrong shapes raise `PolicyError`
|
|
163
|
+
- A failure unlocking a stored secret is a logged block
|
|
164
|
+
- Requires `cryptography>=49` (older versions have known vulnerabilities)
|
|
165
|
+
- REST connector: only http(s) URLs; keys can't be `.` or `..`
|
|
166
|
+
|
|
167
|
+
**Reliability**
|
|
168
|
+
- Deposit boxes: a race could replace a box's data key (making earlier items unreadable); SQLite waits instead of failing with "database is locked"; Postgres setup is serialised
|
|
169
|
+
- Audit log: an OS-level file lock and chaining from the file's real last entry, so several processes can share one file; `taskvault audit repair` sets aside a torn last line
|
|
170
|
+
- MCP proxy: malformed JSON-RPC gets an error reply instead of crashing the proxy
|
|
171
|
+
- Clear errors for damaged key files and policies of the wrong shape
|
|
172
|
+
- Linter warns when a sink with a recipient has no `args` list; templates and demo policy now list them
|
|
173
|
+
|
|
174
|
+
**Testing**
|
|
175
|
+
- Fuzz tests (`tests/test_fuzz.py`, needs `hypothesis`), hardening tests, MCP proxy fuzz tests, multi-process audit test, concurrent deposit-box test
|
|
176
|
+
- `python -m demo.stress`: throughput, 32-thread and multi-writer checks, 10 MB inputs, 100,000-row setup scan
|
|
177
|
+
- Fixed a test that failed at random (short digit strings matching random hex)
|
|
178
|
+
- 231 tests
|
|
179
|
+
|
|
180
|
+
## 0.4.1
|
|
181
|
+
|
|
182
|
+
- First tests with live models (Claude Sonnet 5, Haiku 4.5, Opus 5.5; Gemini 3.5 Flash-Lite and 2.5 Flash on the free tier): with the vault, 0 of 43 attack runs leaked; without it, realistic attacks leaked data on several models. Chart, table and raw data in `docs/real-model-results.md`
|
|
183
|
+
- Planner mode: plans are checked against the policy (sources, sinks, required arguments, field references) before they run, and the model gets the errors back with up to two retries
|
|
184
|
+
- Planner prompt lists each sink's arguments and each source's keys, with a worked example
|
|
185
|
+
- The extractor may answer "unknown" (null); a `when` on it skips the action
|
|
186
|
+
- Gemini: waits out free-tier per-minute rate limits; the benchmark stops cleanly and keeps its results if a daily quota runs out
|
|
187
|
+
- README: fuller disclaimer and limitations; security features described as design goals, not guarantees
|
|
188
|
+
- Five harder, realistic attacks in the benchmark (new email address, shared account, staff impersonation, full card for records, forwarded internal request); `--scenarios` to run a subset
|
|
189
|
+
- 166 tests
|
|
190
|
+
|
|
191
|
+
## 0.4.0
|
|
192
|
+
|
|
193
|
+
- Deposit boxes: per-holder encrypted boxes for departments, customers and client companies, stored in SQLite or Postgres
|
|
194
|
+
- Two tiers: normal boxes open with the vault's key; high-security boxes need the vault's key and the holder's key (X25519 sealed per item), optionally with the holder's approval, for a limited time
|
|
195
|
+
- High-security values stay locked until an approved action needs them
|
|
196
|
+
- Per-box tamper-evident logs, `forget_holder`, and an optional company recovery key
|
|
197
|
+
- `storage: boxes` for policy sources; `taskvault boxes holder|put|list|log|forget`; `taskvault serve --boxes`
|
|
198
|
+
- Postgres support tested against a real Postgres 16 server (deposit boxes, setup scanner, SQL connector)
|
|
199
|
+
- 156 tests
|
|
200
|
+
|
|
201
|
+
## 0.3.0
|
|
202
|
+
|
|
203
|
+
- `taskvault setup`: scans SQLite, Postgres, CSV/JSON files, document folders and MCP servers, then writes a commented policy, synthetic fixtures, connector code and a report, and runs the attack suite
|
|
204
|
+
- Automatic detection of sensitive data (cards, TFN, Medicare, ABN, BSB/account, IBAN, API keys, private keys, emails, phones, names, addresses...) with checksums; `taskvault scan`
|
|
205
|
+
- Pseudonymisation: the model sees stable stand-ins for names, emails and phones; real values only at sinks
|
|
206
|
+
- Long-term secret store: move secrets into the vault, keep `tvref_` references in your data; `taskvault store tokenize`; per-owner erasure
|
|
207
|
+
- Risk tiers on sinks (`low` / `medium` flags for review / `high` needs approval) and `taskvault review`
|
|
208
|
+
- Behaviour baseline learned from clean tasks; flags unusual actions; `taskvault baseline`
|
|
209
|
+
- Import existing sensitivity labels (`label_field`, `label_map`)
|
|
210
|
+
- `detect_outbound`: block outbound text that looks like a secret
|
|
211
|
+
- `secrets_allowed` can bind each secret to one argument
|
|
212
|
+
- Protected data may go to internal domains
|
|
213
|
+
- Hardening: recipient normalisation (display names, header injection, hidden recipients, look-alike characters), owner-only file permissions, thread-safe audit log with optional fsync, `taskvault` logger, error hierarchy (`TaskvaultError`), typed package
|
|
214
|
+
- File connectors (`FolderDocuments`, `TableFile`)
|
|
215
|
+
- Tested on Python 3.10-3.13; 131 tests
|
|
216
|
+
|
|
217
|
+
## 0.2.0
|
|
218
|
+
|
|
219
|
+
- Planner mode: provenance-tracked plans with a quarantined extractor and conditional actions
|
|
220
|
+
- Customer-held keys (local file or cloud KMS envelope), AES-256-GCM, crypto-shredding
|
|
221
|
+
- Encrypted read-through cache with TTL and invalidation
|
|
222
|
+
- Connectors: SQL, REST, Salesforce, Google Drive, SharePoint/OneDrive, SMTP
|
|
223
|
+
- MCP proxy (`taskvault serve`) with host-supplied trusted inputs
|
|
224
|
+
- CLI: `init`, `check`, `test`, `plan`, `serve`, `replay`, `traces`, `audit`, `keys`
|
|
225
|
+
- Worst-case attack suite with an independent leak oracle, and a policy linter
|
|
226
|
+
- Encrypted session traces and replay investigations, kept separate from the audit log
|
|
227
|
+
- Anthropic and OpenAI adapters; benchmark harness (`python -m demo.bench`)
|
|
228
|
+
- Policy: `owner_field`, sink `args`, `approval`, `max_calls`, `invalidates`, recipient globs, `tools`, `upstream`
|
|
229
|
+
- Support and finance policy templates
|
|
230
|
+
|
|
231
|
+
## 0.1.0
|
|
232
|
+
|
|
233
|
+
- Task-scoped reads, secret placeholders, owner-bound outbound checks, shadow mode, hash-chained audit log
|
|
234
|
+
- Offline demo of a hijacked support agent
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Thanks for helping. Issues, bug reports and pull requests are all welcome.
|
|
4
|
+
|
|
5
|
+
## Setup
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install -e ".[dev]"
|
|
9
|
+
pytest
|
|
10
|
+
ruff check .
|
|
11
|
+
python -m demo && python -m demo.bench
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Guidelines
|
|
15
|
+
|
|
16
|
+
- **Every security rule needs a test that tries to break it.** Add attacks to `tests/` or to the attack suite in `eurycleia/attacks.py`.
|
|
17
|
+
- **Fail closed.** When unsure, block and log.
|
|
18
|
+
- **Never log raw sensitive values.** Use `vault.fp(value)` for correlation.
|
|
19
|
+
- **Keep the core dependency-light.** No vendor SDKs: AI providers use the built-in client (`eurycleia/webclient.py`); anything else goes behind an optional extra.
|
|
20
|
+
- **New connectors** take an injectable transport and ship with tests against fake responses. Validate every identifier and escape every key.
|
|
21
|
+
- If a change affects a guarantee, update [docs/threat-model.md](docs/threat-model.md) in the same PR.
|
|
22
|
+
|
|
23
|
+
## Licence of contributions
|
|
24
|
+
|
|
25
|
+
The Eurycleia core is licensed under AGPL-3.0-only and the adapters in `adapters/` under Apache-2.0 (see [NOTICE](NOTICE)). By opening a pull request, you agree that your contribution is licensed under the licence of the part of the project it changes, and that AgentP-Codes may also license it under other terms. If you can't agree to that, please open an issue to discuss the change instead.
|
eurycleia-0.6.0/LICENSE
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
2
|
+
Version 3, 19 November 2007
|
|
3
|
+
|
|
4
|
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
|
5
|
+
|
|
6
|
+
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
|
|
7
|
+
|
|
8
|
+
Preamble
|
|
9
|
+
|
|
10
|
+
The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software.
|
|
11
|
+
|
|
12
|
+
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, our General Public Licenses are intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users.
|
|
13
|
+
|
|
14
|
+
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
|
|
15
|
+
|
|
16
|
+
Developers that use our General Public Licenses protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License which gives you legal permission to copy, distribute and/or modify the software.
|
|
17
|
+
|
|
18
|
+
A secondary benefit of defending all users' freedom is that improvements made in alternate versions of the program, if they receive widespread use, become available for other developers to incorporate. Many developers of free software are heartened and encouraged by the resulting cooperation. However, in the case of software used on network servers, this result may fail to come about. The GNU General Public License permits making a modified version and letting the public access it on a server without ever releasing its source code to the public.
|
|
19
|
+
|
|
20
|
+
The GNU Affero General Public License is designed specifically to ensure that, in such cases, the modified source code becomes available to the community. It requires the operator of a network server to provide the source code of the modified version running there to the users of that server. Therefore, public use of a modified version, on a publicly accessible server, gives the public access to the source code of the modified version.
|
|
21
|
+
|
|
22
|
+
An older license, called the Affero General Public License and published by Affero, was designed to accomplish similar goals. This is a different license, not a version of the Affero GPL, but Affero has released a new version of the Affero GPL which permits relicensing under this license.
|
|
23
|
+
|
|
24
|
+
The precise terms and conditions for copying, distribution and modification follow.
|
|
25
|
+
|
|
26
|
+
TERMS AND CONDITIONS
|
|
27
|
+
|
|
28
|
+
0. Definitions.
|
|
29
|
+
|
|
30
|
+
"This License" refers to version 3 of the GNU Affero General Public License.
|
|
31
|
+
|
|
32
|
+
"Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
|
|
33
|
+
|
|
34
|
+
"The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations.
|
|
35
|
+
|
|
36
|
+
To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work.
|
|
37
|
+
|
|
38
|
+
A "covered work" means either the unmodified Program or a work based on the Program.
|
|
39
|
+
|
|
40
|
+
To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
|
|
41
|
+
|
|
42
|
+
To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
|
|
43
|
+
|
|
44
|
+
An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
|
|
45
|
+
|
|
46
|
+
1. Source Code.
|
|
47
|
+
The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work.
|
|
48
|
+
|
|
49
|
+
A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
|
|
50
|
+
|
|
51
|
+
The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
|
|
52
|
+
|
|
53
|
+
The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those
|
|
54
|
+
subprograms and other parts of the work.
|
|
55
|
+
|
|
56
|
+
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
|
|
57
|
+
|
|
58
|
+
The Corresponding Source for a work in source code form is that same work.
|
|
59
|
+
|
|
60
|
+
2. Basic Permissions.
|
|
61
|
+
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
|
|
62
|
+
|
|
63
|
+
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
|
|
64
|
+
|
|
65
|
+
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
|
|
66
|
+
|
|
67
|
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
|
68
|
+
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
|
|
69
|
+
|
|
70
|
+
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
|
|
71
|
+
|
|
72
|
+
4. Conveying Verbatim Copies.
|
|
73
|
+
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
|
|
74
|
+
|
|
75
|
+
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
|
|
76
|
+
|
|
77
|
+
5. Conveying Modified Source Versions.
|
|
78
|
+
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
|
|
79
|
+
|
|
80
|
+
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
|
|
81
|
+
|
|
82
|
+
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices".
|
|
83
|
+
|
|
84
|
+
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
|
|
85
|
+
|
|
86
|
+
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
|
|
87
|
+
|
|
88
|
+
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
|
|
89
|
+
|
|
90
|
+
6. Conveying Non-Source Forms.
|
|
91
|
+
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
|
|
92
|
+
|
|
93
|
+
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
|
|
94
|
+
|
|
95
|
+
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
|
|
96
|
+
|
|
97
|
+
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
|
|
98
|
+
|
|
99
|
+
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
|
|
100
|
+
|
|
101
|
+
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
|
|
102
|
+
|
|
103
|
+
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
|
|
104
|
+
|
|
105
|
+
A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
|
|
106
|
+
|
|
107
|
+
"Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
|
|
108
|
+
|
|
109
|
+
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
|
|
110
|
+
|
|
111
|
+
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
|
|
112
|
+
|
|
113
|
+
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
|
|
114
|
+
|
|
115
|
+
7. Additional Terms.
|
|
116
|
+
"Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
|
|
117
|
+
|
|
118
|
+
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
|
|
119
|
+
|
|
120
|
+
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
|
|
121
|
+
|
|
122
|
+
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
|
|
123
|
+
|
|
124
|
+
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
|
|
125
|
+
|
|
126
|
+
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
|
|
127
|
+
|
|
128
|
+
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
|
|
129
|
+
|
|
130
|
+
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
|
|
131
|
+
|
|
132
|
+
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
|
|
133
|
+
|
|
134
|
+
All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
|
|
135
|
+
|
|
136
|
+
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
|
|
137
|
+
|
|
138
|
+
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
|
|
139
|
+
|
|
140
|
+
8. Termination.
|
|
141
|
+
|
|
142
|
+
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
|
|
143
|
+
|
|
144
|
+
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
|
|
145
|
+
|
|
146
|
+
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
|
|
147
|
+
|
|
148
|
+
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
|
|
149
|
+
|
|
150
|
+
9. Acceptance Not Required for Having Copies.
|
|
151
|
+
|
|
152
|
+
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
|
|
153
|
+
|
|
154
|
+
10. Automatic Licensing of Downstream Recipients.
|
|
155
|
+
|
|
156
|
+
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
|
|
157
|
+
|
|
158
|
+
An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
|
|
159
|
+
|
|
160
|
+
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
|
|
161
|
+
|
|
162
|
+
11. Patents.
|
|
163
|
+
|
|
164
|
+
A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version".
|
|
165
|
+
|
|
166
|
+
A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
|
|
167
|
+
|
|
168
|
+
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
|
|
169
|
+
|
|
170
|
+
In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
|
|
171
|
+
|
|
172
|
+
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent
|
|
173
|
+
license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
|
|
174
|
+
|
|
175
|
+
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
|
|
176
|
+
|
|
177
|
+
A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
|
|
178
|
+
|
|
179
|
+
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
|
|
180
|
+
|
|
181
|
+
12. No Surrender of Others' Freedom.
|
|
182
|
+
|
|
183
|
+
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may
|
|
184
|
+
not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
|
|
185
|
+
|
|
186
|
+
13. Remote Network Interaction; Use with the GNU General Public License.
|
|
187
|
+
|
|
188
|
+
Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph.
|
|
189
|
+
|
|
190
|
+
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the work with which it is combined will remain governed by version 3 of the GNU General Public License.
|
|
191
|
+
|
|
192
|
+
14. Revised Versions of this License.
|
|
193
|
+
|
|
194
|
+
The Free Software Foundation may publish revised and/or new versions of the GNU Affero General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
|
195
|
+
|
|
196
|
+
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU Affero General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU Affero General Public License, you may choose any version ever published by the Free Software Foundation.
|
|
197
|
+
|
|
198
|
+
If the Program specifies that a proxy can decide which future versions of the GNU Affero General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
|
|
199
|
+
|
|
200
|
+
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
|
|
201
|
+
|
|
202
|
+
15. Disclaimer of Warranty.
|
|
203
|
+
|
|
204
|
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
205
|
+
|
|
206
|
+
16. Limitation of Liability.
|
|
207
|
+
|
|
208
|
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
|
209
|
+
|
|
210
|
+
17. Interpretation of Sections 15 and 16.
|
|
211
|
+
|
|
212
|
+
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
|
|
213
|
+
|
|
214
|
+
END OF TERMS AND CONDITIONS
|
|
215
|
+
|
|
216
|
+
How to Apply These Terms to Your New Programs
|
|
217
|
+
|
|
218
|
+
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
|
|
219
|
+
|
|
220
|
+
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
|
|
221
|
+
|
|
222
|
+
<one line to give the program's name and a brief idea of what it does.>
|
|
223
|
+
Copyright (C) <year> <name of author>
|
|
224
|
+
|
|
225
|
+
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
|
226
|
+
|
|
227
|
+
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
|
|
228
|
+
|
|
229
|
+
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
230
|
+
|
|
231
|
+
Also add information on how to contact you by electronic and paper mail.
|
|
232
|
+
|
|
233
|
+
If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a "Source" link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements.
|
|
234
|
+
|
|
235
|
+
You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.
|
eurycleia-0.6.0/NOTICE
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Eurycleia (formerly taskvault)
|
|
2
|
+
Copyright 2026 AgentP-Codes (https://github.com/AgentP-Codes)
|
|
3
|
+
|
|
4
|
+
Originally created by AgentP-Codes.
|
|
5
|
+
|
|
6
|
+
The Eurycleia core is licensed under the GNU Affero General Public License, version 3 only
|
|
7
|
+
(AGPL-3.0-only; see LICENSE). If you modify Eurycleia and let people use it over a network,
|
|
8
|
+
you must offer them the source code of your modified version.
|
|
9
|
+
|
|
10
|
+
Additional term under section 7(b) of the AGPL: anyone who conveys this work or a modified
|
|
11
|
+
version must keep this NOTICE file and the "Created by AgentP-Codes" attribution in it.
|
|
12
|
+
|
|
13
|
+
The TypeScript adapter in adapters/ is licensed separately under the
|
|
14
|
+
Apache License, Version 2.0 (see adapters/LICENSE), so it can be used in any application.
|
|
15
|
+
|
|
16
|
+
Versions up to and including 0.4.2, published as taskvault, were released under the Apache License 2.0
|
|
17
|
+
and remain available under it.
|