Skip to content

release: fleetkit v1 - #2

Merged
anianroid merged 6 commits into
mainfrom
staging
Oct 7, 2026
Merged

anianroid merged 6 commits into
mainfrom
staging

Conversation

@anianroid

Copy link
Copy Markdown
Contributor

Promote staging to main. Publishes ghcr.io/ani-hq/fleetkit and fleetkit-engram.

Made with Cursor

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T06:27:12.985664Z f3a1fa2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f3a1fa25fd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +264 to +266
def hermes_home(index, agent):
"""The first Hermes agent is the default profile; the rest are named profiles."""
return HERMES if index == 0 else HERMES / "profiles" / agent["id"]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep Hermes homes keyed to stable agent IDs

When the first Hermes agent is removed, reordered, or preceded by a newly added agent, this position-based mapping assigns the new first agent to the old root profile while moving the previous first agent to a fresh named profile. Because that profile contains persistent, write-once identity, authentication, and session data, one agent can inherit another agent's persona/history while the original loses its state; use stable ID-based profile paths and an explicit default-profile alias or migration instead.

Useful? React with 👍 / 👎.

Comment on lines +8 to +9
export TZ="${FLEET_TZ:-${TZ:-UTC}}"
[ -f /run/fleet-secrets/fleet.env ] && set -a && . /run/fleet-secrets/fleet.env && set +a

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Source fleet.env before exporting TZ

In normal installations FLEET_TZ exists only in /run/fleet-secrets/fleet.env, but TZ is resolved before that file is sourced and is never recomputed afterward. The gateway and its supervised supercronic process therefore retain the image's UTC value, so warden jobs advertised as running in the owner's configured timezone execute at UTC times for every non-UTC fleet.

Useful? React with 👍 / 👎.

Comment thread fleet
Comment on lines +18 to +20
memory_enabled() {
awk '/^memory:/{m=1;next} /^[^ #]/{m=0} m && /enabled:/{print $2; exit}' fleet.yaml |
grep -qv false

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Honor the default-enabled memory setting

If fleet.yaml omits memory.enabled or the entire optional memory block, this pipeline receives no input and reports memory as disabled, while load_fleet() independently defaults it to enabled. Consequently COMPOSE_PROFILES excludes the database and engram services, but initialization still configures OpenClaw to use engram, leaving the defaulted memory integration unavailable; the shell-side check should use the same enabled-by-default behavior.

Useful? React with 👍 / 👎.

Comment on lines +237 to +240
ops += [{"path": f"channels.{chan}.enabled", "value": True} for chan in sorted(enabled)]
if "discord" in enabled:
ops.append({"path": "channels.discord.groupPolicy", "value": "open"})
ops.append({"path": "bindings", "value": bindings})

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove channel accounts that leave fleet.yaml

After a user removes a channel or agent and reruns ./fleet up, this reconciliation only sets currently selected channels to enabled and never disables old channels or removes their account subtrees. Since the corresponding token normally remains in .env, the old connector remains configured and active even though fleet.yaml no longer declares it; reconcile openclaw.json by unsetting obsolete accounts and disabling channels with no remaining accounts.

Useful? React with 👍 / 👎.

@anianroid
anianroid merged commit 9223bce into main Oct 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant