iris-harness 0.1.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.
Files changed (963) hide show
  1. iris_harness-0.1.0/LICENSE +190 -0
  2. iris_harness-0.1.0/PKG-INFO +249 -0
  3. iris_harness-0.1.0/README.md +178 -0
  4. iris_harness-0.1.0/config/behaviors/reminders.default.md +42 -0
  5. iris_harness-0.1.0/config/channels.yaml +29 -0
  6. iris_harness-0.1.0/config/cron/audit-compact.cron +8 -0
  7. iris_harness-0.1.0/config/digest.yaml +238 -0
  8. iris_harness-0.1.0/config/docs_search.yaml +40 -0
  9. iris_harness-0.1.0/config/doctor.yaml +45 -0
  10. iris_harness-0.1.0/config/escalation.yaml +74 -0
  11. iris_harness-0.1.0/config/governance/egress.yaml +26 -0
  12. iris_harness-0.1.0/config/governance/identity.yaml +49 -0
  13. iris_harness-0.1.0/config/governance/mcp-serve.yaml +18 -0
  14. iris_harness-0.1.0/config/governance/mcp-signing.yaml +11 -0
  15. iris_harness-0.1.0/config/governance/mcp-trust.yaml +12 -0
  16. iris_harness-0.1.0/config/governance/sandbox.yaml +13 -0
  17. iris_harness-0.1.0/config/governance/taint-policy.yaml +18 -0
  18. iris_harness-0.1.0/config/governance/threat-detection.yaml +60 -0
  19. iris_harness-0.1.0/config/governance/tool-access.yaml +16 -0
  20. iris_harness-0.1.0/config/governor/policy.yaml +112 -0
  21. iris_harness-0.1.0/config/health_watch.yaml +72 -0
  22. iris_harness-0.1.0/config/heartbeats.yaml +327 -0
  23. iris_harness-0.1.0/config/identity/active.default.md +9 -0
  24. iris_harness-0.1.0/config/identity/episodic.default.md +37 -0
  25. iris_harness-0.1.0/config/identity/soul.default.md +43 -0
  26. iris_harness-0.1.0/config/identity/soul_layers.yaml +26 -0
  27. iris_harness-0.1.0/config/intent_anchors.yaml +145 -0
  28. iris_harness-0.1.0/config/intent_keywords.yaml +310 -0
  29. iris_harness-0.1.0/config/intercepts.yaml +188 -0
  30. iris_harness-0.1.0/config/knowledge/wiki_schema.yaml +35 -0
  31. iris_harness-0.1.0/config/learning/strategies.yaml +50 -0
  32. iris_harness-0.1.0/config/llm_tiers.yaml +232 -0
  33. iris_harness-0.1.0/config/memory/entity_aliases.yaml +74 -0
  34. iris_harness-0.1.0/config/memory/extraction.yaml +114 -0
  35. iris_harness-0.1.0/config/memory/learning.yaml +71 -0
  36. iris_harness-0.1.0/config/memory/mappings.yaml +149 -0
  37. iris_harness-0.1.0/config/memory/ontology.yaml +95 -0
  38. iris_harness-0.1.0/config/memory/recall.yaml +34 -0
  39. iris_harness-0.1.0/config/memory/retention.yaml +98 -0
  40. iris_harness-0.1.0/config/memory/shapes.yaml +49 -0
  41. iris_harness-0.1.0/config/memory/summary.yaml +54 -0
  42. iris_harness-0.1.0/config/multi_step.yaml +28 -0
  43. iris_harness-0.1.0/config/notifications.yaml +62 -0
  44. iris_harness-0.1.0/config/outcomes.yaml +21 -0
  45. iris_harness-0.1.0/config/playground/README.md +57 -0
  46. iris_harness-0.1.0/config/playground/core-deterministic.yaml +50 -0
  47. iris_harness-0.1.0/config/playground/injection-pressure.yaml +48 -0
  48. iris_harness-0.1.0/config/playground/intercepts-live.yaml.example +49 -0
  49. iris_harness-0.1.0/config/playground/memory-continuity.yaml +94 -0
  50. iris_harness-0.1.0/config/playground/memory-graph.yaml +103 -0
  51. iris_harness-0.1.0/config/playground/routing-breadth.yaml +108 -0
  52. iris_harness-0.1.0/config/profiles/default.yaml +25 -0
  53. iris_harness-0.1.0/config/profiles/email.yaml +28 -0
  54. iris_harness-0.1.0/config/profiles/minimal.yaml +7 -0
  55. iris_harness-0.1.0/config/search_providers.yaml +22 -0
  56. iris_harness-0.1.0/config/skills/builtin/daily-repo-brief/manifest.yaml +36 -0
  57. iris_harness-0.1.0/config/skills/builtin/iris-core/manifest.yaml +24 -0
  58. iris_harness-0.1.0/config/skills/builtin/iris-core/tools.py +87 -0
  59. iris_harness-0.1.0/config/skills/builtin/iris-tasks/manifest.yaml +101 -0
  60. iris_harness-0.1.0/config/skills/builtin/iris-tasks/tools.py +294 -0
  61. iris_harness-0.1.0/config/skills/builtin/morning-briefing/manifest.yaml +400 -0
  62. iris_harness-0.1.0/config/skills/builtin/sample-brief/manifest.yaml +49 -0
  63. iris_harness-0.1.0/config/skills/builtin/web-fetch/manifest.yaml +61 -0
  64. iris_harness-0.1.0/config/skills/builtin/web-fetch/tools.py +580 -0
  65. iris_harness-0.1.0/config/skills/email/email-followup/agent.md +46 -0
  66. iris_harness-0.1.0/config/skills/email/email-followup/manifest.yaml +62 -0
  67. iris_harness-0.1.0/config/skills/email/email-followup/tools.py +143 -0
  68. iris_harness-0.1.0/config/skills/email/email-triage/agent.md +58 -0
  69. iris_harness-0.1.0/config/skills/email/email-triage/manifest.yaml +130 -0
  70. iris_harness-0.1.0/config/skills/email/email-triage/tools.py +349 -0
  71. iris_harness-0.1.0/config/skills/email/gmail-inbox/agent.md +41 -0
  72. iris_harness-0.1.0/config/skills/email/gmail-inbox/manifest.yaml +54 -0
  73. iris_harness-0.1.0/config/skills/email/gmail-inbox/tools.py +49 -0
  74. iris_harness-0.1.0/config/skills/rag/docs-search/agent.md +16 -0
  75. iris_harness-0.1.0/config/skills/rag/docs-search/manifest.yaml +37 -0
  76. iris_harness-0.1.0/config/skills/rag/docs-search/tools.py +44 -0
  77. iris_harness-0.1.0/config/skills/system/system-status/agent.md +15 -0
  78. iris_harness-0.1.0/config/skills/system/system-status/manifest.yaml +27 -0
  79. iris_harness-0.1.0/config/skills/system/system-status/tools.py +44 -0
  80. iris_harness-0.1.0/config/webui/nav.yaml +227 -0
  81. iris_harness-0.1.0/config/welcome.yaml +22 -0
  82. iris_harness-0.1.0/config/write_claims.yaml +87 -0
  83. iris_harness-0.1.0/pyproject.toml +647 -0
  84. iris_harness-0.1.0/src/iris_harness/__init__.py +5 -0
  85. iris_harness-0.1.0/src/iris_harness/agent/__init__.py +24 -0
  86. iris_harness-0.1.0/src/iris_harness/agent/agent_executor.py +272 -0
  87. iris_harness-0.1.0/src/iris_harness/agent/agent_metadata.py +96 -0
  88. iris_harness-0.1.0/src/iris_harness/agent/agentic_core.py +3017 -0
  89. iris_harness-0.1.0/src/iris_harness/agent/answer_guard.py +211 -0
  90. iris_harness-0.1.0/src/iris_harness/agent/context_budget.py +136 -0
  91. iris_harness-0.1.0/src/iris_harness/agent/context_health.py +87 -0
  92. iris_harness-0.1.0/src/iris_harness/agent/dateparse.py +163 -0
  93. iris_harness-0.1.0/src/iris_harness/agent/escalation.py +350 -0
  94. iris_harness-0.1.0/src/iris_harness/agent/heartbeat.py +68 -0
  95. iris_harness-0.1.0/src/iris_harness/agent/intent_router.py +897 -0
  96. iris_harness-0.1.0/src/iris_harness/agent/outcomes.py +184 -0
  97. iris_harness-0.1.0/src/iris_harness/agent/provenance.py +76 -0
  98. iris_harness-0.1.0/src/iris_harness/agent/response_curator.py +1384 -0
  99. iris_harness-0.1.0/src/iris_harness/agent/run_review.py +68 -0
  100. iris_harness-0.1.0/src/iris_harness/agent/task_planner.py +217 -0
  101. iris_harness-0.1.0/src/iris_harness/agent/task_spec.py +283 -0
  102. iris_harness-0.1.0/src/iris_harness/agent/tool_runner.py +1301 -0
  103. iris_harness-0.1.0/src/iris_harness/cli/__init__.py +8 -0
  104. iris_harness-0.1.0/src/iris_harness/cli/api_client.py +87 -0
  105. iris_harness-0.1.0/src/iris_harness/cli/approvals.py +310 -0
  106. iris_harness-0.1.0/src/iris_harness/cli/behaviors.py +120 -0
  107. iris_harness-0.1.0/src/iris_harness/cli/commands.py +2385 -0
  108. iris_harness-0.1.0/src/iris_harness/cli/context_health.py +84 -0
  109. iris_harness-0.1.0/src/iris_harness/cli/device.py +176 -0
  110. iris_harness-0.1.0/src/iris_harness/cli/docs.py +239 -0
  111. iris_harness-0.1.0/src/iris_harness/cli/doctor.py +173 -0
  112. iris_harness-0.1.0/src/iris_harness/cli/facts.py +688 -0
  113. iris_harness-0.1.0/src/iris_harness/cli/governance.py +457 -0
  114. iris_harness-0.1.0/src/iris_harness/cli/health.py +140 -0
  115. iris_harness-0.1.0/src/iris_harness/cli/intentions.py +140 -0
  116. iris_harness-0.1.0/src/iris_harness/cli/interactive.py +84 -0
  117. iris_harness-0.1.0/src/iris_harness/cli/learning.py +207 -0
  118. iris_harness-0.1.0/src/iris_harness/cli/logs.py +66 -0
  119. iris_harness-0.1.0/src/iris_harness/cli/mcp.py +183 -0
  120. iris_harness-0.1.0/src/iris_harness/cli/memory.py +649 -0
  121. iris_harness-0.1.0/src/iris_harness/cli/mission.py +95 -0
  122. iris_harness-0.1.0/src/iris_harness/cli/modes.py +187 -0
  123. iris_harness-0.1.0/src/iris_harness/cli/ontology.py +136 -0
  124. iris_harness-0.1.0/src/iris_harness/cli/playground.py +167 -0
  125. iris_harness-0.1.0/src/iris_harness/cli/plugin_scaffold.py +249 -0
  126. iris_harness-0.1.0/src/iris_harness/cli/plugins.py +240 -0
  127. iris_harness-0.1.0/src/iris_harness/cli/push.py +119 -0
  128. iris_harness-0.1.0/src/iris_harness/cli/queue.py +192 -0
  129. iris_harness-0.1.0/src/iris_harness/cli/render.py +336 -0
  130. iris_harness-0.1.0/src/iris_harness/cli/repl.py +477 -0
  131. iris_harness-0.1.0/src/iris_harness/cli/run_inspect.py +271 -0
  132. iris_harness-0.1.0/src/iris_harness/cli/serve.py +95 -0
  133. iris_harness-0.1.0/src/iris_harness/cli/session.py +115 -0
  134. iris_harness-0.1.0/src/iris_harness/cli/setup.py +398 -0
  135. iris_harness-0.1.0/src/iris_harness/cli/signals.py +78 -0
  136. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/_common/pyproject.toml.tmpl +46 -0
  137. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/_common/src/__tmpl_package/__init__.py +1 -0
  138. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/_common/tests/test_stable_tier.py +19 -0
  139. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/channel/README.md +34 -0
  140. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/channel/src/__tmpl_package/manifest.yaml +10 -0
  141. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/channel/src/__tmpl_package/plugin.py +70 -0
  142. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/channel/tests/test_plugin.py +65 -0
  143. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/kinds.yaml +24 -0
  144. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/mail-provider/README.md +40 -0
  145. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/mail-provider/src/__tmpl_package/manifest.yaml +16 -0
  146. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/mail-provider/src/__tmpl_package/plugin.py +169 -0
  147. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/mail-provider/tests/test_plugin.py +96 -0
  148. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/research-provider/README.md +39 -0
  149. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/research-provider/src/__tmpl_package/manifest.yaml +17 -0
  150. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/research-provider/src/__tmpl_package/plugin.py +67 -0
  151. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/research-provider/tests/model_script.yaml +13 -0
  152. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/research-provider/tests/test_plugin.py +51 -0
  153. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/skill/README.md +40 -0
  154. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/skill/src/__tmpl_package/functions.py +30 -0
  155. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/skill/src/__tmpl_package/manifest.yaml +45 -0
  156. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/skill/tests/model_script.yaml +23 -0
  157. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/skill/tests/test_plugin.py +65 -0
  158. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/tool/README.md +35 -0
  159. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/tool/src/__tmpl_package/manifest.yaml +20 -0
  160. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/tool/src/__tmpl_package/plugin.py +48 -0
  161. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/tool/tests/model_script.yaml +13 -0
  162. iris_harness-0.1.0/src/iris_harness/cli/templates/plugin/tool/tests/test_plugin.py +49 -0
  163. iris_harness-0.1.0/src/iris_harness/cli/web_commands.py +297 -0
  164. iris_harness-0.1.0/src/iris_harness/cli/welcome.py +35 -0
  165. iris_harness-0.1.0/src/iris_harness/foundation/__init__.py +11 -0
  166. iris_harness-0.1.0/src/iris_harness/foundation/activity.py +62 -0
  167. iris_harness-0.1.0/src/iris_harness/foundation/auth.py +210 -0
  168. iris_harness-0.1.0/src/iris_harness/foundation/capabilities.py +351 -0
  169. iris_harness-0.1.0/src/iris_harness/foundation/capability_fields.py +463 -0
  170. iris_harness-0.1.0/src/iris_harness/foundation/clock.py +101 -0
  171. iris_harness-0.1.0/src/iris_harness/foundation/console.py +21 -0
  172. iris_harness-0.1.0/src/iris_harness/foundation/data/__init__.py +10 -0
  173. iris_harness-0.1.0/src/iris_harness/foundation/data/dues_vocabulary.py +46 -0
  174. iris_harness-0.1.0/src/iris_harness/foundation/env.py +74 -0
  175. iris_harness-0.1.0/src/iris_harness/foundation/eventbus/__init__.py +13 -0
  176. iris_harness-0.1.0/src/iris_harness/foundation/eventbus/bus.py +138 -0
  177. iris_harness-0.1.0/src/iris_harness/foundation/eventbus/topics.py +19 -0
  178. iris_harness-0.1.0/src/iris_harness/foundation/ids.py +82 -0
  179. iris_harness-0.1.0/src/iris_harness/foundation/logsafe.py +24 -0
  180. iris_harness-0.1.0/src/iris_harness/foundation/observability/__init__.py +14 -0
  181. iris_harness-0.1.0/src/iris_harness/foundation/observability/audit_view.py +88 -0
  182. iris_harness-0.1.0/src/iris_harness/foundation/observability/host_pressure.py +67 -0
  183. iris_harness-0.1.0/src/iris_harness/foundation/observability/instruments.py +114 -0
  184. iris_harness-0.1.0/src/iris_harness/foundation/observability/logging_setup.py +137 -0
  185. iris_harness-0.1.0/src/iris_harness/foundation/observability/metrics_summary.py +123 -0
  186. iris_harness-0.1.0/src/iris_harness/foundation/observability/otlp_setup.py +264 -0
  187. iris_harness-0.1.0/src/iris_harness/foundation/observability/session_log.py +675 -0
  188. iris_harness-0.1.0/src/iris_harness/foundation/observability/trace_builder.py +1248 -0
  189. iris_harness-0.1.0/src/iris_harness/foundation/observability/tracer.py +122 -0
  190. iris_harness-0.1.0/src/iris_harness/foundation/paths.py +254 -0
  191. iris_harness-0.1.0/src/iris_harness/foundation/persistence/__init__.py +30 -0
  192. iris_harness-0.1.0/src/iris_harness/foundation/persistence/embedding.py +76 -0
  193. iris_harness-0.1.0/src/iris_harness/foundation/persistence/sqlite.py +248 -0
  194. iris_harness-0.1.0/src/iris_harness/foundation/plugin_dirs.py +107 -0
  195. iris_harness-0.1.0/src/iris_harness/foundation/process_state.py +144 -0
  196. iris_harness-0.1.0/src/iris_harness/foundation/public_url.py +40 -0
  197. iris_harness-0.1.0/src/iris_harness/foundation/settings/__init__.py +7 -0
  198. iris_harness-0.1.0/src/iris_harness/foundation/settings/catalog.py +190 -0
  199. iris_harness-0.1.0/src/iris_harness/foundation/settings/catalog.yaml +1636 -0
  200. iris_harness-0.1.0/src/iris_harness/foundation/settings/env_overrides.py +144 -0
  201. iris_harness-0.1.0/src/iris_harness/foundation/settings/restart.py +93 -0
  202. iris_harness-0.1.0/src/iris_harness/foundation/settings/store.py +241 -0
  203. iris_harness-0.1.0/src/iris_harness/kernel/AGENTS.md +22 -0
  204. iris_harness-0.1.0/src/iris_harness/kernel/__init__.py +11 -0
  205. iris_harness-0.1.0/src/iris_harness/kernel/governance/__init__.py +49 -0
  206. iris_harness-0.1.0/src/iris_harness/kernel/governance/approvals/__init__.py +31 -0
  207. iris_harness-0.1.0/src/iris_harness/kernel/governance/approvals/channels/__init__.py +22 -0
  208. iris_harness-0.1.0/src/iris_harness/kernel/governance/approvals/channels/base.py +78 -0
  209. iris_harness-0.1.0/src/iris_harness/kernel/governance/approvals/channels/cli_channel.py +86 -0
  210. iris_harness-0.1.0/src/iris_harness/kernel/governance/approvals/channels/web_channel.py +58 -0
  211. iris_harness-0.1.0/src/iris_harness/kernel/governance/approvals/events.py +74 -0
  212. iris_harness-0.1.0/src/iris_harness/kernel/governance/approvals/gate.py +98 -0
  213. iris_harness-0.1.0/src/iris_harness/kernel/governance/approvals/queue.py +212 -0
  214. iris_harness-0.1.0/src/iris_harness/kernel/governance/approvals/router.py +203 -0
  215. iris_harness-0.1.0/src/iris_harness/kernel/governance/approvals/schema.sql +24 -0
  216. iris_harness-0.1.0/src/iris_harness/kernel/governance/approvals/service.py +445 -0
  217. iris_harness-0.1.0/src/iris_harness/kernel/governance/approvals/store.py +528 -0
  218. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/__init__.py +11 -0
  219. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/archive/__init__.py +26 -0
  220. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/archive/compact.py +243 -0
  221. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/archive/markers.py +327 -0
  222. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/archive/query.py +226 -0
  223. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/archive/writer.py +298 -0
  224. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/digest.py +194 -0
  225. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/log.py +906 -0
  226. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/proof_bundle.py +757 -0
  227. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/proof_bundle.schema.json +136 -0
  228. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/replay.py +1046 -0
  229. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/sequence.py +293 -0
  230. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/spool.py +220 -0
  231. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/view.py +110 -0
  232. iris_harness-0.1.0/src/iris_harness/kernel/governance/audit/write_health.py +30 -0
  233. iris_harness-0.1.0/src/iris_harness/kernel/governance/call_context.py +150 -0
  234. iris_harness-0.1.0/src/iris_harness/kernel/governance/caller_policy.py +61 -0
  235. iris_harness-0.1.0/src/iris_harness/kernel/governance/cost/__init__.py +53 -0
  236. iris_harness-0.1.0/src/iris_harness/kernel/governance/cost/pricing.py +152 -0
  237. iris_harness-0.1.0/src/iris_harness/kernel/governance/cost/store.py +237 -0
  238. iris_harness-0.1.0/src/iris_harness/kernel/governance/cost/summary.py +188 -0
  239. iris_harness-0.1.0/src/iris_harness/kernel/governance/devices/__init__.py +39 -0
  240. iris_harness-0.1.0/src/iris_harness/kernel/governance/devices/schema.sql +19 -0
  241. iris_harness-0.1.0/src/iris_harness/kernel/governance/devices/service.py +302 -0
  242. iris_harness-0.1.0/src/iris_harness/kernel/governance/devices/store.py +235 -0
  243. iris_harness-0.1.0/src/iris_harness/kernel/governance/devices/throttle.py +91 -0
  244. iris_harness-0.1.0/src/iris_harness/kernel/governance/disclosure.py +92 -0
  245. iris_harness-0.1.0/src/iris_harness/kernel/governance/display_mask.py +106 -0
  246. iris_harness-0.1.0/src/iris_harness/kernel/governance/egress_policy.py +109 -0
  247. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/__init__.py +47 -0
  248. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/client.py +183 -0
  249. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/drift_exemptions.py +240 -0
  250. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/embeddings.py +126 -0
  251. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/flagged_runs.py +114 -0
  252. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/hook.py +248 -0
  253. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/judge.py +310 -0
  254. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/judge_template.py +117 -0
  255. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/registry.py +104 -0
  256. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/signals/__init__.py +48 -0
  257. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/signals/action_repeat.py +69 -0
  258. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/signals/classification_violation.py +57 -0
  259. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/signals/cost_budget.py +101 -0
  260. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/signals/goal_drift.py +358 -0
  261. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/signals/loop_detect.py +194 -0
  262. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/signals/step_cap.py +58 -0
  263. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/signals/tool_failure_streak.py +69 -0
  264. iris_harness-0.1.0/src/iris_harness/kernel/governance/evaluator/types.py +87 -0
  265. iris_harness-0.1.0/src/iris_harness/kernel/governance/external_content.py +590 -0
  266. iris_harness-0.1.0/src/iris_harness/kernel/governance/external_content_allow.py +350 -0
  267. iris_harness-0.1.0/src/iris_harness/kernel/governance/file_scan.py +57 -0
  268. iris_harness-0.1.0/src/iris_harness/kernel/governance/hooks/__init__.py +28 -0
  269. iris_harness-0.1.0/src/iris_harness/kernel/governance/hooks/response_payload.py +88 -0
  270. iris_harness-0.1.0/src/iris_harness/kernel/governance/hooks/tool_payload.py +247 -0
  271. iris_harness-0.1.0/src/iris_harness/kernel/governance/hooks/types.py +105 -0
  272. iris_harness-0.1.0/src/iris_harness/kernel/governance/identity_config.py +243 -0
  273. iris_harness-0.1.0/src/iris_harness/kernel/governance/identity_redaction.py +413 -0
  274. iris_harness-0.1.0/src/iris_harness/kernel/governance/kernel.py +429 -0
  275. iris_harness-0.1.0/src/iris_harness/kernel/governance/mcp_clients.py +45 -0
  276. iris_harness-0.1.0/src/iris_harness/kernel/governance/mcp_signing/__init__.py +47 -0
  277. iris_harness-0.1.0/src/iris_harness/kernel/governance/mcp_signing/config.py +44 -0
  278. iris_harness-0.1.0/src/iris_harness/kernel/governance/mcp_signing/keys.py +48 -0
  279. iris_harness-0.1.0/src/iris_harness/kernel/governance/mcp_signing/spec.py +60 -0
  280. iris_harness-0.1.0/src/iris_harness/kernel/governance/mcp_signing/trust.py +69 -0
  281. iris_harness-0.1.0/src/iris_harness/kernel/governance/mcp_signing/verifier.py +76 -0
  282. iris_harness-0.1.0/src/iris_harness/kernel/governance/owner_identity.py +244 -0
  283. iris_harness-0.1.0/src/iris_harness/kernel/governance/owner_matchers.py +320 -0
  284. iris_harness-0.1.0/src/iris_harness/kernel/governance/owner_pii.py +214 -0
  285. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugin_egress.py +437 -0
  286. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/__init__.py +60 -0
  287. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/caller_policy.py +58 -0
  288. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/capability_redaction.py +145 -0
  289. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/classifier.py +120 -0
  290. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/command_sandbox.py +285 -0
  291. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/cost_limiter.py +240 -0
  292. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/credential_broker.py +187 -0
  293. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/destructive_approval.py +302 -0
  294. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/egress_gate.py +175 -0
  295. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/external_content_floor.py +255 -0
  296. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/fs_jail.py +428 -0
  297. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/input_safety.py +114 -0
  298. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/mcp_allowlist.py +264 -0
  299. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/mcp_client_egress.py +70 -0
  300. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/network_egress.py +314 -0
  301. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/output_classifier.py +119 -0
  302. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/owner_pii_shadow.py +518 -0
  303. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/persona_surface.py +226 -0
  304. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/plugin_egress.py +106 -0
  305. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/post_tool_use_ledger.py +333 -0
  306. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/pre_tool_use_ledger.py +159 -0
  307. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/prompt_guard.py +317 -0
  308. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/redaction.py +115 -0
  309. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/regex_packs.py +178 -0
  310. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/response_safety.py +167 -0
  311. iris_harness-0.1.0/src/iris_harness/kernel/governance/plugins/tool_policy.py +117 -0
  312. iris_harness-0.1.0/src/iris_harness/kernel/governance/public_suffix.py +64 -0
  313. iris_harness-0.1.0/src/iris_harness/kernel/governance/public_suffix_icann.dat +6958 -0
  314. iris_harness-0.1.0/src/iris_harness/kernel/governance/reentry.py +455 -0
  315. iris_harness-0.1.0/src/iris_harness/kernel/governance/side_effects/__init__.py +31 -0
  316. iris_harness-0.1.0/src/iris_harness/kernel/governance/side_effects/probes.py +213 -0
  317. iris_harness-0.1.0/src/iris_harness/kernel/governance/side_effects/schema.sql +39 -0
  318. iris_harness-0.1.0/src/iris_harness/kernel/governance/side_effects/store.py +430 -0
  319. iris_harness-0.1.0/src/iris_harness/kernel/governance/taint_policy.py +93 -0
  320. iris_harness-0.1.0/src/iris_harness/kernel/governance/threat/__init__.py +66 -0
  321. iris_harness-0.1.0/src/iris_harness/kernel/governance/threat/availability.py +105 -0
  322. iris_harness-0.1.0/src/iris_harness/kernel/governance/threat/backends.py +272 -0
  323. iris_harness-0.1.0/src/iris_harness/kernel/governance/threat/battery.py +157 -0
  324. iris_harness-0.1.0/src/iris_harness/kernel/governance/threat/config.py +208 -0
  325. iris_harness-0.1.0/src/iris_harness/kernel/governance/threat/detector.py +166 -0
  326. iris_harness-0.1.0/src/iris_harness/kernel/governance/threat/types.py +107 -0
  327. iris_harness-0.1.0/src/iris_harness/kernel/governance/turn_label.py +113 -0
  328. iris_harness-0.1.0/src/iris_harness/kernel/governance/unmask_grants.py +47 -0
  329. iris_harness-0.1.0/src/iris_harness/kernel/governance/vault/__init__.py +31 -0
  330. iris_harness-0.1.0/src/iris_harness/kernel/governance/vault/credentials.py +138 -0
  331. iris_harness-0.1.0/src/iris_harness/kernel/governance/vault/handle.py +118 -0
  332. iris_harness-0.1.0/src/iris_harness/kernel/governance/vault/keys.py +189 -0
  333. iris_harness-0.1.0/src/iris_harness/kernel/governance/vault/secret_store.py +214 -0
  334. iris_harness-0.1.0/src/iris_harness/kernel/governance/vault/store.py +250 -0
  335. iris_harness-0.1.0/src/iris_harness/kernel/governance/wiring.py +1226 -0
  336. iris_harness-0.1.0/src/iris_harness/kernel/governor/__init__.py +43 -0
  337. iris_harness-0.1.0/src/iris_harness/kernel/governor/audit.py +199 -0
  338. iris_harness-0.1.0/src/iris_harness/kernel/governor/exceptions.py +19 -0
  339. iris_harness-0.1.0/src/iris_harness/kernel/governor/models.py +99 -0
  340. iris_harness-0.1.0/src/iris_harness/kernel/governor/policy.py +130 -0
  341. iris_harness-0.1.0/src/iris_harness/kernel/governor/rate_limiter.py +56 -0
  342. iris_harness-0.1.0/src/iris_harness/kernel/governor/service.py +117 -0
  343. iris_harness-0.1.0/src/iris_harness/llm/__init__.py +5 -0
  344. iris_harness-0.1.0/src/iris_harness/llm/arbiter.py +349 -0
  345. iris_harness-0.1.0/src/iris_harness/llm/budget.py +72 -0
  346. iris_harness-0.1.0/src/iris_harness/llm/client.py +1276 -0
  347. iris_harness-0.1.0/src/iris_harness/llm/copilot_auth.py +356 -0
  348. iris_harness-0.1.0/src/iris_harness/llm/egress.py +43 -0
  349. iris_harness-0.1.0/src/iris_harness/llm/embeddings.py +157 -0
  350. iris_harness-0.1.0/src/iris_harness/llm/errors.py +59 -0
  351. iris_harness-0.1.0/src/iris_harness/llm/fake.py +476 -0
  352. iris_harness-0.1.0/src/iris_harness/llm/locality.py +124 -0
  353. iris_harness-0.1.0/src/iris_harness/llm/model_metadata.py +163 -0
  354. iris_harness-0.1.0/src/iris_harness/llm/narrate.py +63 -0
  355. iris_harness-0.1.0/src/iris_harness/llm/providers.py +451 -0
  356. iris_harness-0.1.0/src/iris_harness/llm/tier_edits.py +204 -0
  357. iris_harness-0.1.0/src/iris_harness/llm/tier_router.py +591 -0
  358. iris_harness-0.1.0/src/iris_harness/main.py +2818 -0
  359. iris_harness-0.1.0/src/iris_harness/memory/__init__.py +32 -0
  360. iris_harness-0.1.0/src/iris_harness/memory/coherence.py +130 -0
  361. iris_harness-0.1.0/src/iris_harness/memory/compactor.py +473 -0
  362. iris_harness-0.1.0/src/iris_harness/memory/coordinator.py +237 -0
  363. iris_harness-0.1.0/src/iris_harness/memory/export.py +269 -0
  364. iris_harness-0.1.0/src/iris_harness/memory/fact_extractor.py +267 -0
  365. iris_harness-0.1.0/src/iris_harness/memory/fact_keys.py +245 -0
  366. iris_harness-0.1.0/src/iris_harness/memory/fact_statements.py +810 -0
  367. iris_harness-0.1.0/src/iris_harness/memory/fact_validation.py +311 -0
  368. iris_harness-0.1.0/src/iris_harness/memory/gate_audit.py +325 -0
  369. iris_harness-0.1.0/src/iris_harness/memory/gate_audit_corpus.py +96 -0
  370. iris_harness-0.1.0/src/iris_harness/memory/graph.py +677 -0
  371. iris_harness-0.1.0/src/iris_harness/memory/graph_context.py +371 -0
  372. iris_harness-0.1.0/src/iris_harness/memory/identity/__init__.py +88 -0
  373. iris_harness-0.1.0/src/iris_harness/memory/identity/loader.py +1430 -0
  374. iris_harness-0.1.0/src/iris_harness/memory/knowledge/__init__.py +21 -0
  375. iris_harness-0.1.0/src/iris_harness/memory/knowledge/connectors/__init__.py +1 -0
  376. iris_harness-0.1.0/src/iris_harness/memory/knowledge/connectors/base.py +26 -0
  377. iris_harness-0.1.0/src/iris_harness/memory/knowledge/connectors/obsidian.py +48 -0
  378. iris_harness-0.1.0/src/iris_harness/memory/knowledge/entity_extractor.py +296 -0
  379. iris_harness-0.1.0/src/iris_harness/memory/knowledge/event_subscribers.py +77 -0
  380. iris_harness-0.1.0/src/iris_harness/memory/knowledge/models.py +89 -0
  381. iris_harness-0.1.0/src/iris_harness/memory/knowledge/page_manager.py +146 -0
  382. iris_harness-0.1.0/src/iris_harness/memory/knowledge/wiki_engine.py +381 -0
  383. iris_harness-0.1.0/src/iris_harness/memory/knowledge/wiki_index.py +93 -0
  384. iris_harness-0.1.0/src/iris_harness/memory/lessons.py +160 -0
  385. iris_harness-0.1.0/src/iris_harness/memory/log_archive.py +281 -0
  386. iris_harness-0.1.0/src/iris_harness/memory/map_exclusions.py +77 -0
  387. iris_harness-0.1.0/src/iris_harness/memory/ontology.py +107 -0
  388. iris_harness-0.1.0/src/iris_harness/memory/profile.py +62 -0
  389. iris_harness-0.1.0/src/iris_harness/memory/profile_recall.py +67 -0
  390. iris_harness-0.1.0/src/iris_harness/memory/removal.py +415 -0
  391. iris_harness-0.1.0/src/iris_harness/memory/resolution.py +64 -0
  392. iris_harness-0.1.0/src/iris_harness/memory/retention.py +836 -0
  393. iris_harness-0.1.0/src/iris_harness/memory/retriever.py +557 -0
  394. iris_harness-0.1.0/src/iris_harness/memory/semantic_index.py +649 -0
  395. iris_harness-0.1.0/src/iris_harness/memory/standing_instructions.py +211 -0
  396. iris_harness-0.1.0/src/iris_harness/memory/state/__init__.py +36 -0
  397. iris_harness-0.1.0/src/iris_harness/memory/state/chat.py +58 -0
  398. iris_harness-0.1.0/src/iris_harness/memory/state/continuations.py +411 -0
  399. iris_harness-0.1.0/src/iris_harness/memory/state/store.py +357 -0
  400. iris_harness-0.1.0/src/iris_harness/memory/statement_migration.py +917 -0
  401. iris_harness-0.1.0/src/iris_harness/memory/store.py +1251 -0
  402. iris_harness-0.1.0/src/iris_harness/memory/triage.py +342 -0
  403. iris_harness-0.1.0/src/iris_harness/memory/vocabulary.py +211 -0
  404. iris_harness-0.1.0/src/iris_harness/playground/__init__.py +29 -0
  405. iris_harness-0.1.0/src/iris_harness/playground/assertions.py +156 -0
  406. iris_harness-0.1.0/src/iris_harness/playground/baseline.py +78 -0
  407. iris_harness-0.1.0/src/iris_harness/playground/drift.py +278 -0
  408. iris_harness-0.1.0/src/iris_harness/playground/loader.py +57 -0
  409. iris_harness-0.1.0/src/iris_harness/playground/models.py +146 -0
  410. iris_harness-0.1.0/src/iris_harness/playground/runner.py +155 -0
  411. iris_harness-0.1.0/src/iris_harness/playground/service.py +111 -0
  412. iris_harness-0.1.0/src/iris_harness/plugins_builtin/AGENTS.md +24 -0
  413. iris_harness-0.1.0/src/iris_harness/plugins_builtin/__init__.py +7 -0
  414. iris_harness-0.1.0/src/iris_harness/plugins_builtin/code_exec/__init__.py +7 -0
  415. iris_harness-0.1.0/src/iris_harness/plugins_builtin/code_exec/handler.py +1285 -0
  416. iris_harness-0.1.0/src/iris_harness/plugins_builtin/code_exec/manifest.yaml +49 -0
  417. iris_harness-0.1.0/src/iris_harness/plugins_builtin/code_exec/plugin.py +72 -0
  418. iris_harness-0.1.0/src/iris_harness/plugins_builtin/graphiti_import/__init__.py +1 -0
  419. iris_harness-0.1.0/src/iris_harness/plugins_builtin/graphiti_import/cli.py +97 -0
  420. iris_harness-0.1.0/src/iris_harness/plugins_builtin/graphiti_import/graphiti.yaml +27 -0
  421. iris_harness-0.1.0/src/iris_harness/plugins_builtin/graphiti_import/manifest.yaml +14 -0
  422. iris_harness-0.1.0/src/iris_harness/plugins_builtin/graphiti_import/mappings.yaml +38 -0
  423. iris_harness-0.1.0/src/iris_harness/plugins_builtin/graphiti_import/plugin.py +18 -0
  424. iris_harness-0.1.0/src/iris_harness/plugins_builtin/graphiti_import/reader.py +168 -0
  425. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/__init__.py +21 -0
  426. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/cache.py +196 -0
  427. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/engine.py +276 -0
  428. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/extract.py +303 -0
  429. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/guard.py +67 -0
  430. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/language.py +70 -0
  431. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/manifest.yaml +117 -0
  432. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/models.py +133 -0
  433. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/news_policy.py +110 -0
  434. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/news_sources.yaml +85 -0
  435. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/plugin.py +53 -0
  436. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/privacy.py +128 -0
  437. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/providers/__init__.py +56 -0
  438. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/providers/base.py +52 -0
  439. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/providers/brave.py +116 -0
  440. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/providers/duckduckgo.py +144 -0
  441. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/providers/exa.py +120 -0
  442. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/providers/searxng.py +137 -0
  443. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/providers/tavily.py +103 -0
  444. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/rank.py +297 -0
  445. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/rerank.py +111 -0
  446. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/tool.py +232 -0
  447. iris_harness-0.1.0/src/iris_harness/plugins_builtin/research/tools.py +64 -0
  448. iris_harness-0.1.0/src/iris_harness/plugins_builtin/system/__init__.py +1 -0
  449. iris_harness-0.1.0/src/iris_harness/plugins_builtin/system/manifest.yaml +26 -0
  450. iris_harness-0.1.0/src/iris_harness/plugins_builtin/system/plugin.py +106 -0
  451. iris_harness-0.1.0/src/iris_harness/plugins_builtin/telegram_channel/__init__.py +6 -0
  452. iris_harness-0.1.0/src/iris_harness/plugins_builtin/telegram_channel/manifest.yaml +14 -0
  453. iris_harness-0.1.0/src/iris_harness/plugins_builtin/telegram_channel/plugin.py +38 -0
  454. iris_harness-0.1.0/src/iris_harness/plugins_builtin/web_channel/__init__.py +8 -0
  455. iris_harness-0.1.0/src/iris_harness/plugins_builtin/web_channel/connector.py +59 -0
  456. iris_harness-0.1.0/src/iris_harness/plugins_builtin/web_channel/manifest.yaml +28 -0
  457. iris_harness-0.1.0/src/iris_harness/plugins_builtin/web_channel/plugin.py +32 -0
  458. iris_harness-0.1.0/src/iris_harness/plugins_builtin/web_push_channel/__init__.py +0 -0
  459. iris_harness-0.1.0/src/iris_harness/plugins_builtin/web_push_channel/manifest.yaml +14 -0
  460. iris_harness-0.1.0/src/iris_harness/plugins_builtin/web_push_channel/plugin.py +77 -0
  461. iris_harness-0.1.0/src/iris_harness/py.typed +0 -0
  462. iris_harness-0.1.0/src/iris_harness/runtime/__init__.py +11 -0
  463. iris_harness-0.1.0/src/iris_harness/runtime/action_center.py +204 -0
  464. iris_harness-0.1.0/src/iris_harness/runtime/activity_notices.py +185 -0
  465. iris_harness-0.1.0/src/iris_harness/runtime/agent_console.py +287 -0
  466. iris_harness-0.1.0/src/iris_harness/runtime/agent_panels.py +51 -0
  467. iris_harness-0.1.0/src/iris_harness/runtime/agent_settings_store.py +132 -0
  468. iris_harness-0.1.0/src/iris_harness/runtime/api_routes.py +92 -0
  469. iris_harness-0.1.0/src/iris_harness/runtime/bootstrap.py +958 -0
  470. iris_harness-0.1.0/src/iris_harness/runtime/brief_tools.py +92 -0
  471. iris_harness-0.1.0/src/iris_harness/runtime/capabilities.py +118 -0
  472. iris_harness-0.1.0/src/iris_harness/runtime/channel_wiring.py +143 -0
  473. iris_harness-0.1.0/src/iris_harness/runtime/classifiers.py +123 -0
  474. iris_harness-0.1.0/src/iris_harness/runtime/client_config.py +124 -0
  475. iris_harness-0.1.0/src/iris_harness/runtime/confirmations.py +269 -0
  476. iris_harness-0.1.0/src/iris_harness/runtime/continuations.py +409 -0
  477. iris_harness-0.1.0/src/iris_harness/runtime/egress_access.py +30 -0
  478. iris_harness-0.1.0/src/iris_harness/runtime/egress_transport.py +265 -0
  479. iris_harness-0.1.0/src/iris_harness/runtime/escalation_actions.py +373 -0
  480. iris_harness-0.1.0/src/iris_harness/runtime/eval_runtime.py +42 -0
  481. iris_harness-0.1.0/src/iris_harness/runtime/external_text.py +37 -0
  482. iris_harness-0.1.0/src/iris_harness/runtime/external_tools.py +49 -0
  483. iris_harness-0.1.0/src/iris_harness/runtime/facade.py +1556 -0
  484. iris_harness-0.1.0/src/iris_harness/runtime/governance_judge.py +310 -0
  485. iris_harness-0.1.0/src/iris_harness/runtime/governed_http.py +630 -0
  486. iris_harness-0.1.0/src/iris_harness/runtime/handlers/__init__.py +1 -0
  487. iris_harness-0.1.0/src/iris_harness/runtime/handlers/brief_formats.py +706 -0
  488. iris_harness-0.1.0/src/iris_harness/runtime/handlers/brief_prefs.py +157 -0
  489. iris_harness-0.1.0/src/iris_harness/runtime/handlers/general.py +472 -0
  490. iris_harness-0.1.0/src/iris_harness/runtime/handlers/general_invoke.py +545 -0
  491. iris_harness-0.1.0/src/iris_harness/runtime/handlers/general_support.py +160 -0
  492. iris_harness-0.1.0/src/iris_harness/runtime/handlers/general_tools.py +306 -0
  493. iris_harness-0.1.0/src/iris_harness/runtime/handlers/local_skills.py +472 -0
  494. iris_harness-0.1.0/src/iris_harness/runtime/handlers/react.py +1135 -0
  495. iris_harness-0.1.0/src/iris_harness/runtime/handlers/skill_brief.py +1091 -0
  496. iris_harness-0.1.0/src/iris_harness/runtime/handlers/ticks.py +519 -0
  497. iris_harness-0.1.0/src/iris_harness/runtime/harness_services.py +266 -0
  498. iris_harness-0.1.0/src/iris_harness/runtime/identity_redaction.py +227 -0
  499. iris_harness-0.1.0/src/iris_harness/runtime/intercept_dispatch.py +224 -0
  500. iris_harness-0.1.0/src/iris_harness/runtime/intercepts.py +325 -0
  501. iris_harness-0.1.0/src/iris_harness/runtime/judges.py +414 -0
  502. iris_harness-0.1.0/src/iris_harness/runtime/learning_builders.py +100 -0
  503. iris_harness-0.1.0/src/iris_harness/runtime/learning_controls.py +662 -0
  504. iris_harness-0.1.0/src/iris_harness/runtime/mcp_serve.py +371 -0
  505. iris_harness-0.1.0/src/iris_harness/runtime/mission_proposals.py +146 -0
  506. iris_harness-0.1.0/src/iris_harness/runtime/nlu_parsing.py +112 -0
  507. iris_harness-0.1.0/src/iris_harness/runtime/plugin_host/__init__.py +61 -0
  508. iris_harness-0.1.0/src/iris_harness/runtime/plugin_host/api.py +659 -0
  509. iris_harness-0.1.0/src/iris_harness/runtime/plugin_host/declarative.py +130 -0
  510. iris_harness-0.1.0/src/iris_harness/runtime/plugin_host/dump.py +110 -0
  511. iris_harness-0.1.0/src/iris_harness/runtime/plugin_host/harness_topics.py +78 -0
  512. iris_harness-0.1.0/src/iris_harness/runtime/plugin_host/inventory.py +317 -0
  513. iris_harness-0.1.0/src/iris_harness/runtime/plugin_host/loader.py +638 -0
  514. iris_harness-0.1.0/src/iris_harness/runtime/plugin_host/manifest.py +857 -0
  515. iris_harness-0.1.0/src/iris_harness/runtime/plugin_host/nav.py +259 -0
  516. iris_harness-0.1.0/src/iris_harness/runtime/plugin_host/profile.py +393 -0
  517. iris_harness-0.1.0/src/iris_harness/runtime/plugin_host/registry.py +973 -0
  518. iris_harness-0.1.0/src/iris_harness/runtime/react_tools.py +1031 -0
  519. iris_harness-0.1.0/src/iris_harness/runtime/replies.py +116 -0
  520. iris_harness-0.1.0/src/iris_harness/runtime/rollout_flags.py +53 -0
  521. iris_harness-0.1.0/src/iris_harness/runtime/router_audit.py +168 -0
  522. iris_harness-0.1.0/src/iris_harness/runtime/routine_authoring.py +1996 -0
  523. iris_harness-0.1.0/src/iris_harness/runtime/self_learning_loop.py +322 -0
  524. iris_harness-0.1.0/src/iris_harness/runtime/session_memory.py +629 -0
  525. iris_harness-0.1.0/src/iris_harness/runtime/settings_catalog.py +82 -0
  526. iris_harness-0.1.0/src/iris_harness/runtime/shadow.py +134 -0
  527. iris_harness-0.1.0/src/iris_harness/runtime/skill_matching.py +192 -0
  528. iris_harness-0.1.0/src/iris_harness/runtime/skill_tool_specs.py +62 -0
  529. iris_harness-0.1.0/src/iris_harness/runtime/tool_access.py +90 -0
  530. iris_harness-0.1.0/src/iris_harness/runtime/tool_call_parsing.py +320 -0
  531. iris_harness-0.1.0/src/iris_harness/runtime/tool_service.py +360 -0
  532. iris_harness-0.1.0/src/iris_harness/runtime/turn/__init__.py +16 -0
  533. iris_harness-0.1.0/src/iris_harness/runtime/turn/host.py +154 -0
  534. iris_harness-0.1.0/src/iris_harness/runtime/turn/pipeline.py +215 -0
  535. iris_harness-0.1.0/src/iris_harness/runtime/turn/stages/__init__.py +49 -0
  536. iris_harness-0.1.0/src/iris_harness/runtime/turn/stages/classify.py +180 -0
  537. iris_harness-0.1.0/src/iris_harness/runtime/turn/stages/curate.py +69 -0
  538. iris_harness-0.1.0/src/iris_harness/runtime/turn/stages/execute.py +154 -0
  539. iris_harness-0.1.0/src/iris_harness/runtime/turn/stages/guard.py +89 -0
  540. iris_harness-0.1.0/src/iris_harness/runtime/turn/stages/intercept.py +99 -0
  541. iris_harness-0.1.0/src/iris_harness/runtime/turn/stages/notice.py +30 -0
  542. iris_harness-0.1.0/src/iris_harness/runtime/turn/stages/opener.py +69 -0
  543. iris_harness-0.1.0/src/iris_harness/runtime/turn/stages/plan.py +266 -0
  544. iris_harness-0.1.0/src/iris_harness/runtime/turn/stages/record.py +172 -0
  545. iris_harness-0.1.0/src/iris_harness/runtime/turn/stages/resolve.py +53 -0
  546. iris_harness-0.1.0/src/iris_harness/runtime/turn/stages/route.py +48 -0
  547. iris_harness-0.1.0/src/iris_harness/runtime/turn/stages/screen.py +103 -0
  548. iris_harness-0.1.0/src/iris_harness/runtime/turn/state.py +103 -0
  549. iris_harness-0.1.0/src/iris_harness/runtime/turn_capture.py +917 -0
  550. iris_harness-0.1.0/src/iris_harness/runtime/turn_context.py +46 -0
  551. iris_harness-0.1.0/src/iris_harness/runtime/types.py +57 -0
  552. iris_harness-0.1.0/src/iris_harness/runtime/welcome.py +338 -0
  553. iris_harness-0.1.0/src/iris_harness/sdk/AGENTS.md +21 -0
  554. iris_harness-0.1.0/src/iris_harness/sdk/__init__.py +43 -0
  555. iris_harness-0.1.0/src/iris_harness/sdk/activities.py +25 -0
  556. iris_harness-0.1.0/src/iris_harness/sdk/activity.py +13 -0
  557. iris_harness-0.1.0/src/iris_harness/sdk/approvals.py +38 -0
  558. iris_harness-0.1.0/src/iris_harness/sdk/audit.py +15 -0
  559. iris_harness-0.1.0/src/iris_harness/sdk/capabilities.py +61 -0
  560. iris_harness-0.1.0/src/iris_harness/sdk/channels.py +41 -0
  561. iris_harness-0.1.0/src/iris_harness/sdk/cli.py +171 -0
  562. iris_harness-0.1.0/src/iris_harness/sdk/config.py +31 -0
  563. iris_harness-0.1.0/src/iris_harness/sdk/content.py +110 -0
  564. iris_harness-0.1.0/src/iris_harness/sdk/digest.py +36 -0
  565. iris_harness-0.1.0/src/iris_harness/sdk/docs.py +18 -0
  566. iris_harness-0.1.0/src/iris_harness/sdk/events.py +14 -0
  567. iris_harness-0.1.0/src/iris_harness/sdk/health.py +56 -0
  568. iris_harness-0.1.0/src/iris_harness/sdk/heartbeat.py +44 -0
  569. iris_harness-0.1.0/src/iris_harness/sdk/http.py +51 -0
  570. iris_harness-0.1.0/src/iris_harness/sdk/identity.py +39 -0
  571. iris_harness-0.1.0/src/iris_harness/sdk/learning.py +17 -0
  572. iris_harness-0.1.0/src/iris_harness/sdk/llm.py +74 -0
  573. iris_harness-0.1.0/src/iris_harness/sdk/logging.py +36 -0
  574. iris_harness-0.1.0/src/iris_harness/sdk/memory.py +37 -0
  575. iris_harness-0.1.0/src/iris_harness/sdk/parsing.py +36 -0
  576. iris_harness-0.1.0/src/iris_harness/sdk/pending_actions.py +33 -0
  577. iris_harness-0.1.0/src/iris_harness/sdk/persistence.py +41 -0
  578. iris_harness-0.1.0/src/iris_harness/sdk/process_state.py +22 -0
  579. iris_harness-0.1.0/src/iris_harness/sdk/rag.py +61 -0
  580. iris_harness-0.1.0/src/iris_harness/sdk/reminders.py +28 -0
  581. iris_harness-0.1.0/src/iris_harness/sdk/research.py +44 -0
  582. iris_harness-0.1.0/src/iris_harness/sdk/sandbox.py +20 -0
  583. iris_harness-0.1.0/src/iris_harness/sdk/services.py +37 -0
  584. iris_harness-0.1.0/src/iris_harness/sdk/stable_tier.yaml +158 -0
  585. iris_harness-0.1.0/src/iris_harness/sdk/tasks.py +44 -0
  586. iris_harness-0.1.0/src/iris_harness/sdk/time.py +22 -0
  587. iris_harness-0.1.0/src/iris_harness/sdk/tools.py +35 -0
  588. iris_harness-0.1.0/src/iris_harness/sdk/types.py +74 -0
  589. iris_harness-0.1.0/src/iris_harness/sdk/vault.py +40 -0
  590. iris_harness-0.1.0/src/iris_harness/server/__init__.py +16 -0
  591. iris_harness-0.1.0/src/iris_harness/server/auth.py +335 -0
  592. iris_harness-0.1.0/src/iris_harness/server/channel_gateway/__init__.py +8 -0
  593. iris_harness-0.1.0/src/iris_harness/server/channel_gateway/main.py +433 -0
  594. iris_harness-0.1.0/src/iris_harness/server/channel_gateway/main_types.py +14 -0
  595. iris_harness-0.1.0/src/iris_harness/server/channel_gateway/telegram.py +352 -0
  596. iris_harness-0.1.0/src/iris_harness/server/evaluator/__init__.py +8 -0
  597. iris_harness-0.1.0/src/iris_harness/server/evaluator/main.py +134 -0
  598. iris_harness-0.1.0/src/iris_harness/server/governor/__init__.py +1 -0
  599. iris_harness-0.1.0/src/iris_harness/server/governor/main.py +124 -0
  600. iris_harness-0.1.0/src/iris_harness/server/iris_api/__init__.py +5 -0
  601. iris_harness-0.1.0/src/iris_harness/server/iris_api/action_center_routes.py +245 -0
  602. iris_harness-0.1.0/src/iris_harness/server/iris_api/agent_routes.py +245 -0
  603. iris_harness-0.1.0/src/iris_harness/server/iris_api/chat_routes.py +298 -0
  604. iris_harness-0.1.0/src/iris_harness/server/iris_api/detached_turns.py +139 -0
  605. iris_harness-0.1.0/src/iris_harness/server/iris_api/device_routes.py +261 -0
  606. iris_harness-0.1.0/src/iris_harness/server/iris_api/digest_feedback_routes.py +57 -0
  607. iris_harness-0.1.0/src/iris_harness/server/iris_api/digest_routes.py +61 -0
  608. iris_harness-0.1.0/src/iris_harness/server/iris_api/governance_routes.py +390 -0
  609. iris_harness-0.1.0/src/iris_harness/server/iris_api/health_routes.py +252 -0
  610. iris_harness-0.1.0/src/iris_harness/server/iris_api/learning_routes.py +373 -0
  611. iris_harness-0.1.0/src/iris_harness/server/iris_api/main.py +731 -0
  612. iris_harness-0.1.0/src/iris_harness/server/iris_api/mcp_server.py +215 -0
  613. iris_harness-0.1.0/src/iris_harness/server/iris_api/memory_routes.py +1244 -0
  614. iris_harness-0.1.0/src/iris_harness/server/iris_api/ops_routes.py +177 -0
  615. iris_harness-0.1.0/src/iris_harness/server/iris_api/playground_routes.py +100 -0
  616. iris_harness-0.1.0/src/iris_harness/server/iris_api/push_routes.py +120 -0
  617. iris_harness-0.1.0/src/iris_harness/server/iris_api/routines_routes.py +184 -0
  618. iris_harness-0.1.0/src/iris_harness/server/iris_api/runtime_access.py +22 -0
  619. iris_harness-0.1.0/src/iris_harness/server/iris_api/session_routes.py +596 -0
  620. iris_harness-0.1.0/src/iris_harness/server/iris_api/settings_routes.py +598 -0
  621. iris_harness-0.1.0/src/iris_harness/server/iris_api/static_ui.py +197 -0
  622. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/apple-touch-icon.png +0 -0
  623. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/ActionCenter-DWR_1l0z.js +2 -0
  624. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/ActivityFeed-ZWGTVQSF.js +1 -0
  625. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/AgentDashboard-BI84kZoM.js +1 -0
  626. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Agents-D18zaw_r.js +1 -0
  627. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/CallTrace-BylIUQ-O.js +1 -0
  628. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Card-CXQcUgWe.js +1 -0
  629. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Chat-PLyyCR6A.js +3 -0
  630. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/ConfirmDialog-Ljt4-aGA.js +1 -0
  631. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/CopyBlock-B9Rb1MjP.js +1 -0
  632. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Devices-DPzcdVTl.js +1 -0
  633. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Digest-D3OwOWjA.js +1 -0
  634. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/DigitalTwin-CU6j7EyE.js +1 -0
  635. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Governance-D2Llo8hR.js +2 -0
  636. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Health-DQHc4_Q4.js +1 -0
  637. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Heartbeats-DBoBDCFI.js +1 -0
  638. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Inbox-BZQIPizq.js +1 -0
  639. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Knowledge-Dxqd_5DZ.js +1 -0
  640. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Learning-CMNYMHjx.js +1 -0
  641. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Markdown-BWcvdIi3.js +14 -0
  642. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Memory-CChaApjv.js +1 -0
  643. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/More-3m9-PYFH.js +1 -0
  644. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Onboarding-C7f9VU2K.js +1 -0
  645. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Overview-DseVboze.js +1 -0
  646. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Pair-DhdOmphI.js +1 -0
  647. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Playground-Cxfb4LaM.js +1 -0
  648. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/PluginDetail-lkeBj-tU.js +1 -0
  649. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Portfolio-DRoNXSTM.js +1 -0
  650. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Rag-DB1xDRLF.js +1 -0
  651. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/ReconnectSheet-Dt58ouRo.js +1 -0
  652. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Reminder-DTWdt4Kk.js +1 -0
  653. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Routines-lV-5E3oI.js +1 -0
  654. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Sessions-z01Guqrs.js +1 -0
  655. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Settings-Cl7q1Nt7.js +1 -0
  656. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Setup-D45UEQSW.js +1 -0
  657. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/Switch-BH9PZxoY.js +1 -0
  658. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/SystemCheck-CBeccZLp.js +2 -0
  659. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/breakpoint-CLJTHGon.js +1 -0
  660. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/check-Beu2NZZN.js +1 -0
  661. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/dagre-DLioOiRN.css +1 -0
  662. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/dagre-JZRyA1Pn.js +7 -0
  663. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/dialog-C6a95R8r.js +1 -0
  664. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/es2015-CO7dZbVE.js +41 -0
  665. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/http-BUcIPk9n.js +1 -0
  666. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/index-B9EGVml8.css +1 -0
  667. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/index-C7tnPEHM.js +14 -0
  668. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/input-DSk1NoDn.js +1 -0
  669. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/layout-DNsTceCW.js +1 -0
  670. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/nodeMeta-TQaGURWg.js +1 -0
  671. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/parts-BYEWLm3P.js +1 -0
  672. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/parts-DedGbiW5.js +1 -0
  673. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/thumbs-down-DBEA3SX_.js +1 -0
  674. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/assets/useQuery-CXR1pn6x.js +1 -0
  675. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/icon-192.png +0 -0
  676. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/icon-512-maskable.png +0 -0
  677. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/icon-512.png +0 -0
  678. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/index.html +37 -0
  679. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/manifest.webmanifest +17 -0
  680. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/offline.html +40 -0
  681. iris_harness-0.1.0/src/iris_harness/server/iris_api/webui_dist/sw.js +228 -0
  682. iris_harness-0.1.0/src/iris_harness/server/iris_api/write_guard.py +27 -0
  683. iris_harness-0.1.0/src/iris_harness/services/__init__.py +8 -0
  684. iris_harness-0.1.0/src/iris_harness/services/activities/__init__.py +42 -0
  685. iris_harness-0.1.0/src/iris_harness/services/activities/events.py +65 -0
  686. iris_harness-0.1.0/src/iris_harness/services/activities/models.py +84 -0
  687. iris_harness-0.1.0/src/iris_harness/services/activities/runner.py +104 -0
  688. iris_harness-0.1.0/src/iris_harness/services/activities/store.py +378 -0
  689. iris_harness-0.1.0/src/iris_harness/services/channels/__init__.py +14 -0
  690. iris_harness-0.1.0/src/iris_harness/services/channels/approval_commands.py +192 -0
  691. iris_harness-0.1.0/src/iris_harness/services/channels/approval_delivery.py +139 -0
  692. iris_harness-0.1.0/src/iris_harness/services/channels/channel_config.py +109 -0
  693. iris_harness-0.1.0/src/iris_harness/services/channels/connectors/__init__.py +7 -0
  694. iris_harness-0.1.0/src/iris_harness/services/channels/connectors/console.py +32 -0
  695. iris_harness-0.1.0/src/iris_harness/services/channels/connectors/telegram.py +167 -0
  696. iris_harness-0.1.0/src/iris_harness/services/channels/connectors/telegram_poller.py +557 -0
  697. iris_harness-0.1.0/src/iris_harness/services/channels/connectors/ws_client.py +121 -0
  698. iris_harness-0.1.0/src/iris_harness/services/channels/gateway.py +64 -0
  699. iris_harness-0.1.0/src/iris_harness/services/channels/models.py +37 -0
  700. iris_harness-0.1.0/src/iris_harness/services/channels/protocol.py +24 -0
  701. iris_harness-0.1.0/src/iris_harness/services/channels/reminder_commands.py +447 -0
  702. iris_harness-0.1.0/src/iris_harness/services/channels/web_push/__init__.py +18 -0
  703. iris_harness-0.1.0/src/iris_harness/services/channels/web_push/connector.py +217 -0
  704. iris_harness-0.1.0/src/iris_harness/services/channels/web_push/encryption.py +123 -0
  705. iris_harness-0.1.0/src/iris_harness/services/channels/web_push/keys.py +105 -0
  706. iris_harness-0.1.0/src/iris_harness/services/channels/web_push/store.py +153 -0
  707. iris_harness-0.1.0/src/iris_harness/services/channels/web_push/vapid.py +66 -0
  708. iris_harness-0.1.0/src/iris_harness/services/digest/__init__.py +5 -0
  709. iris_harness-0.1.0/src/iris_harness/services/digest/edits.py +154 -0
  710. iris_harness-0.1.0/src/iris_harness/services/digest/expiry.py +540 -0
  711. iris_harness-0.1.0/src/iris_harness/services/digest/footer.py +63 -0
  712. iris_harness-0.1.0/src/iris_harness/services/digest/learned.py +179 -0
  713. iris_harness-0.1.0/src/iris_harness/services/digest/run_first.py +175 -0
  714. iris_harness-0.1.0/src/iris_harness/services/digest/settings.py +1152 -0
  715. iris_harness-0.1.0/src/iris_harness/services/digests/__init__.py +22 -0
  716. iris_harness-0.1.0/src/iris_harness/services/digests/store.py +235 -0
  717. iris_harness-0.1.0/src/iris_harness/services/docs_search/__init__.py +18 -0
  718. iris_harness-0.1.0/src/iris_harness/services/docs_search/corpus.py +611 -0
  719. iris_harness-0.1.0/src/iris_harness/services/docs_search/search.py +180 -0
  720. iris_harness-0.1.0/src/iris_harness/services/health/__init__.py +56 -0
  721. iris_harness-0.1.0/src/iris_harness/services/health/checks.py +470 -0
  722. iris_harness-0.1.0/src/iris_harness/services/health/credentials.py +158 -0
  723. iris_harness-0.1.0/src/iris_harness/services/health/governance.py +155 -0
  724. iris_harness-0.1.0/src/iris_harness/services/health/heartbeat.py +78 -0
  725. iris_harness-0.1.0/src/iris_harness/services/health/incidents.py +203 -0
  726. iris_harness-0.1.0/src/iris_harness/services/health/jobs.py +154 -0
  727. iris_harness-0.1.0/src/iris_harness/services/health/models.py +170 -0
  728. iris_harness-0.1.0/src/iris_harness/services/health/pending_actions.py +79 -0
  729. iris_harness-0.1.0/src/iris_harness/services/health/repair.py +198 -0
  730. iris_harness-0.1.0/src/iris_harness/services/health/service.py +153 -0
  731. iris_harness-0.1.0/src/iris_harness/services/health/skills.py +52 -0
  732. iris_harness-0.1.0/src/iris_harness/services/health/watch.py +499 -0
  733. iris_harness-0.1.0/src/iris_harness/services/health/watch_edits.py +121 -0
  734. iris_harness-0.1.0/src/iris_harness/services/heartbeat/__init__.py +17 -0
  735. iris_harness-0.1.0/src/iris_harness/services/heartbeat/config.py +109 -0
  736. iris_harness-0.1.0/src/iris_harness/services/heartbeat/diagnostics.py +206 -0
  737. iris_harness-0.1.0/src/iris_harness/services/heartbeat/models.py +69 -0
  738. iris_harness-0.1.0/src/iris_harness/services/heartbeat/run_store.py +360 -0
  739. iris_harness-0.1.0/src/iris_harness/services/heartbeat/schedule_text.py +118 -0
  740. iris_harness-0.1.0/src/iris_harness/services/heartbeat/scheduler.py +715 -0
  741. iris_harness-0.1.0/src/iris_harness/services/heartbeat/slots.py +358 -0
  742. iris_harness-0.1.0/src/iris_harness/services/learning/__init__.py +40 -0
  743. iris_harness-0.1.0/src/iris_harness/services/learning/analyst.py +383 -0
  744. iris_harness-0.1.0/src/iris_harness/services/learning/behavior_miner.py +198 -0
  745. iris_harness-0.1.0/src/iris_harness/services/learning/crystallizer.py +337 -0
  746. iris_harness-0.1.0/src/iris_harness/services/learning/dedup.py +67 -0
  747. iris_harness-0.1.0/src/iris_harness/services/learning/engine.py +215 -0
  748. iris_harness-0.1.0/src/iris_harness/services/learning/escalation_priors.py +78 -0
  749. iris_harness-0.1.0/src/iris_harness/services/learning/eval_adapter.py +118 -0
  750. iris_harness-0.1.0/src/iris_harness/services/learning/eval_docker.py +191 -0
  751. iris_harness-0.1.0/src/iris_harness/services/learning/eval_harness.py +275 -0
  752. iris_harness-0.1.0/src/iris_harness/services/learning/eval_preflight.py +107 -0
  753. iris_harness-0.1.0/src/iris_harness/services/learning/eval_replay_cli.py +153 -0
  754. iris_harness-0.1.0/src/iris_harness/services/learning/eval_runtime.py +63 -0
  755. iris_harness-0.1.0/src/iris_harness/services/learning/eval_workload.py +109 -0
  756. iris_harness-0.1.0/src/iris_harness/services/learning/experiment_loop.py +148 -0
  757. iris_harness-0.1.0/src/iris_harness/services/learning/intelligence.py +379 -0
  758. iris_harness-0.1.0/src/iris_harness/services/learning/intention_rollup.py +141 -0
  759. iris_harness-0.1.0/src/iris_harness/services/learning/lesson_capture.py +334 -0
  760. iris_harness-0.1.0/src/iris_harness/services/learning/metrics.py +25 -0
  761. iris_harness-0.1.0/src/iris_harness/services/learning/models.py +60 -0
  762. iris_harness-0.1.0/src/iris_harness/services/learning/preflight.py +252 -0
  763. iris_harness-0.1.0/src/iris_harness/services/learning/promote.py +203 -0
  764. iris_harness-0.1.0/src/iris_harness/services/learning/proposal_quality.py +79 -0
  765. iris_harness-0.1.0/src/iris_harness/services/learning/retriever.py +148 -0
  766. iris_harness-0.1.0/src/iris_harness/services/learning/signals.py +285 -0
  767. iris_harness-0.1.0/src/iris_harness/services/learning/store.py +791 -0
  768. iris_harness-0.1.0/src/iris_harness/services/learning/strategies.py +106 -0
  769. iris_harness-0.1.0/src/iris_harness/services/learning/suppression.py +528 -0
  770. iris_harness-0.1.0/src/iris_harness/services/missions/__init__.py +15 -0
  771. iris_harness-0.1.0/src/iris_harness/services/missions/engine.py +144 -0
  772. iris_harness-0.1.0/src/iris_harness/services/missions/handlers.py +47 -0
  773. iris_harness-0.1.0/src/iris_harness/services/missions/models.py +70 -0
  774. iris_harness-0.1.0/src/iris_harness/services/missions/proposer.py +82 -0
  775. iris_harness-0.1.0/src/iris_harness/services/missions/store.py +169 -0
  776. iris_harness-0.1.0/src/iris_harness/services/notifications/__init__.py +45 -0
  777. iris_harness-0.1.0/src/iris_harness/services/notifications/bills.py +325 -0
  778. iris_harness-0.1.0/src/iris_harness/services/notifications/channels.py +364 -0
  779. iris_harness-0.1.0/src/iris_harness/services/notifications/events.py +112 -0
  780. iris_harness-0.1.0/src/iris_harness/services/notifications/health.py +52 -0
  781. iris_harness-0.1.0/src/iris_harness/services/notifications/models.py +76 -0
  782. iris_harness-0.1.0/src/iris_harness/services/notifications/recurrence.py +150 -0
  783. iris_harness-0.1.0/src/iris_harness/services/notifications/snooze.py +322 -0
  784. iris_harness-0.1.0/src/iris_harness/services/notifications/store.py +971 -0
  785. iris_harness-0.1.0/src/iris_harness/services/notifications/targets.py +64 -0
  786. iris_harness-0.1.0/src/iris_harness/services/rag/__init__.py +55 -0
  787. iris_harness-0.1.0/src/iris_harness/services/rag/chunker.py +71 -0
  788. iris_harness-0.1.0/src/iris_harness/services/rag/documents.py +135 -0
  789. iris_harness-0.1.0/src/iris_harness/services/rag/index.py +270 -0
  790. iris_harness-0.1.0/src/iris_harness/services/rag/ingest.py +543 -0
  791. iris_harness-0.1.0/src/iris_harness/services/rag/ingest_gate.py +162 -0
  792. iris_harness-0.1.0/src/iris_harness/services/rag/ingest_source.py +153 -0
  793. iris_harness-0.1.0/src/iris_harness/services/rag/loaders.py +77 -0
  794. iris_harness-0.1.0/src/iris_harness/services/rag/models.py +122 -0
  795. iris_harness-0.1.0/src/iris_harness/services/rag/obsidian.py +120 -0
  796. iris_harness-0.1.0/src/iris_harness/services/rag/ocr.py +55 -0
  797. iris_harness-0.1.0/src/iris_harness/services/rag/qa.py +113 -0
  798. iris_harness-0.1.0/src/iris_harness/services/rag/retrieve.py +96 -0
  799. iris_harness-0.1.0/src/iris_harness/services/rag/sensitivity.py +102 -0
  800. iris_harness-0.1.0/src/iris_harness/services/rag/store.py +326 -0
  801. iris_harness-0.1.0/src/iris_harness/services/research/__init__.py +7 -0
  802. iris_harness-0.1.0/src/iris_harness/services/research/providers.py +345 -0
  803. iris_harness-0.1.0/src/iris_harness/services/routines/__init__.py +81 -0
  804. iris_harness-0.1.0/src/iris_harness/services/routines/authoring.py +1489 -0
  805. iris_harness-0.1.0/src/iris_harness/services/routines/models.py +290 -0
  806. iris_harness-0.1.0/src/iris_harness/services/routines/reflection.py +117 -0
  807. iris_harness-0.1.0/src/iris_harness/services/routines/seeded.py +172 -0
  808. iris_harness-0.1.0/src/iris_harness/services/routines/store.py +569 -0
  809. iris_harness-0.1.0/src/iris_harness/services/system/__init__.py +26 -0
  810. iris_harness-0.1.0/src/iris_harness/services/system/doctor.py +809 -0
  811. iris_harness-0.1.0/src/iris_harness/services/system/inventory.py +126 -0
  812. iris_harness-0.1.0/src/iris_harness/services/system/setup_state.py +163 -0
  813. iris_harness-0.1.0/src/iris_harness/services/system/status.py +185 -0
  814. iris_harness-0.1.0/src/iris_harness/services/system/telegram_pairing.py +101 -0
  815. iris_harness-0.1.0/src/iris_harness/services/tasks/__init__.py +96 -0
  816. iris_harness-0.1.0/src/iris_harness/services/tasks/brief_view.py +96 -0
  817. iris_harness-0.1.0/src/iris_harness/services/tasks/events.py +103 -0
  818. iris_harness-0.1.0/src/iris_harness/services/tasks/models.py +258 -0
  819. iris_harness-0.1.0/src/iris_harness/services/tasks/pending_actions.py +305 -0
  820. iris_harness-0.1.0/src/iris_harness/services/tasks/store.py +568 -0
  821. iris_harness-0.1.0/src/iris_harness/testing/__init__.py +245 -0
  822. iris_harness-0.1.0/src/iris_harness/testing/conformance.py +520 -0
  823. iris_harness-0.1.0/src/iris_harness/testing/harness.py +618 -0
  824. iris_harness-0.1.0/src/iris_harness/testing/network_imports.py +177 -0
  825. iris_harness-0.1.0/src/iris_harness/testing/proof_bundle.py +50 -0
  826. iris_harness-0.1.0/src/iris_harness/testing/stable.py +185 -0
  827. iris_harness-0.1.0/src/iris_harness/tools/__init__.py +33 -0
  828. iris_harness-0.1.0/src/iris_harness/tools/mcp/__init__.py +18 -0
  829. iris_harness-0.1.0/src/iris_harness/tools/mcp/server.py +270 -0
  830. iris_harness-0.1.0/src/iris_harness/tools/mcp_bridge.py +1267 -0
  831. iris_harness-0.1.0/src/iris_harness/tools/propose_skill_from_sandbox.py +127 -0
  832. iris_harness-0.1.0/src/iris_harness/tools/sandbox/Dockerfile +42 -0
  833. iris_harness-0.1.0/src/iris_harness/tools/sandbox/Dockerfile.eval +47 -0
  834. iris_harness-0.1.0/src/iris_harness/tools/sandbox/__init__.py +55 -0
  835. iris_harness-0.1.0/src/iris_harness/tools/sandbox/config.py +60 -0
  836. iris_harness-0.1.0/src/iris_harness/tools/sandbox/docker_sandbox.py +302 -0
  837. iris_harness-0.1.0/src/iris_harness/tools/sandbox/egress.py +192 -0
  838. iris_harness-0.1.0/src/iris_harness/tools/sandbox/egress_proxy.py +181 -0
  839. iris_harness-0.1.0/src/iris_harness/tools/sandbox/exceptions.py +19 -0
  840. iris_harness-0.1.0/src/iris_harness/tools/sandbox/models.py +42 -0
  841. iris_harness-0.1.0/src/iris_harness/tools/sandbox/runtime.py +161 -0
  842. iris_harness-0.1.0/src/iris_harness/tools/sandbox/workspace.py +46 -0
  843. iris_harness-0.1.0/src/iris_harness/tools/sandbox_tools.py +156 -0
  844. iris_harness-0.1.0/src/iris_harness/tools/skills/__init__.py +41 -0
  845. iris_harness-0.1.0/src/iris_harness/tools/skills/hot_reload.py +100 -0
  846. iris_harness-0.1.0/src/iris_harness/tools/skills/loader.py +455 -0
  847. iris_harness-0.1.0/src/iris_harness/tools/skills/models.py +409 -0
  848. iris_harness-0.1.0/src/iris_harness/tools/skills/registry.py +166 -0
  849. iris_harness-0.1.0/src/iris_harness/tools/skills/semantic_router.py +147 -0
  850. iris_harness-0.1.0/src/iris_harness/tools/skills/skill_synthesizer.py +139 -0
  851. iris_harness-0.1.0/src/iris_harness/tools/stock_quote.py +126 -0
  852. iris_harness-0.1.0/src/iris_personal/__init__.py +10 -0
  853. iris_harness-0.1.0/src/iris_personal/connections/__init__.py +7 -0
  854. iris_harness-0.1.0/src/iris_personal/connections/google.py +911 -0
  855. iris_harness-0.1.0/src/iris_personal/connections/google_routes.py +102 -0
  856. iris_harness-0.1.0/src/iris_personal/email/__init__.py +27 -0
  857. iris_harness-0.1.0/src/iris_personal/email/accounts.py +335 -0
  858. iris_harness-0.1.0/src/iris_personal/email/agent_tools.py +1277 -0
  859. iris_harness-0.1.0/src/iris_personal/email/analysis.py +152 -0
  860. iris_harness-0.1.0/src/iris_personal/email/categories.py +160 -0
  861. iris_harness-0.1.0/src/iris_personal/email/category_store.py +528 -0
  862. iris_harness-0.1.0/src/iris_personal/email/contracts.py +153 -0
  863. iris_harness-0.1.0/src/iris_personal/email/digest.py +186 -0
  864. iris_harness-0.1.0/src/iris_personal/email/events.py +75 -0
  865. iris_harness-0.1.0/src/iris_personal/email/feedback_keys.py +78 -0
  866. iris_harness-0.1.0/src/iris_personal/email/provider_api.py +133 -0
  867. iris_harness-0.1.0/src/iris_personal/email/providers.py +321 -0
  868. iris_harness-0.1.0/src/iris_personal/email/semantic_index.py +406 -0
  869. iris_harness-0.1.0/src/iris_personal/email/send_tools.py +291 -0
  870. iris_harness-0.1.0/src/iris_personal/email/store.py +1215 -0
  871. iris_harness-0.1.0/src/iris_personal/email/sweep.py +200 -0
  872. iris_harness-0.1.0/src/iris_personal/email/sweep_gate.py +157 -0
  873. iris_harness-0.1.0/src/iris_personal/email/trash_tools.py +375 -0
  874. iris_harness-0.1.0/src/iris_personal/email/write_approvals.py +320 -0
  875. iris_harness-0.1.0/src/iris_personal/plugins/__init__.py +7 -0
  876. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/__init__.py +8 -0
  877. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/agent.py +407 -0
  878. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/cli.py +1692 -0
  879. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/cli_setup.py +283 -0
  880. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/cli_writes.py +190 -0
  881. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/demo/__init__.py +10 -0
  882. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/demo/corpus.json +3819 -0
  883. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/demo/corpus.py +871 -0
  884. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/demo/fake_model.yaml +112 -0
  885. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/demo/home.py +144 -0
  886. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/demo/provider.py +330 -0
  887. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/demo/run.py +416 -0
  888. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/digest_focus.py +181 -0
  889. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/discovery.py +673 -0
  890. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/first_digest.py +112 -0
  891. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/followup.py +507 -0
  892. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/holdout.py +216 -0
  893. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/inbox_mix.py +88 -0
  894. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/job_watch.py +300 -0
  895. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/job_watch.yaml +46 -0
  896. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/judge.py +668 -0
  897. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/judge.yaml +228 -0
  898. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/judge_api.py +174 -0
  899. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/judge_cards.py +241 -0
  900. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/judge_chat.py +269 -0
  901. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/judge_config.py +185 -0
  902. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/judge_corrections.py +59 -0
  903. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/judge_digest.py +191 -0
  904. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/judge_labels.py +288 -0
  905. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/judge_surfaces.py +106 -0
  906. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/judge_view.py +119 -0
  907. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/judge_wiring.py +235 -0
  908. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/judge_words.py +153 -0
  909. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/judgments.py +354 -0
  910. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/knn_gate.py +503 -0
  911. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/manifest.yaml +198 -0
  912. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/map_exclusions.py +123 -0
  913. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/memory_map.yaml +18 -0
  914. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/onboarding.py +1843 -0
  915. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/onboarding.yaml +65 -0
  916. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/onboarding_api.py +221 -0
  917. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/plugin.py +178 -0
  918. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/semantic_heartbeat.py +76 -0
  919. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/sweep_health.py +55 -0
  920. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/tools.py +52 -0
  921. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/triage.py +797 -0
  922. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/wiki_ingestion.py +111 -0
  923. iris_harness-0.1.0/src/iris_personal/plugins/email_workflows/writes_health.py +64 -0
  924. iris_harness-0.1.0/src/iris_personal/plugins/gmail/__init__.py +6 -0
  925. iris_harness-0.1.0/src/iris_personal/plugins/gmail/cli.py +198 -0
  926. iris_harness-0.1.0/src/iris_personal/plugins/gmail/gmail_attachments.py +157 -0
  927. iris_harness-0.1.0/src/iris_personal/plugins/gmail/gmail_fetch.py +858 -0
  928. iris_harness-0.1.0/src/iris_personal/plugins/gmail/gmail_oauth.py +252 -0
  929. iris_harness-0.1.0/src/iris_personal/plugins/gmail/manifest.yaml +40 -0
  930. iris_harness-0.1.0/src/iris_personal/plugins/gmail/plugin.py +94 -0
  931. iris_harness-0.1.0/src/iris_personal/plugins/gmail/provider.py +195 -0
  932. iris_harness-0.1.0/src/iris_personal/plugins/gmail/vendor_categories.py +55 -0
  933. iris_harness-0.1.0/src/iris_personal/plugins/gmail/vendor_categories.yaml +16 -0
  934. iris_harness-0.1.0/src/iris_personal/plugins/imap/__init__.py +7 -0
  935. iris_harness-0.1.0/src/iris_personal/plugins/imap/account.py +156 -0
  936. iris_harness-0.1.0/src/iris_personal/plugins/imap/cli.py +261 -0
  937. iris_harness-0.1.0/src/iris_personal/plugins/imap/connection.py +412 -0
  938. iris_harness-0.1.0/src/iris_personal/plugins/imap/health.py +102 -0
  939. iris_harness-0.1.0/src/iris_personal/plugins/imap/keywords.py +75 -0
  940. iris_harness-0.1.0/src/iris_personal/plugins/imap/manifest.yaml +22 -0
  941. iris_harness-0.1.0/src/iris_personal/plugins/imap/mime.py +239 -0
  942. iris_harness-0.1.0/src/iris_personal/plugins/imap/plugin.py +42 -0
  943. iris_harness-0.1.0/src/iris_personal/plugins/imap/provider.py +661 -0
  944. iris_harness-0.1.0/src/iris_personal/plugins/imap/state.py +259 -0
  945. iris_harness-0.1.0/src/iris_personal/py.typed +0 -0
  946. iris_harness-0.1.0/src/memris/__init__.py +42 -0
  947. iris_harness-0.1.0/src/memris/graph.py +978 -0
  948. iris_harness-0.1.0/src/memris/interchange/__init__.py +48 -0
  949. iris_harness-0.1.0/src/memris/interchange/__main__.py +55 -0
  950. iris_harness-0.1.0/src/memris/interchange/jsonld.py +474 -0
  951. iris_harness-0.1.0/src/memris/interchange/mapping.py +258 -0
  952. iris_harness-0.1.0/src/memris/learn.py +230 -0
  953. iris_harness-0.1.0/src/memris/model/__init__.py +208 -0
  954. iris_harness-0.1.0/src/memris/ontology/__init__.py +52 -0
  955. iris_harness-0.1.0/src/memris/ontology/__main__.py +34 -0
  956. iris_harness-0.1.0/src/memris/ontology/compiler.py +761 -0
  957. iris_harness-0.1.0/src/memris/ontology/learned.py +96 -0
  958. iris_harness-0.1.0/src/memris/ontology/loader.py +238 -0
  959. iris_harness-0.1.0/src/memris/ontology/spec.py +141 -0
  960. iris_harness-0.1.0/src/memris/resolve.py +169 -0
  961. iris_harness-0.1.0/src/memris/store/__init__.py +107 -0
  962. iris_harness-0.1.0/src/memris/store/memory.py +121 -0
  963. iris_harness-0.1.0/src/memris/store/sqlite.py +646 -0
