-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
414 lines (400 loc) · 13.8 KB
/
Copy pathpyproject.toml
File metadata and controls
414 lines (400 loc) · 13.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
[project]
name = "valanistack"
version = "0.54.0"
description = "Organizational behavior, practiced on AI agents."
readme = "README.md"
requires-python = ">=3.11"
license = { file = "LICENSE" }
authors = [{ name = "Ilhan Valani", email = "valani@bu.edu" }]
keywords = [
"ai",
"agents",
"after-action-review",
"organizational-behavior",
"multi-agent",
"lencioni",
"edmondson",
"psychological-safety",
"feedback",
"devils-advocate",
"lewin",
"attribution",
"trust",
"social-loafing",
"groupthink",
"polarization",
"process-loss",
"smart-goals",
"orchestration",
"decision-making",
"fist-to-five",
"schein",
"culture",
"strengths",
"plus-delta",
"robbins-judge",
"superflocks",
"yerkes-dodson",
"workload",
"org-structure",
"galbraith",
"mintzberg",
"motivation",
"saxberg",
"conversational-intelligence",
"glaser",
"goleman",
"emotional-intelligence",
"self-determination-theory",
"deci-ryan",
"span-of-control",
"centralization",
"danva",
"nowicki-duke",
"emotion-recognition",
"gross",
"cognitive-reappraisal",
"emotion-regulation",
"hexaco",
"lee-ashton",
"personality",
"vroom",
"expectancy",
"agent-debugging",
"agent-observability",
"agent-evaluation",
"llm-evaluation",
"prompt-engineering",
"post-mortem",
"after-action-report",
"retrospective",
"agent-failure-modes",
"multi-agent-systems",
"model-context-protocol",
"mcp-server",
"llmops",
"agent-ops",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Typing :: Typed",
]
dependencies = [
"pydantic>=2.6.0",
]
[project.optional-dependencies]
anthropic = ["anthropic>=0.40.0"]
openai = ["openai>=1.50.0"]
ollama = ["httpx>=0.27.0"]
mcp = ["mcp>=1.20.0"]
api = ["fastapi>=0.115.0", "uvicorn[standard]>=0.30.0"]
browser = ["mcp>=1.20.0"]
langchain = ["langchain-core>=0.3.0"]
langgraph = ["langgraph>=0.2.0"]
crewai = ["crewai>=0.70.0"]
llamaindex = ["llama-index-core>=0.12.0"]
pydantic_ai = ["pydantic-ai>=0.0.20"]
smolagents = ["smolagents>=1.0.0"]
adk = ["google-adk>=1.0.0"]
strands = ["strands-agents>=0.1.0"]
# `adapters` bundles the lighter adapters; adk (heavy google-cloud deps)
# and strands install as their own extras.
adapters = ["valanistack[langchain,langgraph,crewai,llamaindex,pydantic_ai,smolagents]"]
docs = ["mkdocs>=1.5.0", "mkdocs-material>=9.5.0"]
all = ["valanistack[anthropic,openai,ollama,mcp,api,browser,adapters]"]
dev = [
"pytest>=8.0.0",
"pytest-cov>=5.0.0",
"ruff>=0.6.0",
"mypy>=1.11.0",
"bandit[toml]>=1.7.10",
"pip-audit>=2.7.0",
"pre-commit>=3.5.0",
"build>=1.2.0",
"fastapi>=0.115.0",
"httpx>=0.27.0",
"mcp>=1.20.0",
]
[project.urls]
Homepage = "https://github.com/valani9/vstack"
Repository = "https://github.com/valani9/vstack"
Issues = "https://github.com/valani9/vstack/issues"
Changelog = "https://github.com/valani9/vstack/blob/main/CHANGELOG.md"
"Bug Tracker" = "https://github.com/valani9/vstack/issues"
"Security" = "https://github.com/valani9/vstack/security/policy"
[project.scripts]
vstack = "vstack.aar.cli:main"
vstack-mcp = "vstack.mcp.cli:main"
vstack-api = "vstack.api.cli:main"
vstack-config = "vstack.memory.cli:main"
vstack-upgrade = "vstack.upgrade.cli:main"
vstack-learn = "vstack.learnings.cli:main"
vstack-analytics = "vstack.analytics.cli:main"
vstack-browser = "vstack.browser.cli:main"
vstack-gbrain = "vstack.gbrain.cli:main"
vstack-bench = "vstack.benchmarks.cli:main"
vstack-doctor = "vstack.doctor.cli:main"
vstack-hello = "vstack.hello.cli:main"
vstack-dashboard = "vstack.dashboard.cli:main"
vstack-scorecard = "vstack.scorecard._cli:main"
vstack-trace-zoo = "vstack.trace_zoo._cli:main"
vstack-diagnose = "vstack.diagnose.cli:main"
vstack-recipes = "vstack.diagnose.recipes_cli:main"
vstack-redaction = "vstack.redaction._cli:main"
vstack-export = "vstack.export._cli:main"
vstack-aggregate = "vstack.aggregate._cli:main"
vstack-findings-db = "vstack.findings_db._cli:main"
vstack-trace-diff = "vstack.trace_diff._cli:main"
vstack-heatmap = "vstack.heatmap._cli:main"
vstack-timeline = "vstack.timeline._cli:main"
vstack-synth = "vstack.synth._cli:main"
vstack-vdiff = "vstack.vdiff._cli:main"
vstack-import = "vstack.ingest._cli:main"
vstack-lewin = "vstack.lewin.cli:main"
vstack-goleman = "vstack.goleman_ei.cli:main"
vstack-johari = "vstack.johari.cli:main"
vstack-danva = "vstack.danva_emotion.cli:main"
vstack-reappraisal = "vstack.cognitive_reappraisal.cli:main"
vstack-yerkes = "vstack.yerkes_dodson.cli:main"
vstack-hexaco = "vstack.hexaco.cli:main"
vstack-grant = "vstack.grant_strengths.cli:main"
vstack-motivation = "vstack.motivation_traps.cli:main"
vstack-sdt = "vstack.sdt_reward.cli:main"
vstack-mcgregor = "vstack.mcgregor.cli:main"
vstack-vroom = "vstack.vroom_expectancy.cli:main"
vstack-grpi = "vstack.grpi.cli:main"
vstack-process = "vstack.process_gain_loss.cli:main"
vstack-loafing = "vstack.social_loafing.cli:main"
vstack-superflocks = "vstack.superflocks.cli:main"
vstack-lencioni = "vstack.lencioni.cli:main"
vstack-trust-triangle = "vstack.trust_triangle.cli:main"
vstack-mcallister = "vstack.mcallister_trust.cli:main"
vstack-psych-safety = "vstack.psych_safety.cli:main"
vstack-glaser = "vstack.glaser_conversation.cli:main"
vstack-feedback-triggers = "vstack.feedback_triggers.cli:main"
vstack-plus-delta = "vstack.plus_delta.cli:main"
vstack-smart-goal = "vstack.smart_goal.cli:main"
vstack-group-decision = "vstack.group_decision.cli:main"
vstack-debate-pathology = "vstack.debate_pathology.cli:main"
vstack-bias-stack = "vstack.bias_stack.cli:main"
vstack-devils-advocate = "vstack.devils_advocate.cli:main"
vstack-thomas-kilmann = "vstack.thomas_kilmann.cli:main"
vstack-schein-culture = "vstack.schein_culture.cli:main"
vstack-robbins-culture = "vstack.robbins_culture.cli:main"
vstack-org-structure = "vstack.org_structure.cli:main"
vstack-span-of-control = "vstack.span_of_control.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# The repo is organized by module + pattern number (module-2-team/30-...)
# but the published Python package presents the conventional `vstack.*`
# import surface. `force-include` rewrites the paths at build time so the
# wheel ships `vstack/aar/...` even though the source lives elsewhere.
# New patterns add another entry here on the same pattern.
[tool.hatch.build.targets.wheel]
only-include = []
[tool.hatch.build.targets.wheel.force-include]
"_packaging/vstack/__init__.py" = "vstack/__init__.py"
"_packaging/vstack/py.typed" = "vstack/py.typed"
"_diagnose/lib" = "vstack/diagnose"
"_mcp/lib" = "vstack/mcp"
"_memory/lib" = "vstack/memory"
"_upgrade/lib" = "vstack/upgrade"
"_api/lib" = "vstack/api"
"_adapters/lib" = "vstack/adapters"
"_learnings/lib" = "vstack/learnings"
"_analytics/lib" = "vstack/analytics"
"_browser/lib" = "vstack/browser"
"_gbrain/lib" = "vstack/gbrain"
"_benchmarks/lib" = "vstack/benchmarks"
"_security/lib" = "vstack/security"
"_cache/lib" = "vstack/cache"
"_observability/lib" = "vstack/observability"
"_doctor/lib" = "vstack/doctor"
"_hello/lib" = "vstack/hello"
"_dashboard/lib" = "vstack/dashboard"
"_scorecard/lib" = "vstack/scorecard"
"_budget/lib" = "vstack/budget"
"_trace_zoo/lib" = "vstack/trace_zoo"
"_replay/lib" = "vstack/replay"
"_vcache/lib" = "vstack/vcache"
"_otel/lib" = "vstack/otel"
"_compose/lib" = "vstack/compose"
"_vdiff/lib" = "vstack/vdiff"
"_calibrate/lib" = "vstack/calibrate"
"_streaming/lib" = "vstack/streaming"
"_vbench/lib" = "vstack/vbench"
"_markers/lib" = "vstack/markers"
"_signing/lib" = "vstack/signing"
"_synth/lib" = "vstack/synth"
"_veval/lib" = "vstack/veval"
"_recipes_dsl/lib" = "vstack/recipes_dsl"
"_heatmap/lib" = "vstack/heatmap"
"_policy/lib" = "vstack/policy"
"_budgeter/lib" = "vstack/budgeter"
"_tracer/lib" = "vstack/tracer"
"_export/lib" = "vstack/export"
"_findings_db/lib" = "vstack/findings_db"
"_trace_diff/lib" = "vstack/trace_diff"
"_timeline/lib" = "vstack/timeline"
"_cost_sim/lib" = "vstack/cost_sim"
"_findings_router/lib" = "vstack/findings_router"
"_alerting/lib" = "vstack/alerting"
"_eval_gates/lib" = "vstack/eval_gates"
"_intervention_tracker/lib" = "vstack/intervention_tracker"
"_redaction/lib" = "vstack/redaction"
"_health/lib" = "vstack/health"
"_priority_queue/lib" = "vstack/priority_queue"
"_snippet/lib" = "vstack/snippet"
"_aggregate/lib" = "vstack/aggregate"
"_ingest/lib" = "vstack/ingest"
# Claude Code skill bundle — shipped inside the wheel so
# `vstack-config install-skills` works for `pip install` users, not just
# repo checkouts. Resolved first by `_resolve_skills_source`.
"_skills" = "vstack/_skills"
"module-2-team/30-aar-generator/lib" = "vstack/aar"
"module-2-team/17-lencioni-diagnostic/lib" = "vstack/lencioni"
"module-2-team/18-trust-triangle-audit/lib" = "vstack/trust_triangle"
"module-1-individual/03-johari-window/lib" = "vstack/johari"
"module-2-team/13-grpi-working-agreement/lib" = "vstack/grpi"
"module-2-team/27-bias-stack-detector/lib" = "vstack/bias_stack"
"module-2-team/20-edmondson-psych-safety/lib" = "vstack/psych_safety"
"module-2-team/29-thomas-kilmann-selector/lib" = "vstack/thomas_kilmann"
"module-2-team/22-stone-heen-feedback-triggers/lib" = "vstack/feedback_triggers"
"module-2-team/28-devils-advocate-separator/lib" = "vstack/devils_advocate"
"module-1-individual/01-lewin-formula/lib" = "vstack/lewin"
"module-2-team/19-mcallister-trust-dimensions/lib" = "vstack/mcallister_trust"
"module-2-team/15-social-loafing-detector/lib" = "vstack/social_loafing"
"module-2-team/26-groupthink-polarization-contagion/lib" = "vstack/debate_pathology"
"module-2-team/14-process-gain-loss-detector/lib" = "vstack/process_gain_loss"
"module-2-team/24-smart-goal-generator/lib" = "vstack/smart_goal"
"module-1-individual/11-mcgregor-orchestrator-mode/lib" = "vstack/mcgregor"
"module-2-team/25-group-decision-models/lib" = "vstack/group_decision"
"module-3-organization/31-schein-iceberg-culture/lib" = "vstack/schein_culture"
"module-1-individual/08-grant-strengths-as-weaknesses/lib" = "vstack/grant_strengths"
"module-2-team/23-plus-delta-feedback-format/lib" = "vstack/plus_delta"
"module-3-organization/32-robbins-judge-7-culture/lib" = "vstack/robbins_culture"
"module-2-team/16-heffernan-superflocks-detector/lib" = "vstack/superflocks"
"module-1-individual/06-yerkes-dodson-workload/lib" = "vstack/yerkes_dodson"
"module-3-organization/33-org-structure-matrix/lib" = "vstack/org_structure"
"module-1-individual/09-motivation-traps/lib" = "vstack/motivation_traps"
"module-2-team/21-glaser-conversation-steering/lib" = "vstack/glaser_conversation"
"module-1-individual/02-goleman-ei-audit/lib" = "vstack/goleman_ei"
"module-1-individual/10-sdt-intrinsic-reward/lib" = "vstack/sdt_reward"
"module-3-organization/34-span-of-control/lib" = "vstack/span_of_control"
"module-1-individual/04-danva-emotion-reader/lib" = "vstack/danva_emotion"
"module-1-individual/05-cognitive-reappraisal/lib" = "vstack/cognitive_reappraisal"
"module-1-individual/07-hexaco-personality/lib" = "vstack/hexaco"
"module-1-individual/12-vroom-expectancy/lib" = "vstack/vroom_expectancy"
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
# numpy (a transitive dep of some optional framework extras) ships inline
# stubs that use the 3.12 `type X = ...` statement. Because we type-check
# against python_version 3.11, mypy can't parse those stubs and aborts
# ("Type statement is only supported in Python 3.12 and greater"). vstack
# does not depend on numpy directly, so skip following it entirely.
[[tool.mypy.overrides]]
module = ["numpy", "numpy.*"]
follow_imports = "skip"
follow_imports_for_stubs = true
[tool.pytest.ini_options]
minversion = "8.0"
testpaths = [
"module-1-individual",
"module-2-team",
"module-3-organization",
"_diagnose",
"_mcp",
"_memory",
"_upgrade",
"_api",
"_adapters",
"_learnings",
"_analytics",
"_browser",
"_gbrain",
"_benchmarks",
"_security",
"_cache",
"_observability",
"_doctor",
"_hello",
"_dashboard",
"_scorecard",
"_budget",
"_trace_zoo",
"_replay",
"_vcache",
"_otel",
"_compose",
"_vdiff",
"_calibrate",
"_streaming",
"_vbench",
"_markers",
"_signing",
"_synth",
"_veval",
"_recipes_dsl",
"_heatmap",
"_policy",
"_budgeter",
"_tracer",
"_export",
"_findings_db",
"_trace_diff",
"_timeline",
"_cost_sim",
"_findings_router",
"_alerting",
"_eval_gates",
"_intervention_tracker",
"_redaction",
"_health",
"_priority_queue",
"_snippet",
"_aggregate",
"_ingest",
]
addopts = "-ra --tb=short --strict-markers"
filterwarnings = [
"error",
"ignore::DeprecationWarning:pydantic.*",
]
[tool.coverage.run]
source = ["vstack"]
omit = [
"*/tests/*",
"*/demo/*",
"*/benchmark/*",
"*/_perf/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.bandit]
# Library code only; tests + demos exercise canned fixtures.
exclude_dirs = [".venv", ".git", "dist", "tests", "demo", "examples", "benchmarks"]
skips = ["B101"] # asserts are OK in library code; they're not security gates