bergendy 1.1.3__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.
- bergendy-1.1.3/.dockerignore +10 -0
- bergendy-1.1.3/.github/workflows/boundary.yml +18 -0
- bergendy-1.1.3/.github/workflows/ci.yml +22 -0
- bergendy-1.1.3/.github/workflows/publish.yml +49 -0
- bergendy-1.1.3/.github/workflows/release.yml +62 -0
- bergendy-1.1.3/.gitignore +37 -0
- bergendy-1.1.3/.pre-commit-hooks.yaml +15 -0
- bergendy-1.1.3/CHANGELOG.md +45 -0
- bergendy-1.1.3/CLA.md +25 -0
- bergendy-1.1.3/CODE_OF_CONDUCT.md +17 -0
- bergendy-1.1.3/CONTRIBUTING.md +25 -0
- bergendy-1.1.3/Cargo.lock +367 -0
- bergendy-1.1.3/Cargo.toml +38 -0
- bergendy-1.1.3/LICENSE +201 -0
- bergendy-1.1.3/Makefile +14 -0
- bergendy-1.1.3/NOTICE +12 -0
- bergendy-1.1.3/PKG-INFO +161 -0
- bergendy-1.1.3/README.md +132 -0
- bergendy-1.1.3/SECURITY.md +11 -0
- bergendy-1.1.3/SPEC.md +128 -0
- bergendy-1.1.3/action.yml +48 -0
- bergendy-1.1.3/docker/Dockerfile.app +32 -0
- bergendy-1.1.3/docs/AGENT_EXECUTION.md +71 -0
- bergendy-1.1.3/docs/AGENT_SESSION.md +61 -0
- bergendy-1.1.3/docs/API_REFERENCE.md +150 -0
- bergendy-1.1.3/docs/ARCHITECTURE.md +90 -0
- bergendy-1.1.3/docs/CLI.md +138 -0
- bergendy-1.1.3/docs/COMPRESSION.md +20 -0
- bergendy-1.1.3/docs/CROSS_REPO_WORK_IMPACT.md +51 -0
- bergendy-1.1.3/docs/DEPLOY.md +72 -0
- bergendy-1.1.3/docs/GHOST_PROXY.md +52 -0
- bergendy-1.1.3/docs/GITHUB_APP.md +89 -0
- bergendy-1.1.3/docs/QUICKSTART.md +134 -0
- bergendy-1.1.3/docs/SNAPSHOTS.md +62 -0
- bergendy-1.1.3/docs/SYSTEM_MAP.md +99 -0
- bergendy-1.1.3/docs/TYPESCRIPT_SDK.md +78 -0
- bergendy-1.1.3/docs/USE_CASES.md +203 -0
- bergendy-1.1.3/docs/VALIDATION_GUIDE.md +74 -0
- bergendy-1.1.3/docs/WORKSPACE_ACTIVATION.md +84 -0
- bergendy-1.1.3/docs/WORKSPACE_LANES.md +101 -0
- bergendy-1.1.3/install.sh +69 -0
- bergendy-1.1.3/pyproject.toml +58 -0
- bergendy-1.1.3/python/bergendy/__init__.py +113 -0
- bergendy-1.1.3/python/bergendy/_exec_shim.py +13 -0
- bergendy-1.1.3/python/bergendy/ai_planner.py +415 -0
- bergendy-1.1.3/python/bergendy/audit.py +296 -0
- bergendy-1.1.3/python/bergendy/autopatch.py +110 -0
- bergendy-1.1.3/python/bergendy/boundary.py +265 -0
- bergendy-1.1.3/python/bergendy/capture.py +106 -0
- bergendy-1.1.3/python/bergendy/change_source.py +87 -0
- bergendy-1.1.3/python/bergendy/cli/__init__.py +1 -0
- bergendy-1.1.3/python/bergendy/cli/enterprise_commands.py +518 -0
- bergendy-1.1.3/python/bergendy/cli/formatters.py +20 -0
- bergendy-1.1.3/python/bergendy/cli/main.py +3109 -0
- bergendy-1.1.3/python/bergendy/compartments/__init__.py +12 -0
- bergendy-1.1.3/python/bergendy/compartments/base.py +74 -0
- bergendy-1.1.3/python/bergendy/compartments/runtime.py +201 -0
- bergendy-1.1.3/python/bergendy/config.py +339 -0
- bergendy-1.1.3/python/bergendy/contracts.py +158 -0
- bergendy-1.1.3/python/bergendy/credentials.py +154 -0
- bergendy-1.1.3/python/bergendy/cross_repo.py +544 -0
- bergendy-1.1.3/python/bergendy/drift.py +186 -0
- bergendy-1.1.3/python/bergendy/engine/__init__.py +1 -0
- bergendy-1.1.3/python/bergendy/engine/events.py +36 -0
- bergendy-1.1.3/python/bergendy/engine/execution.py +221 -0
- bergendy-1.1.3/python/bergendy/engine/integration.py +150 -0
- bergendy-1.1.3/python/bergendy/engine/lane.py +122 -0
- bergendy-1.1.3/python/bergendy/engine/pty_supervisor.py +103 -0
- bergendy-1.1.3/python/bergendy/engine/session.py +295 -0
- bergendy-1.1.3/python/bergendy/engine/tracer.py +117 -0
- bergendy-1.1.3/python/bergendy/formatters.py +22 -0
- bergendy-1.1.3/python/bergendy/git_ops.py +61 -0
- bergendy-1.1.3/python/bergendy/github/__init__.py +17 -0
- bergendy-1.1.3/python/bergendy/github/client.py +359 -0
- bergendy-1.1.3/python/bergendy/github/dashboard.py +158 -0
- bergendy-1.1.3/python/bergendy/github/howl_bot.py +195 -0
- bergendy-1.1.3/python/bergendy/github/hunt_bot.py +52 -0
- bergendy-1.1.3/python/bergendy/github/installations.py +93 -0
- bergendy-1.1.3/python/bergendy/github/pr_bot.py +542 -0
- bergendy-1.1.3/python/bergendy/github/pr_render.py +196 -0
- bergendy-1.1.3/python/bergendy/github/provisioning.py +159 -0
- bergendy-1.1.3/python/bergendy/github/push_events.py +63 -0
- bergendy-1.1.3/python/bergendy/github/trust_pr.py +183 -0
- bergendy-1.1.3/python/bergendy/github/watch.py +104 -0
- bergendy-1.1.3/python/bergendy/github/webhook_server.py +148 -0
- bergendy-1.1.3/python/bergendy/graph.py +34 -0
- bergendy-1.1.3/python/bergendy/hooks/__init__.py +26 -0
- bergendy-1.1.3/python/bergendy/hooks/base.py +381 -0
- bergendy-1.1.3/python/bergendy/hunt.py +2182 -0
- bergendy-1.1.3/python/bergendy/hunt_ports.py +458 -0
- bergendy-1.1.3/python/bergendy/intelligence.py +129 -0
- bergendy-1.1.3/python/bergendy/knowledge.py +316 -0
- bergendy-1.1.3/python/bergendy/llm.py +248 -0
- bergendy-1.1.3/python/bergendy/maintenance.py +387 -0
- bergendy-1.1.3/python/bergendy/maintenance_agents.py +45 -0
- bergendy-1.1.3/python/bergendy/mcp_server.py +269 -0
- bergendy-1.1.3/python/bergendy/patch_writer.py +178 -0
- bergendy-1.1.3/python/bergendy/pipeline.py +907 -0
- bergendy-1.1.3/python/bergendy/prompts/go.md +9 -0
- bergendy-1.1.3/python/bergendy/prompts/java.md +9 -0
- bergendy-1.1.3/python/bergendy/prompts/ruby.md +8 -0
- bergendy-1.1.3/python/bergendy/prompts/schema_gen.txt +9 -0
- bergendy-1.1.3/python/bergendy/providers/__init__.py +10 -0
- bergendy-1.1.3/python/bergendy/providers/registry.py +354 -0
- bergendy-1.1.3/python/bergendy/redact.py +90 -0
- bergendy-1.1.3/python/bergendy/repo_identity.py +192 -0
- bergendy-1.1.3/python/bergendy/runtime_scan.py +123 -0
- bergendy-1.1.3/python/bergendy/sandbox/__init__.py +1 -0
- bergendy-1.1.3/python/bergendy/sandbox/box.py +236 -0
- bergendy-1.1.3/python/bergendy/sandbox/compression.py +25 -0
- bergendy-1.1.3/python/bergendy/sandbox/enforcer.py +211 -0
- bergendy-1.1.3/python/bergendy/sandbox/proxy.py +230 -0
- bergendy-1.1.3/python/bergendy/sandbox/snapshot.py +134 -0
- bergendy-1.1.3/python/bergendy/sandbox/task_profile.py +17 -0
- bergendy-1.1.3/python/bergendy/shield.py +218 -0
- bergendy-1.1.3/python/bergendy/test_runner.py +102 -0
- bergendy-1.1.3/python/bergendy/traffic_drift.py +39 -0
- bergendy-1.1.3/python/bergendy/work_graph.py +199 -0
- bergendy-1.1.3/python/boundary/__init__.py +113 -0
- bergendy-1.1.3/python/boundary/_exec_shim.py +13 -0
- bergendy-1.1.3/python/boundary/ai_planner.py +415 -0
- bergendy-1.1.3/python/boundary/audit.py +296 -0
- bergendy-1.1.3/python/boundary/autopatch.py +110 -0
- bergendy-1.1.3/python/boundary/boundary.py +265 -0
- bergendy-1.1.3/python/boundary/capture.py +106 -0
- bergendy-1.1.3/python/boundary/change_source.py +87 -0
- bergendy-1.1.3/python/boundary/cli/__init__.py +1 -0
- bergendy-1.1.3/python/boundary/cli/enterprise_commands.py +518 -0
- bergendy-1.1.3/python/boundary/cli/formatters.py +20 -0
- bergendy-1.1.3/python/boundary/cli/main.py +3109 -0
- bergendy-1.1.3/python/boundary/compartments/__init__.py +12 -0
- bergendy-1.1.3/python/boundary/compartments/base.py +74 -0
- bergendy-1.1.3/python/boundary/compartments/runtime.py +201 -0
- bergendy-1.1.3/python/boundary/config.py +339 -0
- bergendy-1.1.3/python/boundary/contracts.py +158 -0
- bergendy-1.1.3/python/boundary/credentials.py +154 -0
- bergendy-1.1.3/python/boundary/cross_repo.py +544 -0
- bergendy-1.1.3/python/boundary/drift.py +186 -0
- bergendy-1.1.3/python/boundary/engine/__init__.py +1 -0
- bergendy-1.1.3/python/boundary/engine/events.py +36 -0
- bergendy-1.1.3/python/boundary/engine/execution.py +221 -0
- bergendy-1.1.3/python/boundary/engine/integration.py +150 -0
- bergendy-1.1.3/python/boundary/engine/lane.py +122 -0
- bergendy-1.1.3/python/boundary/engine/pty_supervisor.py +103 -0
- bergendy-1.1.3/python/boundary/engine/session.py +295 -0
- bergendy-1.1.3/python/boundary/engine/tracer.py +117 -0
- bergendy-1.1.3/python/boundary/formatters.py +22 -0
- bergendy-1.1.3/python/boundary/git_ops.py +61 -0
- bergendy-1.1.3/python/boundary/github/__init__.py +17 -0
- bergendy-1.1.3/python/boundary/github/client.py +359 -0
- bergendy-1.1.3/python/boundary/github/dashboard.py +158 -0
- bergendy-1.1.3/python/boundary/github/howl_bot.py +195 -0
- bergendy-1.1.3/python/boundary/github/hunt_bot.py +52 -0
- bergendy-1.1.3/python/boundary/github/installations.py +93 -0
- bergendy-1.1.3/python/boundary/github/pr_bot.py +542 -0
- bergendy-1.1.3/python/boundary/github/pr_render.py +196 -0
- bergendy-1.1.3/python/boundary/github/provisioning.py +159 -0
- bergendy-1.1.3/python/boundary/github/push_events.py +63 -0
- bergendy-1.1.3/python/boundary/github/trust_pr.py +183 -0
- bergendy-1.1.3/python/boundary/github/watch.py +104 -0
- bergendy-1.1.3/python/boundary/github/webhook_server.py +148 -0
- bergendy-1.1.3/python/boundary/graph.py +34 -0
- bergendy-1.1.3/python/boundary/hooks/__init__.py +26 -0
- bergendy-1.1.3/python/boundary/hooks/base.py +381 -0
- bergendy-1.1.3/python/boundary/hunt.py +2182 -0
- bergendy-1.1.3/python/boundary/hunt_ports.py +458 -0
- bergendy-1.1.3/python/boundary/intelligence.py +129 -0
- bergendy-1.1.3/python/boundary/knowledge.py +316 -0
- bergendy-1.1.3/python/boundary/llm.py +248 -0
- bergendy-1.1.3/python/boundary/maintenance.py +387 -0
- bergendy-1.1.3/python/boundary/maintenance_agents.py +45 -0
- bergendy-1.1.3/python/boundary/mcp_server.py +269 -0
- bergendy-1.1.3/python/boundary/patch_writer.py +178 -0
- bergendy-1.1.3/python/boundary/pipeline.py +907 -0
- bergendy-1.1.3/python/boundary/prompts/go.md +9 -0
- bergendy-1.1.3/python/boundary/prompts/java.md +9 -0
- bergendy-1.1.3/python/boundary/prompts/ruby.md +8 -0
- bergendy-1.1.3/python/boundary/prompts/schema_gen.txt +9 -0
- bergendy-1.1.3/python/boundary/providers/__init__.py +10 -0
- bergendy-1.1.3/python/boundary/providers/registry.py +354 -0
- bergendy-1.1.3/python/boundary/redact.py +90 -0
- bergendy-1.1.3/python/boundary/repo_identity.py +192 -0
- bergendy-1.1.3/python/boundary/runtime_scan.py +123 -0
- bergendy-1.1.3/python/boundary/sandbox/__init__.py +1 -0
- bergendy-1.1.3/python/boundary/sandbox/box.py +236 -0
- bergendy-1.1.3/python/boundary/sandbox/compression.py +25 -0
- bergendy-1.1.3/python/boundary/sandbox/enforcer.py +211 -0
- bergendy-1.1.3/python/boundary/sandbox/proxy.py +230 -0
- bergendy-1.1.3/python/boundary/sandbox/snapshot.py +134 -0
- bergendy-1.1.3/python/boundary/sandbox/task_profile.py +17 -0
- bergendy-1.1.3/python/boundary/shield.py +218 -0
- bergendy-1.1.3/python/boundary/test_runner.py +102 -0
- bergendy-1.1.3/python/boundary/traffic_drift.py +39 -0
- bergendy-1.1.3/python/boundary/work_graph.py +199 -0
- bergendy-1.1.3/scripts/run_all_tests.py +46 -0
- bergendy-1.1.3/sdk/README.md +71 -0
- bergendy-1.1.3/sdk/boundary/capture.js +43 -0
- bergendy-1.1.3/sdk/go/boundary.go +32 -0
- bergendy-1.1.3/sdk/java/Boundary.java +25 -0
- bergendy-1.1.3/sdk/nextjs/package.json +51 -0
- bergendy-1.1.3/sdk/nextjs/src/config.js +134 -0
- bergendy-1.1.3/sdk/nextjs/src/edge.js +131 -0
- bergendy-1.1.3/sdk/nextjs/src/index.js +14 -0
- bergendy-1.1.3/sdk/nextjs/src/instrumentation.js +149 -0
- bergendy-1.1.3/sdk/nextjs/test/nextjs.test.mjs +141 -0
- bergendy-1.1.3/sdk/ruby/boundary.rb +26 -0
- bergendy-1.1.3/sdk/typescript/LICENSE +26 -0
- bergendy-1.1.3/sdk/typescript/index.d.ts +17 -0
- bergendy-1.1.3/sdk/typescript/index.js +326 -0
- bergendy-1.1.3/sdk/typescript/instrument.js +155 -0
- bergendy-1.1.3/sdk/typescript/package-lock.json +46 -0
- bergendy-1.1.3/sdk/typescript/package.json +59 -0
- bergendy-1.1.3/sdk/typescript/test/mock_proxy.test.mjs +57 -0
- bergendy-1.1.3/sdk/typescript/test/smoke.mjs +83 -0
- bergendy-1.1.3/src/engines/ast/locator.rs +572 -0
- bergendy-1.1.3/src/engines/ast/mod.rs +8 -0
- bergendy-1.1.3/src/engines/ast/types.rs +73 -0
- bergendy-1.1.3/src/engines/autopatch/contracts.rs +370 -0
- bergendy-1.1.3/src/engines/autopatch/evidence.rs +411 -0
- bergendy-1.1.3/src/engines/autopatch/inventory.rs +327 -0
- bergendy-1.1.3/src/engines/autopatch/manifest_lockfile.rs +410 -0
- bergendy-1.1.3/src/engines/autopatch/mod.rs +29 -0
- bergendy-1.1.3/src/engines/autopatch/planner.rs +505 -0
- bergendy-1.1.3/src/engines/autopatch/policy.rs +142 -0
- bergendy-1.1.3/src/engines/autopatch/report.rs +452 -0
- bergendy-1.1.3/src/engines/autopatch/resolver.rs +675 -0
- bergendy-1.1.3/src/engines/autopatch/types.rs +191 -0
- bergendy-1.1.3/src/engines/autopatch/workflow.rs +295 -0
- bergendy-1.1.3/src/engines/graph/builder.rs +224 -0
- bergendy-1.1.3/src/engines/graph/mod.rs +6 -0
- bergendy-1.1.3/src/engines/graph/query.rs +114 -0
- bergendy-1.1.3/src/engines/graph/types.rs +149 -0
- bergendy-1.1.3/src/engines/mod.rs +5 -0
- bergendy-1.1.3/src/engines/rewriter.rs +136 -0
- bergendy-1.1.3/src/engines/schema/diff.rs +484 -0
- bergendy-1.1.3/src/engines/schema/mod.rs +12 -0
- bergendy-1.1.3/src/engines/schema/parser.rs +258 -0
- bergendy-1.1.3/src/engines/schema/types.rs +88 -0
- bergendy-1.1.3/src/lib.rs +11 -0
- bergendy-1.1.3/src/py_bindings.rs +174 -0
- bergendy-1.1.3/src/runtime/ccr/mod.rs +174 -0
- bergendy-1.1.3/src/runtime/compartments/mod.rs +231 -0
- bergendy-1.1.3/src/runtime/credential.rs +72 -0
- bergendy-1.1.3/src/runtime/enforcer.rs +146 -0
- bergendy-1.1.3/src/runtime/mod.rs +5 -0
- bergendy-1.1.3/src/runtime/snapshot.rs +250 -0
- bergendy-1.1.3/src/sandbox/linux.rs +318 -0
- bergendy-1.1.3/src/sandbox/macos.rs +242 -0
- bergendy-1.1.3/src/sandbox/mod.rs +77 -0
- bergendy-1.1.3/tests/boundary/test_boundary_e2e.py +171 -0
- bergendy-1.1.3/tests/conftest.py +65 -0
- bergendy-1.1.3/tests/test_ai_planner.py +112 -0
- bergendy-1.1.3/tests/test_ai_reasoning.py +123 -0
- bergendy-1.1.3/tests/test_alias_repair.py +88 -0
- bergendy-1.1.3/tests/test_audit_cli.py +146 -0
- bergendy-1.1.3/tests/test_audit_regressions.py +165 -0
- bergendy-1.1.3/tests/test_auth_gating.py +137 -0
- bergendy-1.1.3/tests/test_autopatch_cli.py +176 -0
- bergendy-1.1.3/tests/test_autopatch_sdk.py +215 -0
- bergendy-1.1.3/tests/test_bot_mentions.py +36 -0
- bergendy-1.1.3/tests/test_boundary_runtime.py +123 -0
- bergendy-1.1.3/tests/test_box_lifecycle.py +63 -0
- bergendy-1.1.3/tests/test_change_commands.py +275 -0
- bergendy-1.1.3/tests/test_change_source.py +49 -0
- bergendy-1.1.3/tests/test_config.py +101 -0
- bergendy-1.1.3/tests/test_consult.py +187 -0
- bergendy-1.1.3/tests/test_credential_scoping.py +42 -0
- bergendy-1.1.3/tests/test_cross_repo_impact.py +181 -0
- bergendy-1.1.3/tests/test_customer_e2e_flow.py +206 -0
- bergendy-1.1.3/tests/test_decision.py +71 -0
- bergendy-1.1.3/tests/test_deep_edge_cases.py +242 -0
- bergendy-1.1.3/tests/test_dependency_graph.py +42 -0
- bergendy-1.1.3/tests/test_detect_changes.py +49 -0
- bergendy-1.1.3/tests/test_doctor.py +77 -0
- bergendy-1.1.3/tests/test_e2e_full_suite.py +482 -0
- bergendy-1.1.3/tests/test_e2e_golden_run.py +287 -0
- bergendy-1.1.3/tests/test_exec_compartment.py +265 -0
- bergendy-1.1.3/tests/test_execution.py +80 -0
- bergendy-1.1.3/tests/test_git_trailers.py +141 -0
- bergendy-1.1.3/tests/test_github_integration.py +133 -0
- bergendy-1.1.3/tests/test_hooks.py +137 -0
- bergendy-1.1.3/tests/test_hostile_concurrency.py +223 -0
- bergendy-1.1.3/tests/test_howl_hunt_bots.py +225 -0
- bergendy-1.1.3/tests/test_howl_permissions.py +71 -0
- bergendy-1.1.3/tests/test_hunt.py +311 -0
- bergendy-1.1.3/tests/test_hunt_contracts.py +724 -0
- bergendy-1.1.3/tests/test_hunt_safety.py +367 -0
- bergendy-1.1.3/tests/test_incremental_index.py +56 -0
- bergendy-1.1.3/tests/test_installations.py +60 -0
- bergendy-1.1.3/tests/test_knowledge.py +86 -0
- bergendy-1.1.3/tests/test_lanes_and_integration.py +57 -0
- bergendy-1.1.3/tests/test_llm_client.py +96 -0
- bergendy-1.1.3/tests/test_maintenance_agents.py +7 -0
- bergendy-1.1.3/tests/test_maintenance_loop.py +82 -0
- bergendy-1.1.3/tests/test_pipeline.py +272 -0
- bergendy-1.1.3/tests/test_pr_bot.py +280 -0
- bergendy-1.1.3/tests/test_pr_checkout.py +75 -0
- bergendy-1.1.3/tests/test_pr_surface.py +84 -0
- bergendy-1.1.3/tests/test_provider_registry.py +40 -0
- bergendy-1.1.3/tests/test_provisioning.py +54 -0
- bergendy-1.1.3/tests/test_proxy.py +132 -0
- bergendy-1.1.3/tests/test_pty_supervisor.py +59 -0
- bergendy-1.1.3/tests/test_push_exact_sha.py +88 -0
- bergendy-1.1.3/tests/test_push_work_graph.py +84 -0
- bergendy-1.1.3/tests/test_redact.py +109 -0
- bergendy-1.1.3/tests/test_repo_identity.py +113 -0
- bergendy-1.1.3/tests/test_session.py +56 -0
- bergendy-1.1.3/tests/test_snapshot.py +304 -0
- bergendy-1.1.3/tests/test_watch.py +56 -0
- bergendy-1.1.3/tests/test_work_impact_e2e.py +160 -0
- bergendy-1.1.3/tests/test_work_impact_hunt.py +181 -0
- bergendy-1.1.3/tests/test_work_impact_notify.py +273 -0
- bergendy-1.1.3/tests/test_workflow_branch_and_step.py +287 -0
- bergendy-1.1.3/tests/test_workflow_run.py +239 -0
- bergendy-1.1.3/tests/test_workspace_activation.py +87 -0
- bergendy-1.1.3/trials/fixtures/calcom_stripe/package.json +7 -0
- bergendy-1.1.3/trials/fixtures/calcom_stripe/packages/features/ee/billing/stripe.test.ts +8 -0
- bergendy-1.1.3/trials/fixtures/calcom_stripe/packages/features/ee/billing/stripe.ts +26 -0
- bergendy-1.1.3/trials/fixtures/calcom_stripe/specs/stripe_v11.json +22 -0
- bergendy-1.1.3/trials/fixtures/calcom_stripe/specs/stripe_v13.json +22 -0
- bergendy-1.1.3/trials/fixtures/calcom_stripe/test/run.js +20 -0
- bergendy-1.1.3/trials/fixtures/calcom_twilio/package.json +6 -0
- bergendy-1.1.3/trials/fixtures/calcom_twilio/specs/twilio_v1.json +1 -0
- bergendy-1.1.3/trials/fixtures/calcom_twilio/specs/twilio_v2.json +1 -0
- bergendy-1.1.3/trials/fixtures/calcom_twilio/src/sms.ts +7 -0
- bergendy-1.1.3/trials/fixtures/langchainjs_openai/package.json +7 -0
- bergendy-1.1.3/trials/fixtures/langchainjs_openai/specs/openai_v3.json +22 -0
- bergendy-1.1.3/trials/fixtures/langchainjs_openai/specs/openai_v4.json +22 -0
- bergendy-1.1.3/trials/fixtures/langchainjs_openai/src/chat_models/openai.ts +24 -0
- bergendy-1.1.3/trials/fixtures/langchainjs_openai/src/embeddings/openai.ts +18 -0
- bergendy-1.1.3/trials/fixtures/langchainjs_openai/test/openai.test.ts +9 -0
- bergendy-1.1.3/trials/fixtures/langchainjs_openai/test/run.js +20 -0
- bergendy-1.1.3/trials/fixtures/renovate_octokit/package.json +6 -0
- bergendy-1.1.3/trials/fixtures/renovate_octokit/specs/octokit_v16.json +1 -0
- bergendy-1.1.3/trials/fixtures/renovate_octokit/specs/octokit_v17.json +1 -0
- bergendy-1.1.3/trials/fixtures/renovate_octokit/src/github.ts +5 -0
- bergendy-1.1.3/trials/fixtures/sentry_hub/package.json +6 -0
- bergendy-1.1.3/trials/fixtures/sentry_hub/specs/sentry_v7.json +1 -0
- bergendy-1.1.3/trials/fixtures/sentry_hub/specs/sentry_v8.json +1 -0
- bergendy-1.1.3/trials/fixtures/sentry_hub/src/monitoring.ts +8 -0
- bergendy-1.1.3/trials/fixtures/sentry_hub/test/run.js +20 -0
- bergendy-1.1.3/trials/fixtures/serverless_aws/package.json +6 -0
- bergendy-1.1.3/trials/fixtures/serverless_aws/specs/aws_v2.json +1 -0
- bergendy-1.1.3/trials/fixtures/serverless_aws/specs/aws_v3.json +1 -0
- bergendy-1.1.3/trials/fixtures/serverless_aws/src/storage.ts +7 -0
- bergendy-1.1.3/trials/fixtures/serverless_aws/test/run.js +20 -0
- bergendy-1.1.3/trials/fixtures/smol_ai_anthropic/package.json +6 -0
- bergendy-1.1.3/trials/fixtures/smol_ai_anthropic/specs/anthropic_v1.json +1 -0
- bergendy-1.1.3/trials/fixtures/smol_ai_anthropic/specs/anthropic_v2.json +1 -0
- bergendy-1.1.3/trials/fixtures/smol_ai_anthropic/src/prompt.ts +11 -0
- bergendy-1.1.3/trials/fixtures/supabase_auth/package.json +6 -0
- bergendy-1.1.3/trials/fixtures/supabase_auth/specs/supabase_v1.json +1 -0
- bergendy-1.1.3/trials/fixtures/supabase_auth/specs/supabase_v2.json +1 -0
- bergendy-1.1.3/trials/fixtures/supabase_auth/src/session.ts +7 -0
- bergendy-1.1.3/trials/fixtures/taxonomy_stripe/package.json +6 -0
- bergendy-1.1.3/trials/fixtures/taxonomy_stripe/specs/stripe_v21.json +1 -0
- bergendy-1.1.3/trials/fixtures/taxonomy_stripe/specs/stripe_v22.json +1 -0
- bergendy-1.1.3/trials/fixtures/taxonomy_stripe/src/billing.ts +10 -0
- bergendy-1.1.3/trials/fixtures/taxonomy_stripe/test/run.js +20 -0
- bergendy-1.1.3/trials/fixtures/uploadthing_clerk/package.json +6 -0
- bergendy-1.1.3/trials/fixtures/uploadthing_clerk/specs/clerk_v4.json +1 -0
- bergendy-1.1.3/trials/fixtures/uploadthing_clerk/specs/clerk_v5.json +1 -0
- bergendy-1.1.3/trials/fixtures/uploadthing_clerk/src/middleware.ts +5 -0
- bergendy-1.1.3/trials/fixtures/uploadthing_clerk/test/run.js +20 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
name: boundary-gate
|
|
2
|
+
on:
|
|
3
|
+
pull_request:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
jobs:
|
|
7
|
+
gate:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/checkout@v4
|
|
11
|
+
- uses: actions/setup-python@v5
|
|
12
|
+
with:
|
|
13
|
+
python-version: "3.12"
|
|
14
|
+
- name: Install boundary
|
|
15
|
+
run: pip install -e . 2>/dev/null || pip install .
|
|
16
|
+
- name: Contract Gate (fail-closed on unvalidated boundaries)
|
|
17
|
+
run: boundary gate . --ci
|
|
18
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: ci
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
test:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v4
|
|
13
|
+
- uses: actions/setup-python@v5
|
|
14
|
+
with:
|
|
15
|
+
python-version: "3.12"
|
|
16
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
17
|
+
- run: pip install ruff maturin pytest pyyaml blake3 "pyjwt[crypto]>=2.8.0"
|
|
18
|
+
- run: maturin build --release --out dist
|
|
19
|
+
- run: pip install dist/*.whl --force-reinstall
|
|
20
|
+
- run: python -c "import bergendy._core as c, shutil, os; shutil.copy(c.__file__, 'python/bergendy/'); shutil.copy(c.__file__, 'python/boundary/') if os.path.exists('python/boundary') else None"
|
|
21
|
+
- run: python scripts/run_all_tests.py
|
|
22
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags: ["v*"]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
build-wheels:
|
|
9
|
+
strategy:
|
|
10
|
+
matrix:
|
|
11
|
+
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
12
|
+
runs-on: ${{ matrix.os }}
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
- uses: PyO3/maturin-action@v1
|
|
16
|
+
with:
|
|
17
|
+
command: build
|
|
18
|
+
args: --release --out dist
|
|
19
|
+
manylinux: auto
|
|
20
|
+
- uses: actions/upload-artifact@v4
|
|
21
|
+
with:
|
|
22
|
+
name: wheels-${{ matrix.os }}
|
|
23
|
+
path: dist
|
|
24
|
+
|
|
25
|
+
sdist:
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
steps:
|
|
28
|
+
- uses: actions/checkout@v4
|
|
29
|
+
- uses: PyO3/maturin-action@v1
|
|
30
|
+
with:
|
|
31
|
+
command: sdist
|
|
32
|
+
args: --out dist
|
|
33
|
+
- uses: actions/upload-artifact@v4
|
|
34
|
+
with:
|
|
35
|
+
name: wheels-sdist
|
|
36
|
+
path: dist
|
|
37
|
+
|
|
38
|
+
publish:
|
|
39
|
+
needs: [build-wheels, sdist]
|
|
40
|
+
runs-on: ubuntu-latest
|
|
41
|
+
environment: pypi
|
|
42
|
+
permissions:
|
|
43
|
+
id-token: write
|
|
44
|
+
steps:
|
|
45
|
+
- uses: actions/download-artifact@v4
|
|
46
|
+
with:
|
|
47
|
+
path: dist
|
|
48
|
+
merge-multiple: true
|
|
49
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*'
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: write
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build-binaries:
|
|
13
|
+
name: Build ${{ matrix.target }}
|
|
14
|
+
runs-on: ${{ matrix.os }}
|
|
15
|
+
strategy:
|
|
16
|
+
matrix:
|
|
17
|
+
include:
|
|
18
|
+
- target: aarch64-apple-darwin
|
|
19
|
+
os: macos-latest
|
|
20
|
+
- target: x86_64-apple-darwin
|
|
21
|
+
os: macos-13
|
|
22
|
+
- target: x86_64-unknown-linux-gnu
|
|
23
|
+
os: ubuntu-latest
|
|
24
|
+
- target: aarch64-unknown-linux-gnu
|
|
25
|
+
os: ubuntu-latest
|
|
26
|
+
|
|
27
|
+
steps:
|
|
28
|
+
- uses: actions/checkout@v4
|
|
29
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
30
|
+
with:
|
|
31
|
+
targets: ${{ matrix.target }}
|
|
32
|
+
|
|
33
|
+
- name: Build Binary
|
|
34
|
+
run: cargo build --release --target ${{ matrix.target }}
|
|
35
|
+
|
|
36
|
+
- name: Package Binary
|
|
37
|
+
shell: bash
|
|
38
|
+
run: |
|
|
39
|
+
mkdir -p staging
|
|
40
|
+
cp target/${{ matrix.target }}/release/libbergendy_core.* staging/ 2>/dev/null || cp target/${{ matrix.target }}/release/libboundary_core.* staging/ 2>/dev/null || true
|
|
41
|
+
tar -czvf bergendy-${{ matrix.target }}.tar.gz -C staging .
|
|
42
|
+
|
|
43
|
+
- name: Upload Artifact
|
|
44
|
+
uses: actions/upload-artifact@v4
|
|
45
|
+
with:
|
|
46
|
+
name: bergendy-${{ matrix.target }}
|
|
47
|
+
path: bergendy-${{ matrix.target }}.tar.gz
|
|
48
|
+
|
|
49
|
+
publish-release:
|
|
50
|
+
needs: [build-binaries]
|
|
51
|
+
runs-on: ubuntu-latest
|
|
52
|
+
steps:
|
|
53
|
+
- uses: actions/checkout@v4
|
|
54
|
+
- uses: actions/download-artifact@v4
|
|
55
|
+
with:
|
|
56
|
+
path: dist
|
|
57
|
+
|
|
58
|
+
- name: Create GitHub Release
|
|
59
|
+
uses: softprops/action-gh-release@v2
|
|
60
|
+
with:
|
|
61
|
+
files: dist/**/*.tar.gz
|
|
62
|
+
generate_release_notes: true
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Rust build artifacts
|
|
2
|
+
/target/
|
|
3
|
+
|
|
4
|
+
# Python artifacts
|
|
5
|
+
__pycache__/
|
|
6
|
+
*.pyc
|
|
7
|
+
*.pyo
|
|
8
|
+
*.pyd
|
|
9
|
+
*.so
|
|
10
|
+
*.dylib
|
|
11
|
+
*.egg-info/
|
|
12
|
+
dist/
|
|
13
|
+
build/
|
|
14
|
+
.pytest_cache/
|
|
15
|
+
.venv/
|
|
16
|
+
|
|
17
|
+
# Boundary transient state
|
|
18
|
+
.boundary/
|
|
19
|
+
|
|
20
|
+
# Language SDK artifacts
|
|
21
|
+
sdk/typescript/node_modules/
|
|
22
|
+
sdk/typescript/*.node
|
|
23
|
+
sdk/typescript/native/target/
|
|
24
|
+
sdk/typescript/native/Cargo.lock
|
|
25
|
+
sdk/typescript/*.tgz
|
|
26
|
+
sdk/typescript/sdk-darwin-*/
|
|
27
|
+
|
|
28
|
+
# Bench & transient state
|
|
29
|
+
.DS_Store
|
|
30
|
+
.opencode/
|
|
31
|
+
logs/
|
|
32
|
+
.agents/
|
|
33
|
+
.claude/
|
|
34
|
+
.envrc
|
|
35
|
+
|
|
36
|
+
# Test runs write index state into fixture checkouts; never commit it
|
|
37
|
+
trials/**/.boundary/
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
- id: boundary-gate
|
|
2
|
+
name: boundary gate
|
|
3
|
+
description: Block commits introducing unvalidated external network boundaries
|
|
4
|
+
entry: boundary gate
|
|
5
|
+
language: python
|
|
6
|
+
types_or: [javascript, jsx, ts, tsx, python, go]
|
|
7
|
+
pass_filenames: true
|
|
8
|
+
|
|
9
|
+
- id: boundary-guard
|
|
10
|
+
name: boundary guard
|
|
11
|
+
description: Block commits introducing unvalidated external network boundaries
|
|
12
|
+
entry: boundary gate
|
|
13
|
+
language: python
|
|
14
|
+
types_or: [javascript, jsx, ts, tsx, python, go]
|
|
15
|
+
pass_filenames: true
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to Boundary are documented here.
|
|
4
|
+
|
|
5
|
+
## [1.1.3] - 2026-09-15
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- **Autonomous Polyglot Runtime Boundaries**:
|
|
9
|
+
- `boundary resolve`: LLM-driven contract synthesis supporting TypeScript/JavaScript (Zod), Python (Pydantic), and Go (`struct` with JSON tags).
|
|
10
|
+
- Context & Payload Isolation: strictly extracts and models `response_body` telemetry, preventing wrapper hallucination.
|
|
11
|
+
- "No-Swallow" AST Verification: rejects patches that wrap validation checks in silent error-suppressing blocks.
|
|
12
|
+
- Polyglot AST Rewriter (`src/engines/rewriter.rs`): injects `.parse(data)` and `Schema.parse(await res.json())` directly at client callsites.
|
|
13
|
+
- **BYOK AI Credentials**:
|
|
14
|
+
- `boundary auth`: provider authentication (Groq, OpenAI, Anthropic); credentials in `~/.boundary/credentials.json` (0600).
|
|
15
|
+
- **Enterprise Command Suite**:
|
|
16
|
+
- `boundary scan`: alias of `boundary check`; locates external API drift and unvalidated boundaries.
|
|
17
|
+
- `boundary score`: 0-100 repo health score (SDK drift + unvalidated runtime calls).
|
|
18
|
+
- `boundary scout`: read-only audit — maps boundaries, warns, touches nothing.
|
|
19
|
+
- `boundary shield`: pre-commit enforcement + schema generation (`--on/--off/--fix/--status`).
|
|
20
|
+
- `boundary dev`: run your app with live traffic capture into `.boundary/contracts.db`.
|
|
21
|
+
- **Hermetic Sandbox Replay (Ghost Proxy)**:
|
|
22
|
+
- Rust mock proxy infrastructure for offline, deterministic replaying of captured network telemetry during sandboxed verification (reachable at `127.0.0.1:54321`).
|
|
23
|
+
- **MCP Server**:
|
|
24
|
+
- `boundary mcp`: Model Context Protocol server for AI assistants.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
- Standardized CLI output format.
|
|
28
|
+
|
|
29
|
+
## [1.1.0] - 2026-09-01
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
- **Core Rust Engine (`boundary-core`)**:
|
|
33
|
+
- High-performance AST analysis and external-change dependency graph (`src/engines/graph/`).
|
|
34
|
+
- OpenAPI and JSON schema diffing engine (`src/engines/schema/`).
|
|
35
|
+
- Operating system sandbox isolation: macOS `sandbox-exec` profile generator and Linux `landlock` enforcement.
|
|
36
|
+
- Instant worktree snapshotting and content-addressed cache (`src/runtime/`).
|
|
37
|
+
- **BYOK AI Credentials**:
|
|
38
|
+
- Secure credential storage in `~/.boundary/credentials.json`.
|
|
39
|
+
- **Telemetry Capture**:
|
|
40
|
+
- Outbound HTTP interception and structured `HttpExchange` logging.
|
|
41
|
+
|
|
42
|
+
## [1.0.0] - 2026-08-15
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
- Initial release of Boundary: Autonomous External-Change Intelligence & Controlled Execution.
|
bergendy-1.1.3/CLA.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Contributor License Agreement
|
|
2
|
+
|
|
3
|
+
Thank you for contributing to Boundary.
|
|
4
|
+
|
|
5
|
+
By submitting a pull request, comment, or any other contribution to this
|
|
6
|
+
repository, you agree to the following:
|
|
7
|
+
|
|
8
|
+
1. **Copyright license.** You grant Boundary Labs (Tanmay Jayant Devare) a
|
|
9
|
+
perpetual, worldwide, non-exclusive, royalty-free, irrevocable license to
|
|
10
|
+
use, reproduce, modify, distribute, sublicense, and relicense your
|
|
11
|
+
contribution as part of Boundary - including under proprietary or dual-license
|
|
12
|
+
terms in future commercial offerings.
|
|
13
|
+
|
|
14
|
+
2. **Patent license.** To the extent you hold patent claims covering your
|
|
15
|
+
contribution, you grant the same rights for those claims.
|
|
16
|
+
|
|
17
|
+
3. **You have the right to contribute.** You confirm the contribution is your
|
|
18
|
+
own work (or you are authorized to submit it) and does not violate any
|
|
19
|
+
third-party license or agreement.
|
|
20
|
+
|
|
21
|
+
4. **No obligation.** Submitting a contribution does not guarantee it will be
|
|
22
|
+
merged or maintained.
|
|
23
|
+
|
|
24
|
+
Your original authorship is always recorded in git history. This agreement
|
|
25
|
+
only covers licensing; attribution stays with you.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
|
6
|
+
|
|
7
|
+
## Our Standards
|
|
8
|
+
|
|
9
|
+
Examples of behavior that contributes to a positive environment:
|
|
10
|
+
- Demonstrating empathy and kindness toward other people
|
|
11
|
+
- Being respectful of differing opinions, viewpoints, and experiences
|
|
12
|
+
- Giving and gracefully accepting constructive feedback
|
|
13
|
+
- Accepting responsibility and apologizing to those affected by our mistakes
|
|
14
|
+
|
|
15
|
+
## Enforcement
|
|
16
|
+
|
|
17
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the project team at `conduct@boundary.dev`.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Contributing to Boundary
|
|
2
|
+
|
|
3
|
+
We welcome contributions to the Boundary source-available runtime!
|
|
4
|
+
|
|
5
|
+
## Licensing & License Agreement
|
|
6
|
+
|
|
7
|
+
By contributing to Boundary, you agree that your contributions will be licensed under the [Apache License 2.0](LICENSE), and to the terms of the [CLA](CLA.md).
|
|
8
|
+
|
|
9
|
+
## Development Setup
|
|
10
|
+
|
|
11
|
+
1. **Prerequisites**: Python >= 3.10, Rust >= 1.75, `maturin` (`pip install maturin`).
|
|
12
|
+
2. **Build Native Extension**:
|
|
13
|
+
```bash
|
|
14
|
+
maturin develop
|
|
15
|
+
```
|
|
16
|
+
3. **Run Tests**:
|
|
17
|
+
```bash
|
|
18
|
+
python3 -m pytest
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Pull Request Guidelines
|
|
22
|
+
|
|
23
|
+
- Ensure all existing unit and E2E tests pass.
|
|
24
|
+
- Write unit tests for new features or bug fixes.
|
|
25
|
+
- Keep changes focused, surgical, and well-documented.
|