Skip to content

Releases

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 26 Oct 20:25

v0.2.2: the HUD's controls work again

On v0.2.1, once a browser was signed in with c4 farm open, every control in the HUD was refused: hold, boost, setting a deadline, answering a Needs-you question, withdrawing, approving a burst, grants and people. The server required a header the bundled HUD didn't send yet. Reading the farm worked. v0.2.2 bundles the current HUD, which sends it, so every control works from the browser again.

Also in this release:

  • c4 farm status and up name a command, not a link. They say c4 farm open --as ROLE instead of bare ?as= addresses, which a browser without the sign-in cookie can't open. c4 farm open --as ROLE is new.
  • c4 farm down no longer guesses. With no --name, status and down mean the current local farm, or the only one. With several and none current, they list them and refuse. down names the farm it deleted.
  • up keeps a farm's own ports. Running up again over an existing farm reads its real ports from the farm and records those, instead of assuming the defaults. A new farm takes the next free port when the default is in use, and says which farm holds it. status says when the recorded address and the farm disagree.
  • up waits for the farm's manager to really run. If the HUD never comes up, up ends on the HUD's last answer and names the pod in trouble (this landed in v0.2.1).
  • Tool tests stay out of your way. c4 farm ls leaves the farm's own tool tests out, and up removes a failed tool test once a newer test of the same tool has replaced it, saying so in one line. A person's job is never touched.
  • Clearer first run. up's farm line explains its pools, including the burst pool. open says it opened the HUD. A store that isn't ready yet is retried. With no Docker installed, up says so and names where to get one, instead of saying Docker isn't running.
  • The stand-in tracker is named as a command: c4 farm open, then /sandbox/ in that window.
  • samples load waits for a project it just added, and grant takes the tracker's project when only one has it.

If you're on v0.2.1, upgrade (brew upgrade mrjoshuak/tap/c4) and run c4 farm up again. It keeps your farm and its ports.

Upgrading from v0.1.0

v0.2.0 closed security gaps that v0.1.0 has. Upgrade any farm running v0.1.0.

  • A local farm's HUD now needs this machine's installer token. On v0.1.0, anything that could reach a local farm's HUD, job code included, could act as its owner. c4 farm up makes the token, and c4 farm open signs the browser in.
  • Units have no network unless a tool declares one. Jobs that name no tool lose all network, DNS included. Such a job says "this job names no tool, so it has no network: name a tool that declares one". Whatever a unit must reach goes in a tool's needs.network.
  • Re-apply the egress proxy's manifest, config/egress/egress.yaml, which is part of install.yaml.
  • Apply the CRDs. A WorkJob's spec.tool now carries the version's tree and can't change after the job is made.
  • Tool jobs made before the upgrade that claim a network are held until they're submitted again through the tool (c4 farm submit).

RELEASING.md has the full upgrade notes.

