-
v0.3.1-dev.7
Pre-releasereleased this
2026-11-27 09:01:06 +00:00 | 0 commits to main since this releaseyawn deploywaits for missing intake or action-job evidence instead of reporting a premature rejection. When xyOps identifies a unique, verified failed step, the broker returns its job ID and phase so the CLI links directly to it. Raw job output is not forwarded.- One failure notice per release:
PipelineProps.OnFailureandEntryProps.OnFailure(*xyops.EventRef) run one event, once, when the workflow itself fails (native Run Event action, conditionerror, which xyOps also fires forwarning). The launched job has the workflow job as its parent. Owned steps and the call event get no failure action of their own, so a failed step no longer alerts once per layer. Mutually exclusive withAlertWebHook; the event must be another event with a manual trigger. Approval start notifications are unchanged. - Signing requests wait for CI.
yawn cirefuses a workflow job in whichyawn deploy *_sign(website or provider signing) is not preceded by arelease:require-checksstep with awaitof 60..3600 seconds. A publish workflow starts at the release tag at the same moment as CI, and the signer refuses a commit whose required checks are still pending (HTTP 403). Add, before the signing step:{"name": "Wait for the required push checks", "uses": "release:require-checks", "with": {"contexts": "CI / check (push)\nCI / release-check (push)", "token": "${{ github.token }}", "wait": "900"}}, with the contexts the Arch slot requires. ReleaseRefmoves to john/release 15f1943 (require-checkswaitinput).apps.Provider.FirstVersion(first_versionin apps.json, optional): the reviewed version allowed to create a provider's registry index. Declared with the slot at onboarding, so the signer no longer needs a per-provider exception in its script.- Remove release constructs no consumer uses:
workflow.NewServiceRelease,ServiceReleaseProps,ServiceRelease,NewScopedReleaseandScopedReleaseProps;workload.TenantContext.NewPipeline,NewReleaseEntry,LocalandWorkers; andpipeline.Bound.NewWorkflow. Platforms build bodies withworkflow.NewPipeline(call steps) and entries withNewEntry/NewScopedEntry;workloadkeeps tenant admission, grants and authorization (Registry,TenantContext.Call,BindRelease,Call.Params). - Owned pipelines (
PipelineProps.Calls) keep their own tasks and approvals (created inpipeline_<suffix>); only Run steps naming an event outside that category are refused. - Two-key pipelines on stock xyOps:
PipelineProps.Calls(CallProps{Suffix, Plugin, TimeoutSeconds}) makes an owned, platform-callable pipeline. It gets one call event<suffix>_call(custom plugin, pipeline category) and a vaultpipeline_<suffix>_invokegranted only to it; the platform delivers the invoker key, never code.workflow.CallStep(slot, target)runs the platform worker registered forslotthrough that event (node params{arch_target}, slot as node ID). An owned pipeline must live inPipelineCategory(suffix)and may hold only call steps, approvals and gates; Task, PluginTask and Run steps are refused at synthesis, because stock xyOps lets its editor key reference only events in that category. Helpers:PipelineCategory,CallEventID,InvokeVaultID. API keys and categories stay platform-minted: provider 0.1.2-dev.9 has noxyops_categoryresource andxyops_api_keyhas nocategories/groups. - Add
xyops.NewPlugin, a custom xyOps Event Plugin (xyops_plugin) that runs one reviewed program asCommand <script file>with the job on STDIN. Every attribute is written: no parameters (params"[]"), no run-as override,killall by default, destroy refused. Stock-like IDs, relative commands and shell metacharacters are refused; plugin IDs are claimed inxyops.PluginNamespace. xyops.EventProps.Pluginruns an event on such a plugin (params{}, depends on the plugin) instead of an inline Shell PluginScript; exactly one is required. Script events are unchanged.- Add
workflow.PluginTaskandStep.Plugin. - Add opt-in
xyops.CheckInlineScripts(stack, max)andxyops.MaxInlineScript(16 KiB) for consumer tests: xySat drops a job environment variable above 64 KiB, so large inline scripts belong in a plugin.
Source commit
b10894966b5b82dfa2ce223b7f82d8ecfd06b8e1.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v0.3.1-dev.6
Pre-releasereleased this
2026-11-26 10:44:24 +00:00 | 4 commits to main since this release- One failure notice per release:
PipelineProps.OnFailureandEntryProps.OnFailure(*xyops.EventRef) run one event, once, when the workflow itself fails (native Run Event action, conditionerror, which xyOps also fires forwarning). The launched job has the workflow job as its parent. Owned steps and the call event get no failure action of their own, so a failed step no longer alerts once per layer. Mutually exclusive withAlertWebHook; the event must be another event with a manual trigger. Approval start notifications are unchanged. - Signing requests wait for CI.
yawn cirefuses a workflow job in whichyawn deploy *_sign(website or provider signing) is not preceded by arelease:require-checksstep with awaitof 60..3600 seconds. A publish workflow starts at the release tag at the same moment as CI, and the signer refuses a commit whose required checks are still pending (HTTP 403). Add, before the signing step:{"name": "Wait for the required push checks", "uses": "release:require-checks", "with": {"contexts": "CI / check (push)\nCI / release-check (push)", "token": "${{ github.token }}", "wait": "900"}}, with the contexts the Arch slot requires. ReleaseRefmoves to john/release 15f1943 (require-checkswaitinput).apps.Provider.FirstVersion(first_versionin apps.json, optional): the reviewed version allowed to create a provider's registry index. Declared with the slot at onboarding, so the signer no longer needs a per-provider exception in its script.- Remove release constructs no consumer uses:
workflow.NewServiceRelease,ServiceReleaseProps,ServiceRelease,NewScopedReleaseandScopedReleaseProps;workload.TenantContext.NewPipeline,NewReleaseEntry,LocalandWorkers; andpipeline.Bound.NewWorkflow. Platforms build bodies withworkflow.NewPipeline(call steps) and entries withNewEntry/NewScopedEntry;workloadkeeps tenant admission, grants and authorization (Registry,TenantContext.Call,BindRelease,Call.Params). - Owned pipelines (
PipelineProps.Calls) keep their own tasks and approvals (created inpipeline_<suffix>); only Run steps naming an event outside that category are refused. - Two-key pipelines on stock xyOps:
PipelineProps.Calls(CallProps{Suffix, Plugin, TimeoutSeconds}) makes an owned, platform-callable pipeline. It gets one call event<suffix>_call(custom plugin, pipeline category) and a vaultpipeline_<suffix>_invokegranted only to it; the platform delivers the invoker key, never code.workflow.CallStep(slot, target)runs the platform worker registered forslotthrough that event (node params{arch_target}, slot as node ID). An owned pipeline must live inPipelineCategory(suffix)and may hold only call steps, approvals and gates; Task, PluginTask and Run steps are refused at synthesis, because stock xyOps lets its editor key reference only events in that category. Helpers:PipelineCategory,CallEventID,InvokeVaultID. API keys and categories stay platform-minted: provider 0.1.2-dev.9 has noxyops_categoryresource andxyops_api_keyhas nocategories/groups. - Add
xyops.NewPlugin, a custom xyOps Event Plugin (xyops_plugin) that runs one reviewed program asCommand <script file>with the job on STDIN. Every attribute is written: no parameters (params"[]"), no run-as override,killall by default, destroy refused. Stock-like IDs, relative commands and shell metacharacters are refused; plugin IDs are claimed inxyops.PluginNamespace. xyops.EventProps.Pluginruns an event on such a plugin (params{}, depends on the plugin) instead of an inline Shell PluginScript; exactly one is required. Script events are unchanged.- Add
workflow.PluginTaskandStep.Plugin. - Add opt-in
xyops.CheckInlineScripts(stack, max)andxyops.MaxInlineScript(16 KiB) for consumer tests: xySat drops a job environment variable above 64 KiB, so large inline scripts belong in a plugin.
Source commit
d75ec44bf7d718798c0af365e424820856401ab4.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- One failure notice per release:
-
v0.3.1-dev.5
Pre-releasereleased this
2026-11-26 07:57:59 +00:00 | 6 commits to main since this release- Signing requests wait for CI.
yawn cirefuses a workflow job in whichyawn deploy *_sign(website or provider signing) is not preceded by arelease:require-checksstep with awaitof 60..3600 seconds. A publish workflow starts at the release tag at the same moment as CI, and the signer refuses a commit whose required checks are still pending (HTTP 403). Add, before the signing step:{"name": "Wait for the required push checks", "uses": "release:require-checks", "with": {"contexts": "CI / check (push)\nCI / release-check (push)", "token": "${{ github.token }}", "wait": "900"}}, with the contexts the Arch slot requires. ReleaseRefmoves to john/release 15f1943 (require-checkswaitinput).apps.Provider.FirstVersion(first_versionin apps.json, optional): the reviewed version allowed to create a provider's registry index. Declared with the slot at onboarding, so the signer no longer needs a per-provider exception in its script.- Remove release constructs no consumer uses:
workflow.NewServiceRelease,ServiceReleaseProps,ServiceRelease,NewScopedReleaseandScopedReleaseProps;workload.TenantContext.NewPipeline,NewReleaseEntry,LocalandWorkers; andpipeline.Bound.NewWorkflow. Platforms build bodies withworkflow.NewPipeline(call steps) and entries withNewEntry/NewScopedEntry;workloadkeeps tenant admission, grants and authorization (Registry,TenantContext.Call,BindRelease,Call.Params). - Owned pipelines (
PipelineProps.Calls) keep their own tasks and approvals (created inpipeline_<suffix>); only Run steps naming an event outside that category are refused. - Two-key pipelines on stock xyOps:
PipelineProps.Calls(CallProps{Suffix, Plugin, TimeoutSeconds}) makes an owned, platform-callable pipeline. It gets one call event<suffix>_call(custom plugin, pipeline category) and a vaultpipeline_<suffix>_invokegranted only to it; the platform delivers the invoker key, never code.workflow.CallStep(slot, target)runs the platform worker registered forslotthrough that event (node params{arch_target}, slot as node ID). An owned pipeline must live inPipelineCategory(suffix)and may hold only call steps, approvals and gates; Task, PluginTask and Run steps are refused at synthesis, because stock xyOps lets its editor key reference only events in that category. Helpers:PipelineCategory,CallEventID,InvokeVaultID. API keys and categories stay platform-minted: provider 0.1.2-dev.9 has noxyops_categoryresource andxyops_api_keyhas nocategories/groups. - Add
xyops.NewPlugin, a custom xyOps Event Plugin (xyops_plugin) that runs one reviewed program asCommand <script file>with the job on STDIN. Every attribute is written: no parameters (params"[]"), no run-as override,killall by default, destroy refused. Stock-like IDs, relative commands and shell metacharacters are refused; plugin IDs are claimed inxyops.PluginNamespace. xyops.EventProps.Pluginruns an event on such a plugin (params{}, depends on the plugin) instead of an inline Shell PluginScript; exactly one is required. Script events are unchanged.- Add
workflow.PluginTaskandStep.Plugin. - Add opt-in
xyops.CheckInlineScripts(stack, max)andxyops.MaxInlineScript(16 KiB) for consumer tests: xySat drops a job environment variable above 64 KiB, so large inline scripts belong in a plugin.
Source commit
f20ed9607e6ce36a6a9922b0328d08b58786eb6a.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Signing requests wait for CI.
-
v0.3.1-dev.4
Pre-releasereleased this
2026-11-25 15:00:49 +00:00 | 9 commits to main since this release- Remove release constructs no consumer uses:
workflow.NewServiceRelease,ServiceReleaseProps,ServiceRelease,NewScopedReleaseandScopedReleaseProps;workload.TenantContext.NewPipeline,NewReleaseEntry,LocalandWorkers; andpipeline.Bound.NewWorkflow. Platforms build bodies withworkflow.NewPipeline(call steps) and entries withNewEntry/NewScopedEntry;workloadkeeps tenant admission, grants and authorization (Registry,TenantContext.Call,BindRelease,Call.Params). - Owned pipelines (
PipelineProps.Calls) keep their own tasks and approvals (created inpipeline_<suffix>); only Run steps naming an event outside that category are refused. - Two-key pipelines on stock xyOps:
PipelineProps.Calls(CallProps{Suffix, Plugin, TimeoutSeconds}) makes an owned, platform-callable pipeline. It gets one call event<suffix>_call(custom plugin, pipeline category) and a vaultpipeline_<suffix>_invokegranted only to it; the platform delivers the invoker key, never code.workflow.CallStep(slot, target)runs the platform worker registered forslotthrough that event (node params{arch_target}, slot as node ID). An owned pipeline must live inPipelineCategory(suffix)and may hold only call steps, approvals and gates; Task, PluginTask and Run steps are refused at synthesis, because stock xyOps lets its editor key reference only events in that category. Helpers:PipelineCategory,CallEventID,InvokeVaultID. API keys and categories stay platform-minted: provider 0.1.2-dev.9 has noxyops_categoryresource andxyops_api_keyhas nocategories/groups. - Add
xyops.NewPlugin, a custom xyOps Event Plugin (xyops_plugin) that runs one reviewed program asCommand <script file>with the job on STDIN. Every attribute is written: no parameters (params"[]"), no run-as override,killall by default, destroy refused. Stock-like IDs, relative commands and shell metacharacters are refused; plugin IDs are claimed inxyops.PluginNamespace. xyops.EventProps.Pluginruns an event on such a plugin (params{}, depends on the plugin) instead of an inline Shell PluginScript; exactly one is required. Script events are unchanged.- Add
workflow.PluginTaskandStep.Plugin. - Add opt-in
xyops.CheckInlineScripts(stack, max)andxyops.MaxInlineScript(16 KiB) for consumer tests: xySat drops a job environment variable above 64 KiB, so large inline scripts belong in a plugin.
Source commit
37a10e821a81011a64e19fe25ed67cf64864898a.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Remove release constructs no consumer uses:
-
v0.3.1-dev.3
Pre-releasereleased this
2026-11-25 06:44:24 +00:00 | 11 commits to main since this release- Owned pipelines (
PipelineProps.Calls) keep their own tasks and approvals (created inpipeline_<suffix>); only Run steps naming an event outside that category are refused. - Two-key pipelines on stock xyOps:
PipelineProps.Calls(CallProps{Suffix, Plugin, TimeoutSeconds}) makes an owned, platform-callable pipeline. It gets one call event<suffix>_call(custom plugin, pipeline category) and a vaultpipeline_<suffix>_invokegranted only to it; the platform delivers the invoker key, never code.workflow.CallStep(slot, target)runs the platform worker registered forslotthrough that event (node params{arch_target}, slot as node ID). An owned pipeline must live inPipelineCategory(suffix)and may hold only call steps, approvals and gates; Task, PluginTask and Run steps are refused at synthesis, because stock xyOps lets its editor key reference only events in that category. Helpers:PipelineCategory,CallEventID,InvokeVaultID. API keys and categories stay platform-minted: provider 0.1.2-dev.9 has noxyops_categoryresource andxyops_api_keyhas nocategories/groups. - Add
xyops.NewPlugin, a custom xyOps Event Plugin (xyops_plugin) that runs one reviewed program asCommand <script file>with the job on STDIN. Every attribute is written: no parameters (params"[]"), no run-as override,killall by default, destroy refused. Stock-like IDs, relative commands and shell metacharacters are refused; plugin IDs are claimed inxyops.PluginNamespace. xyops.EventProps.Pluginruns an event on such a plugin (params{}, depends on the plugin) instead of an inline Shell PluginScript; exactly one is required. Script events are unchanged.- Add
workflow.PluginTaskandStep.Plugin; plugin steps and a pluginServiceReleaseProps.Intakecount as workers for state and vault grants. - Add opt-in
xyops.CheckInlineScripts(stack, max)andxyops.MaxInlineScript(16 KiB) for consumer tests: xySat drops a job environment variable above 64 KiB, so large inline scripts belong in a plugin.
Source commit
8adbe052a7f0e721bb0316eeed7aef2739e6bd0d.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Owned pipelines (
-
v0.3.1-dev.2
Pre-releasereleased this
2026-11-25 06:13:51 +00:00 | 13 commits to main since this release- Two-key pipelines on stock xyOps:
PipelineProps.Calls(CallProps{Suffix, Plugin, TimeoutSeconds}) makes an owned, platform-callable pipeline. It gets one call event<suffix>_call(custom plugin, pipeline category) and a vaultpipeline_<suffix>_invokegranted only to it; the platform delivers the invoker key, never code.workflow.CallStep(slot, target)runs the platform worker registered forslotthrough that event (node params{arch_target}, slot as node ID). An owned pipeline must live inPipelineCategory(suffix)and may hold only call steps, approvals and gates; Task, PluginTask and Run steps are refused at synthesis, because stock xyOps lets its editor key reference only events in that category. Helpers:PipelineCategory,CallEventID,InvokeVaultID. API keys and categories stay platform-minted: provider 0.1.2-dev.9 has noxyops_categoryresource andxyops_api_keyhas nocategories/groups. - Add
xyops.NewPlugin, a custom xyOps Event Plugin (xyops_plugin) that runs one reviewed program asCommand <script file>with the job on STDIN. Every attribute is written: no parameters (params"[]"), no run-as override,killall by default, destroy refused. Stock-like IDs, relative commands and shell metacharacters are refused; plugin IDs are claimed inxyops.PluginNamespace. xyops.EventProps.Pluginruns an event on such a plugin (params{}, depends on the plugin) instead of an inline Shell PluginScript; exactly one is required. Script events are unchanged.- Add
workflow.PluginTaskandStep.Plugin; plugin steps and a pluginServiceReleaseProps.Intakecount as workers for state and vault grants. - Add opt-in
xyops.CheckInlineScripts(stack, max)andxyops.MaxInlineScript(16 KiB) for consumer tests: xySat drops a job environment variable above 64 KiB, so large inline scripts belong in a plugin.
Source commit
b2ca153afd1447589cbc8af0d1c9f93aab07b643.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Two-key pipelines on stock xyOps:
-
v0.3.1-dev.1
Pre-releasereleased this
2026-11-24 15:34:08 +00:00 | 18 commits to main since this release- Add
xyops.NewPlugin, a custom xyOps Event Plugin (xyops_plugin) that runs one reviewed program asCommand <script file>with the job on STDIN. Every attribute is written: no parameters (params"[]"), no run-as override,killall by default, destroy refused. Stock-like IDs, relative commands and shell metacharacters are refused; plugin IDs are claimed inxyops.PluginNamespace. xyops.EventProps.Pluginruns an event on such a plugin (params{}, depends on the plugin) instead of an inline Shell PluginScript; exactly one is required. Script events are unchanged.- Add
workflow.PluginTaskandStep.Plugin; plugin steps and a pluginServiceReleaseProps.Intakecount as workers for state and vault grants. - Add opt-in
xyops.CheckInlineScripts(stack, max)andxyops.MaxInlineScript(16 KiB) for consumer tests: xySat drops a job environment variable above 64 KiB, so large inline scripts belong in a plugin.
Source commit
82a485fe0add2202abfe2c17b025431a5944a04d.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Add
-
v0.3.0
Stablereleased this
2026-11-24 03:05:04 +00:00 | 25 commits to main since this release- Promote the 0.3.0 release candidate to stable. No library or CLI behavior changes from
0.3.0-rc.1.
Source commit
b321427c59389d9f5ee9d85302cf6d1583375781.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Promote the 0.3.0 release candidate to stable. No library or CLI behavior changes from
-
v0.3.0-dev.57
Pre-releasereleased this
2026-11-23 23:38:45 +00:00 | 29 commits to main since this releaseChanged
-
xyops: provider tofu-provider-xyops 0.1.2-dev.7, published onregistry.yawn.dev(deployer-attested, GPG-signedSHA256SUMS); provider code identical to 0.1.2-dev.6. -
yawn app-verify -mode attestaccepts publish runs started byworkflow_dispatchat a release tag (release workflows dispatch publish);AllowManualnow governs deploys only.
Added
core.Literal(s): escapes OpenTofu template introducers (${→$${,%{→%%{) so text reaches the provider verbatim.
Fixed
-
xyops: event params (scripts), fields, triggers, limits, actions, title and notes are written as literals; shell${var}in a script no longer failstofu validate(JSON-syntax strings are templates). -
apps: provider slots (Artifact: ArtifactProvider,Provider{Address, FilePrefix, Platforms, Protocols}) for OpenTofu provider releases: attested (the digest is sha256 of the release's SHA256SUMS) and published to a registry, never deployed (no workflow, image, target, health or secrets). Image slots defaultArtifacttoimage. -
yawn app-verifyrefuses deploy requests for provider slots; attest results name<address>@<digest>. -
xyopspackage: pinned john/tofu-provider-xyops (0.1.2-dev.6, SHA-256 + h1),NewEvent(shell events: fields, manual/magic triggers with only the key's hash, limits, failure web hook; JSON encoded exactly like OpenTofu's jsonencode so imports plan clean) andNewSecret(record and event grants only; values never written). Schema snapshot test against the provider. -
apps:Source.RequiredChecks, the commit statuses that must be green on a release tag's commit before it is attested (kept in the infrastructure app, not the app repo). -
apps:Source.Publish(the workflow whose token may get a digest attested) andAttestAudience(yawn-attest:<slot>); one publish or deploy workflow per slot. -
yawn app-verifychecks attest requests (yawn-attest:<slot>, slot's publish workflow) as well as deploy requests (yawn-app:<slot>, slot's deploy workflow);-modepins the purpose. -
appspackage: application deploy slots (apps.json): source repository by immutable IDs, release tag prefix, exact workflow file, image repository, target (compose-lxc or compose-host), health URL, granted xyOps secrets. One workflow deploys at most one slot. -
yawn app-verify: verifies an app deploy token against its slot (audienceyawn-app:<slot>), digest format and replay guard; prints slot, tag andimage@digest. -
oidc:Policy.TagPrefixes(opt-in release-tag deploys),VerifyWorkflow(workflow_ref must be the workflow at the token's own ref),UnverifiedAudience(slot selection only). -
yawn bootstrap [-plan] [-allow CTID,...] [-backend-config K=V ...] STACK: break-glass deploy of a bootstrap stack from a trusted machine. Refuses unless the checkout is a cleanorigin/mainand the stack is marked bootstrap; requires every declared credential; passes only those to OpenTofu; saved plan, restart guard, typed stack-name confirmation, convergence check. -
Stack.Bootstrap()andStack.Credentials(names...), recorded in the manifest (bootstrap,credentials).
Changed
- Breaking: the
giteapackage is removed. Forgejo replaced Gitea and has no OpenTofu state registry, and the forked Gitea provider targeted settings Forgejo lacks. - Breaking:
Stack.Encryptrequires the passphrase variable to be sensitive and ephemeral, so the passphrase never appears in saved plans. Generated configuration requires OpenTofu >= 1.11. - CI moved to
.forgejo/and uses the mirrored runner image.
Fixed
proxmox: imports plan only state-side differences. The construct now writes Proxmox's console defaults (enabled, tty, 2 TTYs) and the provider'stimeout_startdefault (300): left unset, the first import planned a console change on every container, which the provider applies with a reboot (caught byyawn plan-guardin arch plan run 583; nothing applied).proxmox:Network.NoGatewaydeclares a static interface without a gateway (as Proxmox allows; CT 112 on kratos), instead of refusing it.proxmox: MAC addresses are written exactly as declared (all upper or all lower case) instead of lowercased. bpg/proxmox compares them case-sensitively against what Proxmox stores (usually upper case), so lowercasing would plan a network change, and a network change reboots a running container.
Added
proxmox.Disruptionsandyawn plan-guard [-allow CTID,...] < plan.json: readtofu show -jsonof a saved plan and refuse (exit 3) any replacement, deletion, stop, start or reboot of an existing container that is not approved. Reboot triggers are those of bpg/proxmox 0.122.0 in-place updates of running containers (memory, mounts, devices, network/IP, DNS, hostname, entrypoint, environment, OS type, console, idmap, root mount options). Creates are always allowed. Checked against real OpenTofu plan JSON.proxmox:NewContainerfor Proxmox VE LXC containers on bpg/proxmox 0.122.0 (pinned by SHA-256 and h1; hashes match OpenTofu's verified install). Import bynode/ctidor create from a template; every attribute decided against a schema snapshot including nested blocks; destroy refused and never purges; template, privilege, root storage, description and the initial user account never reconciled; rawlxc.*lines untouched. TLS always verified; token only fromPROXMOX_VE_API_TOKEN.Container.Fleet()returns thefleet.Containeridentity (DHCP interfaces name theirReservedIP). Guide in the wiki;examples/containersis validated by OpenTofu in CI.forgejo.Repository.DeployKey: SSH deploy key, read-only unlessWrite; accepts only an OpenSSH ed25519 public key without a comment, so private keys never pass through cdk.oidc.Policy.Audiences(andaudiencesin theyawn oidc-verifypolicy file): a set of accepted audiences, so a deploy job can bind its mode to the token (e.g.yawn-deploy:arch:plan/:apply) and read the verifiedClaims.Audience. Set eitheraudienceoraudiences.fleet.Observed.MAC: net0 hwaddr (lowercase), so DHCP reservations can be written from discovery.fleet.ParseUpdateEntrypointalso reads older community-scripts entrypoints (thect/<name>.shthey download).fleet.Observed.DHCP: containers whose net0 usesip=dhcp(the observer then reports the live address);Checkwarns, because a lease change would break the identity check.forgejo:NewRepositoryandProtectfor svalabs/forgejo 1.7.0 from the OpenTofu registry, with every attribute decided against a schema snapshot. Wiki options are omitted while the wiki is off; manual-merge settings Forgejo does not support are left alone.UnreadSettingslists the repository settings the provider never reads back.core.S3Backend: S3-compatible state (VersityGW) with native lockfile locking; credentials only from the environment.core.Variable.Ephemeral, andApp.Attachfor data-only documents synthesized next to the stacks (listed inmanifest.jsonasdocuments).fleet: declares which Proxmox container runs which service (fleet.json), parsespct list/pct configand the community-scripts update entrypoint, and reports identity mismatches and drift.oidc: verifies Forgejo Actions ID tokens (RS256 only, JWKS from the issuer's host, explicit audience, repository by immutable ID, event, ref, workflow, token age) and refuses runs not newer than the last deploy.yawn oidc-verify,yawn fleet-checkandyawn fleet-difffor xyOps deploy jobs; exit status 3 means "checked and refused".- Design doc for the deploy control plane in
wiki/, published to the repository wiki on release.
Source commit
4ad24e717d5b4f7d0442411ae405f41992b597ad.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
-
v0.3.0-dev.56
Pre-releasereleased this
2026-11-23 23:19:56 +00:00 | 32 commits to main since this releaseChanged
-
xyops: provider tofu-provider-xyops 0.1.2-dev.7, published onregistry.yawn.dev(deployer-attested, GPG-signedSHA256SUMS); provider code identical to 0.1.2-dev.6. -
yawn app-verify -mode attestaccepts publish runs started byworkflow_dispatchat a release tag (release workflows dispatch publish);AllowManualnow governs deploys only.
Added
core.Literal(s): escapes OpenTofu template introducers (${→$${,%{→%%{) so text reaches the provider verbatim.
Fixed
-
xyops: event params (scripts), fields, triggers, limits, actions, title and notes are written as literals; shell${var}in a script no longer failstofu validate(JSON-syntax strings are templates). -
apps: provider slots (Artifact: ArtifactProvider,Provider{Address, FilePrefix, Platforms, Protocols}) for OpenTofu provider releases: attested (the digest is sha256 of the release's SHA256SUMS) and published to a registry, never deployed (no workflow, image, target, health or secrets). Image slots defaultArtifacttoimage. -
yawn app-verifyrefuses deploy requests for provider slots; attest results name<address>@<digest>. -
xyopspackage: pinned john/tofu-provider-xyops (0.1.2-dev.6, SHA-256 + h1),NewEvent(shell events: fields, manual/magic triggers with only the key's hash, limits, failure web hook; JSON encoded exactly like OpenTofu's jsonencode so imports plan clean) andNewSecret(record and event grants only; values never written). Schema snapshot test against the provider. -
apps:Source.RequiredChecks, the commit statuses that must be green on a release tag's commit before it is attested (kept in the infrastructure app, not the app repo). -
apps:Source.Publish(the workflow whose token may get a digest attested) andAttestAudience(yawn-attest:<slot>); one publish or deploy workflow per slot. -
yawn app-verifychecks attest requests (yawn-attest:<slot>, slot's publish workflow) as well as deploy requests (yawn-app:<slot>, slot's deploy workflow);-modepins the purpose. -
appspackage: application deploy slots (apps.json): source repository by immutable IDs, release tag prefix, exact workflow file, image repository, target (compose-lxc or compose-host), health URL, granted xyOps secrets. One workflow deploys at most one slot. -
yawn app-verify: verifies an app deploy token against its slot (audienceyawn-app:<slot>), digest format and replay guard; prints slot, tag andimage@digest. -
oidc:Policy.TagPrefixes(opt-in release-tag deploys),VerifyWorkflow(workflow_ref must be the workflow at the token's own ref),UnverifiedAudience(slot selection only). -
yawn bootstrap [-plan] [-allow CTID,...] [-backend-config K=V ...] STACK: break-glass deploy of a bootstrap stack from a trusted machine. Refuses unless the checkout is a cleanorigin/mainand the stack is marked bootstrap; requires every declared credential; passes only those to OpenTofu; saved plan, restart guard, typed stack-name confirmation, convergence check. -
Stack.Bootstrap()andStack.Credentials(names...), recorded in the manifest (bootstrap,credentials).
Changed
- Breaking: the
giteapackage is removed. Forgejo replaced Gitea and has no OpenTofu state registry, and the forked Gitea provider targeted settings Forgejo lacks. - Breaking:
Stack.Encryptrequires the passphrase variable to be sensitive and ephemeral, so the passphrase never appears in saved plans. Generated configuration requires OpenTofu >= 1.11. - CI moved to
.forgejo/and uses the mirrored runner image.
Fixed
proxmox: imports plan only state-side differences. The construct now writes Proxmox's console defaults (enabled, tty, 2 TTYs) and the provider'stimeout_startdefault (300): left unset, the first import planned a console change on every container, which the provider applies with a reboot (caught byyawn plan-guardin arch plan run 583; nothing applied).proxmox:Network.NoGatewaydeclares a static interface without a gateway (as Proxmox allows; CT 112 on kratos), instead of refusing it.proxmox: MAC addresses are written exactly as declared (all upper or all lower case) instead of lowercased. bpg/proxmox compares them case-sensitively against what Proxmox stores (usually upper case), so lowercasing would plan a network change, and a network change reboots a running container.
Added
proxmox.Disruptionsandyawn plan-guard [-allow CTID,...] < plan.json: readtofu show -jsonof a saved plan and refuse (exit 3) any replacement, deletion, stop, start or reboot of an existing container that is not approved. Reboot triggers are those of bpg/proxmox 0.122.0 in-place updates of running containers (memory, mounts, devices, network/IP, DNS, hostname, entrypoint, environment, OS type, console, idmap, root mount options). Creates are always allowed. Checked against real OpenTofu plan JSON.proxmox:NewContainerfor Proxmox VE LXC containers on bpg/proxmox 0.122.0 (pinned by SHA-256 and h1; hashes match OpenTofu's verified install). Import bynode/ctidor create from a template; every attribute decided against a schema snapshot including nested blocks; destroy refused and never purges; template, privilege, root storage, description and the initial user account never reconciled; rawlxc.*lines untouched. TLS always verified; token only fromPROXMOX_VE_API_TOKEN.Container.Fleet()returns thefleet.Containeridentity (DHCP interfaces name theirReservedIP). Guide in the wiki;examples/containersis validated by OpenTofu in CI.forgejo.Repository.DeployKey: SSH deploy key, read-only unlessWrite; accepts only an OpenSSH ed25519 public key without a comment, so private keys never pass through cdk.oidc.Policy.Audiences(andaudiencesin theyawn oidc-verifypolicy file): a set of accepted audiences, so a deploy job can bind its mode to the token (e.g.yawn-deploy:arch:plan/:apply) and read the verifiedClaims.Audience. Set eitheraudienceoraudiences.fleet.Observed.MAC: net0 hwaddr (lowercase), so DHCP reservations can be written from discovery.fleet.ParseUpdateEntrypointalso reads older community-scripts entrypoints (thect/<name>.shthey download).fleet.Observed.DHCP: containers whose net0 usesip=dhcp(the observer then reports the live address);Checkwarns, because a lease change would break the identity check.forgejo:NewRepositoryandProtectfor svalabs/forgejo 1.7.0 from the OpenTofu registry, with every attribute decided against a schema snapshot. Wiki options are omitted while the wiki is off; manual-merge settings Forgejo does not support are left alone.UnreadSettingslists the repository settings the provider never reads back.core.S3Backend: S3-compatible state (VersityGW) with native lockfile locking; credentials only from the environment.core.Variable.Ephemeral, andApp.Attachfor data-only documents synthesized next to the stacks (listed inmanifest.jsonasdocuments).fleet: declares which Proxmox container runs which service (fleet.json), parsespct list/pct configand the community-scripts update entrypoint, and reports identity mismatches and drift.oidc: verifies Forgejo Actions ID tokens (RS256 only, JWKS from the issuer's host, explicit audience, repository by immutable ID, event, ref, workflow, token age) and refuses runs not newer than the last deploy.yawn oidc-verify,yawn fleet-checkandyawn fleet-difffor xyOps deploy jobs; exit status 3 means "checked and refused".- Design doc for the deploy control plane in
wiki/, published to the repository wiki on release.
Source commit
8abe1511c6736d0af1ac3a59713b25dd058b7be0.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-