Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
e812fe8
feat(coordinator,orchestrator): promote admin pause/resume to app-gRP…
nikhilunni Dec 1, 2026
d150d1f
orchestrator: keep admin pause/resume on the coordinator REST path
nikhilunni Dec 2, 2026
89f7b9b
host-agent: pin the handoff marker disk bytes and its crash states
nikhilunni Dec 2, 2026
c6f4d5d
fix(storage,crypto,oci): zeroize keys, add AAD, guard OCI SSRF, clean…
nikhilunni Dec 1, 2026
a7cae16
fix(crypto): drop the unused aad envelope api and zeroize the aes key…
nikhilunni Dec 2, 2026
08125fe
fix(oci): check a registry address once per client and keep safe head…
nikhilunni Dec 2, 2026
02c5b97
docs(oci): document the private-registry opt-in and group the dev loo…
nikhilunni Dec 2, 2026
464ea69
fix(storage-local): list keys that start with .tmp.
nikhilunni Dec 2, 2026
0a051b2
docs(changelog): add the private image registry upgrade note
nikhilunni Dec 2, 2026
87b314d
feat(helm): add a dedicated connection-broker bearer secret value
nikhilunni Dec 2, 2026
6826d55
docs(changelog): link the connection-broker secret entry to its pull …
nikhilunni Dec 2, 2026
9753afc
fix(cli,deploy): harden hosts.json writes, scope operator RBAC, fix T…
nikhilunni Dec 1, 2026
acc1ad2
fix(app-client): sync the config dir after the hosts.json rename
nikhilunni Dec 2, 2026
c1096e4
docs(helm): state the namespace limit of the host-fleet operator role
nikhilunni Dec 2, 2026
a85758a
docs(changelog): add the host-fleet operator RBAC upgrade note
nikhilunni Dec 2, 2026
720fad5
Merge remote-tracking branch 'origin/main' into audit/p1-admin-pause-…
nikhilunni Dec 2, 2026
eaf794e
Merge remote-tracking branch 'origin/audit/p1-crypto-oci-storage' int…
nikhilunni Dec 3, 2026
1803088
Merge remote-tracking branch 'origin/broker-bearer-chart-value' into …
nikhilunni Dec 3, 2026
ac17325
Merge remote-tracking branch 'origin/audit/p1-cli-ops-hardening' into…
nikhilunni Dec 3, 2026
e14413a
Merge remote-tracking branch 'origin/audit/p1-admin-pause-resume-grpc…
nikhilunni Dec 3, 2026
bc697ec
test(coordinator): send the deployment bearer on the admin HTTP leg
nikhilunni Dec 3, 2026
e96e136
docs(changelog): point the combined upgrade notes at #1860
nikhilunni Dec 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .codex-review-p1.md

This file was deleted.

14 changes: 0 additions & 14 deletions .codex-review-p5.md

This file was deleted.