Changelog

  • 7eabf6c A block whose session is lost before its summary fails (SessionLost) instead of ending Completed; its next attempt resumes the session
  • 7c7b864 A block's branch starts from the commit its pod names (C4_BLOCK_BASE), refused unless it is a commit in the repository
  • 20df630 A failed tool test goes only where its tool has a newer published version, and each removal is said with both versions
  • 284d446 A test that the embedded HUD marks every write with X-C4-HUD, which a stale HUD sync fails
  • b21c13f A tree's card, c4: card/1 at .c4/card.yaml: name, format, base, its source at a pinned commit or the job that made it, its licence; ParseCard and GET /schema/card
  • 4dcb85b A unit's job's verdict that expands into agent units is refused and its signed record names the agent units, the fix and the policy, as a generator's expand does; tested
  • 69e0f56 A worker's result in status: a block's .c4/done summary is stored, named on its pod and kept in unitSummaries; hosts require it as pods do
  • 630126d An agent working from a whole disk or home is told so and where to run it from, not that its folder is outside
  • 9b9c5e9 First-run words: up's farm line from its pools with the burst pool explained, ls leaves tool tests out, open says it opened, a store not ready is retried, no assumed 30080
  • c23cdeb HUD sync to c4-hud 2c2f3d3: the HUD's writes carry X-C4-HUD, which the installer rule requires of a cookie's writes; a 401 says to run c4 farm open
  • 974f302 PROGRESS: agent-words
  • 2581ba4 PROGRESS: current-farm
  • 6009d30 PROGRESS: docker-missing
  • e12cabb PROGRESS: first-run-cli
  • 71189f6 PROGRESS: hud-links
  • cc0dfd0 PROGRESS: hud-port
  • 5419d0d PROGRESS: no-brews
  • ebf6987 PROGRESS: samples-first-run
  • 936f40f PROGRESS: sandbox-line
  • a78ae42 PROGRESS: tidy-tests
  • f7600ff Steers reach a block at its next tool call: the PostToolUse hook hands unseen messages to the model, once, and starts no process when there are none
  • 253c582 Summaries in status have a whole-job budget: excerpts within 64 KiB and the 2,000 newest units, older ones keeping their document's ID
  • 74357db Summaries in status keep an excerpt and the document's ID; only an unreachable store holds a pod; the unit page reads the whole text
  • 38248a8 The release generates no Homebrew formulas: the tap holds one, the C4 suite's c4, which carries the farm tools
  • 5d1410e The stand-in tracker is named as a command, c4 farm open then /sandbox/ in that window, not a bare ?as= link
  • 7d826e8 c4 farm status and up name c4 farm open --as ROLE, not bare ?as= links, which a browser without the installer cookie cannot open
  • 32a7c31 samples load sends a job again while its just-added project reaches the farm; grant takes the tracker's project when only one has it; 1 job, not 1 jobs
  • e49de45 status and down mean the current local farm, never a guess at c4-local, and say which; status fails when the HUD does not answer
  • c959e17 up keeps an existing farm's own ports, read from its node, and a new farm takes the next free port; status checks the mapping and names a port another farm holds
  • f27bac5 up removes a failed tool test a newer test of the same tool has replaced, saying so in one line; a person's job is never touched
  • 2aef61d up tells Docker missing from Docker stopped, naming the engines; a ci plan says it runs with no network, and the quickstart and README say so

Install: kubectl apply -f https://github.com/Avalanche-io/c4-operator/releases/download/v0.2.2/install.yaml
Image: ghcr.io/avalanche-io/c4-operator:v0.2.2
Tracker sync (experimental): kubectl apply -f https://github.com/Avalanche-io/c4-operator/releases/download/v0.2.2/c4-sync.yaml, image ghcr.io/avalanche-io/c4-sync:v0.2.2

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 26 Oct 13:30

v0.2.1: c4 farm up works on a fresh machine

v0.2.0's c4 farm up failed on every fresh machine. The farm's manager couldn't read its own installer token, because the file was readable only by root, and it stopped at start. up then waited five minutes and ended with "the HUD was not ready" and no cause. v0.2.1 fixes it:

  • The manager reads its token. The token is now readable by the manager's own group, not by every user in the container.
  • up waits for the new manager. It waits until the manager is really running, as kubectl rollout status does, not just until an older copy answers.
  • up says what went wrong. If the HUD doesn't come up, up ends on the HUD's last answer and names any pod that isn't running: Pending and why, crash-looping with its last log line, or failing to pull its image.

If c4 farm up failed for you on v0.2.0, upgrade (brew upgrade mrjoshuak/tap/c4), then run c4 farm down and c4 farm up.

Upgrading from v0.1.0

v0.2.0 closed security gaps that v0.1.0 has. Upgrade any farm running v0.1.0.

  • A local farm's HUD now needs this machine's installer token. On v0.1.0, anything that could reach a local farm's HUD, job code included, could act as its owner. c4 farm up makes the token, and c4 farm open signs the browser in.
  • Units have no network unless a tool declares one. Jobs that name no tool lose all network, DNS included: a plain POST /jobs job, MCP's raw image form, a tracker's job, and any unit not naming a tool. Such a job says "this job names no tool, so it has no network: name a tool that declares one". Whatever a unit must reach goes in a tool's needs.network.
  • Re-apply the egress proxy's manifest, config/egress/egress.yaml, which is part of install.yaml. Its ClusterRole now lists nodes and servicecidrs.
  • Apply the CRDs. A WorkJob's spec.tool now carries the version's tree and can't change after the job is made.
  • Tool jobs made before the upgrade that claim a network are held until they're submitted again through the tool (c4 farm submit).

