apatch 0.8.42__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.
- apatch/__init__.py +30 -0
- apatch/agent_guidance.py +903 -0
- apatch/agent_playbooks.py +317 -0
- apatch/apatch_paths.py +125 -0
- apatch/apply_session.py +706 -0
- apatch/arch_check.py +173 -0
- apatch/arch_rules.py +31 -0
- apatch/artifact.py +175 -0
- apatch/artifact_governance.py +1527 -0
- apatch/ast_window.py +58 -0
- apatch/auto_wire.py +370 -0
- apatch/avatar_compiler.py +109 -0
- apatch/avatar_delivery.py +782 -0
- apatch/avatar_evidence.py +224 -0
- apatch/avatar_runtime_config.py +150 -0
- apatch/backup.py +330 -0
- apatch/barrel_export.py +98 -0
- apatch/boundary_ast.py +376 -0
- apatch/boundary_ranker.py +247 -0
- apatch/boundary_scope.py +95 -0
- apatch/build_diagnose.py +296 -0
- apatch/capability.py +175 -0
- apatch/change_budget.py +108 -0
- apatch/cli.py +4968 -0
- apatch/cli_concept.py +334 -0
- apatch/cli_conformance.py +151 -0
- apatch/cli_extension.py +156 -0
- apatch/cli_status.py +191 -0
- apatch/codex_approval.py +361 -0
- apatch/concept_clarify.py +59 -0
- apatch/concept_compile.py +323 -0
- apatch/concept_crud.py +143 -0
- apatch/concept_merge.py +134 -0
- apatch/concept_verify.py +82 -0
- apatch/conformance.py +731 -0
- apatch/console/__init__.py +5 -0
- apatch/console/mvp.py +285 -0
- apatch/console/state.py +34 -0
- apatch/consumer_profiles.py +276 -0
- apatch/contribution.py +527 -0
- apatch/contribution_delivery.py +604 -0
- apatch/contribution_export.py +600 -0
- apatch/converters/__init__.py +1 -0
- apatch/converters/registry.py +19 -0
- apatch/converters/ts_module.py +944 -0
- apatch/dangling_refs.py +68 -0
- apatch/db_check.py +70 -0
- apatch/db_profiles.py +58 -0
- apatch/db_revision.py +74 -0
- apatch/db_run.py +192 -0
- apatch/db_safety.py +81 -0
- apatch/diagnostics/__init__.py +12 -0
- apatch/diagnostics/adapters/__init__.py +1 -0
- apatch/diagnostics/adapters/clang.py +56 -0
- apatch/diagnostics/adapters/pytest.py +36 -0
- apatch/diagnostics/adapters/spec.py +29 -0
- apatch/diagnostics/adapters/trust.py +47 -0
- apatch/diagnostics/artifacts.py +34 -0
- apatch/diagnostics/collect.py +141 -0
- apatch/diagnostics/edges.py +198 -0
- apatch/diagnostics/schema.py +45 -0
- apatch/discovery.py +101 -0
- apatch/doc_outline.py +136 -0
- apatch/doctor.py +945 -0
- apatch/edge_lockstep.py +146 -0
- apatch/enforcement.py +656 -0
- apatch/enforcement_messages.py +111 -0
- apatch/episode.py +581 -0
- apatch/extensions/__init__.py +41 -0
- apatch/extensions/authoring.py +218 -0
- apatch/extensions/catalog.py +197 -0
- apatch/extensions/host.py +69 -0
- apatch/extensions/runner.py +388 -0
- apatch/extensions/schema.py +685 -0
- apatch/extensions/schemas/lock-v1.json +81 -0
- apatch/extensions/schemas/manifest-v1.json +217 -0
- apatch/extensions/schemas/request-v1.json +47 -0
- apatch/extensions/schemas/response-v1.json +44 -0
- apatch/failure_taxonomy.py +341 -0
- apatch/feedback_status.py +7 -0
- apatch/file_modes.py +50 -0
- apatch/gc.py +97 -0
- apatch/generate.py +783 -0
- apatch/git_commit.py +469 -0
- apatch/git_util.py +105 -0
- apatch/governed_work.py +1473 -0
- apatch/governed_work_delivery.py +1122 -0
- apatch/governed_work_mcp.py +357 -0
- apatch/governed_work_transport.py +151 -0
- apatch/graph_execute.py +455 -0
- apatch/impact.py +105 -0
- apatch/import_graph.py +212 -0
- apatch/import_paths.py +90 -0
- apatch/imports_resolver.py +785 -0
- apatch/inclusion.py +400 -0
- apatch/ingestor.py +517 -0
- apatch/json_mapping.py +313 -0
- apatch/knowledge_graph.py +245 -0
- apatch/lane.py +179 -0
- apatch/lane_context.py +231 -0
- apatch/layout_migrate.py +98 -0
- apatch/ledger_actor.py +33 -0
- apatch/manifest_bundle.py +104 -0
- apatch/manifest_validator.py +114 -0
- apatch/match_session.py +29 -0
- apatch/matcher.py +629 -0
- apatch/mcp/__init__.py +1 -0
- apatch/mcp/__main__.py +6 -0
- apatch/mcp/bound_workspace.py +103 -0
- apatch/mcp/hygiene.py +125 -0
- apatch/mcp/launcher.py +45 -0
- apatch/mcp/lifecycle.py +142 -0
- apatch/mcp/profiles.py +107 -0
- apatch/mcp/resources.py +115 -0
- apatch/mcp/sanitize.py +86 -0
- apatch/mcp/server.py +4182 -0
- apatch/mcp/stdio_guard.py +98 -0
- apatch/mcp/workspace_launcher.py +102 -0
- apatch/mcp/workspace_registry.py +363 -0
- apatch/mcp_health.py +775 -0
- apatch/native_converter.py +332 -0
- apatch/native_refs.py +128 -0
- apatch/orchestrate.py +87 -0
- apatch/outcome_delivery.py +401 -0
- apatch/path_index.py +265 -0
- apatch/path_leases.py +559 -0
- apatch/pipeline_run.py +225 -0
- apatch/plan_adherence.py +134 -0
- apatch/plan_worker.py +88 -0
- apatch/platform_client.py +151 -0
- apatch/policy_lock.py +245 -0
- apatch/probe.py +337 -0
- apatch/project_index.py +233 -0
- apatch/project_status.py +289 -0
- apatch/reality.py +179 -0
- apatch/refactor_run.py +205 -0
- apatch/remote/__init__.py +18 -0
- apatch/remote/doctor.py +87 -0
- apatch/remote/errors.py +57 -0
- apatch/remote/handoff.py +669 -0
- apatch/remote/onboarding.py +197 -0
- apatch/remote/orchestrator.py +1187 -0
- apatch/remote/policy.py +233 -0
- apatch/remote/services.py +524 -0
- apatch/remote/ssh.py +318 -0
- apatch/remote/target.py +202 -0
- apatch/remote/transport.py +66 -0
- apatch/remote/verify.py +122 -0
- apatch/remote/worker.py +816 -0
- apatch/repair_map.py +7 -0
- apatch/replay.py +134 -0
- apatch/report_render.py +325 -0
- apatch/resolver.py +109 -0
- apatch/rfp_coverage.py +733 -0
- apatch/runtime/__init__.py +35 -0
- apatch/runtime/atomic_io.py +83 -0
- apatch/runtime/attestation.py +96 -0
- apatch/runtime/domain.py +52 -0
- apatch/runtime/errors.py +100 -0
- apatch/runtime/events.py +149 -0
- apatch/runtime/finalization.py +270 -0
- apatch/runtime/hints.py +99 -0
- apatch/runtime/models.py +48 -0
- apatch/runtime/namespace.py +81 -0
- apatch/runtime/reconcile.py +175 -0
- apatch/runtime/recovery.py +85 -0
- apatch/runtime/request_journal.py +376 -0
- apatch/runtime/runtime.py +1251 -0
- apatch/runtime/session.py +478 -0
- apatch/runtime/session_binding.py +403 -0
- apatch/runtime/state_machine.py +143 -0
- apatch/runtime/verification.py +48 -0
- apatch/sandbox.py +1050 -0
- apatch/sandbox_watch.py +523 -0
- apatch/scale_config.py +33 -0
- apatch/scip_ingest.py +294 -0
- apatch/scip_producer.py +171 -0
- apatch/sdd_integrity.py +1439 -0
- apatch/semantic_parser.py +241 -0
- apatch/semantic_verify.py +235 -0
- apatch/service_secret.py +119 -0
- apatch/session_state.py +788 -0
- apatch/session_status.py +139 -0
- apatch/shared_maintenance.py +471 -0
- apatch/simulate.py +386 -0
- apatch/slug_close.py +7 -0
- apatch/slug_cockpit.py +7 -0
- apatch/slug_feedback_lint.py +7 -0
- apatch/slug_intake.py +7 -0
- apatch/slug_ratify.py +7 -0
- apatch/spec.py +1023 -0
- apatch/spec_contract_resolver.py +120 -0
- apatch/spec_coverage.py +403 -0
- apatch/spec_cross_verify.py +259 -0
- apatch/spec_executor.py +786 -0
- apatch/spec_interference.py +970 -0
- apatch/spec_interference_l0.py +206 -0
- apatch/spec_needles_scaffold.py +329 -0
- apatch/spec_ownership.py +594 -0
- apatch/spec_plan.py +502 -0
- apatch/spec_rebind.py +293 -0
- apatch/spec_registry.py +66 -0
- apatch/spec_run.py +1513 -0
- apatch/spec_run_multi.py +470 -0
- apatch/strip.py +491 -0
- apatch/strip_cache.py +38 -0
- apatch/strip_pipeline.py +866 -0
- apatch/symbol_anchor.py +145 -0
- apatch/symbol_index.py +64 -0
- apatch/taxonomy_delivery.py +380 -0
- apatch/timesheet.py +251 -0
- apatch/tool_paths.py +388 -0
- apatch/toolchain.py +225 -0
- apatch/traceability.py +263 -0
- apatch/trust_identity.py +642 -0
- apatch/trustchain_helper.py +1142 -0
- apatch/tui.py +737 -0
- apatch/ux_audit.py +122 -0
- apatch/verify_baseline.py +171 -0
- apatch/verify_jobs.py +516 -0
- apatch/verify_worker.py +24 -0
- apatch/warn_filters.py +25 -0
- apatch/wiring_profiles.py +249 -0
- apatch/work_asset_lifecycle.py +290 -0
- apatch/work_asset_suggest.py +192 -0
- apatch/work_assets.py +623 -0
- apatch/workflows.py +1774 -0
- apatch/workspace_identity.py +70 -0
- apatch/worktree_lane.py +238 -0
- apatch-0.8.42.dist-info/METADATA +432 -0
- apatch-0.8.42.dist-info/RECORD +243 -0
- apatch-0.8.42.dist-info/WHEEL +5 -0
- apatch-0.8.42.dist-info/entry_points.txt +5 -0
- apatch-0.8.42.dist-info/licenses/LICENSE +21 -0
- apatch-0.8.42.dist-info/top_level.txt +2 -0
- apatch_search_workflows/__init__.py +11 -0
- apatch_search_workflows/feedback_status.py +114 -0
- apatch_search_workflows/repair_map.py +136 -0
- apatch_search_workflows/slug_close.py +869 -0
- apatch_search_workflows/slug_cockpit.py +773 -0
- apatch_search_workflows/slug_feedback_lint.py +350 -0
- apatch_search_workflows/slug_intake.py +798 -0
- apatch_search_workflows/slug_ratify.py +533 -0
apatch/__init__.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# apatch package
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def _package_version() -> str:
|
|
9
|
+
"""Prefer pyproject.toml in source checkout; fall back to installed metadata."""
|
|
10
|
+
try:
|
|
11
|
+
try:
|
|
12
|
+
import tomllib
|
|
13
|
+
except ModuleNotFoundError: # Python 3.10
|
|
14
|
+
import tomli as tomllib
|
|
15
|
+
|
|
16
|
+
pyproject = Path(__file__).resolve().parents[1] / "pyproject.toml"
|
|
17
|
+
if pyproject.is_file():
|
|
18
|
+
data = tomllib.loads(pyproject.read_text(encoding="utf-8"))
|
|
19
|
+
return str(data["project"]["version"])
|
|
20
|
+
except Exception:
|
|
21
|
+
pass
|
|
22
|
+
try:
|
|
23
|
+
from importlib.metadata import version
|
|
24
|
+
|
|
25
|
+
return version("apatch")
|
|
26
|
+
except Exception:
|
|
27
|
+
return "0.0.0"
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
__version__ = _package_version()
|