@@ -0,0 +1,190 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work.
39
+
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 IRIS Development Team
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.
@@ -0,0 +1,249 @@
1
+ Metadata-Version: 2.4
2
+ Name: iris-harness
3
+ Version: 0.1.0
4
+ Summary: IRIS - Intelligent Reasoning & Integration System: Privacy-first agentic AI assistant with local-first LLM orchestration
5
+ License: Apache-2.0
6
+ License-File: LICENSE
7
+ Keywords: ai,llm,assistant,privacy,agentic,langchain,langgraph,ollama,local-first,react-loop
8
+ Author: IRIS Development Team
9
+ Requires-Python: >=3.12,<3.14
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Environment :: Console
12
+ Classifier: Environment :: Web Environment
13
+ Classifier: Intended Audience :: End Users/Desktop
14
+ Classifier: License :: OSI Approved :: Apache Software License
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Topic :: Communications :: Email
20
+ Classifier: Topic :: Office/Business :: Scheduling
21
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
22
+ Provides-Extra: all
23
+ Provides-Extra: email
24
+ Provides-Extra: ml
25
+ Requires-Dist: apscheduler (>=3.10.0,<4.0.0)
26
+ Requires-Dist: beautifulsoup4 (>=4.12,<5.0)
27
+ Requires-Dist: chromadb (>=0.5.0)
28
+ Requires-Dist: cryptography (>=43,<51)
29
+ Requires-Dist: ddgs (>=9.14,<10.0)
30
+ Requires-Dist: duckdb (>=1.1,<2)
31
+ Requires-Dist: fastapi (>=0.109,<1)
32
+ Requires-Dist: google-api-python-client (>=2.0,<3.0) ; extra == "email" or extra == "all"
33
+ Requires-Dist: google-auth (>=2.0,<3.0) ; extra == "email" or extra == "all"
34
+ Requires-Dist: google-auth-oauthlib (>=1.0,<2.0) ; extra == "email" or extra == "all"
35
+ Requires-Dist: httpcore (>=1,<2)
36
+ Requires-Dist: httpx (>=0.27,<1)
37
+ Requires-Dist: keyring (>=25.0.0,<26.0.0)
38
+ Requires-Dist: langchain-core (>=1.6,<2.0)
39
+ Requires-Dist: langchain-ollama (>=1.1,<2.0)
40
+ Requires-Dist: langchain-openai (>=1.6,<2.0)
41
+ Requires-Dist: numpy (>=1.26)
42
+ Requires-Dist: openinference-instrumentation-langchain (>=0.1.0)
43
+ Requires-Dist: opentelemetry-api (>=1.20.0)
44
+ Requires-Dist: opentelemetry-exporter-otlp (>=1.20.0)
45
+ Requires-Dist: opentelemetry-instrumentation-httpx (>=0.62b1)
46
+ Requires-Dist: opentelemetry-sdk (>=1.20.0)
47
+ Requires-Dist: pillow (>=12.1.0,<13.0.0)
48
+ Requires-Dist: prompt_toolkit (>=3.0)
49
+ Requires-Dist: psutil (>=6.0.0,<7.0.0)
50
+ Requires-Dist: pyarrow (>=15.0)
51
+ Requires-Dist: pydantic (>=2.0,<3.0)
52
+ Requires-Dist: pyjwt (>=2.13,<3.0)
53
+ Requires-Dist: pypdfium2 (>=5.9.0,<6.0.0)
54
+ Requires-Dist: pytesseract (>=0.3.13,<0.4.0)
55
+ Requires-Dist: python-dotenv (>=1.2.1,<2.0.0)
56
+ Requires-Dist: python-multipart (>=0.0.31)
57
+ Requires-Dist: pyyaml (>=6.0,<7.0)
58
+ Requires-Dist: scikit-learn (>=1.3) ; extra == "email" or extra == "all"
59
+ Requires-Dist: sentence-transformers (>=5.5.1,<6.0.0) ; extra == "ml" or extra == "all"
60
+ Requires-Dist: starlette (>=1.3.1,<2)
61
+ Requires-Dist: trafilatura (>=2.1.0,<3.0.0)
62
+ Requires-Dist: uvicorn (>=0.27,<1)
63
+ Requires-Dist: watchdog (>=4.0.0,<5.0.0)
64
+ Project-URL: Bug Tracker, https://github.com/evarness-ai/iris-harness/issues
65
+ Project-URL: Changelog, https://github.com/evarness-ai/iris-harness/blob/main/CHANGELOG.md
66
+ Project-URL: Documentation, https://github.com/evarness-ai/iris-harness/blob/main/README.md
67
+ Project-URL: Homepage, https://github.com/evarness-ai/iris-harness
68
+ Project-URL: Repository, https://github.com/evarness-ai/iris-harness
69
+ Description-Content-Type: text/markdown
70
+
71
+ # IRIS
72
+
73
+ **The governed agent harness for small local models.**
74
+
75
+ IRIS runs an agent loop (classify, plan, act with tools, curate the answer) on models
76
+ that fit on a laptop. Every model call and every tool call passes through a governance
77
+ kernel you cannot unplug, and a turn that can be answered exactly is answered with no
78
+ model at all. Everything outside the loop and the kernel is a plugin, written against a
79
+ small, stable SDK.
80
+
81
+ The proof is the email assistant that ships with it: a private inbox assistant that
82
+ reads, sorts and labels your mail on a local model, writes nothing until you approve it,
83
+ and leaves an audit row for every call.
84
+
85
+ Documentation: **https://evarness-ai.github.io/iris-harness/**
86
+
87
+ ## Try it in three minutes
88
+
89
+ You need [uv](https://docs.astral.sh/uv/) or [pipx](https://pipx.pypa.io/); neither ships with Python, and `pip install uv` is the shortest route ([details](https://evarness-ai.github.io/iris-harness/getting-started/install/)).
90
+
91
+ ```bash
92
+ uv tool install "iris-harness[email]" # or: pipx install "iris-harness[email]"
93
+ iris doctor # can IRIS run here, and what to fix
94
+ iris email demo # a synthetic mailbox, a scripted model, no network
95
+ iris email setup # then your own mailbox (IMAP or Gmail), step by step
96
+ ```
97
+
98
+ If `iris` is not found after installing, add `~/.local/bin` to your PATH: run `uv tool update-shell` (or `pipx ensurepath`) and open a new terminal.
99
+
100
+ `iris email demo` needs no account, no credentials and no model server. It fetches a
101
+ 200-message synthetic mailbox, sorts it, previews and writes labels, prints a first
102
+ digest, and ends with what it did, audit rows included. For your own mail you need
103
+ [Ollama](https://ollama.com/download) and 16 GB of RAM; `iris doctor --fix` pulls the
104
+ starter model. Step by step: [Getting started](https://evarness-ai.github.io/iris-harness/getting-started/install/);
105
+ if something does not work, see the [common setup gotchas](https://evarness-ai.github.io/iris-harness/guides/setup-gotchas/).
106
+
107
+ ## Build on it
108
+
109
+ A plugin is a package with a `manifest.yaml` and a `setup(api)`. Scaffold one, with a
110
+ test that passes offline, by kind:
111
+
112
+ ```bash
113
+ iris plugins new weather-now --kind tool # or channel, mail-provider, research-provider, skill
114
+ cd weather-now && pip install -e ".[test]" && pytest
115
+ ```
116
+
117
+ Through `PluginAPI` a plugin registers deterministic handlers, tools, agents, scheduled
118
+ jobs, channels and approval executors. Each lands on the same machinery the core uses,
119
+ so the same governance applies, with no side door. `iris_harness.testing` runs your
120
+ plugin inside a real governed IRIS in your test, on a scripted model, and lets you
121
+ assert on the audit ledger.
122
+
123
+ | Use case | What IRIS gives you |
124
+ |---|---|
125
+ | **A private email assistant** | Triage, a daily digest and labels on a local model. Personal data never reaches a cloud model; nothing changes in your mailbox until you approve it, once per account. |
126
+ | **Your own domain agent** | Tools, deterministic handlers and an agent on the governed loop ([`examples/05-your-own-agent`](examples/05-your-own-agent/)). |
127
+ | **Proactive routines** | Scheduled jobs that deliver to a channel: Telegram, web push, the web console ([`examples/04-routine-to-telegram`](examples/04-routine-to-telegram/)). |
128
+ | **Governed research** | One `research` tool over a provider chain (SearXNG, Tavily, Brave, DuckDuckGo), cached and reranked, behind the egress gate. |
129
+ | **Safe code execution** | A bounded model-to-sandbox loop that runs shell commands in a container. |
130
+
131
+ Nine runnable examples, each tested in CI, are in [`examples/`](examples/README.md).
132
+ What a plugin may import, and the deprecation rule that protects it, is the
133
+ [stable API](docs/reference/stable-api.md).
134
+
135
+ ## Why a harness
136
+
137
+ - **Determinism is a primitive.** On one grounded action, a 7B model called the right
138
+ tool 25% of the time and a 35B model 0%; a deterministic handler did it 100% of the
139
+ time. A plugin can claim the turns it can answer exactly, and IRIS governs those
140
+ answers like generated ones: the input screen before, the model-free response checks
141
+ after, an audit row marked `deterministic`.
142
+ - **Governance is a passage, not a filter.** Data is classified before it moves.
143
+ Personal and secret data stays on local models. Secrets reach tools as vault handles,
144
+ never as prompt text. Writes ask once; destructive actions wait for your approval.
145
+ - **Every call is audited.** Each model call, tool call and answer writes a ledger row.
146
+ A [proof bundle](docs/reference/proof-bundle.md) lets a CI job verify the email
147
+ assistant's invariants offline: no personal data to a cloud model, no mailbox write
148
+ without an approval, every call and answer audited. Check them yourself:
149
+
150
+ ```bash
151
+ iris governance proof-bundle export --out bundle.json
152
+ iris governance proof-bundle verify bundle.json # exit 0 verified, 1 a violation
153
+ ```
154
+ - **The model-free guards hold.** In an adversarial battery of 14 probes against the
155
+ full guard stack, 11 were fully defended; the misses were in model-based judges, and
156
+ the deterministic guards held. Since then every answer, generated or not, passes the
157
+ model-free guards.
158
+
159
+ ## See every decision
160
+
161
+ The web console shows the ledger. Governance has the kernel's posture and the proof
162
+ bundle's invariants, checked against the audit rows; Call trace has each turn as a graph,
163
+ with the governance decision at every hook. Both are from `iris email demo`:
164
+
165
+ <picture>
166
+ <source media="(prefers-color-scheme: dark)" srcset="https://github.com/evarness-ai/iris-harness/raw/main/docs/assets/screenshots/governance-dark.webp">
167
+ <img alt="The Governance screen after the email demo: the kernel's protections, mostly on, over the run's audit entries, and the proof bundle verified, with no-private-to-cloud and mailbox-write-approved holding." src="https://github.com/evarness-ai/iris-harness/raw/main/docs/assets/screenshots/governance-light.webp" width="800">
168
+ </picture>
169
+
170
+ <picture>
171
+ <source media="(prefers-color-scheme: dark)" srcset="https://github.com/evarness-ai/iris-harness/raw/main/docs/assets/screenshots/call-trace-dark.webp">
172
+ <img alt="The Call trace of the first-chat welcome turn: four steps, no model call, with the pre_response guard's allow decision open in the detail panel." src="https://github.com/evarness-ai/iris-harness/raw/main/docs/assets/screenshots/call-trace-light.webp" width="800">
173
+ </picture>
174
+
175
+ ## What ships
176
+
177
+ | Part | Where |
178
+ |---|---|
179
+ | The agentic core: router, planner, ReAct loop, executor, curator, with tiered model routing (a router model, local tiers on Ollama or LM Studio, an opt-in cloud tier) | `src/iris_harness/agent/`, `config/llm_tiers.yaml` |
180
+ | The governance kernel: classification, the egress gate, a Fernet vault, tool policy, approvals, an out-of-process evaluator, the audit ledger | `src/iris_harness/kernel/governance/` |
181
+ | The plugin SDK and host | `src/iris_harness/sdk/`, `src/iris_harness/runtime/plugin_host/` |
182
+ | Reference plugins: `system`, `research`, `code_exec`, and the Telegram, web and web-push channels | `src/iris_harness/plugins_builtin/` |
183
+ | The email assistant: the mail record and the `gmail`, `imap` and `email_workflows` plugins | `src/iris_personal/` |
184
+ | **memris**, the memory graph: claims with provenance | `src/memris/` |
185
+ | Four services: the IRIS API (chat, the MCP server, the web console; 8003), the Governor (8080), the evaluator (8090), the channel gateway (8006) | `src/iris_harness/server/` |
186
+ | The web console (React), built into the released package | `webui/` |
187
+
188
+ IRIS runs on macOS (Apple Silicon) and Linux; on Windows, use WSL2. It collects no
189
+ telemetry. It is pre-1.0: the stable API changes only after a deprecation cycle, and
190
+ everything else may change in any release.
191
+
192
+ ## Run the services
193
+
194
+ The scheduled jobs (the email sweep and judge) and the web console run in the IRIS API.
195
+ [Run with Docker](https://evarness-ai.github.io/iris-harness/guides/docker/) keeps it
196
+ up as a service:
197
+
198
+ ```bash
199
+ export IRIS_AUTH_SECRET="$(openssl rand -hex 32)"
200
+ docker compose up # Ollama, the Governor and the IRIS API, on 127.0.0.1 only
201
+ ```
202
+
203
+ The [email assistant guide](https://evarness-ai.github.io/iris-harness/guides/email/)
204
+ shows how to run the API from an install and pair the web console.
205
+
206
+ ## Contributing
207
+
208
+ Plugins are the contribution unit. This is the shortest path from a clone to a change you
209
+ can check. You need Python 3.12 or 3.13 (`.python-version` pins 3.12) and
210
+ [Poetry](https://python-poetry.org/) 2.x.
211
+
212
+ ```bash
213
+ git clone https://github.com/evarness-ai/iris-harness.git && cd iris-harness
214
+ poetry install --with dev --extras email
215
+ poetry run iris email demo # the whole stack from source: no account, no model server
216
+ ```
217
+
218
+ Tests need two environment variables, and run on the narrowest path that covers your
219
+ change:
220
+
221
+ ```bash
222
+ export IRIS_AUTH_SECRET="test-secret-for-testing" IRIS_DISABLE_WARMUP=1
223
+ poetry run pytest tests/unit/<the path you changed>
224
+ ```
225
+
226
+ Before you push, run the local gate: `scripts/ci_local.sh --fast` while you iterate (ruff,
227
+ black, mypy, import contracts, the tests for what changed), and `scripts/ci_local.sh`
228
+ before a pull request (the full suite, a playground smoke run, the secret and PII scan).
229
+
230
+ Where to look first:
231
+
232
+ | You are changing | Start here |
233
+ |---|---|
234
+ | A plugin | `iris plugins new` (above), [`examples/`](examples/README.md), [stable API](docs/reference/stable-api.md) |
235
+ | The turn pipeline | `src/iris_harness/runtime/turn/` |
236
+ | Governance (classification, egress, approvals, audit) | `src/iris_harness/kernel/governance/` |
237
+ | The email assistant | `src/iris_personal/` |
238
+ | The web console | `webui/` |
239
+
240
+ Read [CONTRIBUTING.md](CONTRIBUTING.md) (the governance rules every change keeps, DCO
241
+ sign-off, the stable-tier rule) and the [code of conduct](CODE_OF_CONDUCT.md). Coding
242
+ agents: [AGENTS.md](AGENTS.md). Questions and ideas go to GitHub Discussions; bugs to
243
+ Issues. Report vulnerabilities privately as described in [SECURITY.md](SECURITY.md).
244
+ Changes are listed in [CHANGELOG.md](CHANGELOG.md).
245
+
246
+ ## License
247
+
248
+ Apache License 2.0; see [LICENSE](LICENSE). IRIS is, and will remain, Apache-2.0.
249
+
@@ -0,0 +1,178 @@
1
+ # IRIS
2
+
3
+ **The governed agent harness for small local models.**
4
+
5
+ IRIS runs an agent loop (classify, plan, act with tools, curate the answer) on models
6
+ that fit on a laptop. Every model call and every tool call passes through a governance
7
+ kernel you cannot unplug, and a turn that can be answered exactly is answered with no
8
+ model at all. Everything outside the loop and the kernel is a plugin, written against a
9
+ small, stable SDK.
10
+
11
+ The proof is the email assistant that ships with it: a private inbox assistant that
12
+ reads, sorts and labels your mail on a local model, writes nothing until you approve it,
13
+ and leaves an audit row for every call.
14
+
15
+ Documentation: **https://evarness-ai.github.io/iris-harness/**
16
+
17
+ ## Try it in three minutes
18
+
19
+ You need [uv](https://docs.astral.sh/uv/) or [pipx](https://pipx.pypa.io/); neither ships with Python, and `pip install uv` is the shortest route ([details](https://evarness-ai.github.io/iris-harness/getting-started/install/)).
20
+
21
+ ```bash
22
+ uv tool install "iris-harness[email]" # or: pipx install "iris-harness[email]"
23
+ iris doctor # can IRIS run here, and what to fix
24
+ iris email demo # a synthetic mailbox, a scripted model, no network
25
+ iris email setup # then your own mailbox (IMAP or Gmail), step by step
26
+ ```
27
+
28
+ If `iris` is not found after installing, add `~/.local/bin` to your PATH: run `uv tool update-shell` (or `pipx ensurepath`) and open a new terminal.
29
+
30
+ `iris email demo` needs no account, no credentials and no model server. It fetches a
31
+ 200-message synthetic mailbox, sorts it, previews and writes labels, prints a first
32
+ digest, and ends with what it did, audit rows included. For your own mail you need
33
+ [Ollama](https://ollama.com/download) and 16 GB of RAM; `iris doctor --fix` pulls the
34
+ starter model. Step by step: [Getting started](https://evarness-ai.github.io/iris-harness/getting-started/install/);
35
+ if something does not work, see the [common setup gotchas](https://evarness-ai.github.io/iris-harness/guides/setup-gotchas/).
36
+
37
+ ## Build on it
38
+
39
+ A plugin is a package with a `manifest.yaml` and a `setup(api)`. Scaffold one, with a
40
+ test that passes offline, by kind:
41
+
42
+ ```bash
43
+ iris plugins new weather-now --kind tool # or channel, mail-provider, research-provider, skill
44
+ cd weather-now && pip install -e ".[test]" && pytest
45
+ ```
46
+
47
+ Through `PluginAPI` a plugin registers deterministic handlers, tools, agents, scheduled
48
+ jobs, channels and approval executors. Each lands on the same machinery the core uses,
49
+ so the same governance applies, with no side door. `iris_harness.testing` runs your
50
+ plugin inside a real governed IRIS in your test, on a scripted model, and lets you
51
+ assert on the audit ledger.
52
+
53
+ | Use case | What IRIS gives you |
54
+ |---|---|
55
+ | **A private email assistant** | Triage, a daily digest and labels on a local model. Personal data never reaches a cloud model; nothing changes in your mailbox until you approve it, once per account. |
56
+ | **Your own domain agent** | Tools, deterministic handlers and an agent on the governed loop ([`examples/05-your-own-agent`](examples/05-your-own-agent/)). |
57
+ | **Proactive routines** | Scheduled jobs that deliver to a channel: Telegram, web push, the web console ([`examples/04-routine-to-telegram`](examples/04-routine-to-telegram/)). |
58
+ | **Governed research** | One `research` tool over a provider chain (SearXNG, Tavily, Brave, DuckDuckGo), cached and reranked, behind the egress gate. |
59
+ | **Safe code execution** | A bounded model-to-sandbox loop that runs shell commands in a container. |
60
+
61
+ Nine runnable examples, each tested in CI, are in [`examples/`](examples/README.md).
62
+ What a plugin may import, and the deprecation rule that protects it, is the
63
+ [stable API](docs/reference/stable-api.md).
64
+
65
+ ## Why a harness
66
+
67
+ - **Determinism is a primitive.** On one grounded action, a 7B model called the right
68
+ tool 25% of the time and a 35B model 0%; a deterministic handler did it 100% of the
69
+ time. A plugin can claim the turns it can answer exactly, and IRIS governs those
70
+ answers like generated ones: the input screen before, the model-free response checks
71
+ after, an audit row marked `deterministic`.
72
+ - **Governance is a passage, not a filter.** Data is classified before it moves.
73
+ Personal and secret data stays on local models. Secrets reach tools as vault handles,
74
+ never as prompt text. Writes ask once; destructive actions wait for your approval.
75
+ - **Every call is audited.** Each model call, tool call and answer writes a ledger row.
76
+ A [proof bundle](docs/reference/proof-bundle.md) lets a CI job verify the email
77
+ assistant's invariants offline: no personal data to a cloud model, no mailbox write
78
+ without an approval, every call and answer audited. Check them yourself:
79
+
80
+ ```bash
81
+ iris governance proof-bundle export --out bundle.json
82
+ iris governance proof-bundle verify bundle.json # exit 0 verified, 1 a violation
83
+ ```
84
+ - **The model-free guards hold.** In an adversarial battery of 14 probes against the
85
+ full guard stack, 11 were fully defended; the misses were in model-based judges, and
86
+ the deterministic guards held. Since then every answer, generated or not, passes the
87
+ model-free guards.
88
+
89
+ ## See every decision
90
+
91
+ The web console shows the ledger. Governance has the kernel's posture and the proof
92
+ bundle's invariants, checked against the audit rows; Call trace has each turn as a graph,
93
+ with the governance decision at every hook. Both are from `iris email demo`:
94
+
95
+ <picture>
96
+ <source media="(prefers-color-scheme: dark)" srcset="https://github.com/evarness-ai/iris-harness/raw/main/docs/assets/screenshots/governance-dark.webp">
97
+ <img alt="The Governance screen after the email demo: the kernel's protections, mostly on, over the run's audit entries, and the proof bundle verified, with no-private-to-cloud and mailbox-write-approved holding." src="https://github.com/evarness-ai/iris-harness/raw/main/docs/assets/screenshots/governance-light.webp" width="800">
98
+ </picture>
99
+
100
+ <picture>
101
+ <source media="(prefers-color-scheme: dark)" srcset="https://github.com/evarness-ai/iris-harness/raw/main/docs/assets/screenshots/call-trace-dark.webp">
102
+ <img alt="The Call trace of the first-chat welcome turn: four steps, no model call, with the pre_response guard's allow decision open in the detail panel." src="https://github.com/evarness-ai/iris-harness/raw/main/docs/assets/screenshots/call-trace-light.webp" width="800">
103
+ </picture>
104
+
105
+ ## What ships
106
+
107
+ | Part | Where |
108
+ |---|---|
109
+ | The agentic core: router, planner, ReAct loop, executor, curator, with tiered model routing (a router model, local tiers on Ollama or LM Studio, an opt-in cloud tier) | `src/iris_harness/agent/`, `config/llm_tiers.yaml` |
110
+ | The governance kernel: classification, the egress gate, a Fernet vault, tool policy, approvals, an out-of-process evaluator, the audit ledger | `src/iris_harness/kernel/governance/` |
111
+ | The plugin SDK and host | `src/iris_harness/sdk/`, `src/iris_harness/runtime/plugin_host/` |
112
+ | Reference plugins: `system`, `research`, `code_exec`, and the Telegram, web and web-push channels | `src/iris_harness/plugins_builtin/` |
113
+ | The email assistant: the mail record and the `gmail`, `imap` and `email_workflows` plugins | `src/iris_personal/` |
114
+ | **memris**, the memory graph: claims with provenance | `src/memris/` |
115
+ | Four services: the IRIS API (chat, the MCP server, the web console; 8003), the Governor (8080), the evaluator (8090), the channel gateway (8006) | `src/iris_harness/server/` |
116
+ | The web console (React), built into the released package | `webui/` |
117
+
118
+ IRIS runs on macOS (Apple Silicon) and Linux; on Windows, use WSL2. It collects no
119
+ telemetry. It is pre-1.0: the stable API changes only after a deprecation cycle, and
120
+ everything else may change in any release.
121
+
122
+ ## Run the services
123
+
124
+ The scheduled jobs (the email sweep and judge) and the web console run in the IRIS API.
125
+ [Run with Docker](https://evarness-ai.github.io/iris-harness/guides/docker/) keeps it
126
+ up as a service:
127
+
128
+ ```bash
129
+ export IRIS_AUTH_SECRET="$(openssl rand -hex 32)"
130
+ docker compose up # Ollama, the Governor and the IRIS API, on 127.0.0.1 only
131
+ ```
132
+
133
+ The [email assistant guide](https://evarness-ai.github.io/iris-harness/guides/email/)
134
+ shows how to run the API from an install and pair the web console.
135
+
136
+ ## Contributing
137
+
138
+ Plugins are the contribution unit. This is the shortest path from a clone to a change you
139
+ can check. You need Python 3.12 or 3.13 (`.python-version` pins 3.12) and
140
+ [Poetry](https://python-poetry.org/) 2.x.
141
+
142
+ ```bash
143
+ git clone https://github.com/evarness-ai/iris-harness.git && cd iris-harness
144
+ poetry install --with dev --extras email
145
+ poetry run iris email demo # the whole stack from source: no account, no model server
146
+ ```
147
+
148
+ Tests need two environment variables, and run on the narrowest path that covers your
149
+ change:
150
+
151
+ ```bash
152
+ export IRIS_AUTH_SECRET="test-secret-for-testing" IRIS_DISABLE_WARMUP=1
153
+ poetry run pytest tests/unit/<the path you changed>
154
+ ```
155
+
156
+ Before you push, run the local gate: `scripts/ci_local.sh --fast` while you iterate (ruff,
157
+ black, mypy, import contracts, the tests for what changed), and `scripts/ci_local.sh`
158
+ before a pull request (the full suite, a playground smoke run, the secret and PII scan).
159
+
160
+ Where to look first:
161
+
162
+ | You are changing | Start here |
163
+ |---|---|
164
+ | A plugin | `iris plugins new` (above), [`examples/`](examples/README.md), [stable API](docs/reference/stable-api.md) |
165
+ | The turn pipeline | `src/iris_harness/runtime/turn/` |
166
+ | Governance (classification, egress, approvals, audit) | `src/iris_harness/kernel/governance/` |
167
+ | The email assistant | `src/iris_personal/` |
168
+ | The web console | `webui/` |
169
+
170
+ Read [CONTRIBUTING.md](CONTRIBUTING.md) (the governance rules every change keeps, DCO
171
+ sign-off, the stable-tier rule) and the [code of conduct](CODE_OF_CONDUCT.md). Coding
172
+ agents: [AGENTS.md](AGENTS.md). Questions and ideas go to GitHub Discussions; bugs to
173
+ Issues. Report vulnerabilities privately as described in [SECURITY.md](SECURITY.md).
174
+ Changes are listed in [CHANGELOG.md](CHANGELOG.md).
175
+
176
+ ## License
177
+
178
+ Apache License 2.0; see [LICENSE](LICENSE). IRIS is, and will remain, Apache-2.0.
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: reminders
3
+ description: How IRIS handles requests to remember, schedule, or follow up on something later.
4
+ match_intents: [calendar]
5
+ match_keywords: [remind, reminder, reminders, follow up, follow-up, schedule, deadline, by sunday, by monday, by tuesday, by wednesday, by thursday, by friday, by saturday]
6
+ ---
7
+
8
+ # Behavior — Reminders
9
+
10
+ When the user asks to be reminded of something, scheduled for something, or
11
+ followed up on by a date, treat it as a durable commitment — not a passing
12
+ chat turn. The reminder must survive process restarts and be findable in a
13
+ future session.
14
+
15
+ ## Recipe
16
+
17
+ 1. **Confirm the intent in one short sentence.** No preamble; state what
18
+ you're capturing and the date/time you parsed. If the time is ambiguous,
19
+ ask exactly one question, then stop.
20
+ 2. **Call `add_reminder`** (or the `create_reminder` tool in the loop). It
21
+ writes the reminder to the one reminder store: a calendar reminder event
22
+ plus its delivery row, delivered on the user's channels at that time.
23
+ Dates and times are the user's local time.
24
+ 3. **Use the calendar event tools only for events.** `add_calendar_event`,
25
+ `edit_calendar_event` and `delete_calendar_event` manage standalone
26
+ events; a reminder is never written by hand or to a file.
27
+ 4. **Tell the user when it will fire.** One line: the reminder text and its
28
+ local date and time. Do not bury this in a long response.
29
+ 5. **Do not invent recurrence.** If the user did not say how often it
30
+ repeats, create a one-time reminder and state that assumption briefly.
31
+
32
+ ## What to avoid
33
+
34
+ - Writing a reminder to any file (a markdown table, `~/.iris/reminders/`,
35
+ `~/.iris/sandbox/<random-hash>/`) — the reminder store is the only place a
36
+ reminder lives, and only `add_reminder` / `create_reminder` write it.
37
+ - Silently dropping the reminder into chat history with no persistence.
38
+ - Long acknowledgement messages. The user wants the commitment captured,
39
+ not a recap.
40
+ - Asking more than one clarifying question. If multiple things are unclear,
41
+ pick the most blocking one and proceed with sensible defaults for the
42
+ rest, then state the assumptions you made.