RELEASING.md has the full upgrade notes.

Changelog

  • ea8282c PROGRESS: up-waits
  • 544f8f6 README and quickstart: one line again, brew install mrjoshuak/tap/c4 (suite 1.0.20 carries the farm tools), and remove the separate c4-farm and c4-agent formulas first
  • 396cae7 README and quickstart: the install line that works today (c4-farm and c4-agent named), every command and kind, the c4 pin; c4-hud named, not linked, until it is published
  • b4d6a1c The manager reads its installer token: mode 0440 with fsGroup 65532, the manager's group alone, as config/regional does, not 0400 root's; up waits for a rollout as kubectl does and says what it last saw
  • 325aae0 quickstart: if c4 was installed before the old c4-farm and c4-agent formulas were removed, brew link mrjoshuak/tap/c4

Install: kubectl apply -f https://github.com/Avalanche-io/c4-operator/releases/download/v0.2.1/install.yaml
Image: ghcr.io/avalanche-io/c4-operator:v0.2.1
Tracker sync (experimental): kubectl apply -f https://github.com/Avalanche-io/c4-operator/releases/download/v0.2.1/c4-sync.yaml, image ghcr.io/avalanche-io/c4-sync:v0.2.1

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 10:31

Upgrading from v0.1.0

v0.2.0 closes security gaps that v0.1.0 has. Upgrade any farm running v0.1.0.

  • A local farm's HUD now needs this machine's installer token. On v0.1.0, anything that could reach a local farm's HUD, job code included, could act as its owner. c4 farm up now makes the token, and c4 farm open signs the browser in.
  • Units have no network unless a tool declares one. Jobs that name no tool lose all network, DNS included: a plain POST /jobs job, MCP's raw image form, a tracker's job, and any unit not naming a tool. Such a job says "this job names no tool, so it has no network: name a tool that declares one". Whatever a unit must reach goes in a tool's needs.network.
  • Re-apply the egress proxy's manifest, config/egress/egress.yaml, which is part of install.yaml. Its ClusterRole now lists nodes and servicecidrs.
  • Apply the CRDs. A WorkJob's spec.tool now carries the version's tree and can't change after the job is made.
  • Tool jobs made before the upgrade that claim a network are held until they're submitted again through the tool (c4 farm submit).

Also in this release:

  • agents plan grants and never make them, and don't accept enrollments;
  • workers don't start workers unless a project allows it;
  • submissions read files only inside their own folder;
  • host runners read only their own machine's pods;
  • diagnostic bundles and c4 farm telemetry;
  • the sample set is attached, so c4 farm samples get works.

RELEASING.md has the full upgrade notes.

