Repository navigation
Description
canix is this fork's integration branch. Its head (1cfc367) is the native T3 build canix runs on Atlas. It carries 13 commits on upstream a9e709f15f. This issue tracks where each one goes long term, so the branch shrinks as upstream catches up instead of being rebased forever.
Direction check upstream: pingdotgg#38143 proposes one host-integration section in settings / managed policy for these seams. Upstream accepts only bug-fix PRs from outside the team and closes feature or architecture PRs, so features wait for a maintainer go-ahead there.
Commits on canix
| Commit | Change | Long-term route |
|---|---|---|
| 6c933eb, df76c53, d2aa2bd, c6ff102 | Unattended desktop connection enrollment and its fixes | Upstream idea pingdotgg#32336 (declarative desktop connections); listed in pingdotgg#38143 |
| d9f2981 | t3 environment self-description without a server |
pingdotgg#38143 (provisioning) |
| 7566c61, 95e42bf | t3 project import from a JSON batch, and rebinding a moved root |
pingdotgg#38143 (provisioning) |
| c0e67d8 | Forgejo: every fj login and its accounts | Fork-only for now. Upstream reworked fj login matching since a9e709f15f; recheck after the next rebase |
| e3a97ea | PR watch wakes when checks still running after a failure finish | Upstream PR pingdotgg#28020 fixes the same bug; drop ours when it lands |
| 03af977 | T3CODE_DESKTOP_APP_DATA_DIR for Electron data without XDG_CONFIG_HOME |
pingdotgg#38143 (file locations), related to pingdotgg#19591 |
| 7caaa51 | file secret provider |
Upstream idea pingdotgg#35285 |
| 3d53030 | Agent scopes use OOMPolicy=continue |
Upstream bug pingdotgg#37876 (evidence added) |
| 1cfc367 | request_secret delivery: "agenix" (#9, #10) |
Generalize per pingdotgg#38143: secretStores.<id> = { label, command, fields } |
Host-integration layer (target shape)
The goal is that canix, or any NixOS / Home Manager host, configures T3 rather than patching it. For each seam, T3 owns a generic contract and the host supplies config:
- Secrets, read:
secretProviders.<id>.kind = "file"(exists here). - Secrets, write:
secretStores.<id>takes a command argv and allowed field names. The value goes on stdin only, the command returns one JSON result, and T3 keeps nothing. canix's agenix target becomes config written by nix-t3code instead of schema in T3. - Agent resources:
agentResources: "host-managed". T3 stops setting slice limits and per-scope OOM policy; the host's units own them. - Provisioning: declarative connections, projects, and environment description, as files a module writes.
- Locations: separate settings for server config, server data and Electron data.
Each entry should work from settings.json (nix-t3code userSettings) and be pinnable by managed policy. Implementation order once a shape is agreed, or once we decide to go ahead in the fork regardless:
- secret stores (replaces the agenix-specific schema);
- agent resources;
- locations;
- provisioning.
Upkeep
- Rebase
canixonto a newer upstream nightly when Atlas needs one. Drop each commit whose upstream route has landed. - Producer builds stay reproducible from
canixplus the stage-local packaging adaptations recorded in canix (root/packages/t3code-native-fork/manifest.json).
Activity