23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,24 @@ starts with **Upgrade notes**: read them before you upgrade. The upgrade procedu
`auth.existingSecret` (the hosts send one of its tokens as `ENGRAM_COORDINATOR_TOKEN`)
before you upgrade. For local development only, `ENGRAM_ALLOW_INSECURE_INTERNAL_AUTH=1`
keeps the old behavior when no token is set. ([#1850])
- **The coordinator and hosts refuse private image registries.** A registry whose name
resolves to a loopback, private (RFC 1918, CGNAT), link-local or metadata address is now
refused, so image enables and pulls from it fail. This includes a registry in the cluster
and a registry behind a private endpoint (an ECR VPC endpoint with private DNS, or
Artifact Registry through Private Service Connect). Public registries, such as `ghcr.io`
and `pkg.dev`, are not affected. To keep a private registry, set
`ENGRAM_OCI_ALLOW_PRIVATE_REGISTRIES=1` on the coordinator and the host agents (the
charts' `extraEnv`) before you upgrade. Plain HTTP to a loopback registry also needs
`ENGRAM_OCI_ALLOW_INSECURE_LOOPBACK=1`; use it for local development only. ([#1860])
- **The host-fleet operator's DaemonSet and pod access is namespaced.** The chart moves
these rules from the operator's ClusterRole to a new Role and RoleBinding in the release
namespace. A deployer with cluster-admin rights needs no change. If you install the chart
with an identity that has limited RBAC rights, that identity must hold the new Role's
rules before you upgrade, because Kubernetes refuses to create a Role with rules its
creator does not hold: `get`, `list`, `watch` and `patch` on `daemonsets`, and `get`,
`list`, `watch` and `delete` on `pods`, in the release namespace. It also needs `create`
on `roles` and `rolebindings` there, and `bind` on the Role. A HostFleet whose
`daemonSet.namespace` is a different namespace now gets Forbidden. ([#1860])
- **The GitHub `metadata:read` power covers less.** It gave every `GET` under
`/repos/<owner>/<repo>/`. It now gives the repository itself and the metadata endpoints
(events, forks, license, stargazers, subscribers, stats, rules, rulesets, topics,
Expand All @@ -49,6 +67,10 @@ starts with **Upgrade notes**: read them before you upgrade. The upgrade procedu
- A session that spawns a child session gets a new prompt when the child finishes a turn.
The prompt carries the child's outcome and its last message, so the parent does not have
to poll for it. ([#1825])
- The Helm value `orchestrator.connectionBrokerSecret` (`existingSecret`, `key`) gives the
connection credential broker its own bearer. The chart sets it on the coordinator and the
orchestrator. Unset, nothing changes: the broker uses the control-plane bearer. Set it
now: a later release will require it. ([#1860])

### Fixed

Expand Down Expand Up @@ -457,3 +479,4 @@ The first tagged release. See the
[#1826]: https://github.com/cortexapps/engrams/pull/1826
[#1849]: https://github.com/cortexapps/engrams/pull/1849
[#1850]: https://github.com/cortexapps/engrams/pull/1850
[#1860]: https://github.com/cortexapps/engrams/pull/1860
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 11 additions & 8 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,8 @@ coord_env = {
'ENGRAM_BLOB_BACKEND': 'gcs' if dev_split else env_or('ENGRAM_BLOB_BACKEND', 'local'),
'ENGRAM_GCS_BUCKET': env_or('ENGRAM_GCS_BUCKET', 'engram-snapshots-test'),
'STORAGE_EMULATOR_HOST': env_or('STORAGE_EMULATOR_HOST', 'http://localhost:4443'),
# The docker-compose registry serves plaintext HTTP on localhost:5001.
'ENGRAM_OCI_ALLOW_INSECURE_LOOPBACK': '1',
'OTEL_EXPORTER_OTLP_ENDPOINT': otel_endpoint,
'RUST_LOG': 'info,engram=debug',
}
Expand Down Expand Up @@ -625,6 +627,8 @@ def host_agent_resource(name, grpc_port, metrics_port, work_dir, egress_proxy_po
'ENGRAM_EGRESS_DNS_PORT': egress_dns_port,
'ENGRAM_GUEST_GATEWAY_PORT': guest_gateway_port,
'ENGRAM_HOST_METRICS_ADDR': '0.0.0.0:' + metrics_port,
# The docker-compose registry serves plaintext HTTP on localhost:5001.
'ENGRAM_OCI_ALLOW_INSECURE_LOOPBACK': '1',
# ADR 0019: same OTLP target as the coord, so the host-side
# restore/boot spans land in the same Jaeger trace.
'OTEL_EXPORTER_OTLP_ENDPOINT': otel_endpoint,
Expand Down Expand Up @@ -1145,14 +1149,13 @@ local_resource('orchestrator',
# key whose plaintext lands in var/dev-api-key (gitignored, 0600).
# Idempotent — re-mints only when the file is missing or the key row is gone.
local_resource('dev-api-key',
cmd=(
'cd orchestrator && ' +
'ORCHESTRATOR_DATABASE_URL=' + orchestrator_db_url + ' ' +
'BETTER_AUTH_SECRET="' + orchestrator_env['BETTER_AUTH_SECRET'] + '" ' +
'CONTROL_PLANE_BEARER="' + orchestrator_env['CONTROL_PLANE_BEARER'] + '" ' +
'ENGRAM_KEK_MASTER_KEY="' + orchestrator_env['ENGRAM_KEK_MASTER_KEY'] + '" ' +
'bun scripts/seed-dev-key.ts ../var/dev-api-key'
),
cmd='cd orchestrator && bun scripts/seed-dev-key.ts ../var/dev-api-key',
env={
'ORCHESTRATOR_DATABASE_URL': orchestrator_db_url,
'BETTER_AUTH_SECRET': orchestrator_env['BETTER_AUTH_SECRET'],
'CONTROL_PLANE_BEARER': orchestrator_env['CONTROL_PLANE_BEARER'],
'ENGRAM_KEK_MASTER_KEY': orchestrator_env['ENGRAM_KEK_MASTER_KEY'],
},
resource_deps=['orchestrator-migrate'],
labels=['setup'])

Expand Down
Loading
Loading