Changelog

  • 3e6a3cd A /metrics refusal names the c4-metrics-reader role, and make image works on a Docker without buildx
  • a3db487 A block's session knows it is a block: its settings set C4_AGENT_BLOCK=1 in its environment, on a host or in a pod
  • 1278765 A burst waiting for approval names the slots, pool, cost and who approves it
  • d36ffd3 A cookie write needs the HUD's own header whatever installer header it sends; the lease controller takes the single-person flag only where the installer's secret guards the HUD
  • 6d38389 A failed pull says its cause in a few words (not found in its registry, refused, unreachable, retrying), not the runtime's long message
  • 6ca1e8e A graph job's unit table stored at submit (params.table): no root generator, planned from the stored document by the queue and by dry runs
  • a61f588 A job held on a unit's question reads in a tracker as blocked on information, with the question as its why
  • 66c8d6b A job its grant holds says so: a Grant condition from the queue, and held on the job and on the parent whose unit submitted it
  • eddba80 A job just made is never answered 404: by-name reads that miss the HUD's model read it from the API server, marked fresh, planned once per version
  • 3e831fc A job that names no tool says it has no network, in one sentence: its Network condition and the HUD's noNetwork once a unit ran, c4 farm ls when it is held for failed units, and MCP's raw form; tests for that and the version check
  • 49caefb A job's networks are checked at submit: one the farm does not define is refused in its words, and a unit's job reaches no network its own job does not
  • d14b5f4 A member's background wait names the run, not the work: left out of the process key
  • aea8e42 A plan is read only from inside the submission's folder: the schema refuses an absolute, .. or backslashed plan path, and c4 farm submit opens plans within the folder, never through a link out of it
  • c30ab9f A plan over 1 MiB is refused with the limit, never sent cut short
  • eddd1cb A registry's token realm is asked only over https, and never on this machine, the cluster's network or a metadata service unless the registry's own host
  • 5a4b818 A release with no sample set says so and what works without it; c4-agent's own words for a missing Claude Code are said once, under one prefix
  • 797a548 A samples workflow, run by hand with a release's tag, builds that tag's sample set with main's build script and replaces the release's assets of the same name
  • b2fb519 A tool declaring network: [licences] without licences is refused at publish and submit: licence servers are not counted yet
  • fd16839 A tool job's networks are checked against its tool's version: spec.tool names the version's tree, and the queue holds a unit while the job claims a network that version's tool.yaml does not declare
  • c4feca2 A tool's publish test is its publisher's: never an incident or Needs-you item, and its units take no requeue or acknowledge
  • 5c7d8a0 A unit can neither grant for a person nor revoke a person's grant, known by its own token whatever its client says
  • b99257b A unit is held to agents.submit lead when it starts a bundle, and holds or removes no person's bundle
  • b4899f6 A unit of a job made under a person's grant is bound by that grant: refused outside its pools and classes or once it lapses, and the child carries the grant
  • b3f8bb0 A unit's git branch is in the job's status (unitBranches), the snapshot and the job detail, from the runner's output-branch record
  • fc66134 A unit's job goes elsewhere in the project only where its owner may create jobs, not on the unit's grant alone
  • f0ba39a A unit's job naming a pool that runs only others' work is refused when submitted, in the farm's words, not left unplaced
  • 59b5a27 A unit's job needs its owner's own right wherever it goes, reviewed with the owner's groups recorded when the parent was made, never the unit's or the HUD's
  • fe0fa70 A unit's job under a person's grant carries the grant and its tracker in an annotation, never the tracker's label, so the tracker's sync cannot relay decisions to it
  • 83e5c3a A unit's job under a person's grant stays in its parent's namespace, where the grant holds, and carries the grant as it was checked
  • 18a792f A unit's job whose generator expands into agent units adds none of them while agents.submit is lead: the queue refuses the expansion in the HUD's words, condition AgentWork
  • 1f33d2a A unit's submission for the farm's owner takes the owner from the farm binding where there is one
  • e633c78 A usage limit is a model unit's, in the limit's words; any other exit 75 is a failure, and a stated reset holds at most a week
  • 458ddf4 API.md: the decide route names the one unit that may decide, a unit of the same job running the agent an agent: wait names
  • 8bf0f18 After unit-networks: its submit tests make tool jobs as the lowering does, a malformed c4-networks is a 422 at submit too, and API.md drops POST /jobs from where networks are checked
  • ef64641 Agent bundles through the farm's API: POST /bundles/{project} owned by the viewer, GET, suspend and DELETE, and MCP c4_run_bundle, c4_list_bundles, c4_stop_bundle
  • a89232a Agent work names its agent environment (C4_AGENT_ENV): the farm's clean one unless the job's or a block's env says another
  • ffb3b54 An agent cannot accept a machine's enrollment: POST /nodes/{node}/enroll refuses MCP or a named agent; the runner's offer is unaffected
  • cd742b2 An agent plans a grant, never performs one: the HUD refuses a grant through MCP or naming an agent; c4_grant only plans and gives the c4 farm grant command
  • ae0725b An agent wait decided by a unit: direct proves which unit decided; the agent it runs is the job author's own declaration, bounded to the owner's own job
  • 446bc1e An agent's wait is decided by its own unit: the queue labels each unit pod with the agent it runs, and the HUD takes a unit of the same job running that agent as the agent, graded direct
  • a2039b9 An enrolled runner's blocks run in one folder and wait until it is trusted; enroll reports the folder and its trust
  • d6f2ead An enrollment code is read in any case, with or without its dash or spaces
  • 3b9e1f3 An observed session is a lead entry among the snapshot's jobs: its turns are frames, its workers sit in the row of the turn that started them, owner-only and never queued
  • 22e1ba9 Asking a command for its help (--help) exits 0 after the usage, not as an error
  • 07ff483 Being bound to someone is not one person: onePerson is its own signed fact on the farm binding, set only by a local farm, and even then the installer takes roles, never another person's wait
  • ce206cf Control records say how the actor was let act and through which client; development viewers get their role's rights, unknown ones are refused, and on a loopback HUD they are the installer's claim
  • c220889 Demos and tests name an exam...
