agent_hypervisor 3.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.
- agent_hypervisor-3.1.0/.gitignore +456 -0
- agent_hypervisor-3.1.0/CHANGELOG.md +58 -0
- agent_hypervisor-3.1.0/LICENSE +21 -0
- agent_hypervisor-3.1.0/PKG-INFO +824 -0
- agent_hypervisor-3.1.0/README.md +772 -0
- agent_hypervisor-3.1.0/SECURITY.md +17 -0
- agent_hypervisor-3.1.0/benchmarks/bench_hypervisor.py +342 -0
- agent_hypervisor-3.1.0/benchmarks/results/BENCHMARKS.md +31 -0
- agent_hypervisor-3.1.0/benchmarks/results/benchmarks.json +103 -0
- agent_hypervisor-3.1.0/docs/api-reference.md +1580 -0
- agent_hypervisor-3.1.0/docs/joint-liability-guide.md +393 -0
- agent_hypervisor-3.1.0/examples/dashboard/README.md +23 -0
- agent_hypervisor-3.1.0/examples/dashboard/app.py +939 -0
- agent_hypervisor-3.1.0/examples/dashboard/requirements.txt +4 -0
- agent_hypervisor-3.1.0/examples/demo.py +388 -0
- agent_hypervisor-3.1.0/examples/docker-compose/Dockerfile +15 -0
- agent_hypervisor-3.1.0/examples/docker-compose/README.md +73 -0
- agent_hypervisor-3.1.0/examples/docker-compose/app/__init__.py +0 -0
- agent_hypervisor-3.1.0/examples/docker-compose/app/dashboard.py +122 -0
- agent_hypervisor-3.1.0/examples/docker-compose/app/sample_workflow.py +90 -0
- agent_hypervisor-3.1.0/examples/docker-compose/app/server.py +259 -0
- agent_hypervisor-3.1.0/examples/docker-compose/config/hypervisor.yaml +30 -0
- agent_hypervisor-3.1.0/examples/docker-compose/docker-compose.yml +72 -0
- agent_hypervisor-3.1.0/examples/requirements.txt +1 -0
- agent_hypervisor-3.1.0/notebooks/README.md +35 -0
- agent_hypervisor-3.1.0/notebooks/hypervisor-exploration.ipynb +747 -0
- agent_hypervisor-3.1.0/pyproject.toml +122 -0
- agent_hypervisor-3.1.0/src/hypervisor/__init__.py +160 -0
- agent_hypervisor-3.1.0/src/hypervisor/api/__init__.py +7 -0
- agent_hypervisor-3.1.0/src/hypervisor/api/models.py +285 -0
- agent_hypervisor-3.1.0/src/hypervisor/api/server.py +742 -0
- agent_hypervisor-3.1.0/src/hypervisor/audit/__init__.py +4 -0
- agent_hypervisor-3.1.0/src/hypervisor/audit/commitment.py +76 -0
- agent_hypervisor-3.1.0/src/hypervisor/audit/delta.py +135 -0
- agent_hypervisor-3.1.0/src/hypervisor/audit/gc.py +99 -0
- agent_hypervisor-3.1.0/src/hypervisor/cli/__init__.py +3 -0
- agent_hypervisor-3.1.0/src/hypervisor/cli/formatters.py +99 -0
- agent_hypervisor-3.1.0/src/hypervisor/cli/session_commands.py +200 -0
- agent_hypervisor-3.1.0/src/hypervisor/constants.py +106 -0
- agent_hypervisor-3.1.0/src/hypervisor/core.py +352 -0
- agent_hypervisor-3.1.0/src/hypervisor/integrations/__init__.py +10 -0
- agent_hypervisor-3.1.0/src/hypervisor/integrations/iatp_adapter.py +142 -0
- agent_hypervisor-3.1.0/src/hypervisor/integrations/nexus_adapter.py +108 -0
- agent_hypervisor-3.1.0/src/hypervisor/integrations/verification_adapter.py +122 -0
- agent_hypervisor-3.1.0/src/hypervisor/liability/__init__.py +142 -0
- agent_hypervisor-3.1.0/src/hypervisor/liability/attribution.py +86 -0
- agent_hypervisor-3.1.0/src/hypervisor/liability/ledger.py +121 -0
- agent_hypervisor-3.1.0/src/hypervisor/liability/quarantine.py +119 -0
- agent_hypervisor-3.1.0/src/hypervisor/liability/slashing.py +80 -0
- agent_hypervisor-3.1.0/src/hypervisor/liability/vouching.py +134 -0
- agent_hypervisor-3.1.0/src/hypervisor/models.py +277 -0
- agent_hypervisor-3.1.0/src/hypervisor/observability/__init__.py +27 -0
- agent_hypervisor-3.1.0/src/hypervisor/observability/causal_trace.py +70 -0
- agent_hypervisor-3.1.0/src/hypervisor/observability/event_bus.py +222 -0
- agent_hypervisor-3.1.0/src/hypervisor/observability/prometheus_collector.py +248 -0
- agent_hypervisor-3.1.0/src/hypervisor/observability/saga_span_exporter.py +341 -0
- agent_hypervisor-3.1.0/src/hypervisor/providers.py +121 -0
- agent_hypervisor-3.1.0/src/hypervisor/py.typed +0 -0
- agent_hypervisor-3.1.0/src/hypervisor/reversibility/__init__.py +3 -0
- agent_hypervisor-3.1.0/src/hypervisor/reversibility/registry.py +108 -0
- agent_hypervisor-3.1.0/src/hypervisor/rings/__init__.py +21 -0
- agent_hypervisor-3.1.0/src/hypervisor/rings/breach_detector.py +200 -0
- agent_hypervisor-3.1.0/src/hypervisor/rings/classifier.py +78 -0
- agent_hypervisor-3.1.0/src/hypervisor/rings/elevation.py +219 -0
- agent_hypervisor-3.1.0/src/hypervisor/rings/enforcer.py +97 -0
- agent_hypervisor-3.1.0/src/hypervisor/saga/__init__.py +22 -0
- agent_hypervisor-3.1.0/src/hypervisor/saga/checkpoint.py +110 -0
- agent_hypervisor-3.1.0/src/hypervisor/saga/dsl.py +190 -0
- agent_hypervisor-3.1.0/src/hypervisor/saga/fan_out.py +126 -0
- agent_hypervisor-3.1.0/src/hypervisor/saga/orchestrator.py +229 -0
- agent_hypervisor-3.1.0/src/hypervisor/saga/schema.py +244 -0
- agent_hypervisor-3.1.0/src/hypervisor/saga/state_machine.py +157 -0
- agent_hypervisor-3.1.0/src/hypervisor/security/__init__.py +13 -0
- agent_hypervisor-3.1.0/src/hypervisor/security/kill_switch.py +200 -0
- agent_hypervisor-3.1.0/src/hypervisor/security/rate_limiter.py +190 -0
- agent_hypervisor-3.1.0/src/hypervisor/session/__init__.py +194 -0
- agent_hypervisor-3.1.0/src/hypervisor/session/intent_locks.py +118 -0
- agent_hypervisor-3.1.0/src/hypervisor/session/isolation.py +37 -0
- agent_hypervisor-3.1.0/src/hypervisor/session/sso.py +169 -0
- agent_hypervisor-3.1.0/src/hypervisor/session/vector_clock.py +118 -0
- agent_hypervisor-3.1.0/src/hypervisor/verification/__init__.py +3 -0
- agent_hypervisor-3.1.0/src/hypervisor/verification/history.py +173 -0
- agent_hypervisor-3.1.0/tests/__init__.py +0 -0
- agent_hypervisor-3.1.0/tests/integration/__init__.py +0 -0
- agent_hypervisor-3.1.0/tests/integration/test_hypervisor_e2e.py +551 -0
- agent_hypervisor-3.1.0/tests/integration/test_scenarios.py +1059 -0
- agent_hypervisor-3.1.0/tests/test_agent_manager.py +566 -0
- agent_hypervisor-3.1.0/tests/test_breach_detector.py +252 -0
- agent_hypervisor-3.1.0/tests/test_classifier.py +174 -0
- agent_hypervisor-3.1.0/tests/test_kill_switch.py +236 -0
- agent_hypervisor-3.1.0/tests/test_rate_limiter.py +159 -0
- agent_hypervisor-3.1.0/tests/test_shapley_attribution.py +569 -0
- agent_hypervisor-3.1.0/tests/unit/__init__.py +0 -0
- agent_hypervisor-3.1.0/tests/unit/test_audit.py +126 -0
- agent_hypervisor-3.1.0/tests/unit/test_cli.py +229 -0
- agent_hypervisor-3.1.0/tests/unit/test_config_validation.py +204 -0
- agent_hypervisor-3.1.0/tests/unit/test_liability.py +113 -0
- agent_hypervisor-3.1.0/tests/unit/test_liability_improvements.py +260 -0
- agent_hypervisor-3.1.0/tests/unit/test_models.py +94 -0
- agent_hypervisor-3.1.0/tests/unit/test_observability.py +217 -0
- agent_hypervisor-3.1.0/tests/unit/test_prometheus_collector.py +226 -0
- agent_hypervisor-3.1.0/tests/unit/test_reversibility_registry.py +153 -0
- agent_hypervisor-3.1.0/tests/unit/test_ring_improvements.py +298 -0
- agent_hypervisor-3.1.0/tests/unit/test_rings.py +122 -0
- agent_hypervisor-3.1.0/tests/unit/test_saga.py +165 -0
- agent_hypervisor-3.1.0/tests/unit/test_saga_improvements.py +284 -0
- agent_hypervisor-3.1.0/tests/unit/test_saga_schema.py +339 -0
- agent_hypervisor-3.1.0/tests/unit/test_saga_span_exporter.py +242 -0
- agent_hypervisor-3.1.0/tests/unit/test_session.py +101 -0
- agent_hypervisor-3.1.0/tests/unit/test_session_security.py +334 -0
- agent_hypervisor-3.1.0/tests/unit/test_slashing.py +92 -0
- agent_hypervisor-3.1.0/tests/unit/test_vfs_substrate.py +454 -0
- agent_hypervisor-3.1.0/tutorials/execution-rings-workflow/README.md +242 -0
- agent_hypervisor-3.1.0/tutorials/execution-rings-workflow/demo.py +301 -0
- agent_hypervisor-3.1.0/tutorials/saga-compensation/README.md +166 -0
- agent_hypervisor-3.1.0/tutorials/saga-compensation/demo.py +251 -0
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
# Generated artifacts
|
|
2
|
+
sbom/
|
|
3
|
+
|
|
4
|
+
# Python
|
|
5
|
+
__pycache__/
|
|
6
|
+
*.py[cod]
|
|
7
|
+
*$py.class
|
|
8
|
+
*.egg-info/
|
|
9
|
+
dist/
|
|
10
|
+
build/
|
|
11
|
+
*.egg
|
|
12
|
+
.eggs/
|
|
13
|
+
.venv/
|
|
14
|
+
venv/
|
|
15
|
+
.pytest_cache/
|
|
16
|
+
.mypy_cache/
|
|
17
|
+
.ruff_cache/
|
|
18
|
+
.hypothesis/
|
|
19
|
+
.tox/
|
|
20
|
+
htmlcov/
|
|
21
|
+
.coverage
|
|
22
|
+
*.cover
|
|
23
|
+
|
|
24
|
+
# Node
|
|
25
|
+
node_modules/
|
|
26
|
+
|
|
27
|
+
# IDE
|
|
28
|
+
.vscode/
|
|
29
|
+
.idea/
|
|
30
|
+
*.swp
|
|
31
|
+
*.swo
|
|
32
|
+
.claude/
|
|
33
|
+
|
|
34
|
+
## Ignore Visual Studio temporary files, build results, and
|
|
35
|
+
## files generated by popular Visual Studio add-ons.
|
|
36
|
+
##
|
|
37
|
+
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
|
|
38
|
+
|
|
39
|
+
# User-specific files
|
|
40
|
+
*.rsuser
|
|
41
|
+
*.suo
|
|
42
|
+
*.user
|
|
43
|
+
*.userosscache
|
|
44
|
+
*.sln.docstates
|
|
45
|
+
*.env
|
|
46
|
+
|
|
47
|
+
# User-specific files (MonoDevelop/Xamarin Studio)
|
|
48
|
+
*.userprefs
|
|
49
|
+
|
|
50
|
+
# Mono auto generated files
|
|
51
|
+
mono_crash.*
|
|
52
|
+
|
|
53
|
+
# Build results
|
|
54
|
+
[Dd]ebug/
|
|
55
|
+
[Dd]ebugPublic/
|
|
56
|
+
[Rr]elease/
|
|
57
|
+
[Rr]eleases/
|
|
58
|
+
x64/
|
|
59
|
+
x86/
|
|
60
|
+
[Ww][Ii][Nn]32/
|
|
61
|
+
[Aa][Rr][Mm]/
|
|
62
|
+
[Aa][Rr][Mm]64/
|
|
63
|
+
[Aa][Rr][Mm]64[Ee][Cc]/
|
|
64
|
+
bld/
|
|
65
|
+
[Oo]bj/
|
|
66
|
+
[Oo]ut/
|
|
67
|
+
[Ll]og/
|
|
68
|
+
[Ll]ogs/
|
|
69
|
+
|
|
70
|
+
# Build results on 'Bin' directories
|
|
71
|
+
**/[Bb]in/*
|
|
72
|
+
# Uncomment if you have tasks that rely on *.refresh files to move binaries
|
|
73
|
+
# (https://github.com/github/gitignore/pull/3736)
|
|
74
|
+
#!**/[Bb]in/*.refresh
|
|
75
|
+
|
|
76
|
+
# Visual Studio 2015/2017 cache/options directory
|
|
77
|
+
.vs/
|
|
78
|
+
# Uncomment if you have tasks that create the project's static files in wwwroot
|
|
79
|
+
#wwwroot/
|
|
80
|
+
|
|
81
|
+
# Visual Studio 2017 auto generated files
|
|
82
|
+
Generated\ Files/
|
|
83
|
+
|
|
84
|
+
# MSTest test Results
|
|
85
|
+
[Tt]est[Rr]esult*/
|
|
86
|
+
[Bb]uild[Ll]og.*
|
|
87
|
+
*.trx
|
|
88
|
+
|
|
89
|
+
# NUnit
|
|
90
|
+
*.VisualState.xml
|
|
91
|
+
TestResult.xml
|
|
92
|
+
nunit-*.xml
|
|
93
|
+
|
|
94
|
+
# Approval Tests result files
|
|
95
|
+
*.received.*
|
|
96
|
+
|
|
97
|
+
# Build Results of an ATL Project
|
|
98
|
+
[Dd]ebugPS/
|
|
99
|
+
[Rr]eleasePS/
|
|
100
|
+
dlldata.c
|
|
101
|
+
|
|
102
|
+
# Benchmark Results
|
|
103
|
+
BenchmarkDotNet.Artifacts/
|
|
104
|
+
|
|
105
|
+
# .NET Core
|
|
106
|
+
project.lock.json
|
|
107
|
+
project.fragment.lock.json
|
|
108
|
+
artifacts/
|
|
109
|
+
|
|
110
|
+
# ASP.NET Scaffolding
|
|
111
|
+
ScaffoldingReadMe.txt
|
|
112
|
+
|
|
113
|
+
# StyleCop
|
|
114
|
+
StyleCopReport.xml
|
|
115
|
+
|
|
116
|
+
# Files built by Visual Studio
|
|
117
|
+
*_i.c
|
|
118
|
+
*_p.c
|
|
119
|
+
*_h.h
|
|
120
|
+
*.ilk
|
|
121
|
+
*.meta
|
|
122
|
+
*.obj
|
|
123
|
+
*.idb
|
|
124
|
+
*.iobj
|
|
125
|
+
*.pch
|
|
126
|
+
*.pdb
|
|
127
|
+
*.ipdb
|
|
128
|
+
*.pgc
|
|
129
|
+
*.pgd
|
|
130
|
+
*.rsp
|
|
131
|
+
# but not Directory.Build.rsp, as it configures directory-level build defaults
|
|
132
|
+
!Directory.Build.rsp
|
|
133
|
+
*.sbr
|
|
134
|
+
*.tlb
|
|
135
|
+
*.tli
|
|
136
|
+
*.tlh
|
|
137
|
+
*.tmp
|
|
138
|
+
*.tmp_proj
|
|
139
|
+
*_wpftmp.csproj
|
|
140
|
+
*.log
|
|
141
|
+
*.tlog
|
|
142
|
+
*.vspscc
|
|
143
|
+
*.vssscc
|
|
144
|
+
.builds
|
|
145
|
+
*.pidb
|
|
146
|
+
*.svclog
|
|
147
|
+
*.scc
|
|
148
|
+
|
|
149
|
+
# Chutzpah Test files
|
|
150
|
+
_Chutzpah*
|
|
151
|
+
|
|
152
|
+
# Visual C++ cache files
|
|
153
|
+
ipch/
|
|
154
|
+
*.aps
|
|
155
|
+
*.ncb
|
|
156
|
+
*.opendb
|
|
157
|
+
*.opensdf
|
|
158
|
+
*.sdf
|
|
159
|
+
*.cachefile
|
|
160
|
+
*.VC.db
|
|
161
|
+
*.VC.VC.opendb
|
|
162
|
+
|
|
163
|
+
# Visual Studio profiler
|
|
164
|
+
*.psess
|
|
165
|
+
*.vsp
|
|
166
|
+
*.vspx
|
|
167
|
+
*.sap
|
|
168
|
+
|
|
169
|
+
# Visual Studio Trace Files
|
|
170
|
+
*.e2e
|
|
171
|
+
|
|
172
|
+
# TFS 2012 Local Workspace
|
|
173
|
+
$tf/
|
|
174
|
+
|
|
175
|
+
# Guidance Automation Toolkit
|
|
176
|
+
*.gpState
|
|
177
|
+
|
|
178
|
+
# ReSharper is a .NET coding add-in
|
|
179
|
+
_ReSharper*/
|
|
180
|
+
*.[Rr]e[Ss]harper
|
|
181
|
+
*.DotSettings.user
|
|
182
|
+
|
|
183
|
+
# TeamCity is a build add-in
|
|
184
|
+
_TeamCity*
|
|
185
|
+
|
|
186
|
+
# DotCover is a Code Coverage Tool
|
|
187
|
+
*.dotCover
|
|
188
|
+
|
|
189
|
+
# AxoCover is a Code Coverage Tool
|
|
190
|
+
.axoCover/*
|
|
191
|
+
!.axoCover/settings.json
|
|
192
|
+
|
|
193
|
+
# Coverlet is a free, cross platform Code Coverage Tool
|
|
194
|
+
coverage*.json
|
|
195
|
+
coverage*.xml
|
|
196
|
+
coverage*.info
|
|
197
|
+
|
|
198
|
+
# Visual Studio code coverage results
|
|
199
|
+
*.coverage
|
|
200
|
+
*.coveragexml
|
|
201
|
+
|
|
202
|
+
# NCrunch
|
|
203
|
+
_NCrunch_*
|
|
204
|
+
.NCrunch_*
|
|
205
|
+
.*crunch*.local.xml
|
|
206
|
+
nCrunchTemp_*
|
|
207
|
+
|
|
208
|
+
# MightyMoose
|
|
209
|
+
*.mm.*
|
|
210
|
+
AutoTest.Net/
|
|
211
|
+
|
|
212
|
+
# Web workbench (sass)
|
|
213
|
+
.sass-cache/
|
|
214
|
+
|
|
215
|
+
# Installshield output folder
|
|
216
|
+
[Ee]xpress/
|
|
217
|
+
|
|
218
|
+
# DocProject is a documentation generator add-in
|
|
219
|
+
DocProject/buildhelp/
|
|
220
|
+
DocProject/Help/*.HxT
|
|
221
|
+
DocProject/Help/*.HxC
|
|
222
|
+
DocProject/Help/*.hhc
|
|
223
|
+
DocProject/Help/*.hhk
|
|
224
|
+
DocProject/Help/*.hhp
|
|
225
|
+
DocProject/Help/Html2
|
|
226
|
+
DocProject/Help/html
|
|
227
|
+
|
|
228
|
+
# Click-Once directory
|
|
229
|
+
publish/
|
|
230
|
+
|
|
231
|
+
# Publish Web Output
|
|
232
|
+
*.[Pp]ublish.xml
|
|
233
|
+
*.azurePubxml
|
|
234
|
+
# Note: Comment the next line if you want to checkin your web deploy settings,
|
|
235
|
+
# but database connection strings (with potential passwords) will be unencrypted
|
|
236
|
+
*.pubxml
|
|
237
|
+
*.publishproj
|
|
238
|
+
|
|
239
|
+
# Microsoft Azure Web App publish settings. Comment the next line if you want to
|
|
240
|
+
# checkin your Azure Web App publish settings, but sensitive information contained
|
|
241
|
+
# in these scripts will be unencrypted
|
|
242
|
+
PublishScripts/
|
|
243
|
+
|
|
244
|
+
# NuGet Packages
|
|
245
|
+
*.nupkg
|
|
246
|
+
# NuGet Symbol Packages
|
|
247
|
+
*.snupkg
|
|
248
|
+
# The packages folder can be ignored because of Package Restore
|
|
249
|
+
# DISABLED: mono-repo uses /packages/ for source code
|
|
250
|
+
# **/[Pp]ackages/*
|
|
251
|
+
# !**/[Pp]ackages/build/
|
|
252
|
+
# #!**/[Pp]ackages/repositories.config
|
|
253
|
+
# NuGet v3's project.json files produces more ignorable files
|
|
254
|
+
*.nuget.props
|
|
255
|
+
*.nuget.targets
|
|
256
|
+
|
|
257
|
+
# Microsoft Azure Build Output
|
|
258
|
+
csx/
|
|
259
|
+
*.build.csdef
|
|
260
|
+
|
|
261
|
+
# Microsoft Azure Emulator
|
|
262
|
+
ecf/
|
|
263
|
+
rcf/
|
|
264
|
+
|
|
265
|
+
# Windows Store app package directories and files
|
|
266
|
+
AppPackages/
|
|
267
|
+
BundleArtifacts/
|
|
268
|
+
Package.StoreAssociation.xml
|
|
269
|
+
_pkginfo.txt
|
|
270
|
+
*.appx
|
|
271
|
+
*.appxbundle
|
|
272
|
+
*.appxupload
|
|
273
|
+
|
|
274
|
+
# Visual Studio cache files
|
|
275
|
+
# files ending in .cache can be ignored
|
|
276
|
+
*.[Cc]ache
|
|
277
|
+
# but keep track of directories ending in .cache
|
|
278
|
+
!?*.[Cc]ache/
|
|
279
|
+
|
|
280
|
+
# Others
|
|
281
|
+
ClientBin/
|
|
282
|
+
~$*
|
|
283
|
+
*~
|
|
284
|
+
*.dbmdl
|
|
285
|
+
*.dbproj.schemaview
|
|
286
|
+
*.jfm
|
|
287
|
+
*.pfx
|
|
288
|
+
*.publishsettings
|
|
289
|
+
orleans.codegen.cs
|
|
290
|
+
|
|
291
|
+
# Including strong name files can present a security risk
|
|
292
|
+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
|
|
293
|
+
#*.snk
|
|
294
|
+
|
|
295
|
+
# Since there are multiple workflows, uncomment next line to ignore bower_components
|
|
296
|
+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
|
|
297
|
+
#bower_components/
|
|
298
|
+
|
|
299
|
+
# RIA/Silverlight projects
|
|
300
|
+
Generated_Code/
|
|
301
|
+
|
|
302
|
+
# Backup & report files from converting an old project file
|
|
303
|
+
# to a newer Visual Studio version. Backup files are not needed,
|
|
304
|
+
# because we have git ;-)
|
|
305
|
+
_UpgradeReport_Files/
|
|
306
|
+
Backup*/
|
|
307
|
+
UpgradeLog*.XML
|
|
308
|
+
UpgradeLog*.htm
|
|
309
|
+
ServiceFabricBackup/
|
|
310
|
+
*.rptproj.bak
|
|
311
|
+
|
|
312
|
+
# SQL Server files
|
|
313
|
+
*.mdf
|
|
314
|
+
*.ldf
|
|
315
|
+
*.ndf
|
|
316
|
+
|
|
317
|
+
# Business Intelligence projects
|
|
318
|
+
*.rdl.data
|
|
319
|
+
*.bim.layout
|
|
320
|
+
*.bim_*.settings
|
|
321
|
+
*.rptproj.rsuser
|
|
322
|
+
*- [Bb]ackup.rdl
|
|
323
|
+
*- [Bb]ackup ([0-9]).rdl
|
|
324
|
+
*- [Bb]ackup ([0-9][0-9]).rdl
|
|
325
|
+
|
|
326
|
+
# Microsoft Fakes
|
|
327
|
+
FakesAssemblies/
|
|
328
|
+
|
|
329
|
+
# GhostDoc plugin setting file
|
|
330
|
+
*.GhostDoc.xml
|
|
331
|
+
|
|
332
|
+
# Node.js Tools for Visual Studio
|
|
333
|
+
.ntvs_analysis.dat
|
|
334
|
+
node_modules/
|
|
335
|
+
|
|
336
|
+
# Visual Studio 6 build log
|
|
337
|
+
*.plg
|
|
338
|
+
|
|
339
|
+
# Visual Studio 6 workspace options file
|
|
340
|
+
*.opt
|
|
341
|
+
|
|
342
|
+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
|
|
343
|
+
*.vbw
|
|
344
|
+
|
|
345
|
+
# Visual Studio 6 auto-generated project file (contains which files were open etc.)
|
|
346
|
+
*.vbp
|
|
347
|
+
|
|
348
|
+
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
|
|
349
|
+
*.dsw
|
|
350
|
+
*.dsp
|
|
351
|
+
|
|
352
|
+
# Visual Studio 6 technical files
|
|
353
|
+
*.ncb
|
|
354
|
+
*.aps
|
|
355
|
+
|
|
356
|
+
# Visual Studio LightSwitch build output
|
|
357
|
+
**/*.HTMLClient/GeneratedArtifacts
|
|
358
|
+
**/*.DesktopClient/GeneratedArtifacts
|
|
359
|
+
**/*.DesktopClient/ModelManifest.xml
|
|
360
|
+
**/*.Server/GeneratedArtifacts
|
|
361
|
+
**/*.Server/ModelManifest.xml
|
|
362
|
+
_Pvt_Extensions
|
|
363
|
+
|
|
364
|
+
# Paket dependency manager
|
|
365
|
+
**/.paket/paket.exe
|
|
366
|
+
paket-files/
|
|
367
|
+
|
|
368
|
+
# FAKE - F# Make
|
|
369
|
+
**/.fake/
|
|
370
|
+
|
|
371
|
+
# CodeRush personal settings
|
|
372
|
+
**/.cr/personal
|
|
373
|
+
|
|
374
|
+
# Python Tools for Visual Studio (PTVS)
|
|
375
|
+
**/__pycache__/
|
|
376
|
+
*.pyc
|
|
377
|
+
|
|
378
|
+
# Cake - Uncomment if you are using it
|
|
379
|
+
#tools/**
|
|
380
|
+
#!tools/packages.config
|
|
381
|
+
|
|
382
|
+
# Tabs Studio
|
|
383
|
+
*.tss
|
|
384
|
+
|
|
385
|
+
# Telerik's JustMock configuration file
|
|
386
|
+
*.jmconfig
|
|
387
|
+
|
|
388
|
+
# BizTalk build output
|
|
389
|
+
*.btp.cs
|
|
390
|
+
*.btm.cs
|
|
391
|
+
*.odx.cs
|
|
392
|
+
*.xsd.cs
|
|
393
|
+
|
|
394
|
+
# OpenCover UI analysis results
|
|
395
|
+
OpenCover/
|
|
396
|
+
|
|
397
|
+
# Azure Stream Analytics local run output
|
|
398
|
+
ASALocalRun/
|
|
399
|
+
|
|
400
|
+
# MSBuild Binary and Structured Log
|
|
401
|
+
*.binlog
|
|
402
|
+
MSBuild_Logs/
|
|
403
|
+
|
|
404
|
+
# AWS SAM Build and Temporary Artifacts folder
|
|
405
|
+
.aws-sam
|
|
406
|
+
|
|
407
|
+
# NVidia Nsight GPU debugger configuration file
|
|
408
|
+
*.nvuser
|
|
409
|
+
|
|
410
|
+
# MFractors (Xamarin productivity tool) working folder
|
|
411
|
+
**/.mfractor/
|
|
412
|
+
|
|
413
|
+
# Local History for Visual Studio
|
|
414
|
+
**/.localhistory/
|
|
415
|
+
|
|
416
|
+
# Visual Studio History (VSHistory) files
|
|
417
|
+
.vshistory/
|
|
418
|
+
|
|
419
|
+
# BeatPulse healthcheck temp database
|
|
420
|
+
healthchecksdb
|
|
421
|
+
|
|
422
|
+
# Backup folder for Package Reference Convert tool in Visual Studio 2017
|
|
423
|
+
MigrationBackup/
|
|
424
|
+
|
|
425
|
+
# Ionide (cross platform F# VS Code tools) working folder
|
|
426
|
+
**/.ionide/
|
|
427
|
+
|
|
428
|
+
# Fody - auto-generated XML schema
|
|
429
|
+
FodyWeavers.xsd
|
|
430
|
+
|
|
431
|
+
# VS Code files for those working on multiple tools
|
|
432
|
+
.vscode/*
|
|
433
|
+
!.vscode/settings.json
|
|
434
|
+
!.vscode/tasks.json
|
|
435
|
+
!.vscode/launch.json
|
|
436
|
+
!.vscode/extensions.json
|
|
437
|
+
!.vscode/*.code-snippets
|
|
438
|
+
|
|
439
|
+
# Local History for Visual Studio Code
|
|
440
|
+
.history/
|
|
441
|
+
|
|
442
|
+
# Built Visual Studio Code Extensions
|
|
443
|
+
*.vsix
|
|
444
|
+
|
|
445
|
+
# Windows Installer files from build outputs
|
|
446
|
+
*.cab
|
|
447
|
+
*.msi
|
|
448
|
+
*.msix
|
|
449
|
+
*.msm
|
|
450
|
+
*.msp
|
|
451
|
+
|
|
452
|
+
# Token/secret files
|
|
453
|
+
.mcpregistry_*
|
|
454
|
+
*.token
|
|
455
|
+
.env
|
|
456
|
+
.env.*
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to Agent Hypervisor will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [2.0.0] — 2026-02-20
|
|
6
|
+
|
|
7
|
+
### Added — Observability
|
|
8
|
+
- **Structured Event Bus** (`observability/event_bus.py`) — append-only event store with typed events, pub/sub, and multi-index queries (by type, agent, session, time range)
|
|
9
|
+
- **Causal Trace IDs** (`observability/causal_trace.py`) — distributed tracing with full spawn/delegation tree encoding (not just correlation IDs)
|
|
10
|
+
|
|
11
|
+
### Added — Ring Improvements
|
|
12
|
+
- **Dynamic Ring Elevation** (`rings/elevation.py`) — time-bounded privilege escalation (like `sudo` with TTL), auto-expiry, manual revocation
|
|
13
|
+
- **Ring Inheritance** — child agents inherit parent ring - 1 (prevents privilege escalation via spawning)
|
|
14
|
+
- **Ring Breach Detector** (`rings/breach_detector.py`) — sliding window anomaly scoring for ring call patterns, circuit breaker on HIGH/CRITICAL severity
|
|
15
|
+
|
|
16
|
+
### Added — Liability Improvements
|
|
17
|
+
- **Fault Logging** (`liability/attribution.py`) — Shapley-value inspired proportional fault scoring (replaces binary guilty/not-guilty)
|
|
18
|
+
- **Quarantine Manager** (`liability/quarantine.py`) — read-only isolation before termination, forensic data preservation, auto-release with timeout
|
|
19
|
+
- **Persistent Liability Ledger** (`liability/ledger.py`) — per-agent historical risk scoring, admission decisions (admit/probation/deny)
|
|
20
|
+
|
|
21
|
+
### Added — Saga Improvements
|
|
22
|
+
- **Parallel Fan-Out** (`saga/fan_out.py`) — concurrent branch execution with `ALL_MUST_SUCCEED`, `MAJORITY_MUST_SUCCEED`, `ANY_MUST_SUCCEED` policies
|
|
23
|
+
- **Execution Checkpoints** (`saga/checkpoint.py`) — capture what goal was achieved (not just state), enabling partial replay without re-running completed effects
|
|
24
|
+
- **Declarative Saga DSL** (`saga/dsl.py`) — define saga topology via dict/YAML with validation, fan-out support, and SagaStep conversion
|
|
25
|
+
|
|
26
|
+
### Added — Session Improvements
|
|
27
|
+
- **Version Counters** (`session/vector_clock.py`) — causal consistency enforcement, stale-write rejection, automatic merge on read
|
|
28
|
+
- **Resource Locks** (`session/intent_locks.py`) — READ/WRITE/EXCLUSIVE lock declarations with contention detection and lock timeout prevention (wait-for graph)
|
|
29
|
+
- **Isolation Levels** (`session/isolation.py`) — SNAPSHOT, READ_COMMITTED, SERIALIZABLE per saga (low-stakes sagas skip coordination cost)
|
|
30
|
+
|
|
31
|
+
### Added — Security
|
|
32
|
+
- **Agent Rate Limiter** (`security/rate_limiter.py`) — token bucket per agent per ring, configurable limits, automatic refill
|
|
33
|
+
- **Kill Switch** (`security/kill_switch.py`) — graceful agent termination with in-flight saga step handoff to substitute agents
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
- Package version bumped to 2.0.0
|
|
37
|
+
- 58 public exports (up from 28)
|
|
38
|
+
- **326 tests** (up from 184)
|
|
39
|
+
|
|
40
|
+
## [1.0.0] — 2026-02-20
|
|
41
|
+
|
|
42
|
+
### Added
|
|
43
|
+
- **Core Hypervisor** orchestrator with session lifecycle management
|
|
44
|
+
- **Shared Session Object (SSO)** with VFS, snapshots, and consistency modes
|
|
45
|
+
- **4-Ring Execution Model** (Ring 0 Root → Ring 3 Sandbox) based on eff_score trust scores
|
|
46
|
+
- **Joint Liability Engine** with sponsorship, bonding, and proportional penalty
|
|
47
|
+
- **Saga Orchestrator** with step timeouts, retries, and reverse-order compensation
|
|
48
|
+
- **Audit-Logged Trail** with delta capture, commitment engine, and ephemeral GC
|
|
49
|
+
- **Reversibility Registry** for execute/undo API mapping with 4 reversibility levels
|
|
50
|
+
- **Transaction History Verifier** for DID-based trust verification
|
|
51
|
+
- **Integration Adapters** (Protocol-based, zero hard dependencies):
|
|
52
|
+
- Nexus adapter — trust score resolution and caching
|
|
53
|
+
- Verification adapter — behavioral drift detection with severity thresholds
|
|
54
|
+
- IATP adapter — capability manifest parsing and trust hints
|
|
55
|
+
- **184 tests** (unit, integration, and scenario tests)
|
|
56
|
+
- **Performance benchmarks** (268μs full pipeline)
|
|
57
|
+
- **Interactive demo** (`examples/demo.py`) showcasing all 5 subsystems
|
|
58
|
+
- Extracted from [Agent OS](https://github.com/microsoft/agent-governance-toolkit) as standalone package
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|