fabrikant 0.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.
- fabrikant-0.1.0/.dockerignore +14 -0
- fabrikant-0.1.0/.github/CODEOWNERS +1 -0
- fabrikant-0.1.0/.github/ISSUE_TEMPLATE/bug_report.yml +36 -0
- fabrikant-0.1.0/.github/ISSUE_TEMPLATE/config.yml +5 -0
- fabrikant-0.1.0/.github/ISSUE_TEMPLATE/feature_request.yml +19 -0
- fabrikant-0.1.0/.github/PULL_REQUEST_TEMPLATE.md +11 -0
- fabrikant-0.1.0/.github/dependabot.yml +18 -0
- fabrikant-0.1.0/.github/workflows/fabrikant-ci.yml +68 -0
- fabrikant-0.1.0/.github/workflows/release.yml +71 -0
- fabrikant-0.1.0/.gitignore +22 -0
- fabrikant-0.1.0/AGENTS.md +25 -0
- fabrikant-0.1.0/CHANGELOG.md +20 -0
- fabrikant-0.1.0/CLAUDE.md +1 -0
- fabrikant-0.1.0/CODE_OF_CONDUCT.md +70 -0
- fabrikant-0.1.0/CONTRIBUTING.md +16 -0
- fabrikant-0.1.0/Dockerfile +35 -0
- fabrikant-0.1.0/LICENSE +201 -0
- fabrikant-0.1.0/PKG-INFO +135 -0
- fabrikant-0.1.0/README.md +102 -0
- fabrikant-0.1.0/SECURITY.md +17 -0
- fabrikant-0.1.0/biome.json +11 -0
- fabrikant-0.1.0/compose.yaml +66 -0
- fabrikant-0.1.0/deploy/agent-sandbox/Dockerfile +81 -0
- fabrikant-0.1.0/deploy/egress-allowlist.txt +22 -0
- fabrikant-0.1.0/deploy/fabrikant-autoupdate.service +29 -0
- fabrikant-0.1.0/deploy/fabrikant-autoupdate.timer +13 -0
- fabrikant-0.1.0/deploy/fabrikant.service +40 -0
- fabrikant-0.1.0/deploy/gh-token-refresh-reviewer.service +30 -0
- fabrikant-0.1.0/deploy/gh-token-refresh-reviewer.timer +14 -0
- fabrikant-0.1.0/deploy/gh-token-refresh.service +30 -0
- fabrikant-0.1.0/deploy/gh-token-refresh.timer +14 -0
- fabrikant-0.1.0/docs/README.md +35 -0
- fabrikant-0.1.0/docs/adr/0001-dogfooding-loops.md +132 -0
- fabrikant-0.1.0/docs/adr/0002-sessionlog-sqlite.md +142 -0
- fabrikant-0.1.0/docs/adr/0003-review-step.md +71 -0
- fabrikant-0.1.0/docs/adr/0004-branch-switching.md +56 -0
- fabrikant-0.1.0/docs/adr/0005-opencode-dual-version.md +56 -0
- fabrikant-0.1.0/docs/adr/0006-issue-refine-loop.md +81 -0
- fabrikant-0.1.0/docs/adr/0008-shell-untrusted-input-env.md +103 -0
- fabrikant-0.1.0/docs/adr/0009-run-id-response.md +57 -0
- fabrikant-0.1.0/docs/adr/0010-dual-identity-pr-pipeline.md +190 -0
- fabrikant-0.1.0/docs/adr/0011-approval-request-protocol.md +163 -0
- fabrikant-0.1.0/docs/adr/0012-agent-transient-backend-errors.md +68 -0
- fabrikant-0.1.0/docs/adr/0013-issue-closing-ac-verification.md +129 -0
- fabrikant-0.1.0/docs/adr/0014-on-issue-reconcile.md +54 -0
- fabrikant-0.1.0/docs/adr/0015-queued-approval.md +33 -0
- fabrikant-0.1.0/docs/adr/0017-refine-conditional-gate.md +126 -0
- fabrikant-0.1.0/docs/adr/0018-issue-step.md +34 -0
- fabrikant-0.1.0/docs/adr/0019-pause-resume-disable.md +66 -0
- fabrikant-0.1.0/docs/adr/0020-worktree-free-loops.md +37 -0
- fabrikant-0.1.0/docs/adr/0021-issue-priority-labels.md +36 -0
- fabrikant-0.1.0/docs/adr/0022-model-choice-is-config.md +45 -0
- fabrikant-0.1.0/docs/adr/0023-on-pr-reconcile-per-head.md +48 -0
- fabrikant-0.1.0/docs/adr/0024-review-verdict-marker.md +81 -0
- fabrikant-0.1.0/docs/adr/0025-alert-dedup-fingerprint.md +107 -0
- fabrikant-0.1.0/docs/adr/0026-alert-log-tail-redaction.md +23 -0
- fabrikant-0.1.0/docs/adr/0027-on-webhook-trigger.md +44 -0
- fabrikant-0.1.0/docs/adr/0028-worktree-per-run.md +111 -0
- fabrikant-0.1.0/docs/adr/0030-auth-local-users-roles.md +46 -0
- fabrikant-0.1.0/docs/adr/0031-issue-duplicates-dependencies.md +103 -0
- fabrikant-0.1.0/docs/adr/0032-adr-number-check.md +66 -0
- fabrikant-0.1.0/docs/adr/0034-run-domain-model-relational-store.md +71 -0
- fabrikant-0.1.0/docs/adr/0035-failure-classification.md +131 -0
- fabrikant-0.1.0/docs/adr/0036-run-retry.md +213 -0
- fabrikant-0.1.0/docs/adr/0037-relay-tasks.md +313 -0
- fabrikant-0.1.0/docs/adr/0038-run-live-stream-sse.md +31 -0
- fabrikant-0.1.0/docs/adr/0039-pr-review-convergence.md +52 -0
- fabrikant-0.1.0/docs/adr/0040-on-slack-trigger.md +58 -0
- fabrikant-0.1.0/docs/adr/0043-reconcile-dedup-queue-and-paused.md +94 -0
- fabrikant-0.1.0/docs/adr/0044-acp-backend-observation.md +39 -0
- fabrikant-0.1.0/docs/adr/0045-incident-roundtrip.md +47 -0
- fabrikant-0.1.0/docs/adr/0046-oidc-login.md +41 -0
- fabrikant-0.1.0/docs/adr/0047-spec-sources-vars-templates.md +89 -0
- fabrikant-0.1.0/docs/adr/0049-ui-i18n.md +53 -0
- fabrikant-0.1.0/docs/adr/0050-agent-env-allowlist.md +80 -0
- fabrikant-0.1.0/docs/adr/0051-egress-default-deny-proxy.md +88 -0
- fabrikant-0.1.0/docs/adr/0052-named-connections.md +55 -0
- fabrikant-0.1.0/docs/adr/0053-sonar-pr-project-cleanup.md +51 -0
- fabrikant-0.1.0/docs/adr/0054-per-run-agent-sandbox.md +122 -0
- fabrikant-0.1.0/docs/adr/0055-ui-delegated-event-handlers.md +51 -0
- fabrikant-0.1.0/docs/adr/0056-deployment-profile-adapter-registry.md +31 -0
- fabrikant-0.1.0/docs/adr/0057-run-launcher-ports-adapters.md +48 -0
- fabrikant-0.1.0/docs/adr/0058-webhook-replay-protection.md +50 -0
- fabrikant-0.1.0/docs/adr/0059-needs-human-escalation.md +176 -0
- fabrikant-0.1.0/docs/adr/0060-research-fetcher-access-profiles.md +271 -0
- fabrikant-0.1.0/docs/adr/0061-replay-deterministic-reexecution.md +92 -0
- fabrikant-0.1.0/docs/adr/0062-hosting-provider.md +102 -0
- fabrikant-0.1.0/docs/adr/0063-hosting-provider-registry.md +88 -0
- fabrikant-0.1.0/docs/adr/0064-mcp-server-stdio.md +184 -0
- fabrikant-0.1.0/docs/adr/0065-golden-runs-eval-harness.md +71 -0
- fabrikant-0.1.0/docs/adr/0066-spec-proposal-review-ui.md +43 -0
- fabrikant-0.1.0/docs/adr/0067-template-library.md +66 -0
- fabrikant-0.1.0/docs/adr/0068-golden-run-store-mark.md +83 -0
- fabrikant-0.1.0/docs/adr/0069-distribution-and-plugin-contract.md +62 -0
- fabrikant-0.1.0/docs/adr/0070-rename-to-fabrikant.md +50 -0
- fabrikant-0.1.0/docs/adr/README.md +85 -0
- fabrikant-0.1.0/docs/api.md +40 -0
- fabrikant-0.1.0/docs/architecture.md +57 -0
- fabrikant-0.1.0/docs/auth.md +56 -0
- fabrikant-0.1.0/docs/backends.md +179 -0
- fabrikant-0.1.0/docs/chat.md +47 -0
- fabrikant-0.1.0/docs/ci/golden-eval.yml +68 -0
- fabrikant-0.1.0/docs/ci.md +25 -0
- fabrikant-0.1.0/docs/cli.md +33 -0
- fabrikant-0.1.0/docs/configuration.md +128 -0
- fabrikant-0.1.0/docs/development.md +23 -0
- fabrikant-0.1.0/docs/golden-evals.md +89 -0
- fabrikant-0.1.0/docs/mcp.md +37 -0
- fabrikant-0.1.0/docs/operations.md +82 -0
- fabrikant-0.1.0/docs/plugins.md +50 -0
- fabrikant-0.1.0/docs/relay.md +145 -0
- fabrikant-0.1.0/docs/releasing.md +16 -0
- fabrikant-0.1.0/docs/roadmap.md +154 -0
- fabrikant-0.1.0/docs/runs.md +121 -0
- fabrikant-0.1.0/docs/screenshots/schedule-queue.png +0 -0
- fabrikant-0.1.0/docs/screenshots/schedule-view.png +0 -0
- fabrikant-0.1.0/docs/security.md +27 -0
- fabrikant-0.1.0/docs/sonarqube.md +95 -0
- fabrikant-0.1.0/docs/spec-reference.md +252 -0
- fabrikant-0.1.0/docs/steps.md +162 -0
- fabrikant-0.1.0/docs/templates.md +107 -0
- fabrikant-0.1.0/docs/threat-model.md +155 -0
- fabrikant-0.1.0/docs/triggers.md +134 -0
- fabrikant-0.1.0/fabrikant.env.example +147 -0
- fabrikant-0.1.0/projects/fabrikant.fabrikant.yaml +661 -0
- fabrikant-0.1.0/projects/selftest.fabrikant.yaml +94 -0
- fabrikant-0.1.0/prompts/fabrikant-develop.prompt.md +44 -0
- fabrikant-0.1.0/prompts/fabrikant-pr-reply.prompt.md +158 -0
- fabrikant-0.1.0/prompts/fabrikant-refactor-sweep.prompt.md +43 -0
- fabrikant-0.1.0/prompts/fabrikant-refactor.prompt.md +22 -0
- fabrikant-0.1.0/prompts/fabrikant-review.prompt.md +103 -0
- fabrikant-0.1.0/pyproject.toml +129 -0
- fabrikant-0.1.0/scripts/check-adr-numbers.py +287 -0
- fabrikant-0.1.0/scripts/check-run-records.py +20 -0
- fabrikant-0.1.0/scripts/ci-matrix-pytest.py +158 -0
- fabrikant-0.1.0/scripts/fabrikant-autoupdate.py +113 -0
- fabrikant-0.1.0/scripts/generate-spec-reference.py +160 -0
- fabrikant-0.1.0/scripts/gh-token-refresh.py +263 -0
- fabrikant-0.1.0/scripts/gh-upsert-comment.sh +56 -0
- fabrikant-0.1.0/scripts/lint.sh +66 -0
- fabrikant-0.1.0/scripts/pr-status.py +714 -0
- fabrikant-0.1.0/scripts/pyright_sonar.py +115 -0
- fabrikant-0.1.0/scripts/smoke-wheel.sh +36 -0
- fabrikant-0.1.0/scripts/sonar-github-setup.sh +85 -0
- fabrikant-0.1.0/scripts/sonar-init.py +93 -0
- fabrikant-0.1.0/scripts/sonar-pr-cleanup.py +189 -0
- fabrikant-0.1.0/scripts/sonar-pr-report.py +372 -0
- fabrikant-0.1.0/scripts/sonar-scan.sh +472 -0
- fabrikant-0.1.0/scripts/sonar_report.py +172 -0
- fabrikant-0.1.0/src/fabrikant/__init__.py +73 -0
- fabrikant-0.1.0/src/fabrikant/__main__.py +6 -0
- fabrikant-0.1.0/src/fabrikant/agent_state.py +122 -0
- fabrikant-0.1.0/src/fabrikant/agentenv.py +76 -0
- fabrikant-0.1.0/src/fabrikant/alerts.py +265 -0
- fabrikant-0.1.0/src/fabrikant/apicommit.py +344 -0
- fabrikant-0.1.0/src/fabrikant/approval.py +95 -0
- fabrikant-0.1.0/src/fabrikant/auth.py +329 -0
- fabrikant-0.1.0/src/fabrikant/backends/__init__.py +28 -0
- fabrikant-0.1.0/src/fabrikant/backends/_oneshot.py +253 -0
- fabrikant-0.1.0/src/fabrikant/backends/claude_code.py +102 -0
- fabrikant-0.1.0/src/fabrikant/backends/codex.py +121 -0
- fabrikant-0.1.0/src/fabrikant/backends/copilot.py +249 -0
- fabrikant-0.1.0/src/fabrikant/backends/opencode.py +445 -0
- fabrikant-0.1.0/src/fabrikant/backends/opencode_cli.py +240 -0
- fabrikant-0.1.0/src/fabrikant/backends/port.py +78 -0
- fabrikant-0.1.0/src/fabrikant/backends/registry.py +60 -0
- fabrikant-0.1.0/src/fabrikant/billing.py +54 -0
- fabrikant-0.1.0/src/fabrikant/branches.py +102 -0
- fabrikant-0.1.0/src/fabrikant/chat.py +435 -0
- fabrikant-0.1.0/src/fabrikant/cli.py +844 -0
- fabrikant-0.1.0/src/fabrikant/config.py +315 -0
- fabrikant-0.1.0/src/fabrikant/connections.py +419 -0
- fabrikant-0.1.0/src/fabrikant/context.py +83 -0
- fabrikant-0.1.0/src/fabrikant/costs.py +162 -0
- fabrikant-0.1.0/src/fabrikant/cron.py +93 -0
- fabrikant-0.1.0/src/fabrikant/egress.py +516 -0
- fabrikant-0.1.0/src/fabrikant/engine.py +1408 -0
- fabrikant-0.1.0/src/fabrikant/examples/fabrikant.env.example +11 -0
- fabrikant-0.1.0/src/fabrikant/examples/hello.fabrikant.yaml +10 -0
- fabrikant-0.1.0/src/fabrikant/fabrikant-spec.schema.json +652 -0
- fabrikant-0.1.0/src/fabrikant/failures.py +310 -0
- fabrikant-0.1.0/src/fabrikant/fetch/__init__.py +62 -0
- fabrikant-0.1.0/src/fabrikant/fetch/approval.py +250 -0
- fabrikant-0.1.0/src/fabrikant/fetch/clean.py +113 -0
- fabrikant-0.1.0/src/fabrikant/fetch/detectors.py +189 -0
- fabrikant-0.1.0/src/fabrikant/fetch/fetcher.py +407 -0
- fabrikant-0.1.0/src/fabrikant/fetch/profiles.py +405 -0
- fabrikant-0.1.0/src/fabrikant/fetch/scan.py +155 -0
- fabrikant-0.1.0/src/fabrikant/filelock.py +39 -0
- fabrikant-0.1.0/src/fabrikant/gitops.py +752 -0
- fabrikant-0.1.0/src/fabrikant/golden.py +388 -0
- fabrikant-0.1.0/src/fabrikant/hosting/__init__.py +70 -0
- fabrikant-0.1.0/src/fabrikant/hosting/base.py +445 -0
- fabrikant-0.1.0/src/fabrikant/hosting/github.py +334 -0
- fabrikant-0.1.0/src/fabrikant/hosting/gitlab.py +508 -0
- fabrikant-0.1.0/src/fabrikant/hosting/registry.py +100 -0
- fabrikant-0.1.0/src/fabrikant/hosting/select.py +78 -0
- fabrikant-0.1.0/src/fabrikant/httpsafe.py +30 -0
- fabrikant-0.1.0/src/fabrikant/i18n.py +29 -0
- fabrikant-0.1.0/src/fabrikant/kpis.py +286 -0
- fabrikant-0.1.0/src/fabrikant/launcher/__init__.py +22 -0
- fabrikant-0.1.0/src/fabrikant/launcher/inprocess.py +54 -0
- fabrikant-0.1.0/src/fabrikant/launcher/port.py +63 -0
- fabrikant-0.1.0/src/fabrikant/launcher/registry.py +40 -0
- fabrikant-0.1.0/src/fabrikant/llm.py +250 -0
- fabrikant-0.1.0/src/fabrikant/llm_cli.py +113 -0
- fabrikant-0.1.0/src/fabrikant/mcp_server.py +639 -0
- fabrikant-0.1.0/src/fabrikant/messages/__init__.py +1 -0
- fabrikant-0.1.0/src/fabrikant/messages/de.py +699 -0
- fabrikant-0.1.0/src/fabrikant/messages/en.py +699 -0
- fabrikant-0.1.0/src/fabrikant/metrics.py +155 -0
- fabrikant-0.1.0/src/fabrikant/migrations/env.py +29 -0
- fabrikant-0.1.0/src/fabrikant/migrations/script.py.mako +23 -0
- fabrikant-0.1.0/src/fabrikant/migrations/versions/0001_ausgangsschema_run_store.py +280 -0
- fabrikant-0.1.0/src/fabrikant/migrations/versions/0002_connections.py +35 -0
- fabrikant-0.1.0/src/fabrikant/migrations/versions/0003_step_verdict.py +28 -0
- fabrikant-0.1.0/src/fabrikant/migrations/versions/0004_approval_escalation.py +49 -0
- fabrikant-0.1.0/src/fabrikant/migrations/versions/0005_step_usage_cache_tokens.py +33 -0
- fabrikant-0.1.0/src/fabrikant/migrations/versions/0006_replay_of.py +27 -0
- fabrikant-0.1.0/src/fabrikant/migrations/versions/0007_run_golden_mark.py +29 -0
- fabrikant-0.1.0/src/fabrikant/oidc.py +321 -0
- fabrikant-0.1.0/src/fabrikant/pause.py +182 -0
- fabrikant-0.1.0/src/fabrikant/procs.py +86 -0
- fabrikant-0.1.0/src/fabrikant/profiles.py +121 -0
- fabrikant-0.1.0/src/fabrikant/prompts/relay/audit-blind.prompt.md +34 -0
- fabrikant-0.1.0/src/fabrikant/prompts/relay/audit-review.prompt.md +36 -0
- fabrikant-0.1.0/src/fabrikant/prompts/relay/session.prompt.md +67 -0
- fabrikant-0.1.0/src/fabrikant/proposal_diff.py +194 -0
- fabrikant-0.1.0/src/fabrikant/push.py +13 -0
- fabrikant-0.1.0/src/fabrikant/relay/__init__.py +7 -0
- fabrikant-0.1.0/src/fabrikant/relay/__main__.py +73 -0
- fabrikant-0.1.0/src/fabrikant/relay/archive.py +284 -0
- fabrikant-0.1.0/src/fabrikant/relay/commands.py +658 -0
- fabrikant-0.1.0/src/fabrikant/relay/config.py +285 -0
- fabrikant-0.1.0/src/fabrikant/relay/github.py +212 -0
- fabrikant-0.1.0/src/fabrikant/relay/model.py +529 -0
- fabrikant-0.1.0/src/fabrikant/relay/status.py +118 -0
- fabrikant-0.1.0/src/fabrikant/relay/workspace.py +456 -0
- fabrikant-0.1.0/src/fabrikant/replay.py +158 -0
- fabrikant-0.1.0/src/fabrikant/retry.py +106 -0
- fabrikant-0.1.0/src/fabrikant/retry_chains.py +1314 -0
- fabrikant-0.1.0/src/fabrikant/runmeta.py +55 -0
- fabrikant-0.1.0/src/fabrikant/runmigrate.py +285 -0
- fabrikant-0.1.0/src/fabrikant/runmodel.py +284 -0
- fabrikant-0.1.0/src/fabrikant/runquery.py +127 -0
- fabrikant-0.1.0/src/fabrikant/runs.py +459 -0
- fabrikant-0.1.0/src/fabrikant/runschema.py +318 -0
- fabrikant-0.1.0/src/fabrikant/runsearch.py +124 -0
- fabrikant-0.1.0/src/fabrikant/runstore.py +766 -0
- fabrikant-0.1.0/src/fabrikant/runstore_sql.py +771 -0
- fabrikant-0.1.0/src/fabrikant/sandbox.py +575 -0
- fabrikant-0.1.0/src/fabrikant/scaffold.py +60 -0
- fabrikant-0.1.0/src/fabrikant/schedule.py +241 -0
- fabrikant-0.1.0/src/fabrikant/scheduler.py +714 -0
- fabrikant-0.1.0/src/fabrikant/sdk.py +42 -0
- fabrikant-0.1.0/src/fabrikant/secrets.py +240 -0
- fabrikant-0.1.0/src/fabrikant/server.py +1364 -0
- fabrikant-0.1.0/src/fabrikant/sessionlog.py +489 -0
- fabrikant-0.1.0/src/fabrikant/slack.py +366 -0
- fabrikant-0.1.0/src/fabrikant/spec_expand.py +219 -0
- fabrikant-0.1.0/src/fabrikant/spec_proposals.py +286 -0
- fabrikant-0.1.0/src/fabrikant/spec_sources.py +122 -0
- fabrikant-0.1.0/src/fabrikant/specs.py +736 -0
- fabrikant-0.1.0/src/fabrikant/specschema.py +54 -0
- fabrikant-0.1.0/src/fabrikant/steps/__init__.py +43 -0
- fabrikant-0.1.0/src/fabrikant/steps/agent.py +491 -0
- fabrikant-0.1.0/src/fabrikant/steps/alert_route.py +42 -0
- fabrikant-0.1.0/src/fabrikant/steps/escalation.py +148 -0
- fabrikant-0.1.0/src/fabrikant/steps/extra_context.py +195 -0
- fabrikant-0.1.0/src/fabrikant/steps/git.py +105 -0
- fabrikant-0.1.0/src/fabrikant/steps/http.py +44 -0
- fabrikant-0.1.0/src/fabrikant/steps/human_gate.py +136 -0
- fabrikant-0.1.0/src/fabrikant/steps/issue.py +327 -0
- fabrikant-0.1.0/src/fabrikant/steps/llm.py +231 -0
- fabrikant-0.1.0/src/fabrikant/steps/notify.py +297 -0
- fabrikant-0.1.0/src/fabrikant/steps/pr.py +128 -0
- fabrikant-0.1.0/src/fabrikant/steps/pr_merge.py +151 -0
- fabrikant-0.1.0/src/fabrikant/steps/pr_review.py +425 -0
- fabrikant-0.1.0/src/fabrikant/steps/registry.py +129 -0
- fabrikant-0.1.0/src/fabrikant/steps/review.py +189 -0
- fabrikant-0.1.0/src/fabrikant/steps/shell.py +111 -0
- fabrikant-0.1.0/src/fabrikant/steps/state.py +137 -0
- fabrikant-0.1.0/src/fabrikant/steps/verify.py +94 -0
- fabrikant-0.1.0/src/fabrikant/stream.py +193 -0
- fabrikant-0.1.0/src/fabrikant/templates/README.md +108 -0
- fabrikant-0.1.0/src/fabrikant/templates/develop.loop.yaml +115 -0
- fabrikant-0.1.0/src/fabrikant/templates/docs.loop.yaml +63 -0
- fabrikant-0.1.0/src/fabrikant/templates/dogfood.loop.yaml +65 -0
- fabrikant-0.1.0/src/fabrikant/templates/escalation.loop.yaml +26 -0
- fabrikant-0.1.0/src/fabrikant/templates/hotfix.loop.yaml +99 -0
- fabrikant-0.1.0/src/fabrikant/templates/review-pr.loop.yaml +42 -0
- fabrikant-0.1.0/src/fabrikant/templates.py +133 -0
- fabrikant-0.1.0/src/fabrikant/tokens.py +105 -0
- fabrikant-0.1.0/src/fabrikant/validation.py +37 -0
- fabrikant-0.1.0/src/fabrikant/web/app.js +3402 -0
- fabrikant-0.1.0/src/fabrikant/web/i18n/de.json +303 -0
- fabrikant-0.1.0/src/fabrikant/web/i18n/en.json +303 -0
- fabrikant-0.1.0/src/fabrikant/web/index.html +115 -0
- fabrikant-0.1.0/src/fabrikant/web/style.css +606 -0
- fabrikant-0.1.0/src/fabrikant/web/vendor/cytoscape.min.js +32 -0
- fabrikant-0.1.0/src/fabrikant/webhook.py +256 -0
- fabrikant-0.1.0/tests/conftest.py +146 -0
- fabrikant-0.1.0/tests/helpers.py +49 -0
- fabrikant-0.1.0/tests/mcp_support.py +35 -0
- fabrikant-0.1.0/tests/test_adr_index.py +92 -0
- fabrikant-0.1.0/tests/test_agent_state.py +206 -0
- fabrikant-0.1.0/tests/test_agentenv.py +79 -0
- fabrikant-0.1.0/tests/test_alerts.py +364 -0
- fabrikant-0.1.0/tests/test_apicommit.py +541 -0
- fabrikant-0.1.0/tests/test_approval.py +88 -0
- fabrikant-0.1.0/tests/test_approval_context.py +533 -0
- fabrikant-0.1.0/tests/test_auth.py +461 -0
- fabrikant-0.1.0/tests/test_backend_i18n.py +48 -0
- fabrikant-0.1.0/tests/test_backends_claude_code.py +273 -0
- fabrikant-0.1.0/tests/test_backends_codex.py +241 -0
- fabrikant-0.1.0/tests/test_backends_copilot.py +590 -0
- fabrikant-0.1.0/tests/test_backends_oneshot.py +304 -0
- fabrikant-0.1.0/tests/test_backends_opencode.py +635 -0
- fabrikant-0.1.0/tests/test_backends_opencode_cli.py +199 -0
- fabrikant-0.1.0/tests/test_billing.py +96 -0
- fabrikant-0.1.0/tests/test_branches.py +253 -0
- fabrikant-0.1.0/tests/test_chat_cancel.py +148 -0
- fabrikant-0.1.0/tests/test_chat_extra.py +613 -0
- fabrikant-0.1.0/tests/test_check_adr_numbers.py +236 -0
- fabrikant-0.1.0/tests/test_ci_matrix_pytest.py +204 -0
- fabrikant-0.1.0/tests/test_ci_workflow.py +73 -0
- fabrikant-0.1.0/tests/test_cli.py +435 -0
- fabrikant-0.1.0/tests/test_config_worktrees.py +49 -0
- fabrikant-0.1.0/tests/test_connections.py +340 -0
- fabrikant-0.1.0/tests/test_core.py +311 -0
- fabrikant-0.1.0/tests/test_costs.py +124 -0
- fabrikant-0.1.0/tests/test_cron.py +67 -0
- fabrikant-0.1.0/tests/test_deploy_units.py +43 -0
- fabrikant-0.1.0/tests/test_develop_flow_e2e.py +277 -0
- fabrikant-0.1.0/tests/test_distribution_paths.py +68 -0
- fabrikant-0.1.0/tests/test_egress.py +403 -0
- fabrikant-0.1.0/tests/test_engine_approval_when.py +97 -0
- fabrikant-0.1.0/tests/test_engine_builder_tracking.py +28 -0
- fabrikant-0.1.0/tests/test_engine_done.py +119 -0
- fabrikant-0.1.0/tests/test_engine_dynamic_gate.py +99 -0
- fabrikant-0.1.0/tests/test_engine_fail_usage.py +57 -0
- fabrikant-0.1.0/tests/test_engine_helpers.py +78 -0
- fabrikant-0.1.0/tests/test_engine_worktree.py +201 -0
- fabrikant-0.1.0/tests/test_escalation.py +237 -0
- fabrikant-0.1.0/tests/test_extra_context.py +358 -0
- fabrikant-0.1.0/tests/test_fabrikant_autoupdate.py +156 -0
- fabrikant-0.1.0/tests/test_fabrikant_spec.py +524 -0
- fabrikant-0.1.0/tests/test_failure_kind_run.py +276 -0
- fabrikant-0.1.0/tests/test_failures.py +340 -0
- fabrikant-0.1.0/tests/test_fetch_approval.py +181 -0
- fabrikant-0.1.0/tests/test_fetch_clean.py +62 -0
- fabrikant-0.1.0/tests/test_fetch_detectors.py +162 -0
- fabrikant-0.1.0/tests/test_fetch_fetcher.py +129 -0
- fabrikant-0.1.0/tests/test_fetch_hardening.py +202 -0
- fabrikant-0.1.0/tests/test_fetch_profiles.py +282 -0
- fabrikant-0.1.0/tests/test_fetch_reconcile.py +93 -0
- fabrikant-0.1.0/tests/test_fetch_scan.py +81 -0
- fabrikant-0.1.0/tests/test_gh_token_refresh.py +333 -0
- fabrikant-0.1.0/tests/test_gh_upsert_comment.py +93 -0
- fabrikant-0.1.0/tests/test_gitops.py +546 -0
- fabrikant-0.1.0/tests/test_gitops_gh_wrapper.py +62 -0
- fabrikant-0.1.0/tests/test_gitops_tokens.py +60 -0
- fabrikant-0.1.0/tests/test_golden.py +715 -0
- fabrikant-0.1.0/tests/test_golden_cli.py +163 -0
- fabrikant-0.1.0/tests/test_graph_browser.py +771 -0
- fabrikant-0.1.0/tests/test_hosting.py +881 -0
- fabrikant-0.1.0/tests/test_hosting_live.py +63 -0
- fabrikant-0.1.0/tests/test_httpsafe.py +33 -0
- fabrikant-0.1.0/tests/test_i18n.py +148 -0
- fabrikant-0.1.0/tests/test_i18n_browser.py +144 -0
- fabrikant-0.1.0/tests/test_kpis.py +208 -0
- fabrikant-0.1.0/tests/test_launcher.py +194 -0
- fabrikant-0.1.0/tests/test_lint_script.py +61 -0
- fabrikant-0.1.0/tests/test_llm.py +263 -0
- fabrikant-0.1.0/tests/test_llm_cli.py +199 -0
- fabrikant-0.1.0/tests/test_lock_free_loops.py +304 -0
- fabrikant-0.1.0/tests/test_mcp_contract.py +126 -0
- fabrikant-0.1.0/tests/test_mcp_server.py +416 -0
- fabrikant-0.1.0/tests/test_mcp_server_robustness.py +66 -0
- fabrikant-0.1.0/tests/test_metrics.py +194 -0
- fabrikant-0.1.0/tests/test_oidc.py +475 -0
- fabrikant-0.1.0/tests/test_pause.py +207 -0
- fabrikant-0.1.0/tests/test_pr_status.py +763 -0
- fabrikant-0.1.0/tests/test_priority_run.py +284 -0
- fabrikant-0.1.0/tests/test_procs.py +79 -0
- fabrikant-0.1.0/tests/test_profiles.py +113 -0
- fabrikant-0.1.0/tests/test_project_github.py +222 -0
- fabrikant-0.1.0/tests/test_proposal_diff.py +242 -0
- fabrikant-0.1.0/tests/test_proposals_browser.py +60 -0
- fabrikant-0.1.0/tests/test_pyright_sonar.py +67 -0
- fabrikant-0.1.0/tests/test_redact_text.py +63 -0
- fabrikant-0.1.0/tests/test_relay_archive.py +365 -0
- fabrikant-0.1.0/tests/test_relay_commands.py +1146 -0
- fabrikant-0.1.0/tests/test_relay_config.py +157 -0
- fabrikant-0.1.0/tests/test_relay_github.py +286 -0
- fabrikant-0.1.0/tests/test_relay_model.py +380 -0
- fabrikant-0.1.0/tests/test_replay.py +292 -0
- fabrikant-0.1.0/tests/test_retry.py +105 -0
- fabrikant-0.1.0/tests/test_retry_chains.py +2035 -0
- fabrikant-0.1.0/tests/test_review_helpers.py +152 -0
- fabrikant-0.1.0/tests/test_run_log_api.py +71 -0
- fabrikant-0.1.0/tests/test_run_log_steps_browser.py +84 -0
- fabrikant-0.1.0/tests/test_run_slots.py +451 -0
- fabrikant-0.1.0/tests/test_runmeta.py +35 -0
- fabrikant-0.1.0/tests/test_runmigrate.py +277 -0
- fabrikant-0.1.0/tests/test_runmodel.py +119 -0
- fabrikant-0.1.0/tests/test_runs.py +346 -0
- fabrikant-0.1.0/tests/test_runsearch.py +394 -0
- fabrikant-0.1.0/tests/test_runstore.py +692 -0
- fabrikant-0.1.0/tests/test_runstore_sql.py +539 -0
- fabrikant-0.1.0/tests/test_sandbox.py +557 -0
- fabrikant-0.1.0/tests/test_scaffold.py +42 -0
- fabrikant-0.1.0/tests/test_schedule.py +300 -0
- fabrikant-0.1.0/tests/test_schedule_api.py +203 -0
- fabrikant-0.1.0/tests/test_scheduler.py +672 -0
- fabrikant-0.1.0/tests/test_scheduler_tick.py +880 -0
- fabrikant-0.1.0/tests/test_secrets_redact.py +221 -0
- fabrikant-0.1.0/tests/test_server_api.py +978 -0
- fabrikant-0.1.0/tests/test_server_shutdown.py +42 -0
- fabrikant-0.1.0/tests/test_sessionlog.py +405 -0
- fabrikant-0.1.0/tests/test_settings_browser.py +106 -0
- fabrikant-0.1.0/tests/test_slack.py +457 -0
- fabrikant-0.1.0/tests/test_sonar_pr_cleanup.py +266 -0
- fabrikant-0.1.0/tests/test_sonar_pr_report.py +323 -0
- fabrikant-0.1.0/tests/test_sonar_report.py +119 -0
- fabrikant-0.1.0/tests/test_sonar_scan.py +676 -0
- fabrikant-0.1.0/tests/test_spec_proposals.py +356 -0
- fabrikant-0.1.0/tests/test_spec_save.py +314 -0
- fabrikant-0.1.0/tests/test_spec_sources.py +490 -0
- fabrikant-0.1.0/tests/test_specs.py +610 -0
- fabrikant-0.1.0/tests/test_specschema.py +335 -0
- fabrikant-0.1.0/tests/test_step_plugins.py +124 -0
- fabrikant-0.1.0/tests/test_steps.py +160 -0
- fabrikant-0.1.0/tests/test_steps_agent.py +712 -0
- fabrikant-0.1.0/tests/test_steps_git_pr.py +545 -0
- fabrikant-0.1.0/tests/test_steps_http.py +103 -0
- fabrikant-0.1.0/tests/test_steps_human_gate.py +141 -0
- fabrikant-0.1.0/tests/test_steps_issue.py +519 -0
- fabrikant-0.1.0/tests/test_steps_llm_helpers.py +149 -0
- fabrikant-0.1.0/tests/test_steps_llm_usage.py +264 -0
- fabrikant-0.1.0/tests/test_steps_notify.py +652 -0
- fabrikant-0.1.0/tests/test_steps_pr_merge.py +199 -0
- fabrikant-0.1.0/tests/test_steps_pr_review.py +531 -0
- fabrikant-0.1.0/tests/test_steps_review.py +257 -0
- fabrikant-0.1.0/tests/test_steps_shell.py +357 -0
- fabrikant-0.1.0/tests/test_steps_state.py +138 -0
- fabrikant-0.1.0/tests/test_steps_verify.py +224 -0
- fabrikant-0.1.0/tests/test_stream.py +243 -0
- fabrikant-0.1.0/tests/test_templates.py +283 -0
- fabrikant-0.1.0/tests/test_tokens.py +80 -0
- fabrikant-0.1.0/tests/test_ui_browser.py +987 -0
- fabrikant-0.1.0/tests/test_verdict_badge_browser.py +62 -0
- fabrikant-0.1.0/tests/test_web_constants.py +24 -0
- fabrikant-0.1.0/tests/test_web_no_inline_handlers.py +37 -0
- fabrikant-0.1.0/tests/test_webhook.py +358 -0
- fabrikant-0.1.0/tests/test_worker_pool.py +72 -0
- fabrikant-0.1.0/tests/test_worktree_lease.py +441 -0
- fabrikant-0.1.0/uv.lock +3910 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* @didaskomathetes
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Bug report
|
|
2
|
+
description: Something does not work as documented
|
|
3
|
+
labels: [bug]
|
|
4
|
+
body:
|
|
5
|
+
- type: textarea
|
|
6
|
+
id: what
|
|
7
|
+
attributes:
|
|
8
|
+
label: What happened?
|
|
9
|
+
description: What did you expect, and what happened instead?
|
|
10
|
+
validations:
|
|
11
|
+
required: true
|
|
12
|
+
- type: textarea
|
|
13
|
+
id: repro
|
|
14
|
+
attributes:
|
|
15
|
+
label: Steps to reproduce
|
|
16
|
+
description: A minimal spec and the commands you ran.
|
|
17
|
+
validations:
|
|
18
|
+
required: true
|
|
19
|
+
- type: input
|
|
20
|
+
id: version
|
|
21
|
+
attributes:
|
|
22
|
+
label: fabrikant version
|
|
23
|
+
description: Output of `pip show fabrikant` (or the commit SHA).
|
|
24
|
+
validations:
|
|
25
|
+
required: true
|
|
26
|
+
- type: input
|
|
27
|
+
id: env
|
|
28
|
+
attributes:
|
|
29
|
+
label: Environment
|
|
30
|
+
description: OS, Python version, agent backend.
|
|
31
|
+
- type: textarea
|
|
32
|
+
id: logs
|
|
33
|
+
attributes:
|
|
34
|
+
label: Logs
|
|
35
|
+
description: Redact secrets and private hostnames first.
|
|
36
|
+
render: shell
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: Feature request
|
|
2
|
+
description: Suggest an improvement
|
|
3
|
+
labels: [enhancement]
|
|
4
|
+
body:
|
|
5
|
+
- type: textarea
|
|
6
|
+
id: problem
|
|
7
|
+
attributes:
|
|
8
|
+
label: Problem
|
|
9
|
+
description: What are you trying to do that is hard or impossible today?
|
|
10
|
+
validations:
|
|
11
|
+
required: true
|
|
12
|
+
- type: textarea
|
|
13
|
+
id: proposal
|
|
14
|
+
attributes:
|
|
15
|
+
label: Proposed solution
|
|
16
|
+
- type: textarea
|
|
17
|
+
id: alternatives
|
|
18
|
+
attributes:
|
|
19
|
+
label: Alternatives considered
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
## Summary
|
|
2
|
+
|
|
3
|
+
<!-- What does this change and why? Link the issue: Closes #123 -->
|
|
4
|
+
|
|
5
|
+
## Checklist
|
|
6
|
+
|
|
7
|
+
- [ ] `scripts/lint.sh` and `pytest` pass locally
|
|
8
|
+
- [ ] Tests cover new logic and edge cases
|
|
9
|
+
- [ ] Docs updated (public functions, `docs/`, `CHANGELOG.md`)
|
|
10
|
+
- [ ] ADR added or updated for significant design decisions (index in `docs/adr/README.md`)
|
|
11
|
+
- [ ] No secrets, hostnames or personal data in the diff
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
- package-ecosystem: pip
|
|
4
|
+
directory: /
|
|
5
|
+
schedule:
|
|
6
|
+
interval: weekly
|
|
7
|
+
- package-ecosystem: github-actions
|
|
8
|
+
directory: /
|
|
9
|
+
schedule:
|
|
10
|
+
interval: weekly
|
|
11
|
+
- package-ecosystem: docker
|
|
12
|
+
directory: /
|
|
13
|
+
schedule:
|
|
14
|
+
interval: weekly
|
|
15
|
+
- package-ecosystem: docker
|
|
16
|
+
directory: /deploy/agent-sandbox
|
|
17
|
+
schedule:
|
|
18
|
+
interval: weekly
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# fabrikant CI. See docs/ci.md (secrets, Playwright, artifact rules).
|
|
2
|
+
name: fabrikant-ci
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
branches: [main]
|
|
7
|
+
pull_request:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
test:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
timeout-minutes: 30
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
18
|
+
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5
|
|
19
|
+
with:
|
|
20
|
+
python-version: "3.12"
|
|
21
|
+
enable-cache: true
|
|
22
|
+
cache-dependency-glob: uv.lock
|
|
23
|
+
- name: Install dependencies
|
|
24
|
+
run: uv sync --frozen
|
|
25
|
+
- name: Lint, Typecheck, SAST (ruff, pyright, bandit)
|
|
26
|
+
run: bash scripts/lint.sh
|
|
27
|
+
- name: JS lint (Biome, src/fabrikant/web/app.js; errors block, warnings do not)
|
|
28
|
+
run: npx --yes @biomejs/biome@2.6.8 lint --diagnostic-level=error
|
|
29
|
+
- name: Dependency audit (pip-audit against the uv.lock environment)
|
|
30
|
+
run: uv run pip-audit --skip-editable
|
|
31
|
+
- name: Validate specs (vars, templates, steps; without the host-dependent root check)
|
|
32
|
+
run: uv run fabrikant validate --offline projects/*.fabrikant.yaml
|
|
33
|
+
- name: Unit tests + coverage gate (no browser, parallel; fail_under in pyproject.toml)
|
|
34
|
+
run: uv run pytest -m "not browser and not perf" -n auto --cov=fabrikant --cov-report=term:skip-covered
|
|
35
|
+
- name: Perf-budget tests (serial, otherwise wall-clock noise)
|
|
36
|
+
run: uv run pytest -m perf
|
|
37
|
+
|
|
38
|
+
package:
|
|
39
|
+
# The built wheel works from a clean virtualenv outside the checkout (ADR 0069).
|
|
40
|
+
runs-on: ubuntu-latest
|
|
41
|
+
timeout-minutes: 15
|
|
42
|
+
steps:
|
|
43
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
44
|
+
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5
|
|
45
|
+
with:
|
|
46
|
+
python-version: "3.12"
|
|
47
|
+
- name: Wheel smoke test (init, validate, run, serve)
|
|
48
|
+
run: bash scripts/smoke-wheel.sh
|
|
49
|
+
- name: Docker image builds
|
|
50
|
+
run: docker build -t fabrikant:ci .
|
|
51
|
+
|
|
52
|
+
browser:
|
|
53
|
+
# Playwright/Chromium-Tests. Blockierend: Fehler lassen den Job fehlschlagen.
|
|
54
|
+
runs-on: ubuntu-latest
|
|
55
|
+
timeout-minutes: 30
|
|
56
|
+
steps:
|
|
57
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
58
|
+
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5
|
|
59
|
+
with:
|
|
60
|
+
python-version: "3.12"
|
|
61
|
+
enable-cache: true
|
|
62
|
+
cache-dependency-glob: uv.lock
|
|
63
|
+
- name: Install dependencies
|
|
64
|
+
run: uv sync --frozen
|
|
65
|
+
- name: Install Chromium + System-Abhängigkeiten
|
|
66
|
+
run: uv run playwright install --with-deps chromium
|
|
67
|
+
- name: Browser tests
|
|
68
|
+
run: uv run pytest -m browser
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Release (ADR 0069): a v* tag builds the sdist/wheel, smoke-tests the wheel, publishes to PyPI via
|
|
2
|
+
# Trusted Publishing (OIDC, no token) and pushes the Docker image to GHCR.
|
|
3
|
+
# One-time setup: PyPI project -> "Publishing" -> add this repo + workflow `release.yml` + environment `pypi`.
|
|
4
|
+
name: release
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
tags: ["v*"]
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
build:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
18
|
+
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5
|
|
19
|
+
with:
|
|
20
|
+
python-version: "3.12"
|
|
21
|
+
- name: Tag matches package version
|
|
22
|
+
run: |
|
|
23
|
+
v="$(uv run python -c 'import tomllib;print(tomllib.load(open("pyproject.toml","rb"))["project"]["version"])')"
|
|
24
|
+
test "v$v" = "${GITHUB_REF_NAME}" || { echo "tag ${GITHUB_REF_NAME} != pyproject version $v"; exit 1; }
|
|
25
|
+
- run: uv build
|
|
26
|
+
- run: uvx twine check dist/*
|
|
27
|
+
- run: bash scripts/smoke-wheel.sh dist/*.whl
|
|
28
|
+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
|
29
|
+
with:
|
|
30
|
+
name: dist
|
|
31
|
+
path: dist/
|
|
32
|
+
|
|
33
|
+
pypi:
|
|
34
|
+
needs: build
|
|
35
|
+
runs-on: ubuntu-latest
|
|
36
|
+
environment: pypi
|
|
37
|
+
permissions:
|
|
38
|
+
id-token: write # Trusted Publishing
|
|
39
|
+
steps:
|
|
40
|
+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
|
41
|
+
with:
|
|
42
|
+
name: dist
|
|
43
|
+
path: dist/
|
|
44
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
45
|
+
|
|
46
|
+
image:
|
|
47
|
+
needs: build
|
|
48
|
+
runs-on: ubuntu-latest
|
|
49
|
+
permissions:
|
|
50
|
+
contents: read
|
|
51
|
+
packages: write
|
|
52
|
+
steps:
|
|
53
|
+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
54
|
+
- uses: docker/login-action@v3
|
|
55
|
+
with:
|
|
56
|
+
registry: ghcr.io
|
|
57
|
+
username: ${{ github.actor }}
|
|
58
|
+
password: ${{ secrets.GITHUB_TOKEN }}
|
|
59
|
+
- id: meta
|
|
60
|
+
uses: docker/metadata-action@v5
|
|
61
|
+
with:
|
|
62
|
+
images: ghcr.io/${{ github.repository_owner }}/fabrikant
|
|
63
|
+
tags: |
|
|
64
|
+
type=semver,pattern={{version}}
|
|
65
|
+
type=raw,value=latest
|
|
66
|
+
- uses: docker/build-push-action@v6
|
|
67
|
+
with:
|
|
68
|
+
context: .
|
|
69
|
+
push: true
|
|
70
|
+
tags: ${{ steps.meta.outputs.tags }}
|
|
71
|
+
labels: ${{ steps.meta.outputs.labels }}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
runs/
|
|
2
|
+
state/
|
|
3
|
+
sessionlog.db
|
|
4
|
+
sessionlog.db-shm
|
|
5
|
+
sessionlog.db-wal
|
|
6
|
+
__pycache__/
|
|
7
|
+
.venv/
|
|
8
|
+
coverage.xml
|
|
9
|
+
coverage.json
|
|
10
|
+
fabrikant.env
|
|
11
|
+
selftest/reports/
|
|
12
|
+
# GitHub-App-Private-Keys gehören nach ~/.config/fabrikant/ (0600), nie ins Repo
|
|
13
|
+
*.pem
|
|
14
|
+
|
|
15
|
+
# local agent/IDE state and personal notes
|
|
16
|
+
.claude/
|
|
17
|
+
.idea/
|
|
18
|
+
.fabrikant/
|
|
19
|
+
.coverage
|
|
20
|
+
features.md
|
|
21
|
+
# old local env file name; may still contain secrets on a developer machine
|
|
22
|
+
fabrik.env
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# AGENTS
|
|
2
|
+
## Follow best practices:
|
|
3
|
+
- linting
|
|
4
|
+
- type checking
|
|
5
|
+
- testing: aim for 80%+ coverage. testing getters and setters is unnecessary, but test all logic and edge cases.
|
|
6
|
+
- documentation; document all public functions, classes, and modules; document any non-obvious behavior. try to keep it up to date with code changes and try to keep it short.
|
|
7
|
+
- don't change/remove tests just because they fail; fix the code or the test, but don't remove tests (unless they are truly obsolete)
|
|
8
|
+
- never change specs/ADRs without explicit confirmation from the user
|
|
9
|
+
- codequality; try to use tools like sonarqube for code quality analysis and keep the code quality high. avoid code smells, duplication, and complexity.
|
|
10
|
+
- work like a distinguished engineer; don't just hack together a solution, think about the long term maintainability, architecture and scalability of the code.
|
|
11
|
+
- employ the boy scout rule: leave the codebase cleaner than you found it. if you see a small improvement that can be made, make it. if you see a larger improvement that can be made, create an issue
|
|
12
|
+
- keep the code DRY (don't repeat yourself); if you see code duplication, refactor it into a common function or class.
|
|
13
|
+
- don't keep hardcoding constants in literal values; introduce constants or configuration values.
|
|
14
|
+
- model structured data with types: when a dict with a known set of keys gets passed around (e.g. a request, a context, a record section), introduce a dataclass or small class with typed fields, defaults and the behavior that belongs to it (parsing, serialization, formatting). avoid opaque procedural code that pokes at keys that may or may not be there. plain dicts are fine at the boundaries (JSON I/O, ad-hoc lookups); convert at the edge.
|
|
15
|
+
- before you start implementing a feature from scratch, check if there is already a well-maintained library or module that can be used. don't reinvent the wheel.
|
|
16
|
+
|
|
17
|
+
## Language
|
|
18
|
+
- write docs (README, ADRs), issues, PR descriptions, commit messages, comments and docstrings in English.
|
|
19
|
+
|
|
20
|
+
## ADRs, Critical descisions, and design docs
|
|
21
|
+
- all critical decisions should be documented in ADRs (architecture decision records) or design docs.
|
|
22
|
+
- docs are in docs/adr or docs/
|
|
23
|
+
- if you change an ADR numbering, search the codebase for references to it and update them. don't just change the number in the ADR file.
|
|
24
|
+
- when mergeing a PR that containts ADRs, make sure to update the ADR index (docs/adr/README.md) with the new ADRs and their status. Merge to main is status=accepted.
|
|
25
|
+
- when updating an ADR, make sure to update the status in the index and in the ADR file with the date and a short summary of the change.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to fabrikant are documented here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project adheres to
|
|
5
|
+
[Semantic Versioning](https://semver.org/). Releases are described in [docs/releasing.md](docs/releasing.md).
|
|
6
|
+
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
|
|
9
|
+
## [0.1.0] - 2026-11-25
|
|
10
|
+
|
|
11
|
+
First public release.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Local software factory: agentic development loops defined as YAML specs, run with gates, steered from a web UI
|
|
16
|
+
or chat (see [README](README.md) and [docs/](docs/README.md)).
|
|
17
|
+
- Community files: code of conduct, issue and PR templates, Dependabot, CODEOWNERS.
|
|
18
|
+
|
|
19
|
+
[Unreleased]: https://github.com/didaskomathetes/fabrikant/compare/v0.1.0...HEAD
|
|
20
|
+
[0.1.0]: https://github.com/didaskomathetes/fabrikant/releases/tag/v0.1.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@AGENTS.md
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
|
6
|
+
experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex
|
|
7
|
+
characteristics, gender identity and expression, level of experience, education, socio-economic status,
|
|
8
|
+
nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
|
|
9
|
+
|
|
10
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy
|
|
11
|
+
community.
|
|
12
|
+
|
|
13
|
+
## Our Standards
|
|
14
|
+
|
|
15
|
+
Examples of behavior that contributes to a positive environment:
|
|
16
|
+
|
|
17
|
+
- Demonstrating empathy and kindness toward other people
|
|
18
|
+
- Being respectful of differing opinions, viewpoints, and experiences
|
|
19
|
+
- Giving and gracefully accepting constructive feedback
|
|
20
|
+
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
|
21
|
+
- Focusing on what is best not just for us as individuals, but for the overall community
|
|
22
|
+
|
|
23
|
+
Examples of unacceptable behavior:
|
|
24
|
+
|
|
25
|
+
- The use of sexualized language or imagery, and sexual attention or advances of any kind
|
|
26
|
+
- Trolling, insulting or derogatory comments, and personal or political attacks
|
|
27
|
+
- Public or private harassment
|
|
28
|
+
- Publishing others' private information, such as a physical or email address, without their explicit permission
|
|
29
|
+
- Other conduct which could reasonably be considered inappropriate in a professional setting
|
|
30
|
+
|
|
31
|
+
## Enforcement Responsibilities
|
|
32
|
+
|
|
33
|
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will
|
|
34
|
+
take appropriate and fair corrective action in response to any behavior that they deem inappropriate,
|
|
35
|
+
threatening, offensive, or harmful.
|
|
36
|
+
|
|
37
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki
|
|
38
|
+
edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate
|
|
39
|
+
reasons for moderation decisions when appropriate.
|
|
40
|
+
|
|
41
|
+
## Scope
|
|
42
|
+
|
|
43
|
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially
|
|
44
|
+
representing the community in public spaces.
|
|
45
|
+
|
|
46
|
+
## Enforcement
|
|
47
|
+
|
|
48
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders
|
|
49
|
+
responsible for enforcement at the maintainers via a [private security advisory](https://github.com/didaskomathetes/fabrikant/security/advisories/new) (choose it for conduct reports too; it is visible only to maintainers). All complaints
|
|
50
|
+
will be reviewed and investigated promptly and fairly. All community leaders are obligated to respect the
|
|
51
|
+
privacy and security of the reporter of any incident.
|
|
52
|
+
|
|
53
|
+
## Enforcement Guidelines
|
|
54
|
+
|
|
55
|
+
Community leaders will follow these guidelines in determining the consequences for any action they deem in
|
|
56
|
+
violation of this Code of Conduct:
|
|
57
|
+
|
|
58
|
+
1. **Correction**: a private, written warning with clarity around the nature of the violation. A public apology
|
|
59
|
+
may be requested.
|
|
60
|
+
2. **Warning**: a warning with consequences for continued behavior. No interaction with the people involved,
|
|
61
|
+
including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time.
|
|
62
|
+
3. **Temporary Ban**: a temporary ban from any sort of interaction or public communication with the community
|
|
63
|
+
for a specified period of time.
|
|
64
|
+
4. **Permanent Ban**: a permanent ban from any sort of public interaction within the community.
|
|
65
|
+
|
|
66
|
+
## Attribution
|
|
67
|
+
|
|
68
|
+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org),
|
|
69
|
+
version 2.1, available at
|
|
70
|
+
<https://www.contributor-covenant.org/version/2/1/code_of_conduct.html>.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Thanks for your interest in fabrikant! Setup, tests and the lint gate are described in
|
|
4
|
+
[docs/development.md](docs/development.md); the conventions we follow are in [AGENTS.md](AGENTS.md).
|
|
5
|
+
|
|
6
|
+
Please follow our [Code of Conduct](CODE_OF_CONDUCT.md). Notable changes go into [CHANGELOG.md](CHANGELOG.md).
|
|
7
|
+
|
|
8
|
+
In short:
|
|
9
|
+
|
|
10
|
+
- Open an issue or discussion before large changes; significant design decisions are recorded as ADRs in
|
|
11
|
+
[docs/adr/](docs/adr/README.md).
|
|
12
|
+
- Keep changes small and tested (`scripts/lint.sh` and `pytest` must pass; the coverage gate is 90%).
|
|
13
|
+
- Write docs, comments, commit messages and PR descriptions in English.
|
|
14
|
+
- Step plugins live in their own packages: see [docs/plugins.md](docs/plugins.md).
|
|
15
|
+
|
|
16
|
+
By contributing you agree that your contribution is licensed under the Apache License 2.0 ([LICENSE](LICENSE)).
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# fabrikant server image (ADR 0069): the published wheel + git, data in the /data volume.
|
|
2
|
+
#
|
|
3
|
+
# docker build -t fabrikant .
|
|
4
|
+
# docker run -p 8321:8321 -v fabrikant-data:/data fabrikant
|
|
5
|
+
# docker exec -it <container> fabrikant user add admin admin --password-stdin # first login (FABRIKANT_AUTH=local)
|
|
6
|
+
#
|
|
7
|
+
# Plugins: FROM this image, then `pip install my-fabrikant-steps` (docs/plugins.md).
|
|
8
|
+
ARG PYTHON_VERSION=3.12
|
|
9
|
+
|
|
10
|
+
FROM python:${PYTHON_VERSION}-slim AS build
|
|
11
|
+
WORKDIR /src
|
|
12
|
+
RUN pip install --no-cache-dir build
|
|
13
|
+
COPY pyproject.toml README.md ./
|
|
14
|
+
COPY src ./src
|
|
15
|
+
RUN python -m build --wheel --outdir /dist
|
|
16
|
+
|
|
17
|
+
FROM python:${PYTHON_VERSION}-slim
|
|
18
|
+
# git: fabrikant drives worktrees/branches by argument list; ca-certificates: HTTPS to hosting providers.
|
|
19
|
+
RUN apt-get update \
|
|
20
|
+
&& apt-get install -y --no-install-recommends git ca-certificates \
|
|
21
|
+
&& rm -rf /var/lib/apt/lists/* \
|
|
22
|
+
&& useradd --uid 10001 --create-home fabrikant \
|
|
23
|
+
&& mkdir /data && chown fabrikant /data
|
|
24
|
+
COPY --from=build /dist/*.whl /tmp/
|
|
25
|
+
RUN pip install --no-cache-dir /tmp/*.whl && rm /tmp/*.whl
|
|
26
|
+
USER fabrikant
|
|
27
|
+
ENV FABRIKANT_HOME=/data \
|
|
28
|
+
FABRIKANT_AUTH=local \
|
|
29
|
+
PYTHONUNBUFFERED=1
|
|
30
|
+
VOLUME /data
|
|
31
|
+
WORKDIR /data
|
|
32
|
+
EXPOSE 8321
|
|
33
|
+
HEALTHCHECK --interval=30s --timeout=5s CMD python -c "import urllib.request as u; u.urlopen('http://127.0.0.1:8321/', timeout=4)"
|
|
34
|
+
ENTRYPOINT ["fabrikant"]
|
|
35
|
+
CMD ["serve", "--host", "0.0.0.0"]
|
fabrikant-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 the fabrikant authors
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|