selfheal-api 1.0.0rc1__py3-none-any.whl
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.
- selfheal/__init__.py +7 -0
- selfheal/__main__.py +3 -0
- selfheal/actions.py +955 -0
- selfheal/alerts.py +334 -0
- selfheal/api.py +745 -0
- selfheal/app_check.py +164 -0
- selfheal/approval.py +184 -0
- selfheal/appsource.py +46 -0
- selfheal/ask_and_gate.py +113 -0
- selfheal/ask_ticket.py +170 -0
- selfheal/attempts.py +312 -0
- selfheal/brief.py +268 -0
- selfheal/chain.py +290 -0
- selfheal/cli.py +338 -0
- selfheal/containers.py +537 -0
- selfheal/dedupe.py +125 -0
- selfheal/demo_reset.py +230 -0
- selfheal/deploy/Containerfile.pipeline +39 -0
- selfheal/deploy/constraints-image.txt +10 -0
- selfheal/deploy/constraints.txt +49 -0
- selfheal/devseed.py +201 -0
- selfheal/diffctx.py +77 -0
- selfheal/egress_proxy.py +128 -0
- selfheal/evidence.py +186 -0
- selfheal/export.py +124 -0
- selfheal/fakejev.py +78 -0
- selfheal/fix_intent.py +132 -0
- selfheal/gate.py +345 -0
- selfheal/gate_config.json +7 -0
- selfheal/github.py +241 -0
- selfheal/github_auth.py +412 -0
- selfheal/goals.py +146 -0
- selfheal/ground_truth.py +165 -0
- selfheal/guard.py +749 -0
- selfheal/host_os.py +52 -0
- selfheal/implement.py +495 -0
- selfheal/incidents.py +280 -0
- selfheal/lifecycle.py +251 -0
- selfheal/logsource.py +98 -0
- selfheal/mitigations.py +73 -0
- selfheal/nodes.py +54 -0
- selfheal/orchestrator.py +755 -0
- selfheal/outcome.py +114 -0
- selfheal/paths.py +20 -0
- selfheal/pipeline_home.py +380 -0
- selfheal/plan.py +462 -0
- selfheal/plan_queue.py +360 -0
- selfheal/poller.py +86 -0
- selfheal/preflight.py +419 -0
- selfheal/recommendation.py +34 -0
- selfheal/redact.py +94 -0
- selfheal/replay.py +39 -0
- selfheal/report.py +569 -0
- selfheal/retrigger.py +79 -0
- selfheal/reviewer.py +317 -0
- selfheal/revise.py +575 -0
- selfheal/rules.py +93 -0
- selfheal/runtime.py +254 -0
- selfheal/safety_net.py +129 -0
- selfheal/sandbox.py +674 -0
- selfheal/schemathesis_replay.py +128 -0
- selfheal/scope.py +218 -0
- selfheal/second_opinion.py +89 -0
- selfheal/serve_and_run.py +64 -0
- selfheal/setup/__init__.py +1 -0
- selfheal/setup/adapters/__init__.py +2 -0
- selfheal/setup/adapters/logsource.py +51 -0
- selfheal/setup/adapters/platform.py +318 -0
- selfheal/setup/claude_auth.py +78 -0
- selfheal/setup/cli.py +216 -0
- selfheal/setup/core.py +229 -0
- selfheal/setup/engine.py +248 -0
- selfheal/setup/envfile.py +65 -0
- selfheal/setup/io.py +69 -0
- selfheal/setup/manifest.py +180 -0
- selfheal/setup/pipeline.py +196 -0
- selfheal/setup/steps.py +1294 -0
- selfheal/setup/system.py +132 -0
- selfheal/setup/ui_server.py +693 -0
- selfheal/setup/ui_static/app.js +349 -0
- selfheal/setup/ui_static/index.html +66 -0
- selfheal/setup/ui_static/style.css +69 -0
- selfheal/setup_cmds.py +1303 -0
- selfheal/stacktrace.py +184 -0
- selfheal/store.py +838 -0
- selfheal/templates/Containerfile.guard +26 -0
- selfheal/templates/Containerfile.sandbox +14 -0
- selfheal/templates/full/selfheal-guard.yml +105 -0
- selfheal/templates/full/selfheal-implement.yml +128 -0
- selfheal/templates/full/selfheal-revise.yml +144 -0
- selfheal/templates/run_precommit.sh +32 -0
- selfheal/templates/selfheal-guard.yml +28 -0
- selfheal/templates/selfheal-implement-approved.yml +123 -0
- selfheal/templates/selfheal-implement.yml +27 -0
- selfheal/templates/selfheal-plan.yml +73 -0
- selfheal/templates/selfheal-revise.yml +26 -0
- selfheal/ticket_pack.py +72 -0
- selfheal/tickets.py +1015 -0
- selfheal/token_cli.py +131 -0
- selfheal/trigger.py +369 -0
- selfheal/ui/index.html +958 -0
- selfheal/watcher.py +151 -0
- selfheal/workflow_stubs.py +273 -0
- selfheal/workspace.py +85 -0
- selfheal_api-1.0.0rc1.dist-info/METADATA +56 -0
- selfheal_api-1.0.0rc1.dist-info/RECORD +111 -0
- selfheal_api-1.0.0rc1.dist-info/WHEEL +5 -0
- selfheal_api-1.0.0rc1.dist-info/entry_points.txt +2 -0
- selfheal_api-1.0.0rc1.dist-info/licenses/LICENSE +202 -0
- selfheal_api-1.0.0rc1.dist-info/licenses/NOTICE +7 -0
- selfheal_api-1.0.0rc1.dist-info/top_level.txt +1 -0
selfheal/__init__.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"""The self-healing-APIs pipeline as a runnable, recorded process.
|
|
2
|
+
|
|
3
|
+
Each stage is a node. run_pipeline() (orchestrator.py) runs them in order, reusing the
|
|
4
|
+
stage code that already exists in this repo (ask_ticket, rules, safety_net, gate,
|
|
5
|
+
preflight, outcome, ask_and_gate.apply_preflight) and records every node event to SQLite
|
|
6
|
+
(store.py). Nothing here re-implements a stage.
|
|
7
|
+
"""
|
selfheal/__main__.py
ADDED