Read more

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 19:18

Changelog

  • 31aab12 A bid change resizes a forecast: POST /jobs/{ns}/{name}/forecast changes spec.forecast; jobs show forecast; c4-sync follows the bid
  • 74e47cf A branch per unit: a block on a host works in its own git worktree, and its branch, base and head are recorded as its output
  • 748f378 A clean environment for each member: register --env fills its own config directory from a versioned agent environment and records the version; --import brings an existing session in
  • bcd1841 A development build's samples get and up use the latest published release's assets, and say so; with none published they say what to pass
  • 866f36f A finished block woken to answer questions answers only, and its attempt completes when the turn ends
  • 471bb3b A forecast whose entity leaves every rule is withdrawn: POST /jobs/{ns}/{name}/withdraw deletes and books it; c4-sync withdraws it and drops its link
  • f54448c A job the plan already makes late may time-slice a checkpointing unit too: it misses by less
  • 5afef0c A job's review: spec.review plans a final @review wait after all its work, so Succeeded means approved; requeue reopens it
  • f8d1ffc A question to a finished unit wakes it: an extra attempt to answer only, leaving the unit as it was; DESIGN's Steering bullet restored
  • 217f267 A replaced forecast whose delete fails is retried until gone: the real job names it, and the HUD's collect loop deletes it again with backoff
  • 66ca1c0 A stop lands within a step: the member hook runs after each tool call and tells the model to end its turn once the farm asks; every yield reports its latency
  • af757aa A stop never kills background work unknowingly: yields and block turn ends wait for background agents and commands to report, bounded by the farm's deadline, and record what they cut short
  • 9f6dcaf A unit may not withdraw a sibling's question: the withdraw handler takes the same who-may rule
  • 53222e6 A unit pod with no job controller is told so when it submits, not that its job was replaced
  • abce093 A unit's job is its own job's owner's, found by UID, and names the unit as a record does; only the farm says a unit submitted it
  • 49990bc A usage limit is a capacity drop: the host runner offers no slots until the window resets, with the limit as the node's reason; a pod's turn at a limit ends exit 75
  • d506181 A waiting job reports its finish from when it can start, not the share a busy group leaves it now; messages give slack against the finish shown
  • 2b1fc51 ACES 2.0 view: studio-config-latest is the ACES 2.0 studio config, so previews and review movies use ACES 2.0 - SDR 100 nits (Rec.709); found building c4-job-oiio
  • 1c5daad API.md: supply and needs
  • b7f0a8f API.md: the agent summary's runs
  • e4454bd API.md: the boost readout is an estimate made by planning an earlier deadline
  • e616e87 Agent bundles: AgentBundle CRD and controller, the agent work class, and the c4-agent host runner; hold-stop lets checkpointing units yield
  • 0c30591 Agent bundles: Held (by a person) apart from Suspended (by the queue), in the phase and in each suspended interval's by
  • f80b97c Agent bundles: a hard-stop ceiling for yields, bundle deadlines pinned (no ETA suggestion), and the power-cap shed end to end
  • 7c20d60 Agent bundles: node slot-limit label, the runner's capacity seam with hysteresis, and the bundle's virtual clock in status
  • d891162 An agent bundle's member pod is restricted like every unit, so a local farm's Pod Security admits it
  • f517953 An attempt resumed from a view does not inherit the open question of the attempt before it
  • 06ae785 An evicted job reports what the plan produces; its trickle-share floor only prices bursts, and a burst priced so says so
  • 5711735 Answers for the HUD: yields give their attempt back (tested), /decide's response, node book kinds in kebab case, interrupted entries in the book
  • 675c4e3 Asks between units: c4-unit ask and answer, relayed by the node daemon and host runner, routed as steering; unit: waits decided by the answer
  • 05250ea Asks: tests for waits answered by units and the relays; status.asks in the HUD; docs
  • 33c6b64 Authoring core: the schema types and parsers, Farm, CheckTool, the lowering of frames and once tools with LowerTest; the HUD's createJob and farmFor
  • bbc7c0a Authoring lowering: refusals in the farm's words, memory and GPU limits, binary sizes, pinned images only, capped test-job names, shared ParamEnv and when.Parse, C4_FRAME_STEP, the milestone label, the submission API types
  • 52000d0 Blender README: sequences are collected over the scene's range, not per job
  • b34f843 Blender add-on: a C4 Farm panel in Render Properties, each ticked view layer a job, tested against a fake bpy
  • 98fc252 Blender add-on: build_addon.py zips it with c4submit vendored; README and the real-Blender checklist
  • 1f0537d Blender add-on: each view layer gives its scene, layer and camera as its own values; staleness from Host.signature
  • 38cfb52 Blender tests: assert the jobs and slack, not the farm's wording for them
  • 03e170d Blender tests: the farm's job headings, due labels and dry-run estimate warnings
  • f7e4746 Blocks act on their brief: no asking a person mid-turn (removed), no confirmations; missing information ends the attempt as an error; a graph-step decision still reaches the resumed block
  • 5c76d41 Blocks ask a person and stop: a turn's .c4/ask.json opens a wait at its safe point (c4-unit wait); a refused or malformed question wakes the block to decide itself; the resumed block hears the decision and finds the reply
  • 38dbcdd Blocks hear steering: at a turn's end that goes on, the Stop hook gives the session the messages people sent it (c4-unit steer); a stopped turn leaves them for the next attempt
  • 9a4b798 Blocks in parts: a block's turn ends at a safe point, a note of its next part wakes it again in the same attempt, and a yield (hold-stop, preemption, deletion) waits for the farm's decision there; the host may finish deleting its own pod the farm is deleting
  • fa1e1f8 Blocks on a host run in a clean config directory of their own, filled from the agent environment they name, never the person's own
  • aa881ac Blocks: a block's own done file decides its task finished (the CLI's reading of its last message can call a finished task blocked); an empty note withdraws one
  • 7ebab26 Blocks: a turn ends on any idle state (the CLI reports a part ended with more to come as idle working)
  • 923fb1a Book bound: the number in c4-work-book, each project's tail and index in its own c4-work-book-; seal at 128 entries or 256 KiB; tested under the 1 MiB limit
  • 3f4e619 Builder driver: blocks run restricted with no MCP servers (none of the machine's settings, CLAUDE.md or connectors), each command on its own; a block that gives up fails its attempt
  • d68e5f0 Builder driver: end the CLI's flags before a block's prompt (the tools flag swallowed it), and stop a session that cannot become the block's member
  • ffa2471 Builder driver: the host runner runs a plan job's units as blocks, each a fresh session with its task, finished when the task is done, a rework resuming it by ID with what the review asks
  • 7c09b5a Burst spend today survives a restart: saved with its day in a ConfigMap, added back by a new leader before any burst
  • 270d6d4 Burst top-up: requested bursts grow to the merged plan's shortfall from the budget and slots left, when that closes it and still pays
  • 79dd9b6 Bursts for expanding jobs on amd64: room +Inf converted to MinInt64 there, so no burst was offered; compare before converting
  • 7ee3659 C4_NODE names the run, not the work: left out of the process key, and a field ref there leaves the pod sealed
  • eca52ea CI: the unit and envtest suites on linux arm64 (ubuntu-24.04-arm) beside amd64
  • dbfa479 CLI.Stop returns once the session's process has exited: a resume while it is still going starts a copy
  • aa4697c Capture test: a unit's .c4 control folder written after the tree is taken stays out of the output (make test-linux)
  • 45433c2 Cause groups: status.causes groups a job's failures and flags by ...
Read more