Skip to content

πŸ› fix(agent): stop agent reports from clearing controller-set update policy overrides - #624

Merged
scttbnsn merged 2 commits into
dev/v1.6from
fix/v1.6-565-agent-policy-overrides
Jul 28, 2026
Merged

scttbnsn merged 2 commits into
dev/v1.6from
fix/v1.6-565-agent-policy-overrides

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Agent-managed containers lose their controller-set update policy overrides (maturity mode/min-age days, skip lists, snooze) on every agent report. The agent resolves its own declarative (env/label) policy but never learns controller-side runtime overrides, so every container report it sends carries an explicit updatePolicyOverrides: {} layer. The controller persisted that layer verbatim, and the store's updateContainer treats any present updatePolicyOverrides key as authoritative β€” even when empty. Any manual recheck or periodic agent sync wiped the settings.

This is the settings-deletion half of #565. The soak-clock resets in that thread were real but separate mechanisms, fixed in #566/#568 and the rc.7 identity batch (#607). The reporter runs the controller-agent architecture (confirmed in their own words in #496, reconfirmed in #623), which is why the symptom survived all four prior fixes: those fixed the clock, this deletes the actual override values β€” matching the original before/after screenshots.

The insert/recreate path has had exactly this protection since #496/#497 (restoreRetainedUpdatePolicy: "an empty layer carries no controller intent"); the same-id updateContainer path never got it.

Fix (two layers)

  1. AgentClient.buildContainerReport reapplies the controller's stored runtime overrides onto the incoming agent report before persistence. Covers all five agent ingestion call sites (handshake, single-container, pending watcher-cycle, bulk reports, recheck) β€” they all funnel through this one method.
  2. storeContainer.updateContainer now encodes the invariant directly, mirroring the insert-path rule: a present-but-empty override layer carries no intent and falls back to the stored overrides, unless the caller passes authoritativeEmptyOverrides: true. The update-policy PATCH handler passes it, so deliberate clears from the UI still stick.

Safety was verified adversarially before landing: overrides can only be set via the controller's PATCH endpoint, there is no controller→agent policy push that could echo stale values back, expired snoozes can't be resurrected (evaluated live at read time), and the local (non-agent) watcher path already preserves overrides by construction (it mutates the live store doc).

Tests

  • Regression: mature/5-day override survives an agent report with an empty override layer (fails pre-fix)
  • skipTags/skipDigests/snoozeUntil survive the same scenario
  • Inverse: cleared overrides stay cleared on subsequent agent reports (no resurrection)
  • Store guard: authoritative empty clears; non-empty always authoritative; declarative-absent empty preserved; first-write empty stays empty
  • PATCH handler passes clear authority to the store

Full app suite: 394 files / 12,395 tests, 100% coverage. Full lefthook pre-push gate green.

Refs #565

Changelog

  • πŸ› Fixed agent reports clearing controller-owned update-policy overrides.
  • πŸ”§ Reapplied stored maturity, minimum-age, skip-list, and snooze overrides during agent report normalization.
  • πŸ”§ Treated empty override layers as non-authoritative by default during container updates.
  • ✨ Added explicit authoritativeEmptyOverrides support for intentional clears from update-policy PATCH requests.
  • ✨ Added regression coverage for override preservation, clearing, and PATCH behavior.
  • πŸ”§ Forwarded update options through container API handlers.

Validation

  • Full suite passes: 394 files, 12,395 tests, 100% coverage.

…policy overrides

Agent watcher normalization stamps updatePolicyOverrides={} on every
container it reports; the controller persisted that empty layer verbatim,
wiping controller-set runtime overrides (maturity mode/min-age, skip
lists, snooze) on every agent sync or manual recheck.

- πŸ› fix(agent): reapply the controller's stored overrides in
  buildContainerReport before persisting agent reports
- πŸ› fix(store): treat a present-but-empty updatePolicyOverrides layer as
  carrying no intent in updateContainer unless the caller passes
  authoritativeEmptyOverrides (update-policy PATCH clears still stick)
- βœ… test: regression coverage for maturity/skip/snooze preservation,
  clear-then-report stickiness, and PATCH clear authority

Refs: #565
@vercel

vercel Bot commented Jul 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
drydock-website Ready Ready Preview, Comment Jul 28, 2026 12:36pm
drydockdemo-website Ready Ready Preview, Comment Jul 28, 2026 12:36pm

@coderabbitai

coderabbitai Bot commented Jul 28, 2026 •

Copy link
Copy Markdown

Review Change Stack

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

βš™οΈ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 176f5086-8984-4604-9f9b-fc447111f855

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • πŸ” Trigger review
πŸ“ Walkthrough

Walkthrough

Container override merging now distinguishes authoritative empty layers from empty agent reports, preserving stored controller overrides unless explicit authority is provided. The container API propagates this option, and unsnooze marks cleared layers as authoritative. Agent report ingestion reapplies existing controller-owned policy overrides before persistence. Tests cover maturity, skip/snooze, stale agent values, authoritative clearing, undefined layers, and first writes.

Possibly related PRs

  • CodesWhat/drydock#512: Also changes updateContainer handling of empty updatePolicyOverrides layers and stored controller overrides.
πŸš₯ Pre-merge checks | βœ… 2
βœ… Passed checks (2 passed)
Check name Status Explanation
Linked Issues check βœ… Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check βœ… Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
πŸ§ͺ Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/v1.6-565-agent-policy-overrides

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❀️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai 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.

🧹 Nitpick comments (1)
app/store/container.ts (1)

1142-1150: πŸ“ Maintainability & Code Quality | πŸ”΅ Trivial | ⚑ Quick win

Duplicated "empty-layer is non-authoritative" rule β€” consider a shared predicate.

The same rule ("a present-but-empty updatePolicyOverrides layer carries no controller intent") is now implemented twice: here and in restoreRetainedUpdatePolicy (Lines 1044-1049), which even comments that it "mirrors the rule ... above." Two independent implementations of the same policy invite drift if one is tweaked later without the other (which is exactly the class of bug #565 fixes).

♻️ Suggested consolidation
+function isAuthoritativeOverrideLayer(
+  overrides: unknown,
+  authoritativeEmptyOverrides: boolean,
+): boolean {
+  return authoritativeEmptyOverrides || Object.keys(overrides ?? {}).length > 0;
+}

Then use isAuthoritativeOverrideLayer(container.updatePolicyOverrides, options.authoritativeEmptyOverrides === true) in both updateContainer and restoreRetainedUpdatePolicy.

πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@app/store/container.ts` around lines 1142 - 1150, Extract the duplicated
empty-layer authority check into a shared `isAuthoritativeOverrideLayer`
predicate, accepting the overrides layer and the authoritative-empty flag.
Replace the inline logic in both `updateContainer` and
`restoreRetainedUpdatePolicy`, while preserving the distinction between absent,
non-empty, and explicitly authoritative empty overrides.
πŸ€– Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@app/store/container.ts`:
- Around line 1142-1150: Extract the duplicated empty-layer authority check into
a shared `isAuthoritativeOverrideLayer` predicate, accepting the overrides layer
and the authoritative-empty flag. Replace the inline logic in both
`updateContainer` and `restoreRetainedUpdatePolicy`, while preserving the
distinction between absent, non-empty, and explicitly authoritative empty
overrides.

ℹ️ Review info
βš™οΈ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d8279893-d99f-4cb1-a633-6666d797801a

πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between 997a263 and daf2471.

β›” Files ignored due to path filters (1)
  • CHANGELOG.md is excluded by !CHANGELOG.md
πŸ“’ Files selected for processing (7)
  • app/agent/AgentClient.test.ts
  • app/agent/AgentClient.ts
  • app/api/container.ts
  • app/api/container/update-policy.test.ts
  • app/api/container/update-policy.ts
  • app/store/container.test.ts
  • app/store/container.ts

…ween update and insert paths

CodeRabbit review: the '#565 empty layer carries no intent' rule was
implemented independently in updateContainer and restoreRetainedUpdatePolicy;
extract isAuthoritativeOverrideLayer so the two paths cannot drift.
@scttbnsn
scttbnsn merged commit 196fb29 into dev/v1.6 Jul 28, 2026
25 checks passed
@scttbnsn
scttbnsn deleted the fix/v1.6-565-agent-policy-overrides branch July 28, 2026 13:31
scttbnsn added a commit that referenced this pull request Jul 28, 2026
Wholesale-tree sync bringing main tree-identical to dev/v1.6 at 3331000: #624 (#565 override-wipe fix), #625 (#623 action-trigger allow-list fix), #626 (rc.8 prep), #627 (docs), #628 (GA promotion workflow fix).
scttbnsn added a commit that referenced this pull request Aug 16, 2026
…#743)

## Summary
- Round 3 of the #565 thread: a controller self-update (recreate ->
SIGTERM -> new process) still wiped stashed maturity-policy overrides
for a replacement container, even though the sibling lifecycle/clock
cache (`updateLifecycleCache`) already survives the same restart per
#556.
- `updatePolicyRetentionCache` only ever lived in a bare in-memory
`Map`, so `stashUpdatePolicyForReplacement()`'s stash was gone before
the replacement container's `insertContainer()` call could consume it in
the new process.
- Gives `updatePolicyRetentionCache` the same durable,
write-through-backed collection `updateLifecycleCache` already has: a
new `app/store/update-policy-retention-cache.ts` module, write-through
on stash, delete-on-consume, and
`rehydrateUpdatePolicyRetentionCacheFromStore()` wired into
`store/index.ts` startup before the first `insertContainer` runs.
- Does not touch the round-1 (clock-restart, #568) or round-2
(empty-override-authoritative, #624) fixes, which are already correct.
- The remaining half of the report β€” policy loss from a pure 0-container
remote-agent handshake with no controller restart β€” isn't explained by
this fix. The existing zero-container handshake path already skips
`pruneOldContainers`/`deleteContainer` entirely, so that part needs more
repro detail from the reporter before a second root cause can be pinned
down.

## Test plan
- [x] `npx vitest run store/container.test.ts store/index.test.ts
store/update-lifecycle-cache.test.ts
store/update-policy-retention-cache.test.ts` β€” new "simulated process
restart" test pins the fix; also new dedicated unit tests for the new
store module and wiring-order assertions in `store/index.test.ts`
- [x] `npm test` in `app/` β€” 12907 tests pass, 100% coverage
- [x] `npx tsc --noEmit` and `npx biome check .` clean
- [x] Pre-push hooks (biome, qlty, workflow-tests, typecheck-ui,
coverage, build) all green

Fixes: #565

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added a durable LokiJS-backed store for update-policy retention
records.
- πŸ”§ Changed `updatePolicyRetentionCache` to write through to persistent
storage.
- πŸ”§ Changed cache consumption, expiration, and size eviction to delete
persistent records.
- πŸ”§ Changed startup to rehydrate unexpired records before the first
`insertContainer` call.
- πŸ› Fixed maturity-policy overrides being lost during controller process
restarts.
- ✨ Added tests for persistence, rehydration, expiration pruning,
eviction, deletion, and startup ordering.

## Concerns

- Verify behavior during zero-container remote-agent handshakes without
a controller restart. This PR does not cover that loss path.
- Verify the new store follows existing store initialization and
persistence conventions.
- Review whether `unknown` for `updatePolicyOverrides` preserves the
required type safety.
- Check whether cache persistence and rehydration logic duplicates
existing store utilities.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>
scttbnsn added a commit that referenced this pull request Sep 5, 2026
…s) (#1045)

* πŸ”§ chore(demo): commit the raw msw 2.15.0 worker and exclude it from biome (#622)

The committed `apps/demo/public/mockServiceWorker.js` was generated by
msw 2.14.6 and then biome-formatted. msw's postinstall rewrites the file
raw at the locked version on every install, so fresh worktrees dirtied
the tree two ways: version drift (2.14.6 vs the locked 2.15.0, same
failure mode as the icon bundle in #608) and a formatter fight biome can
never win against a generated file.

Fix: commit the raw 2.15.0 output, add the file to biome's exclusion
list, and update the security guard test
(`ui/tests/security/mockServiceWorker-origin-check.spec.ts`) whose regex
and pinned fallback assumed the semicolon style β€” the clientId
origin-check semantics it guards are unchanged in the raw worker.
Verified: a fresh `npm ci` in apps/demo now leaves the tree clean.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

πŸ”§ **Changed**
- Updated the demo MSW worker to the raw, locked MSW 2.15.0 output.
- Added the generated worker to Biome’s ignore list.
- Updated the origin-check security test for the worker’s raw syntax.
- Preserved `clientId` origin validation and request interception
behavior.
- Added SSE-specific response handling to avoid cloning event streams.

πŸ”’ **Security**
- Maintained the worker’s `clientId` origin-check semantics and security
guard coverage.

## Concerns

- Verify that future dependency updates regenerate and commit the
matching raw worker output.
- Ensure the SSE response lifecycle behavior remains compatible with
downstream consumers.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

* πŸ› fix(agent): stop agent reports from clearing controller-set update policy overrides (#624)

## Problem

Agent-managed containers lose their controller-set update policy
overrides (maturity mode/min-age days, skip lists, snooze) on every
agent report. The agent resolves its own declarative (env/label) policy
but never learns controller-side runtime overrides, so every container
report it sends carries an explicit `updatePolicyOverrides: {}` layer.
The controller persisted that layer verbatim, and the store's
`updateContainer` treats any *present* `updatePolicyOverrides` key as
authoritative β€” even when empty. Any manual recheck or periodic agent
sync wiped the settings.

This is the settings-deletion half of #565. The soak-clock resets in
that thread were real but separate mechanisms, fixed in #566/#568 and
the rc.7 identity batch (#607). The reporter runs the controller-agent
architecture (confirmed in their own words in #496, reconfirmed in
#623), which is why the symptom survived all four prior fixes: those
fixed the clock, this deletes the actual override values β€” matching the
original before/after screenshots.

The insert/recreate path has had exactly this protection since #496/#497
(`restoreRetainedUpdatePolicy`: "an empty layer carries no controller
intent"); the same-id `updateContainer` path never got it.

## Fix (two layers)

1. **`AgentClient.buildContainerReport`** reapplies the controller's
stored runtime overrides onto the incoming agent report before
persistence. Covers all five agent ingestion call sites (handshake,
single-container, pending watcher-cycle, bulk reports, recheck) β€” they
all funnel through this one method.
2. **`storeContainer.updateContainer`** now encodes the invariant
directly, mirroring the insert-path rule: a present-but-empty override
layer carries no intent and falls back to the stored overrides, unless
the caller passes `authoritativeEmptyOverrides: true`. The update-policy
PATCH handler passes it, so deliberate clears from the UI still stick.

Safety was verified adversarially before landing: overrides can only be
set via the controller's PATCH endpoint, there is no controller→agent
policy push that could echo stale values back, expired snoozes can't be
resurrected (evaluated live at read time), and the local (non-agent)
watcher path already preserves overrides by construction (it mutates the
live store doc).

## Tests

- Regression: mature/5-day override survives an agent report with an
empty override layer (fails pre-fix)
- skipTags/skipDigests/snoozeUntil survive the same scenario
- Inverse: cleared overrides stay cleared on subsequent agent reports
(no resurrection)
- Store guard: authoritative empty clears; non-empty always
authoritative; declarative-absent empty preserved; first-write empty
stays empty
- PATCH handler passes clear authority to the store

Full app suite: 394 files / 12,395 tests, 100% coverage. Full lefthook
pre-push gate green.

Refs #565


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ› Fixed agent reports clearing controller-owned update-policy
overrides.
- πŸ”§ Reapplied stored maturity, minimum-age, skip-list, and snooze
overrides during agent report normalization.
- πŸ”§ Treated empty override layers as non-authoritative by default during
container updates.
- ✨ Added explicit `authoritativeEmptyOverrides` support for intentional
clears from update-policy PATCH requests.
- ✨ Added regression coverage for override preservation, clearing, and
PATCH behavior.
- πŸ”§ Forwarded update options through container API handlers.

## Validation

- Full suite passes: 394 files, 12,395 tests, 100% coverage.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

* πŸ› fix(triggers): exempt action triggers from the update-available notification allow-list (#625)

Scoping the update-available rule to specific notification channels silently disabled auto-update fleet-wide: action triggers (docker/dockercompose/command) were run through an allow-list membership check they are structurally barred from ever passing. Action-category triggers now bypass the membership check with a dedicated action-trigger-exempt-from-allow-list dispatch reason; rule-disabled remains the kill switch and all other gates are unchanged.

Fixes #623

* πŸ“ docs(release): prepare v1.6.0-rc.8 (#626)

Promotes [Unreleased] to [1.6.0-rc.8] β€” 2026-07-28 and runs the standard 17-file release-identity bump (badge, site-config, roadmap entry, demo mocks, API doc samples, quickstart tag matrix, updates highlights, pinned identity tests). No runtime code changes; version files stay at the 1.6.0 base.

* πŸ“ docs(triggers): state the action-trigger exemption from notification-rule trigger lists (#627)

The notification-rules callout now states the rule's trigger list scopes notification delivery only; action triggers are exempt and keep executing updates however the list is scoped (including agent-hosted), and disabling the rule itself is the kill switch. Refs #623

* πŸ› fix(release): make GA promotion executable and keep artifact provenance honest (#628)

GA dispatches were structurally broken: both CHANGELOG-reading steps ran after the detached candidate checkout, whose tree can never contain the GA heading; and the GA artifact was rebuilt from SOURCE_SHA but re-attested with the run's TARGET_SHA as build source. Both CHANGELOG consumers now read TARGET_SHA snapshots (file + whole scripts/ tree so the extractor's relative imports resolve), and GA promotes the RC's already-attested artifact after checksum/signature/provenance/reproducibility verification instead of re-attesting. Sign/attest of fresh artifacts is prerelease-only. Eight new policy tests pin the invariants.

Closes GA blocker 3 from the 2026-07-28 release audit.

* ✨ feat(agent): graduate Portwing edge streaming (#630)

## Summary

- make Portwing edge agents stable/default-on while retaining an
explicit opt-out
- bridge continuous container log streams end-to-end with bounded
buffering, cancellation, reconnect cleanup, and legacy fallback
- add a real-process Portwing fleet soak workflow for pull requests and
the weekly schedule
- update OpenAPI, configuration/API docs, changelog, and translated
feature summaries

## Validation

- full app suite: 394 files / 12,425 tests
- app and UI coverage: 100% statements, branches, functions, and lines
- workflow tests: 71/71
- script tests: 133/133
- web script tests: 44/44
- UI typecheck, Biome, Qlty, security policy, and docs production build
- Portwing 8-agent / 45-second real fleet soak: 48/48 exec streams,
forced slow-consumer reconnect, reconnect storms, bounded RSS and heap
growth

Depends on CodesWhat/portwing#71 (merged).


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added continuous Portwing container log streaming with chunking,
cancellation, reconnect cleanup, bounded buffering, slow-consumer
eviction, and legacy-agent fallback.
- ✨ Added real-process Portwing fleet soak testing for pull requests,
scheduled runs, reconnect storms, exec streams, and resource-growth
limits.
- πŸ”§ Changed Portwing edge agents and key-registry APIs to stable,
enabled-by-default behavior.
- πŸ”§ Changed configuration and documentation to use
`DD_EXPERIMENTAL_PORTWING=false` as the emergency opt-out.
- πŸ”§ Updated OpenAPI descriptions, translated READMEs, API docs, and
startup diagnostics.
- πŸ”’ Kept fleet-soak workflow dispatch inputs validated and closed to
prevent unsafe execution parameters.
- πŸ› Added coverage for stream errors, malformed frames, duplicate
terminals, disconnects, send failures, concurrency limits, and bounded
viewer queues.

## Concerns

- Verify the fleet-soak workflow’s cross-repository checkout and
binary/build assumptions remain valid on GitHub-hosted runners.
- Confirm the default-on behavior is consistently applied across all
deployment and environment configurations.
- Review stream cancellation and cleanup paths for races during
reconnects, viewer disconnects, and terminal-frame handling.
- Ensure close-reason truncation preserves actionable error information
while respecting WebSocket byte limits.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

* πŸ› fix(ui): unclip the row-overlay chip and keep tags visible on registry errors (#631)

Two dashboard/containers-table fixes from live-instance screenshots:

**1. UPDATING/QUEUED/SCANNING overlay chip clipped at the sticky-cluster
edge.**
The pinned identity cluster cells are `sticky z-10` and later in DOM
order than the overlay-host cell, so they painted over the full-width
row overlay and cut the centered chip in half ("UPDATING" rendered as
"DATING"). While an overlay is active, the host cell now gets `z-index:
11` β€” above its z-10 row siblings, still below the z-20 sticky header.

**2. Registry errors no longer replace the tag in the tag column.**
A rate-limit/auth/not-found registry error rendered a danger pill
*instead of* the container's current tag (table mode) or appended one
(card mode), duplicating the warning triangle + tooltip the registry
column already shows. The tag cell now always shows the actual tag; the
registry glyph stays the single error flag. `registryErrorPillLabel`
removed; locale keys left in place.

Specs updated accordingly (103/103 green, UI build clean).

**HOLD: merge after v1.6.0 GA** β€” runtime UI delta must not enter the GA
tree (rc.8 is the promotion candidate).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

✨ Added
- Verified tag visibility during registry errors in GroupedViews specs.

πŸ”§ Changed
- Raised active updating/scanning overlay host cells to `z-index: 11`.
- Kept container tags visible in version cells during registry errors.
- Limited registry-error messaging to the registry column’s warning
glyph and tooltip.

πŸ—‘οΈ Removed
- Removed duplicate registry-error pills from table and card views.

- 103 tests pass and the UI build is clean.
- Merge is held until after v1.6.0 GA.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

* πŸ“ docs(release): prepare v1.6.0-rc.9 (#633)

Standard release-identity prep for **v1.6.0-rc.9** (same-day follow-up
to rc.8), replicating the rc.8 prep (#626) pattern exactly:

- CHANGELOG: `[Unreleased]` β†’ `## [1.6.0-rc.9] β€” 2026-07-28` (keeps
#630's Portwing edge-streaming entries, adds the two #631 UI fixes under
Fixed), fresh empty `[Unreleased]`, link chain updated
- 17-file identity bump: README badge/highlights, demo mocks,
site-config/site-content, API doc samples, quickstart tag matrix,
updates highlights section, pinned identity test constants
(RC=1.6.0-rc.9, PREV=1.6.0-rc.8)
- Version files stay at base `1.6.0` per the RC ritual

Verified: 133/133 scripts tests, non-empty `extract-changelog-entry`
body for v1.6.0-rc.9, no stale rc.8 identity outside deliberate history.
Full local pre-push gate green.

rc.9 delta over rc.8 = #630 (Portwing edge streaming default-on) + #631
(row-overlay chip clip fix, registry-error tag-cell fix).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added v1.6.0-rc.9 highlights covering Portwing edge log streaming
and two UI fixes.
- πŸ”§ Changed release identity references across documentation, demos,
site content, API samples, quickstart data, and tests from rc.8 to rc.9.
- πŸ”§ Changed changelog compare-link chain and added a fresh
`[Unreleased]` section.
- πŸ”§ Retained version files at base version `1.6.0`.
- βœ… Verified 133 script tests, changelog extraction, stale rc.8 checks,
and the full pre-push gate.

## Concerns

- No runtime code changes are included.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

* πŸ“ docs(portwing): document edge exec protocol, trigger limits, and sockguard pairing (#638)

Docs-only. Closes the drydock-side gaps from the 2026-07-28 tri-tool
docs audit:

- api/portwing.mdx: new exec protocol section (exec_* frames incl.
exec_end reason) β€” documented as an agent-implementer protocol
reference; v1.6 ships no user-facing exec surface
- configuration/agents/index.mdx: explicit callout + Features-table
exception that update-triggers are not supported over Edge Mode
- configuration/agents/index.mdx: Edge compose example now points at the
sockguard tri-tool bundle instead of implying a raw socket bind mount is
fine
- guides/security/index.mdx: mention the portwing-with-exec.yaml preset
and sockguard-enforced exec policy
- faq/index.mdx: entries for the Edge update-trigger limitation and
Ed25519 key rotation/revocation

Related issues found in the same audit: #635, #636, #637.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added:
- Portwing Edge β€œexec session protocol” docs (WebSocket multiplexing)
covering `exec_start`, `exec_ready`, `exec_output`, `exec_input`,
`exec_resize`, and `exec_end` (including termination/reason handling)
plus the per-edge-connections concurrency cap (`MAX_EXEC_SESSIONS=100`)
and β€œimplementers only” scope.
- FAQ entries for Edge update-trigger limitations and Ed25519 key
rotation/revocation for edge agents.

πŸ”§ Changed:
- Clarified that v1.6 exposes no user-facing Edge exec surface/API.
- Documented that Edge Mode does not proxy `docker`/`dockercompose`
update triggers (and that related UI/action behavior may be missing or a
no-op in v1.6), with guidance to configure update triggers on standard
inbound HTTP agents instead.
- Updated Edge-agent (Portwing) Docker Compose example guidance to use
Sockguard-style isolation (tri-tool bundle usage) and added explicit
warnings about Docker socket mount security.
- Added/expanded documentation on exec-preset activation.

πŸ”’ Security:
- Added security guidance for `portwing-with-exec.yaml` and emphasized
that exec authorization (privilege/root escalation and per-command
allowlisting) is enforced by Sockguard’s exec policy, not Drydock.
- Warned that `:ro` on the Docker socket bind-mount is **not** an API
boundary.

- Verify the documented exec protocol details (frame shapes, `exec_end`
reasons) and `MAX_EXEC_SESSIONS=100` match the implementation.
- Confirm exec-preset activation behavior is accurately documented and
aligns with the shipped presets/config.
- Confirm the Ed25519 key rotation/revocation steps and referenced API
workflow are correct.
- Ensure Edge update-trigger limitations are consistent across all
affected docs and examples.
- Re-check Sockguard/tri-tool bundle compose guidance and that the `:ro`
β€œnot an API boundary” warning is unambiguous.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

* πŸ“ docs(watchers): fix maintenance-window cron examples and document the update dialog (#640)

Came out of
[#639](https://github.com/CodesWhat/drydock/discussions/639), where
someone hit "Outside maintenance window β€” auto update deferred until the
window opens" in the update dialog and couldn't find anything about it
in the docs.

Two separate problems.

**The examples were wrong.** `MAINTENANCE_WINDOW` is matched minute by
minute against the cron, not read as a start/end range, but every
example we ship used a fixed minute and described it as an hour range:

```
DD_WATCHER_LOCAL_MAINTENANCE_WINDOW=0 2-6 * * *   # 2am–6am daily
```

That opens the window for one minute at 02:00, 03:00, 04:00, 05:00 and
06:00, and reports closed the other 1435 minutes of the day. Verified
against `isInMaintenanceWindow` and node-cron's matcher. Anyone who
copy-pasted it has a watcher that mostly looks broken. Examples now use
`* 2-6 * * *`, and the watchers page has a table of correct forms plus a
callout explaining the per-minute matching.

**The dialog's wording appeared nowhere in the docs.** Searching the
site for `policy-blocked` returned zero results, so the exact text a
user sees on screen was unfindable. The eligibility page now documents
that dialog verbatim, with its own anchor for the maintenance-window
case, and says plainly that a soft blocker never gates a manual update β€”
the button says **Update anyway** and it works. The Update Status panel
already deep-links to `#reasons-reference`; this gives it something
useful to land on.

No behavior change, docs and one commented-out QA compose line.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- ✨ Added a table of valid cron forms plus clearer maintenance-window
evaluation guidance (minute-by-minute matching, timezone defaulting).
- πŸ”§ Changed documentation cron examples to use per-minute matching (e.g.
`* 2-6 * * *` / `* 2-3 * * *`) and corrected prior misleading hour-range
descriptions.
- πŸ”§ Changed the update confirmation dialog reference to document
`policy-blocked`, **Outside maintenance window**, and **Update anyway**
(with an anchor specifically for the maintenance-window case).
- πŸ”§ Changed guidance clarifying that **soft blockers do not prevent
manual updates** (they’re overrideable via **Update anyway**).
- πŸ”§ Changed the QA compose example/comments, including noting the parked
watcher must be **unparked** to test the maintenance-window toggle.

## Concerns / issues to address

- Confirm the cron examples match the exact evaluation logic used in
code (minute-precision matching and allowed cron forms).
- Verify the β€œUpdate anyway” wording/behavior described in docs aligns
with the actual UI/API flow for each blocker type.
- Ensure the maintenance-window documentation anchor points to the
correct subsection.
- Double-check timezone behavior described in docs (default `UTC` and
`MAINTENANCE_WINDOW_TZ` evaluation) against implementation.
- Validate the QA instructions (unpark requirement) are accurate for all
relevant watcher configurations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

* ✨ feat(watcher): warn on minute-precise maintenance windows + link eligibility docs from the confirm dialog (#641)

Follow-up to #640 / [Discussion
#639](https://github.com/CodesWhat/drydock/discussions/639). The docs PR
fixed the wrong examples; this fixes the trap at the source and makes
the dialog self-explanatory.

**Startup warning for minute-precise maintenance windows.**
`MAINTENANCE_WINDOW` is matched minute by minute, so `0 2-6 * * *` opens
the window for one minute per matching hour, not the range the old docs
promised. The Docker watcher now logs a one-time warning at init when
the window cron's minute field has no `*`, with the fix in the message
(`* 2-3 * * *`). Step values (`*/5`) aren't flagged. Pure check lives in
`hasNarrowMinuteField()` in `maintenance.ts`; warning only, behavior
unchanged.

**"Learn more" link in the update confirm dialog.** When the confirm
dialog lists soft blockers ("This update is currently policy-blocked…"),
it now links to the [reasons
reference](https://getdrydock.com/docs/configuration/actions/update-eligibility#reasons-reference),
same target the Update Status panel already uses. Our own
`ConfirmDialog.vue` renders it as a real anchor via a new optional
`link` field on `ConfirmOptions` β€” no HTML in i18n strings. New
`softBlockerLearnMore` key added to all 17 locales (English placeholder,
Crowdin picks it up).

Tests: `hasNarrowMinuteField` units + watcher init warn/no-warn cases;
dialog link render/absent + both confirm call sites. Full app (12434)
and ui (4305) suites green at 100% coverage.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added startup warnings for Docker maintenance windows with fixed
minute fields.
- ✨ Added optional β€œLearn more” links to update confirmation dialogs
when soft blockers apply.
- ✨ Added `ConfirmDialogLink`, eligibility documentation export,
translations, and test coverage.
- πŸ”§ Updated Docker watcher mocks and update confirmation call sites.
- πŸ”§ Documented both changes in `CHANGELOG.md`.

## Concerns

- Verify all locale values are intentionally left as `"Learn more"`
rather than translated.
- Confirm cron minute-field detection handles all supported expression
formats.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

* πŸ› fix(audit): record update-available audits on change, not on a timer (#642)

## What

The rc.9 24-hour store-size acceptance failed on
`auditGrowthStayedBounded`: 140 audit rows of growth in 24h against the
50-row bound. 380 of 464 rows in the store were the **same**
`update-available` fact (identical from→to digest pair) re-recorded over
and over.

Root cause: `shouldRecordUpdateAvailableAudit` deduped by signature only
within a time window (`DD_AUDIT_UPDATE_AVAILABLE_DEDUPE_MS`, default
1h). Every time the window lapsed, the unchanged update was re-recorded
β€” ~14 identical rows/day/container for any long-pending update, bounded
only by 30-day retention (~420 rows/month per stale update).

## Fix

- `update-available` audit rows are recorded on **first detection** or
**signature change** (`kind`/`localValue`/`remoteValue`) only β€” never
because time elapsed. State map is now `Map<identity, signature>` with
no timestamps.
- The signature is cached **after** `insertAudit` succeeds, so a failed
insert can't permanently suppress that update (mattered once expiry was
removed).
- `registerContainerRemoved` now also clears update-available state
(same identity derivation as the report path), so remove/recreate
records a fresh detection. Existing clear-on-resolve behavior is
unchanged.
- `DD_AUDIT_UPDATE_AVAILABLE_DEDUPE_MS` is **removed** β€” it shipped only
in v1.6.0 RCs, never in a GA, and no schema rejects a stale env var at
startup. Docs rows updated.

## Known residuals (out of scope, deliberate)

- **#606** can still cause re-records through the front door: a flaky
manifest `created` fetch can flip `updateAvailable` false→true, which
hits the intentional clear-on-resolve path and re-records on
re-detection. That's #606's bug (result nondeterminism), not a dedupe
gap β€” the signature itself can't flap (`created` never enters it;
verified in `getRawTagUpdate`/`getRawDigestUpdate`).
- **security-alert** dedupe is structurally similar (time-window, not
signature) but produced only 4 rows/24h in the failed run; converting it
is a non-blocking follow-up, kept out of this RC's blast radius.

Restart behavior: in-memory state means at most one duplicate row per
still-pending update per process restart β€” accepted; seeding from the
store isn't worth the complexity.

## Verification

- Full app suite: 394 files, 12,431 tests, 100%
statements/branches/functions/lines.
- New tests: no-re-record-after-elapsed-time (direct regression for the
acceptance failure), persistence-failure retry, forget-on-removal,
restart-dup documentation test, 10k-container fleet-scale churn test.
- Full lefthook pre-push gate green (coverage app+ui, builds, e2e,
zizmor).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”§ Changed `update-available` audit deduplication to use `kind`,
`localValue`, and `remoteValue` signatures.
- πŸ”§ Changed state caching to occur only after successful audit
insertion.
- πŸ”§ Changed container removal to clear `update-available` state.
- πŸ› Fixed fresh update detection after container removal and recreation.
- πŸ—‘οΈ Removed `DD_AUDIT_UPDATE_AVAILABLE_DEDUPE_MS` and its configuration
getter, tests, and documentation.
- πŸ”§ Updated audit documentation for signature-based detection and
re-detection behavior.
- πŸ”’ Kept security-alert deduplication unchanged.

## Concerns

- Confirm known duplicate records from flaky manifest results and
process restarts are acceptable.
- Check for stale references to `DD_AUDIT_UPDATE_AVAILABLE_DEDUPE_MS` or
`getAuditUpdateAvailableDedupeMs`.
- Verify state identity derivation remains consistent between update
detection and container removal.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

* fix(deps): update npm minor/patch (ui) (#614)

This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@iconify-json/lucide](https://icon-sets.iconify.design/lucide/) |
[`1.2.118` β†’
`1.2.120`](https://renovatebot.com/diffs/npm/@iconify-json%2flucide/1.2.118/1.2.120)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@iconify-json%2flucide/1.2.120?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@iconify-json%2flucide/1.2.118/1.2.120?slim=true)
|
| [@iconify-json/tabler](https://icon-sets.iconify.design/tabler/) |
[`1.2.37` β†’
`1.2.38`](https://renovatebot.com/diffs/npm/@iconify-json%2ftabler/1.2.37/1.2.38)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@iconify-json%2ftabler/1.2.38?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@iconify-json%2ftabler/1.2.37/1.2.38?slim=true)
|
| [knip](https://knip.dev)
([source](https://redirect.github.com/webpro-nl/knip/tree/HEAD/packages/knip))
| [`6.27.0` β†’
`6.29.0`](https://renovatebot.com/diffs/npm/knip/6.27.0/6.29.0) |
![age](https://developer.mend.io/api/mc/badges/age/npm/knip/6.29.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/knip/6.27.0/6.29.0?slim=true)
|
| [minimatch](https://redirect.github.com/isaacs/minimatch) | [`10.2.5`
β†’ `10.2.6`](https://renovatebot.com/diffs/npm/minimatch/10.2.5/10.2.6) |
![age](https://developer.mend.io/api/mc/badges/age/npm/minimatch/10.2.6?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/minimatch/10.2.5/10.2.6?slim=true)
|
| [postcss](https://postcss.org/)
([source](https://redirect.github.com/postcss/postcss)) | [`8.5.22` β†’
`8.5.24`](https://renovatebot.com/diffs/npm/postcss/8.5.22/8.5.24) |
![age](https://developer.mend.io/api/mc/badges/age/npm/postcss/8.5.24?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/postcss/8.5.22/8.5.24?slim=true)
|
| [undici](https://undici.nodejs.org)
([source](https://redirect.github.com/nodejs/undici)) | [`7.28.0` β†’
`7.29.0`](https://renovatebot.com/diffs/npm/undici/7.28.0/7.29.0) |
![age](https://developer.mend.io/api/mc/badges/age/npm/undici/7.29.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/7.28.0/7.29.0?slim=true)
|
|
[vue-i18n](https://redirect.github.com/intlify/vue-i18n/tree/master/packages/vue-i18n#readme)
([source](https://redirect.github.com/intlify/vue-i18n/tree/HEAD/packages/vue-i18n))
| [`11.4.7` β†’
`11.4.8`](https://renovatebot.com/diffs/npm/vue-i18n/11.4.7/11.4.8) |
![age](https://developer.mend.io/api/mc/badges/age/npm/vue-i18n/11.4.8?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue-i18n/11.4.7/11.4.8?slim=true)
|

---

### Release Notes

<details>
<summary>webpro-nl/knip (knip)</summary>

###
[`v6.29.0`](https://redirect.github.com/webpro-nl/knip/releases/tag/knip%406.29.0):
Release 6.29.0

[Compare
Source](https://redirect.github.com/webpro-nl/knip/compare/[email protected]@6.29.0)

- fix(glob): do not follow symbolic links in async glob
([#&#8203;1900](https://redirect.github.com/webpro-nl/knip/issues/1900))
([`b7d5ce2`](https://redirect.github.com/webpro-nl/knip/commit/b7d5ce2f545d91953a97733aa1567e8728b20644))
- thanks [@&#8203;mogelbrod](https://redirect.github.com/mogelbrod)!
- Add built-in compiler for tsrx
([`db05e01`](https://redirect.github.com/webpro-nl/knip/commit/db05e0142a41fad2ad45d62ba5106e0d97c92b45))
- Fix -u shortcut for --duration
([`932b926`](https://redirect.github.com/webpro-nl/knip/commit/932b9262af275d209923a5efab1b6f23067bb006))

###
[`v6.28.0`](https://redirect.github.com/webpro-nl/knip/releases/tag/knip%406.28.0):
Release 6.28.0

[Compare
Source](https://redirect.github.com/webpro-nl/knip/compare/[email protected]@6.28.0)

- Update oxc-resolver (resolve
[#&#8203;1889](https://redirect.github.com/webpro-nl/knip/issues/1889))
([`1444f6a`](https://redirect.github.com/webpro-nl/knip/commit/1444f6aaf04d42ad07ee0b88da4dfae0e116043a))
- Keep entry-exported members public (resolve
[#&#8203;1890](https://redirect.github.com/webpro-nl/knip/issues/1890))
([`94967c1`](https://redirect.github.com/webpro-nl/knip/commit/94967c13a589a7e83408b1495c31323ac126fcab))
- Don't un-ignore sibling paths on unrelated gitignore negations
(resolve
[#&#8203;1891](https://redirect.github.com/webpro-nl/knip/issues/1891))
([`5c026ba`](https://redirect.github.com/webpro-nl/knip/commit/5c026ba50c1e89804fc5094a52dc4c4c37d92bc2))
- Memoize the gitignore shadowed-pattern check
([`a5fa3b0`](https://redirect.github.com/webpro-nl/knip/commit/a5fa3b0ebb7f84c107dba1c1ca9a9b73995f668f))
- Ignore nested files under a gitignore dir/\* pattern
([`404a53e`](https://redirect.github.com/webpro-nl/knip/commit/404a53e3e49fa7c1f51b60bcb30ea50450f75aab))
- Track types referenced by JSDoc imports (resolve
[#&#8203;1888](https://redirect.github.com/webpro-nl/knip/issues/1888))
([`6ae48aa`](https://redirect.github.com/webpro-nl/knip/commit/6ae48aadbe03952690c8608e6df42bd039cf6624))
- Update oxc-parser
([`02ca17a`](https://redirect.github.com/webpro-nl/knip/commit/02ca17a72c3f0afa7df32297d2dd2f5463ac6e00))
- feat: markdownlint-cli2
([#&#8203;1887](https://redirect.github.com/webpro-nl/knip/issues/1887))
([`323b96f`](https://redirect.github.com/webpro-nl/knip/commit/323b96f55b38b53f5e4648d72fecd968fae35147))
- thanks [@&#8203;Zamiell](https://redirect.github.com/Zamiell)!
- Update rolldown snapshot
([`009e509`](https://redirect.github.com/webpro-nl/knip/commit/009e509dee6a5013fd3937abb4ec81684601b023))
- Resolve $GITHUB\_ACTION\_PATH in GHA composite actions
([`ead489f`](https://redirect.github.com/webpro-nl/knip/commit/ead489f066733f701acfe5b81eac0a6c813fb5c5))
- Don't report `node:` specifiers as unlisted dependencies
([`1a7114f`](https://redirect.github.com/webpro-nl/knip/commit/1a7114f0a159fe82328041e11fc61c5c1730cc01))
- Discover tsdown CLI entries
([`0d47a45`](https://redirect.github.com/webpro-nl/knip/commit/0d47a45bfc518a7bf73a4b4878aeab236d6f9791))
- Discover Convex function modules
([`e01f21c`](https://redirect.github.com/webpro-nl/knip/commit/e01f21c44773186e7ad74e7badf9fc81b82edfb5))
- Ignore common system binaries
([`cd00306`](https://redirect.github.com/webpro-nl/knip/commit/cd003065fda5422550a412bba07ebbb1f9bae126))
- Add OpenClaw plugin
([`73a2d7d`](https://redirect.github.com/webpro-nl/knip/commit/73a2d7dd45f65ea312fde38cb4fa4f5a4fc34bf2))
- Discover Tailwind CLI input stylesheet (resolve
[#&#8203;1551](https://redirect.github.com/webpro-nl/knip/issues/1551))
([`9ae5fee`](https://redirect.github.com/webpro-nl/knip/commit/9ae5feed922ecb7e8c436545e9b45125bd73b457))
- Discover Angular global stylesheets from angular.json
([`fb9e048`](https://redirect.github.com/webpro-nl/knip/commit/fb9e0488f6f21284714d0651fcf1dd2de02d425a))
- Hint when project patterns exclude a compiled extension
([`74de516`](https://redirect.github.com/webpro-nl/knip/commit/74de516d3d73839536fc2a43c2c0ec38a6299631))
- Ignore common global binaries
([`a99a206`](https://redirect.github.com/webpro-nl/knip/commit/a99a206015fe414a4de12016cc62499910afaf6f))
- Run multiple preprocessors in sequence
([`8443583`](https://redirect.github.com/webpro-nl/knip/commit/844358367e9d1939bbf47f8dcb97d810741f56c1))
- fix(nuxt): resolve nuxt module paths
([#&#8203;1896](https://redirect.github.com/webpro-nl/knip/issues/1896))
([`3c8594f`](https://redirect.github.com/webpro-nl/knip/commit/3c8594f5ffc641b00575b6d7455990db1277ac75))
- thanks [@&#8203;danielroe](https://redirect.github.com/danielroe)!
- Report unused re-exports when ignoreExportsUsedInFile is set
([#&#8203;1895](https://redirect.github.com/webpro-nl/knip/issues/1895))
([`a113a5f`](https://redirect.github.com/webpro-nl/knip/commit/a113a5f4eedc81ef56b00a3e488cc94febefede5))
- thanks [@&#8203;mlm20](https://redirect.github.com/mlm20)!
- Pass -w to pnpm add in sentry ecosystem test
([`ea8c8ac`](https://redirect.github.com/webpro-nl/knip/commit/ea8c8ac6fe9519f00ca6a61131b345f5de521704))
- Update sentry snapshot
([`b75768d`](https://redirect.github.com/webpro-nl/knip/commit/b75768d544d9f869ebce8f8c6dd8490f3db87023))
- Record all traversed dirs in glob cache (resolve
[#&#8203;1897](https://redirect.github.com/webpro-nl/knip/issues/1897))
([`81be1d4`](https://redirect.github.com/webpro-nl/knip/commit/81be1d436eae15518df764cbcb443899e11a9569))
- Invalidate glob cache when .gitignore changes
([`baff301`](https://redirect.github.com/webpro-nl/knip/commit/baff301f2dceda97bf8bf73809d811cc44c72c8c))
- Improve Nuxt and Nitro plugin resolution
([`86ffab7`](https://redirect.github.com/webpro-nl/knip/commit/86ffab7bcdd095631d6b0b17254e8acd6b5022bc))
- fix: don't treat \[-]-c\[heck] as config flag for prettier
([#&#8203;1902](https://redirect.github.com/webpro-nl/knip/issues/1902))
([`b7266ee`](https://redirect.github.com/webpro-nl/knip/commit/b7266ee8240a9b8686e91a44a4706d3605d094c4))
- thanks
[@&#8203;davidkna-sap](https://redirect.github.com/davidkna-sap)!
- Use Entra ID to publish VS Code extension
([`4236253`](https://redirect.github.com/webpro-nl/knip/commit/4236253482f884d92cfde2ccf85c7fb9aca17f7e))
- Remove obsolete trust policy exclusions
([`630d5f9`](https://redirect.github.com/webpro-nl/knip/commit/630d5f9835f4303ec9aa7d090ad40a177808c4fb))
- Update dependencies
([`810147b`](https://redirect.github.com/webpro-nl/knip/commit/810147b5aa21bb57ad103fd19ba92844e42cd84c))
- Migrate from typescript/native-preview to typescript
([`140a25a`](https://redirect.github.com/webpro-nl/knip/commit/140a25a577a64273a7a77f2ff2c8f224118ac298))

</details>

<details>
<summary>isaacs/minimatch (minimatch)</summary>

###
[`v10.2.6`](https://redirect.github.com/isaacs/minimatch/compare/v10.2.5...ded1bbd01beca62a5978bc1650ed0a1ccf9039d5)

[Compare
Source](https://redirect.github.com/isaacs/minimatch/compare/v10.2.5...v10.2.6)

</details>

<details>
<summary>postcss/postcss (postcss)</summary>

###
[`v8.5.24`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8524)

[Compare
Source](https://redirect.github.com/postcss/postcss/compare/8.5.23...8.5.24)

- Preserve the BOM after the processing (by
[@&#8203;hdimer](https://redirect.github.com/hdimer)).

###
[`v8.5.23`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8523)

[Compare
Source](https://redirect.github.com/postcss/postcss/compare/8.5.22...8.5.23)

- Do not load source map without `opts.from` for security reasons.

</details>

<details>
<summary>nodejs/undici (undici)</summary>

###
[`v7.29.0`](https://redirect.github.com/nodejs/undici/releases/tag/v7.29.0)

[Compare
Source](https://redirect.github.com/nodejs/undici/compare/v7.28.0...v7.29.0)

#### What's Changed

**Full Changelog**:
<https://github.com/nodejs/undici/compare/v7.28.0...v7.29.0>

</details>

<details>
<summary>intlify/vue-i18n (vue-i18n)</summary>

###
[`v11.4.8`](https://redirect.github.com/intlify/vue-i18n/releases/tag/v11.4.8)

[Compare
Source](https://redirect.github.com/intlify/vue-i18n/compare/v11.4.7...v11.4.8)

<!-- Release notes generated using configuration in .github/release.yml
at v11.4.8 -->

#### What's Changed

##### πŸ‘• Refactoring

- refactor: extract security sanitizer module by
[@&#8203;kazupon](https://redirect.github.com/kazupon) in
[#&#8203;2555](https://redirect.github.com/intlify/vue-i18n/pull/2555)
- refactor: unify intl formatting pipeline by
[@&#8203;kazupon](https://redirect.github.com/kazupon) in
[#&#8203;2556](https://redirect.github.com/intlify/vue-i18n/pull/2556)

**Full Changelog**:
<https://github.com/intlify/vue-i18n/compare/v11.4.7...v11.4.8>

</details>

---

### Configuration

πŸ“… **Schedule**: (in timezone America/New_York)

- Branch creation
  - "before 6am on monday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

πŸ‘» **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/CodesWhat/drydock).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjMuMiIsInRhcmdldEJyYW5jaCI6ImRldi92MS42IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update npm minor/patch (app) (#615)

This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[@aws-sdk/client-ecr](https://redirect.github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ecr)
([source](https://redirect.github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-ecr))
| [`3.1091.0` β†’
`3.1096.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-ecr/3.1091.0/3.1096.0)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-ecr/3.1096.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-ecr/3.1091.0/3.1096.0?slim=true)
|
|
[@smithy/node-http-handler](https://redirect.github.com/smithy-lang/smithy-typescript/tree/main/packages/node-http-handler)
([source](https://redirect.github.com/smithy-lang/smithy-typescript/tree/HEAD/packages/node-http-handler))
| [`4.9.8` β†’
`4.9.12`](https://renovatebot.com/diffs/npm/@smithy%2fnode-http-handler/4.9.8/4.9.12)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@smithy%2fnode-http-handler/4.9.12?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@smithy%2fnode-http-handler/4.9.8/4.9.12?slim=true)
|
|
[express-rate-limit](https://redirect.github.com/express-rate-limit/express-rate-limit)
| [`8.6.0` β†’
`8.6.1`](https://renovatebot.com/diffs/npm/express-rate-limit/8.6.0/8.6.1)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/express-rate-limit/8.6.1?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/express-rate-limit/8.6.0/8.6.1?slim=true)
|
| [knip](https://knip.dev)
([source](https://redirect.github.com/webpro-nl/knip/tree/HEAD/packages/knip))
| [`6.27.0` β†’
`6.29.0`](https://renovatebot.com/diffs/npm/knip/6.27.0/6.29.0) |
![age](https://developer.mend.io/api/mc/badges/age/npm/knip/6.29.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/knip/6.27.0/6.29.0?slim=true)
|
| [postcss](https://postcss.org/)
([source](https://redirect.github.com/postcss/postcss)) | [`8.5.22` β†’
`8.5.24`](https://renovatebot.com/diffs/npm/postcss/8.5.22/8.5.24) |
![age](https://developer.mend.io/api/mc/badges/age/npm/postcss/8.5.24?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/postcss/8.5.22/8.5.24?slim=true)
|
| [undici](https://undici.nodejs.org)
([source](https://redirect.github.com/nodejs/undici)) | [`8.8.0` β†’
`8.9.0`](https://renovatebot.com/diffs/npm/undici/8.8.0/8.9.0) |
![age](https://developer.mend.io/api/mc/badges/age/npm/undici/8.9.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/8.8.0/8.9.0?slim=true)
|

---

### Release Notes

<details>
<summary>aws/aws-sdk-js-v3 (@&#8203;aws-sdk/client-ecr)</summary>

###
[`v3.1096.0`](https://redirect.github.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-ecr/CHANGELOG.md#310960-2026-07-27)

[Compare
Source](https://redirect.github.com/aws/aws-sdk-js-v3/compare/v3.1095.0...v3.1096.0)

**Note:** Version bump only for package
[@&#8203;aws-sdk/client-ecr](https://redirect.github.com/aws-sdk/client-ecr)

###
[`v3.1095.0`](https://redirect.github.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-ecr/CHANGELOG.md#310950-2026-07-24)

[Compare
Source](https://redirect.github.com/aws/aws-sdk-js-v3/compare/v3.1094.0...v3.1095.0)

**Note:** Version bump only for package
[@&#8203;aws-sdk/client-ecr](https://redirect.github.com/aws-sdk/client-ecr)

###
[`v3.1094.0`](https://redirect.github.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-ecr/CHANGELOG.md#310940-2026-07-23)

[Compare
Source](https://redirect.github.com/aws/aws-sdk-js-v3/compare/v3.1093.0...v3.1094.0)

**Note:** Version bump only for package
[@&#8203;aws-sdk/client-ecr](https://redirect.github.com/aws-sdk/client-ecr)

###
[`v3.1093.0`](https://redirect.github.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-ecr/CHANGELOG.md#310930-2026-07-22)

[Compare
Source](https://redirect.github.com/aws/aws-sdk-js-v3/compare/v3.1092.0...v3.1093.0)

**Note:** Version bump only for package
[@&#8203;aws-sdk/client-ecr](https://redirect.github.com/aws-sdk/client-ecr)

###
[`v3.1092.0`](https://redirect.github.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-ecr/CHANGELOG.md#310920-2026-07-21)

[Compare
Source](https://redirect.github.com/aws/aws-sdk-js-v3/compare/v3.1091.0...v3.1092.0)

**Note:** Version bump only for package
[@&#8203;aws-sdk/client-ecr](https://redirect.github.com/aws-sdk/client-ecr)

</details>

<details>
<summary>smithy-lang/smithy-typescript
(@&#8203;smithy/node-http-handler)</summary>

###
[`v4.9.12`](https://redirect.github.com/smithy-lang/smithy-typescript/blob/HEAD/packages/node-http-handler/CHANGELOG.md#4912)

[Compare
Source](https://redirect.github.com/smithy-lang/smithy-typescript/compare/@smithy/[email protected]...@smithy/[email protected])

##### Patch Changes

- Updated dependencies
\[[`a14bb71`](https://redirect.github.com/smithy-lang/smithy-typescript/commit/a14bb71)]
-
[@&#8203;smithy/core](https://redirect.github.com/smithy/core)@&#8203;3.31.0

###
[`v4.9.11`](https://redirect.github.com/smithy-lang/smithy-typescript/blob/HEAD/packages/node-http-handler/CHANGELOG.md#4911)

[Compare
Source](https://redirect.github.com/smithy-lang/smithy-typescript/compare/@smithy/[email protected]...@smithy/[email protected])

##### Patch Changes

- Updated dependencies
\[[`54040ef`](https://redirect.github.com/smithy-lang/smithy-typescript/commit/54040ef)]
- Updated dependencies
\[[`155bb56`](https://redirect.github.com/smithy-lang/smithy-typescript/commit/155bb56)]
-
[@&#8203;smithy/core](https://redirect.github.com/smithy/core)@&#8203;3.30.0

###
[`v4.9.10`](https://redirect.github.com/smithy-lang/smithy-typescript/blob/HEAD/packages/node-http-handler/CHANGELOG.md#4910)

[Compare
Source](https://redirect.github.com/smithy-lang/smithy-typescript/compare/@smithy/[email protected]...@smithy/[email protected])

##### Patch Changes

- Updated dependencies
\[[`d6e6f8b`](https://redirect.github.com/smithy-lang/smithy-typescript/commit/d6e6f8b)]
-
[@&#8203;smithy/core](https://redirect.github.com/smithy/core)@&#8203;3.29.8

###
[`v4.9.9`](https://redirect.github.com/smithy-lang/smithy-typescript/blob/HEAD/packages/node-http-handler/CHANGELOG.md#499)

[Compare
Source](https://redirect.github.com/smithy-lang/smithy-typescript/compare/@smithy/[email protected]...@smithy/[email protected])

##### Patch Changes

- Updated dependencies
\[[`44b21e6`](https://redirect.github.com/smithy-lang/smithy-typescript/commit/44b21e6)]
-
[@&#8203;smithy/core](https://redirect.github.com/smithy/core)@&#8203;3.29.7

</details>

<details>
<summary>express-rate-limit/express-rate-limit
(express-rate-limit)</summary>

###
[`v8.6.1`](https://redirect.github.com/express-rate-limit/express-rate-limit/releases/tag/v8.6.1)

[Compare
Source](https://redirect.github.com/express-rate-limit/express-rate-limit/compare/v8.6.0...v8.6.1)

You can view the changelog
[here](https://express-rate-limit.mintlify.app/reference/changelog).

</details>

<details>
<summary>webpro-nl/knip (knip)</summary>

###
[`v6.29.0`](https://redirect.github.com/webpro-nl/knip/releases/tag/knip%406.29.0):
Release 6.29.0

[Compare
Source](https://redirect.github.com/webpro-nl/knip/compare/[email protected]@6.29.0)

- fix(glob): do not follow symbolic links in async glob
([#&#8203;1900](https://redirect.github.com/webpro-nl/knip/issues/1900))
([`b7d5ce2`](https://redirect.github.com/webpro-nl/knip/commit/b7d5ce2f545d91953a97733aa1567e8728b20644))
- thanks [@&#8203;mogelbrod](https://redirect.github.com/mogelbrod)!
- Add built-in compiler for tsrx
([`db05e01`](https://redirect.github.com/webpro-nl/knip/commit/db05e0142a41fad2ad45d62ba5106e0d97c92b45))
- Fix -u shortcut for --duration
([`932b926`](https://redirect.github.com/webpro-nl/knip/commit/932b9262af275d209923a5efab1b6f23067bb006))

###
[`v6.28.0`](https://redirect.github.com/webpro-nl/knip/releases/tag/knip%406.28.0):
Release 6.28.0

[Compare
Source](https://redirect.github.com/webpro-nl/knip/compare/[email protected]@6.28.0)

- Update oxc-resolver (resolve
[#&#8203;1889](https://redirect.github.com/webpro-nl/knip/issues/1889))
([`1444f6a`](https://redirect.github.com/webpro-nl/knip/commit/1444f6aaf04d42ad07ee0b88da4dfae0e116043a))
- Keep entry-exported members public (resolve
[#&#8203;1890](https://redirect.github.com/webpro-nl/knip/issues/1890))
([`94967c1`](https://redirect.github.com/webpro-nl/knip/commit/94967c13a589a7e83408b1495c31323ac126fcab))
- Don't un-ignore sibling paths on unrelated gitignore negations
(resolve
[#&#8203;1891](https://redirect.github.com/webpro-nl/knip/issues/1891))
([`5c026ba`](https://redirect.github.com/webpro-nl/knip/commit/5c026ba50c1e89804fc5094a52dc4c4c37d92bc2))
- Memoize the gitignore shadowed-pattern check
([`a5fa3b0`](https://redirect.github.com/webpro-nl/knip/commit/a5fa3b0ebb7f84c107dba1c1ca9a9b73995f668f))
- Ignore nested files under a gitignore dir/\* pattern
([`404a53e`](https://redirect.github.com/webpro-nl/knip/commit/404a53e3e49fa7c1f51b60bcb30ea50450f75aab))
- Track types referenced by JSDoc imports (resolve
[#&#8203;1888](https://redirect.github.com/webpro-nl/knip/issues/1888))
([`6ae48aa`](https://redirect.github.com/webpro-nl/knip/commit/6ae48aadbe03952690c8608e6df42bd039cf6624))
- Update oxc-parser
([`02ca17a`](https://redirect.github.com/webpro-nl/knip/commit/02ca17a72c3f0afa7df32297d2dd2f5463ac6e00))
- feat: markdownlint-cli2
([#&#8203;1887](https://redirect.github.com/webpro-nl/knip/issues/1887))
([`323b96f`](https://redirect.github.com/webpro-nl/knip/commit/323b96f55b38b53f5e4648d72fecd968fae35147))
- thanks [@&#8203;Zamiell](https://redirect.github.com/Zamiell)!
- Update rolldown snapshot
([`009e509`](https://redirect.github.com/webpro-nl/knip/commit/009e509dee6a5013fd3937abb4ec81684601b023))
- Resolve $GITHUB\_ACTION\_PATH in GHA composite actions
([`ead489f`](https://redirect.github.com/webpro-nl/knip/commit/ead489f066733f701acfe5b81eac0a6c813fb5c5))
- Don't report `node:` specifiers as unlisted dependencies
([`1a7114f`](https://redirect.github.com/webpro-nl/knip/commit/1a7114f0a159fe82328041e11fc61c5c1730cc01))
- Discover tsdown CLI entries
([`0d47a45`](https://redirect.github.com/webpro-nl/knip/commit/0d47a45bfc518a7bf73a4b4878aeab236d6f9791))
- Discover Convex function modules
([`e01f21c`](https://redirect.github.com/webpro-nl/knip/commit/e01f21c44773186e7ad74e7badf9fc81b82edfb5))
- Ignore common system binaries
([`cd00306`](https://redirect.github.com/webpro-nl/knip/commit/cd003065fda5422550a412bba07ebbb1f9bae126))
- Add OpenClaw plugin
([`73a2d7d`](https://redirect.github.com/webpro-nl/knip/commit/73a2d7dd45f65ea312fde38cb4fa4f5a4fc34bf2))
- Discover Tailwind CLI input stylesheet (resolve
[#&#8203;1551](https://redirect.github.com/webpro-nl/knip/issues/1551))
([`9ae5fee`](https://redirect.github.com/webpro-nl/knip/commit/9ae5feed922ecb7e8c436545e9b45125bd73b457))
- Discover Angular global stylesheets from angular.json
([`fb9e048`](https://redirect.github.com/webpro-nl/knip/commit/fb9e0488f6f21284714d0651fcf1dd2de02d425a))
- Hint when project patterns exclude a compiled extension
([`74de516`](https://redirect.github.com/webpro-nl/knip/commit/74de516d3d73839536fc2a43c2c0ec38a6299631))
- Ignore common global binaries
([`a99a206`](https://redirect.github.com/webpro-nl/knip/commit/a99a206015fe414a4de12016cc62499910afaf6f))
- Run multiple preprocessors in sequence
([`8443583`](https://redirect.github.com/webpro-nl/knip/commit/844358367e9d1939bbf47f8dcb97d810741f56c1))
- fix(nuxt): resolve nuxt module paths
([#&#8203;1896](https://redirect.github.com/webpro-nl/knip/issues/1896))
([`3c8594f`](https://redirect.github.com/webpro-nl/knip/commit/3c8594f5ffc641b00575b6d7455990db1277ac75))
- thanks [@&#8203;danielroe](https://redirect.github.com/danielroe)!
- Report unused re-exports when ignoreExportsUsedInFile is set
([#&#8203;1895](https://redirect.github.com/webpro-nl/knip/issues/1895))
([`a113a5f`](https://redirect.github.com/webpro-nl/knip/commit/a113a5f4eedc81ef56b00a3e488cc94febefede5))
- thanks [@&#8203;mlm20](https://redirect.github.com/mlm20)!
- Pass -w to pnpm add in sentry ecosystem test
([`ea8c8ac`](https://redirect.github.com/webpro-nl/knip/commit/ea8c8ac6fe9519f00ca6a61131b345f5de521704))
- Update sentry snapshot
([`b75768d`](https://redirect.github.com/webpro-nl/knip/commit/b75768d544d9f869ebce8f8c6dd8490f3db87023))
- Record all traversed dirs in glob cache (resolve
[#&#8203;1897](https://redirect.github.com/webpro-nl/knip/issues/1897))
([`81be1d4`](https://redirect.github.com/webpro-nl/knip/commit/81be1d436eae15518df764cbcb443899e11a9569))
- Invalidate glob cache when .gitignore changes
([`baff301`](https://redirect.github.com/webpro-nl/knip/commit/baff301f2dceda97bf8bf73809d811cc44c72c8c))
- Improve Nuxt and Nitro plugin resolution
([`86ffab7`](https://redirect.github.com/webpro-nl/knip/commit/86ffab7bcdd095631d6b0b17254e8acd6b5022bc))
- fix: don't treat \[-]-c\[heck] as config flag for prettier
([#&#8203;1902](https://redirect.github.com/webpro-nl/knip/issues/1902))
([`b7266ee`](https://redirect.github.com/webpro-nl/knip/commit/b7266ee8240a9b8686e91a44a4706d3605d094c4))
- thanks
[@&#8203;davidkna-sap](https://redirect.github.com/davidkna-sap)!
- Use Entra ID to publish VS Code extension
([`4236253`](https://redirect.github.com/webpro-nl/knip/commit/4236253482f884d92cfde2ccf85c7fb9aca17f7e))
- Remove obsolete trust policy exclusions
([`630d5f9`](https://redirect.github.com/webpro-nl/knip/commit/630d5f9835f4303ec9aa7d090ad40a177808c4fb))
- Update dependencies
([`810147b`](https://redirect.github.com/webpro-nl/knip/commit/810147b5aa21bb57ad103fd19ba92844e42cd84c))
- Migrate from typescript/native-preview to typescript
([`140a25a`](https://redirect.github.com/webpro-nl/knip/commit/140a25a577a64273a7a77f2ff2c8f224118ac298))

</details>

<details>
<summary>postcss/postcss (postcss)</summary>

###
[`v8.5.24`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8524)

[Compare
Source](https://redirect.github.com/postcss/postcss/compare/8.5.23...8.5.24)

- Preserve the BOM after the processing (by
[@&#8203;hdimer](https://redirect.github.com/hdimer)).

###
[`v8.5.23`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8523)

[Compare
Source](https://redirect.github.com/postcss/postcss/compare/8.5.22...8.5.23)

- Do not load source map without `opts.from` for security reasons.

</details>

<details>
<summary>nodejs/undici (undici)</summary>

###
[`v8.9.0`](https://redirect.github.com/nodejs/undici/releases/tag/v8.9.0)

[Compare
Source](https://redirect.github.com/nodejs/undici/compare/v8.8.0...v8.9.0)

#### What's Changed

- fix(decompress): preserve response trailers by
[@&#8203;Ram-blip](https://redirect.github.com/Ram-blip) in
[#&#8203;5572](https://redirect.github.com/nodejs/undici/pull/5572)
- build(deps-dev): bump ws from 8.21.0 to 8.21.1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;5576](https://redirect.github.com/nodejs/undici/pull/5576)
- fix: validate coerced header values for CRLF by
[@&#8203;mcollina](https://redirect.github.com/mcollina) in
[#&#8203;5579](https://redirect.github.com/nodejs/undici/pull/5579)
- fix: handle frozen globalThis in setGlobalDispatcher by
[@&#8203;mhayk](https://redirect.github.com/mhayk) in
[#&#8203;5574](https://redirect.github.com/nodejs/undici/pull/5574)
- Ignore auto-generated .npmrc on Windows by
[@&#8203;tsctx](https://redirect.github.com/tsctx) in
[#&#8203;5583](https://redirect.github.com/nodejs/undici/pull/5583)

#### New Contributors

- [@&#8203;mhayk](https://redirect.github.com/mhayk) made their first
contribution in
[#&#8203;5574](https://redirect.github.com/nodejs/undici/pull/5574)

**Full Changelog**:
<https://github.com/nodejs/undici/compare/v8.8.0...v8.9.0>

</details>

---

### Configuration

πŸ“… **Schedule**: (in timezone America/New_York)

- Branch creation
  - "before 6am on monday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

πŸ‘» **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/CodesWhat/drydock).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjMuMiIsInRhcmdldEJyYW5jaCI6ImRldi92MS42IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* πŸ› fix(self-update): resolve infrastructure helper image via registry manager (#645)

Fixes #644

## Problem

Updating containers labeled `dd.update.mode=infrastructure` (e.g.
socket-proxy) fails on Docker Hub installs:

```
Failed to spawn helper container, rolling back: (HTTP code 404) no such container - No such image: registry-1.docker.io/codeswhat/drydock:1.5.2
```

`resolveHelperImage` rebuilt drydock's own image reference with raw
`buildImageReference`, which yields
`registry-1.docker.io/codeswhat/drydock:<tag>` for Hub. The daemon
stores Hub images under their short name (`codeswhat/drydock:<tag>`),
and the helper spawn never pulls (the image must already exist locally
since drydock runs from it), so `POST /containers/create` 404s and the
update rolls back.

## Fix

Delegate to the resolved registry manager's `getImageFullName` β€” the Hub
provider already strips `registry-1.docker.io/`, `docker.io/` and
`library/`, matching daemon-local naming. The raw `buildImageReference`
construction is kept only as a fallback when no registry manager
resolves. GHCR/LSCR/etc. behavior is unchanged (their full names already
match daemon-local names).

## Changes

- `app/triggers/providers/docker/Docker.ts` β€” `resolveHelperImage` tries
`resolveRegistryManager(drydockContainer).getImageFullName(...)` first,
falls back to the previous manual construction on failure.
- `app/triggers/providers/docker/Docker.test.ts` β€” the test that
previously asserted the broken `registry-1.docker.io/...` output is now
a #644 regression test against a real `Hub` provider instance, expecting
`codeswhat/drydock:1.5.0`.
- `content/docs/current/configuration/self-update/index.mdx` β€” note that
the infrastructure helper runs drydock's own locally-present image, no
extra pull.
- `CHANGELOG.md` β€” fix entry under Unreleased.

## Verification

- `vitest run` on Docker.test.ts + SelfUpdateOrchestrator.test.ts +
SelfUpdateTransitionShared.test.ts: 313/313 pass
- `tsc --noEmit` clean, `biome check` clean

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ› Fixed Docker Hub infrastructure self-updates by resolving helper
images through the registry manager.
- πŸ”§ Changed `resolveHelperImage` to use `getImageFullName`, with the
existing manual construction as fallback.
- ✨ Added a Docker Hub regression test.
- πŸ”§ Updated self-update documentation and the unreleased changelog.

## Concerns

- Verify fallback behavior when registry-manager resolution fails.
- Add regression coverage for GHCR, LSCR, and other registry providers
if normalization behavior differs.
- Confirm the documentation matches the actual helper-container pull and
execution flow.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

* πŸ”§ chore(i18n): sync translations from Crowdin (#620)

Automated sync from Crowdin. Review wording, then merge.

---------

Co-authored-by: Crowdin Bot <[email protected]>
Co-authored-by: scttbnsn <[email protected]>

* βœ… test(security): accept fast-uri 4.1.1 in the dependency guard + pin babel majors off (#646)

Two small unrelated dep-hygiene fixes bundled together since they're
both one-liners against renovate/CI plumbing.

## fast-uri guard (unblocks #617)

`scripts/security-dependency-versions.test.mjs` pinned the `fast-uri`
override to an exact `3.1.4` for CVE-2026-16221 (GHSA-v2hh-gcrm-f6hx),
added in #579. Renovate PR #617 wants to bump that override to `4.1.1`,
which still carries the CVE fix, and the guard's exact-equality check
would fail it on merge.

Updated the guard to accept either `3.1.4` or `4.1.1`, transitionally,
same pattern as #621 which did this for the picomatch/yaml e2e guards
after their overrides moved past an exact pin. Once #617 lands the
`3.1.4` branch can be dropped. Manifests and lockfiles aren't touched
here, that's #617's job.

## renovate.json: stop proposing @babel/core majors

Renovate keeps proposing `@babel/core` v8 (#564, closed after breaking
things). `@babel/core` only exists in `app/` and `ui/` as an unscoped
override for `@stryker-mutator/instrumenter`, which needs `~7.29.0` with
matching 7.x sibling plugins. Since npm overrides are global, a core@8
bump forces an unsupported Babel 7/8 mix under the instrumenter and
breaks the monthly mutation-testing workflow.

Added a `packageRule` disabling major updates for `@babel/core` with a
description explaining why, to be re-enabled once Stryker supports Babel
8.

## Test plan
- [x] `node --test scripts/security-dependency-versions.test.mjs` passes
(6/6)
- [x] `node -e "JSON.parse(...)"` on renovate.json parses cleanly
- [x] `npx --yes --package renovate renovate-config-validator` validates
renovate.json successfully

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”’ Security: Allow `fast-uri` override versions `3.1.4` and `4.1.1`.
- πŸ”§ Changed: Require resolved `fast-uri` lockfile version `3.1.4` or
newer.
- πŸ”§ Changed: Disable Renovate major updates for `@babel/core` until
Babel 8 support is available.
- πŸ”§ Changed: Preserve compatibility with Babel 7 plugins.
- πŸ”§ Changed: Leave manifests and lockfiles unchanged.

## Concerns

- Remove the temporary `fast-uri` compatibility once Renovate PR `#617`
completes.
- Re-enable `@babel/core` major updates after Stryker supports Babel 8.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

* chore(deps): update dependency fast-uri to v4 (#617)

This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [fast-uri](https://redirect.github.com/fastify/fast-uri) | [`3.1.4` β†’
`4.1.1`](https://renovatebot.com/diffs/npm/fast-uri/3.1.4/4.1.1) |
![age](https://developer.mend.io/api/mc/badges/age/npm/fast-uri/4.1.1?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fast-uri/3.1.4/4.1.1?slim=true)
|

---

### Release Notes

<details>
<summary>fastify/fast-uri (fast-uri)</summary>

###
[`v4.1.1`](https://redirect.github.com/fastify/fast-uri/releases/tag/v4.1.1)

[Compare
Source](https://redirect.github.com/fastify/fast-uri/compare/v4.1.0...v4.1.1)

#### ⚠️ Security Release

Fix for
<https://github.com/fastify/fast-uri/security/advisories/GHSA-v2hh-gcrm-f6hx>

**Full Changelog**:
<https://github.com/fastify/fast-uri/compare/v4.1.0...v4.1.1>

###
[`v4.1.0`](https://redirect.github.com/fastify/fast-uri/compare/v4.0.1...3a877384b5848967c963e0fd2b92d50539a80af9)

[Compare
Source](https://redirect.github.com/fastify/fast-uri/compare/v4.0.1...v4.1.0)

###
[`v4.0.1`](https://redirect.github.com/fastify/fast-uri/releases/tag/v4.0.1)

[Compare
Source](https://redirect.github.com/fastify/fast-uri/compare/v4.0.0...v4.0.1)

#### ⚠️ Security Release

- Fixes:
<https://github.com/fastify/fast-uri/security/advisories/GHSA-4c8g-83qw-93j6>

#### What's Changed

- fix: normalize scheme to lowercase (RFC 3986 Β§6.2.2.1) by
[@&#8203;spokodev](https://redirect.github.com/spokodev) in
[#&#8203;182](https://redirect.github.com/fastify/fast-uri/pull/182)
- chore: update depedabot setting by
[@&#8203;climba03003](https://redirect.github.com/climba03003) in
[#&#8203;179](https://redirect.github.com/fastify/fast-uri/pull/179)
- chore: replace http with https in urls by
[@&#8203;Fdawgs](https://redirect.github.com/Fdawgs) in
[#&#8203;184](https://redirect.github.com/fastify/fast-uri/pull/184)
- chore: bump actions/checkout from 6 to 7 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;186](https://redirect.github.com/fastify/fast-uri/pull/186)

#### New Contributors

- [@&#8203;spokodev](https://redirect.github.com/spokodev) made their
first contribution in
[#&#8203;182](https://redirect.github.com/fastify/fast-uri/pull/182)
- [@&#8203;climba03003](https://redirect.github.com/climba03003) made
their first contribution in
[#&#8203;179](https://redirect.github.com/fastify/fast-uri/pull/179)

**Full Changelog**:
<https://github.com/fastify/fast-uri/compare/v4.0.0...v4.0.1>

###
[`v4.0.0`](https://redirect.github.com/fastify/fast-uri/releases/tag/v4.0.0)

[Compare
Source](https://redirect.github.com/fastify/fast-uri/compare/v3.1.5...v4.0.0)

#### What's Changed

- refactor(types): migrate from tsd to tstyche by
[@&#8203;Tony133](https://redirect.github.com/Tony133) in
[#&#8203;172](https://redirect.github.com/fastify/fast-uri/pull/172)
- ci(ci): add node 26 to test matrices by
[@&#8203;Fdawgs](https://redirect.github.com/Fdawgs) in
[#&#8203;173](https://redirect.github.com/fastify/fast-uri/pull/173)
- chore: removed types deprecated by
[@&#8203;Tony133](https://redirect.github.com/Tony133) in
[#&#8203;174](https://redirect.github.com/fastify/fast-uri/pull/174)
- fix: escape bug by [@&#8203;zekth](https://redirect.github.com/zekth)
in [#&#8203;181](https://redirect.github.com/fastify/fast-uri/pull/181)

**Full Changelog**:
<https://github.com/fastify/fast-uri/compare/v3.1.2...v4.0.0>

###
[`v3.1.5`](https://redirect.github.com/fastify/fast-uri/compare/v3.1.4...5e179cbb4636d5f773ed21126e5bd3068e87e94e)

[Compare
Source](https://redirect.github.com/fastify/fast-uri/compare/v3.1.4...v3.1.5)

</details>

---

### Configuration

πŸ“… **Schedule**: (in timezone America/New_York)

- Branch creation
  - "before 6am on monday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend …
scttbnsn added a commit that referenced this pull request Oct 4, 2026
* docs(security): record and remediate 2026 review (#710)

## Summary

- record the dated 2026-08-13 security best-practices review
- cap concurrent password verification and bound agent, registry, and
container-log transports
- redact configured command and hook strings from APIs and logs

## Validation

- full pre-push gate
- app and UI coverage: 100%
- 147 repository script tests
- 83 workflow contract tests
- backend and UI builds
- actionlint, Zizmor, Qlty, npm audit, Gitleaks, Grype, Trivy, and
targeted Semgrep review

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ”’ Limit concurrent password verification with
`DD_AUTH_MAX_CONCURRENT_LOGIN_ATTEMPTS`.
- πŸ”’ Bound agent requests, SSE buffers, container log downloads, log
tails, and WebSocket backpressure.
- πŸ”’ Disable registry request redirects.
- πŸ”’ Redact configured command and hook strings from APIs and logs.
- ✨ Add regression tests for limits, redirect handling, stream cleanup,
and redaction.
- πŸ”§ Document authentication limits, container log bounds, hook secret
handling, and the 2026-08-13 security review.
- πŸ”§ Run backend and UI security tests, 100% coverage gates, builds,
repository checks, and security scans.

## Concerns

- ⚠️ Semgrep did not complete a clean scan because some test files timed
out or failed to parse.
- ⚠️ Operator-authorized shell execution remains a deployment risk.
- ⚠️ Outbound response-size limits remain dependent on integrations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* feat(web): share star history across product readmes (#711)

## Summary

- synchronize all six localized READMEs with the current English
structure, release facts, security warnings, governance links, and
first-party star tracker
- add a separate Crowdin README mapping and README-only workflow trigger
without changing the locale JSON mapping
- extend the self-hosted star-history route to exactly Drydock,
Sockguard, and Portwing with strict repo/theme/query validation and
existing bounded fetch/cache behavior

Sockguard and Portwing consumer changes are intentionally separate
follow-up work.

## Test plan

- full pre-push gate: 147 repository scripts, 109 workflow tests, 63
website scripts, UI type-check, app/UI 100% coverage, app/UI builds,
Biome, Qlty, and zizmor
- website production build: 349 pages
- runtime smoke: all three allowlisted repositories return named SVGs;
arbitrary repositories and unknown query keys return 400 with no-store

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- ✨ Added Crowdin mapping and tests for six localized README files.
- ✨ Added README translation guidance and translation contract tests.
- ✨ Added star-history request parsing and canonical URL utilities.
- πŸ”§ Updated all localized READMEs to release `1.6.0` content.
- πŸ”§ Added security warnings, governance links, roadmap updates, and
self-hosted star-history images.
- πŸ”§ Extended `/api/star-history` to `Drydock`, `Sockguard`, and
`Portwing`.
- πŸ”§ Added strict repository, theme, query, and GraphQL page validation.
- πŸ”§ Preserved bounded fetches, caching, and cache-key isolation.
- πŸ”§ Added `README.md` to the Crowdin workflow trigger.
- πŸ”’ Documented authentication, cookie, SSRF, and DNS security changes.
- πŸ”’ Added `nosniff` headers to star-history responses.
- ⚠️ Invalid or ambiguous star-history requests return `400` with
`no-store`.

## Concerns

- Complete deferred Sockguard and Portwing consumer integration in
follow-up work.
- Keep the Crowdin README mapping separate from the UI locale mapping.
- Verify all localized README content remains synchronized with the
English README.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* test(e2e): target tooltip anchors deterministically (#714)

Target shared-tooltip assertions by their bound DOM anchors so asynchronous layout shifts cannot retarget a stationary physical pointer. Add focused contracts covering both digest-tooltip surfaces and argument-bearing hover calls.

* chore(i18n): sync translations from Crowdin (#713)

Automated sync from Crowdin. Review wording, then merge.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added translated `appShell`, `containerComponents`, and
`containersView` entries across 18 locales.
- ✨ Added README translation tests for required labels and forbidden
source-English prose.
- πŸ› Fixed untranslated README output rejection.

## Concerns

- Review French, Italian, Russian, and other locale entries that still
contain English text.
- Verify `"ports": "Ports"` is intentional in each locale.
- Validate locale key parity, value types, interpolation tokens, and
plural forms.
- Confirm the README tests cover all translated files and expected
headings.
- Confirm the change set contains only generated translation files and
required tests.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Crowdin Bot <[email protected]>
Co-authored-by: Test <[email protected]>

* fix(mqtt): resync home assistant discovery (#712)

## Summary

- resync retained Home Assistant discovery for containers already loaded
at MQTT startup
- run the resync after command subscription so Install buttons reflect
live broker capability
- isolate store and per-container publish failures so trigger
initialization continues

## Verification

- RED: five focused startup-resync tests failed because
`resyncDiscovery` did not exist
- RED: MQTT lifecycle ordering resolved before discovery resync
- GREEN: 172 MQTT/Home Assistant tests pass
- GREEN: full backend suite passes 12,859 tests with 100% statement,
branch, function, and line coverage
- GREEN: lint, typecheck, app/UI builds, workflow tests, qlty, and
zizmor pass through the full pre-push hook

Closes #708


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- ✨ Added `Hass.resyncDiscovery()` to reload stored containers and
republish Home Assistant discovery configurations.
- πŸ”§ Changed MQTT trigger initialization to resynchronize discovery after
`initCommandSubscription()`.
- πŸ”§ Serialized per-container discovery updates and drained queued
synchronization during deregistration.
- πŸ› Fixed stale retained discovery payloads after broker capability
changes.
- πŸ› Fixed excluded-container discovery cleanup and command metadata
updates.
- πŸ”§ Isolated store and per-container publish failures so MQTT
initialization continues.
- ✨ Added tests for resynchronization, failure handling, ordering,
initialization timing, and deregistration lifecycle behavior.

- Verify that keyed synchronization matches the provider event-handling
convention.
- Confirm that error logging includes sufficient container context for
store and publish failures.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* chore(release): prepare v1.7.0-rc.1 (#715)

## Summary

- sets the exact `v1.7.0-rc.1` identity across packages, locks, demo
fixtures, all seven READMEs, website metadata, API examples, quickstart,
and changelog links
- advances current docs routing to `v1.7` while preserving `/docs/v1.6`
- archives the published v1.6 GA docs with immutable source-tree, blob,
file-set, and generated-changelog provenance checks
- makes the release precheck reject stale package, lock, README,
docs-route, changelog, and public release metadata

## TDD evidence

RED first failed on the stale v1.6 package/demo/public identities,
absent exact metadata validator, GA/RC quickstart mismatch, stale
roadmap states, missing v1.6 route/archive, and missing archive
provenance manifest. GREEN now proves:

- 154/154 maintenance tests
- 127/127 workflow tests
- 63/63 website script tests
- 43/43 translated README contracts
- backend and UI coverage at 100 percent
- backend, UI, website, and demo production builds
- strict `v1.7.0-rc.1` precheck against the private release tracker
- Biome, Qlty baseline, UI typecheck, and Zizmor

This PR changes release metadata and documentation only. It does not
tag, publish, dispatch `release-cut.yml`, or promote `dev/v1.7` to
`main`.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- ✨ Added `v1.7.0-rc.1` release identity across packages, lockfiles,
demos, READMEs, website metadata, API examples, quickstart content, and
changelog links.
- ✨ Added `v1.7` documentation routing while preserving `/docs/v1.6`.
- ✨ Added immutable v1.6 archive provenance metadata and byte-level
validation tests.
- ✨ Added release metadata prechecks for package versions, lockfiles,
badges, changelog entries, documentation routes, and public release
metadata.
- πŸ”§ Updated translated README contracts and release surfaces.
- πŸ”§ Updated CI checkout validation to require full history and disable
persisted credentials.
- πŸ”’ Expanded validation for archived documentation authentication,
unsafe configuration, and secret-scan exceptions.

## Concerns

- Confirm that release tagging, publishing, `release-cut.yml` dispatch,
and `dev/v1.7` promotion remain separate follow-up actions.
- Verify that v1.6 archive provenance matches the published source tree,
blobs, file set, and generated changelog.
- Run the full maintenance, workflow, website, translation, build,
coverage, precheck, lint, typecheck, and security checks.
- Review the 199-file change set manually because automated CodeRabbit
review was skipped.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(updates): preserve dependency context after admission (#718)

Fixes the release-blocking finding from the exact-head review on #716.

The dependency group admitted members independently, then rebuilt
dispatch and response graphs from only the accepted subset. When an
upstream update was rejected, a restart-only dependent lost its resolved
edge, was annotated as a normal update in wave 0, and entered the normal
pull/update trigger despite having no update.

This carries the original admission batch as dependency context through
both dispatch and API annotation. Rejected members do not receive
operations, but their graph nodes still preserve the confirmed wave and
restart action for accepted dependents.

TDD:
- RED: focused regression run failed 2 tests. Dispatcher never called
the restart primitive; API returned `actionKind: update, wave: 0`
instead of `restart, wave: 1`.
- GREEN: focused 95/95 tests pass.
- Full backend: 406 files, 12,868 tests, 100%
statements/branches/functions/lines.
- Full pre-push: scripts 158, workflows 127, web contracts 63, UI
typecheck, app/UI 100% coverage, app/UI builds, zizmor all pass.

Exact source: `ef92dc8c7fa8c2bbf7a0e936f37285163fb55113`.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ› Fixed dependency graph loss when an upstream container is rejected
during admission.
- πŸ”§ Preserved the original admission batch as `dependencyContext`
through dispatch and API annotation.
- πŸ”§ Preserved confirmed wave and `restart` action metadata for accepted
restart-only dependents.
- πŸ”§ Skipped dispatch entries without accepted operations.
- ✨ Added regression tests for rejected upstream dependencies and
restart-only dependents.
- πŸ”§ Passed focused tests: 95/95.
- πŸ”§ Passed backend tests across 406 files with complete coverage.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* revert: subtract unreviewed documentation tails (#719)

This is review-gap PR A. It subtracts only the two unreviewed historical
patch tails identified in the v1.7 promotion ledger. A separate reviewed
PR B will restore these four paths exactly from the frozen promotion
tree after this lands.

Frozen dev head: d3a94199e110a97544f9992354d359bd1fe80dcc
Frozen tree: a399f39980911e02e5795854aeeb557301d1cd51
Combined binary subtraction patch SHA-256:
59d99df8b587099ddc8393036634b9cd494258b46ba13535bff74b203bbb13df

Changed paths and blobs:
- AGENTS.md: 80657ad4435e5cd5e991da80b599df22f69a5e47 -> deleted
- RELEASING.md: a3d1fdd490c2859301bc7474949485845bed4e3b -> deleted
- apps/demo/src/mocks/data/audit.ts:
8bb17758119352e5ce059f2f1f44eb2aca8cf2e4 ->
ca0b43e9fbe0cb5f47f95ad5fb2b081c84c5714e
- content/docs/current/api/agent.mdx:
44e3c094fadd06bce8aa57e845470c492cfcaece ->
724cb228bf2446fd1067ad70fa1ce10ff264796c

The #705 overlap was resolved with a deterministic three-way
subtraction: current frozen dev as ours, e65d66b as the post-tail merge
base, and bb85369 as the pre-tail source. It produced no conflicts and
retained the later v1.7.0-rc.1 audit line byte-for-byte. The #706
reverse applied cleanly. The final diff changes exactly these four
paths.

Validation:
- full pre-push pipeline passed in 248.36s
- 158 script tests
- 127 workflow tests
- 63 website contract tests
- UI typecheck
- app and UI coverage at 100%
- app and UI builds
- Biome, Qlty gate, and zizmor

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ—‘οΈ Removed `AGENTS.md` and `RELEASING.md`.
- πŸ”§ Changed audit mock timestamps from August 2026 to March 2026.
- πŸ”§ Changed `agent.mdx` example timestamps to March 2026.

## Concerns

- Restore the deleted documentation from the frozen promotion tree in
the follow-up reviewed PR.
- Confirm that timestamp changes match all related fixtures and
documentation examples.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* docs: restore reviewed contributor and release guidance (#720)

Restore the four historical documentation and fixture paths through a fully reviewed change, then correct contributor and release guidance and bind its contract to the actual pre-push hook commands.

* test(i18n): harden README translation contracts (#721)

## Summary

- bind localized v1.7 release bullets to their intended discussion and
issue links
- require every translated README to preserve the source README URL
multiset
- verify balanced `details`, `summary`, and `em` tags across source and
translated READMEs

## Verification

- focused translation contracts: 76/76
- full workflow suite: 160/160
- Biome and `git diff --check`
- full pre-push pipeline: qlty, 161 script tests, workflow tests, UI
typecheck, 63 web script tests, 100% app/UI coverage, app/UI builds, and
zizmor
- normal push hook repeated the full pipeline successfully

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Changelog

- ✨ Added URL multiset checks for translated READMEs.
- ✨ Added link checks for localized v1.7 release bullets.
- ✨ Added balanced `details`, `summary`, and `em` tag checks.
- ✨ Verified 76/76 translation contracts, 160/160 workflow tests,
formatting checks, and the full pre-push pipeline.

### Concerns

- Confirm that the new checks use existing repository test utilities
where applicable.
- Confirm that localized release bullet matching remains stable for
future translation changes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(agents): make edge poll interval configurable (#723)

Closes #688

## What changed

- add `DD_PORTWING_POLL_INTERVAL` for controller-owned Edge refresh
cadence
- validate positive integer seconds with a 300-second fallback
- send the configured value in the authenticated welcome frame and agent
metadata
- document the setting and protect the public contract with tests

## Verification

- focused configuration and WebSocket tests: 418 passed
- full backend: 12,879 passed, 100% statements/branches/functions/lines
- scripts: 162 passed
- workflows: 160 passed
- full pre-push gate: passed, including app/UI coverage and production
builds

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

✨ Added `getPortwingPollInterval()` with `DD_PORTWING_POLL_INTERVAL`
support.

πŸ”§ Changed the authenticated WebSocket welcome frame and agent metadata
to use the configured interval.

πŸ”§ Changed invalid or unspecified values to fall back to `300` seconds.

✨ Added configuration, handshake, metadata, and documentation contract
tests.

✨ Documented the controller-owned setting and added a Docker Compose
example with a `60`-second interval.

πŸ—‘οΈ Removed the obsolete `.gitleaksignore` exception for the test token
hash.

## Concerns

- Verify the controller-provided interval remains the Edge/WebSocket
override for agent-side polling.
- Preserve rejection of fractional, non-positive, non-numeric, empty,
and unsafe-integer values.
- Keep `DD_AGENT_POLL_INTERVAL` excluded from the documentation
contract.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(agents): surface edge exec end reasons (#724)

Closes #635

## What changed

- preserve the optional Portwing `exec_end.reason` at the Edge session
boundary
- expose an optional `endCallback` to the internal exec consumer
- delete the completed session before invoking consumer code so a
throwing callback cannot leak state
- isolate callback failures during disconnect so later sessions and
agent cleanup still complete
- keep outbound teardown and non-string reason handling unchanged

## Verification

- RED: four reason/callback contracts failed because the reason was
dropped
- RED: disconnect cleanup rejected on the first throwing callback and
skipped later sessions
- GREEN: focused adapter suite 161/161
- full pre-push gate passed in 284 seconds
- app and UI coverage remain 100%
- application and UI production builds passed

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added optional `endCallback` support for exec consumers.
- ✨ Added Portwing `exec_end.reason` propagation.
- πŸ”§ Updated `ExecSession.close(code?, reason?)` to forward string
reasons.
- πŸ› Deleted completed sessions before invoking callbacks.
- πŸ› Isolated disconnect callback failures so cleanup continues.
- ✨ Added regression tests for reason validation, callback failures, and
disconnect cleanup.
- πŸ”’ Preserved outbound teardown and non-string reason behavior.
- βœ… Verified focused adapter tests, the full pre-push gate, coverage,
and production builds.

## Concerns

- Confirm that `endCallback` remains internal and does not require
public API documentation.
- Confirm that callback errors use the project’s standard logging
utility and error format.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(agent): normalize controller-owned registry identities (#725)

Closes #687

## What changed

- normalize complete controller-owned Portwing image records through the
existing configured-provider path
- use the canonical registry name, URL, credentials, and image identity
before persistence and native refresh
- preserve traditional agent behavior and partial-event handling
- cover initial inventory and subsequent Portwing event ingestion

## Verification

- RED: both inventory and event paths retained `registry.name=unknown`
and skipped the native registry query
- GREEN: affected AgentClient/image-comparison suite 607/607
- full backend 12,872 tests at 100% coverage on the fix commit
- full pre-push gate passed in 276 seconds after current-dev integration
- live exact-commit tri-tool smoke returned watch-now HTTP 200, queried
`hub.public`, detected BusyBox `1.36.1`, made 46 native Docker GETs, and
made zero legacy watcher POSTs

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added controller-side normalization for Portwing containers from
Docker transport watchers.
- πŸ”§ Changed inventory and incremental event handling to use configured
registry identity, URL, credentials, and image identity.
- πŸ”§ Preserved traditional agent normalization and partial-event
handling.
- πŸ› Fixed controller-owned registry checks for agent-synced containers.
- ✨ Added tests for anonymous Docker Hub registration, image
normalization, and native watcher identity.
- πŸ”§ Verified affected tests, the backend suite, the pre-push gate, and
live tri-tool smoke tests.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(registries): propagate manifest created fetch failures (#726)

Closes #606

## What changed

- propagate exhausted manifest and blob transport failures instead of
converting them to successful `undefined`
- preserve resolved digest results only when optional created-metadata
requests return 301, 302, 303, 307, or 308, while keeping redirect
following disabled
- keep contextual child debug logging and rethrow the original 304, 4xx,
5xx, network, and non-object failures
- preserve optional handling for missing config digests, absent or
non-string `created`, and invalid dates

## Why

The first implementation correctly fixed #606, but the exact-head
Playwright fixture exposed the mirror registry returning 302 for
optional blob metadata. Because registry requests intentionally use
`maxRedirects: 0`, rethrowing that 302 aborted digest watch and hid a
real Nginx update. CodeRabbit then caught that a broad 3xx predicate
also swallowed `304 Not Modified`; the final allowlist excludes
non-redirect statuses.

## Verification

- RED: four original failure cases resolved successfully instead of
rejecting
- RED: schema v2 blob 302 and manifest 307 rejected instead of
preserving the resolved digest
- RED: manifest 304 resolved with a digest instead of rethrowing the
original error
- GREEN: redirect and failure-propagation focus 5/5
- GREEN: Registry, BaseRegistry, image-comparison, and Docker boundary
597/597
- GREEN: full pre-push in 273.80 seconds, including 323 script/workflow
tests, app/UI 100% coverage, and both builds
- exact patch is limited to `app/registries/Registry.ts` and
`app/registries/Registry.test.ts`

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ› **Fixed:** Propagate manifest configuration and blob transport
failures instead of returning `undefined`.
- πŸ› **Fixed:** Preserve original rejection values, including non-`Error`
values.
- ✨ **Added:** Preserve resolved digests for optional metadata requests
that return HTTP 301, 302, 303, 307, or 308.
- πŸ”§ **Changed:** Keep redirect following disabled.
- πŸ”§ **Changed:** Preserve contextual debug logging for non-redirect
failures.
- ✨ **Added:** Tests for HTTP 304, 4xx, 5xx, network, redirect, missing
metadata, invalid dates, child logging, and legacy blob mocks.
- πŸ”§ **Changed:** Limit implementation changes to `Registry.ts` and
`Registry.test.ts`.

## Concerns

- Verify `isRedirectError` matches only HTTP 301, 302, 303, 307, and
308.
- Verify `BaseRegistry` caching preserves prior digest-watch verdicts
after propagated failures.
- Verify tag-only requests still treat missing or invalid `created`
metadata as optional.
- Check whether an existing shared HTTP-status utility should replace
`isRedirectError`.
- Check whether `Registry` error handling remains consistent with the
`BaseRegistry` provider pattern.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* docs(release): update v1.7.0-rc.1 notes (#727)

## Summary

- date the v1.7.0-rc.1 release metadata for the August 14 cut
- document the four post-promotion fixes without changing their issue
state
- keep all seven translated README anchors and release contracts in sync

## TDD

- RED: release identity failed on the stale August 13 headings and
missing #606, #635, #687, and #688 notes
- RED: the translation contract failed all six localized README anchors
- GREEN: release identity 12/12 and translation contract 76/76

## Verification

- `node --test scripts/*.test.mjs` (164/164)
- `npm run test:workflows` (160/160)
- `npm run release:precheck -- v1.7.0-rc.1 --strict --tracker <private
tracker>`
- website scripts 63/63, typecheck, and production build (437 pages)
- normal pre-push hook, including 100% app/UI coverage and both builds

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added
- Added release metadata checks for issues `#606`, `#635`, `#687`, and
`#688`.
- Added checks for required fix descriptions.
- Added checks that reject broad `3xx` wording and require explicit
redirect statuses `301`, `302`, `303`, `307`, and `308`.
- Preserved `304` as a propagated failure.

πŸ”§ Changed
- Updated v1.7.0-rc.1 release identity from August 13 to August 14,
2026.
- Updated seven translated README changelog anchors.
- Added release highlights for Portwing, Edge reliability, registry
metadata failures, and redirect responses.
- Documented post-promotion fixes without implying issue closure.

- Verify the `README.pt-BR.md` anchor direction. Its generated summary
reports a change from August 14 to August 13, which conflicts with the
release update.
- Confirm all release identity, translation, workflow, website,
typecheck, build, and pre-push checks pass.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* test(release): enforce redirect allowlist in notes

* feat(web): add privacy-first PostHog analytics (#731)

Replace Vercel telemetry with a cookieless, allowlisted PostHog contract for pageviews, CTAs, and web vitals.

* test(web): bind approved CTA combinations (#733)

## Summary

- enumerate every approved analytics CTA tuple
- prove the runtime allowlist exposes every documented CTA ID and
placement
- close the exhaustive-coverage gap found during the dev-to-main
promotion review

## Verification

- mutation RED: removing `marketing\0install_quick\0get_started` fails
the new exhaustive contract
- GREEN: focused analytics contracts pass 8/8
- full normal pre-push passes, including 100% app/UI coverage and both
builds

Refs #732

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added `ANALYTICS_CTA_TUPLES` as the canonical list of approved
surface, CTA, and placement combinations.
πŸ”§ Derived `ALLOWED_CTA_TUPLES` from `ANALYTICS_CTA_TUPLES`.
✨ Added exhaustive contract tests with `APPROVED_CTA_TUPLES`.
✨ Verified that exported tuples and `isAllowedCta` match the approved
allowlist.
✨ Verified the mutation test, 8 focused analytics contract tests, full
pre-push suite, 100% app/UI coverage, and both builds.

- No actionable concerns identified.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(i18n): restore README translation parity (#735)

## Summary

- apply the fresh six-README Crowdin output to the current `dev/v1.7`
tree
- restore localized public labels and the v1.7 dependency/security link
mapping
- remove source-English regressions from the Chinese README and restore
exact URL and HTML-tag parity
- clarify fail-closed authentication wording and fix localized
table/link rendering found during review

## Verification

- RED: exact Crowdin head `8e08831e52d98765000ac20c23783e195da718d8`
failed 12 of 76 translation contracts
- GREEN: focused translation contract passes 76/76
- review RED/GREEN: temporary focused review contract failed 4/4 before
the wording/markup fixes and passed 4/4 afterward; the disposable test
was removed so the product diff remains six READMEs
- full workflow contracts pass 160/160
- repository maintenance scripts pass 166/166
- normal pre-push hook passes twice, including Biome, Qlty, UI
typecheck, 100% app/UI coverage, and app/UI builds
- `git diff --check` passes

## Frozen review identity

- base: `9db36cce930532f044d1fa5e294cf9a622ab14e8`
- head: `ccadd6516520b2f9e0ffaa76c20849c1cbaf0a7d`
- tree: `b3cd1d00173a153c310ef918c81e4c8b00cd6a6a`
- patch SHA-256:
`c0cd81d58e35a2855958e85181bd49acf5eb7dd3788b2485caf49ec56e46d01f`
- scope: exactly six translated README files

Greptile review is skipped under the explicitly accepted
exhausted-credit decision. CodeRabbit, CI, and human language review
remain required.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”§ Updated six translated README files to restore source-content, link,
URL, and HTML-tag parity.
- πŸ”§ Reformatted badges, collapsible sections, screenshots, feature
tables, comparison tables, roadmap tables, documentation tables, and
ecosystem tables.
- πŸ”’ Documented fail-closed authentication behavior across translations.
- πŸ”§ Updated localized v1.7 release, security, dependency, lifecycle,
migration, and star-history references.
- πŸ”§ Corrected translated labels and integration headings.
- πŸ—‘οΈ Removed an obsolete German roadmap note.

## Concerns

- Verify all translated README links and URLs against the source README.
- Verify HTML and Markdown tables render correctly on GitHub.
- Verify `<details>` summaries remain accessible and consistent.
- Confirm no translated content was lost during structural reformatting.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(compose): refresh image-inherited runtime defaults (#736)

Squash merge of reviewed head 1074a1f6 into dev/v1.7.

* fix(i18n): correct reviewed README terminology (#738)

## Summary

- preserve the Cosign product name in the Spanish security descriptions
- complete the Polish roadmap localization and correct the `curl`
removal note
- correct Chinese Docker-socket, localization, release-intelligence,
scanner, and domain terminology
- preserve Polish Compose, Docker digest, update-mode, routing,
resource-action, and template-variable semantics

## TDD verification

- initial RED: a focused seven-case translation contract failed 7/7 on
exact dev `4fc848253210a6885fd95a1916cb5ee3416e0695`
- initial GREEN: the same contract passed 7/7 after the first three
README edits
- first-review RED: a focused three-case contract failed 0/3 on exact
`8ba66139f46123313c7ca91381bf2c8bca03a598`
- first-review GREEN: the same contract passed 3/3 after preserving
Compose/matching semantics, natural Polish roadmap terminology, and all
Chinese scanner/backend choices
- exact-review RED: a focused three-case contract failed 3/3 on exact
`7df439f04f386800051a9bf57f86d55f2234d9e8`
- exact-review GREEN: the same contract passed 3/3 after preserving
Polish routing, template-variable, Docker digest rebuild, update-mode,
and resource-action semantics
- disposable review tests were removed so this fix remains a
three-README product diff
- existing translation contract passes 76/76
- full workflow contracts pass 160/160
- repository maintenance scripts pass 166/166
- latest normal pre-push hook passes in 290 seconds, including Biome,
Qlty, UI typecheck, 100% app/UI coverage, and app/UI builds
- `git diff --check` passes

## Frozen identity

- base: `4fc848253210a6885fd95a1916cb5ee3416e0695`
- head: `9cff7f21a489e60f030bc5742c9e4b2d17649450`
- tree: `297d2aa5a463a3d6b708602e50a834fad5c21ae7`
- patch SHA-256:
`a9e23eae01f487dec7927488762f7799ab3b46682ed7d105feb720049890d73b`
- scope: exactly `README.es.md`, `README.pl.md`, and `README.zh-CN.md`

This feature PR addresses the exact-head translation findings from
promotion PR #737 and the verified follow-up findings from its own
reviews. Greptile is waived under the explicitly accepted
exhausted-credit decision. Exact-head CodeRabbit, CI, and genuine human
language review remain required.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ› Fixed Spanish `Cosign` signature-verification terminology.
- ✨ Added Polish roadmap localization for headers and release entries.
- πŸ› Corrected the Polish `curl` removal note.
- πŸ› Corrected Chinese terminology for Docker socket mounting, UI
localization, release intelligence, scanner options, backend, and
website naming.

## Concerns

- Verify terminology against the source README files.
- Confirm roadmap consistency across localized README files.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(i18n): localize README table labels (#739)

## Summary

- restore five localized roadmap/resource table labels found during the
final D4 promotion language review
- keep the correction to one label cell each in German, Spanish, French,
Polish, and Brazilian Portuguese
- leave the already-reviewed translations and Compose changes unchanged

## TDD evidence

- focused table-header contract RED: 5 failed, 161 passed
- focused table-header contract GREEN: 166 passed
- temporary contract removed after RED/GREEN to preserve the
eight-product-path promotion endpoint
- permanent README translation contract: 76/76
- full workflow suite: 160/160
- normal pre-push: clean tree, Biome, qlty, 166 script tests, 160
workflow tests, UI typecheck, app/UI 100% coverage, and app/UI builds
all passed

## Exact scope

- `README.de.md`: `Highlights` β†’ `HΓΆhepunkte`
- `README.es.md`: `Version` β†’ `VersiΓ³n`
- `README.fr.md`: `Link` β†’ `Lien`
- `README.pl.md`: `Resource` β†’ `ZasΓ³b`
- `README.pt-BR.md`: `Link` β†’ `LigaΓ§Γ£o`

Greptile is waived under the accepted exhausted-credit decision.
Exact-head CodeRabbit, CI, and genuine language approval remain
required.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”§ Changed localized README table labels:
  - German: `Highlights` β†’ `HΓΆhepunkte`
  - Spanish: `Version` β†’ `VersiΓ³n`
  - French: `Link` β†’ `Lien`
  - Polish: `Resource` β†’ `ZasΓ³b`
  - Brazilian Portuguese: `Link` β†’ `LigaΓ§Γ£o`

## Concerns

- Verify the Polish diff. The raw summary also reports `Link` β†’ `Link`,
while the objectives report only one changed label.
- Confirm all reported validation checks pass.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(web): forward $raw_user_agent and $host for cookieless ingestion (#740)

## Summary

- `before_send` in `apps/web/src/lib/analytics-contract.ts` rebuilt
every outgoing PostHog event from a hard allowlist that dropped
`$raw_user_agent` and `$host`. PostHog's cookieless server-hash
ingestion step reads those two fields straight off `event.properties`
and silently drops the event (`cookieless_missing_user_agent` /
`cookieless_missing_host`) if either is absent β€” same bug fixed in
CodesWhat/portwing#124.
- `createBeforeSend` now requires both fields (drops the event if either
is missing or empty) and forwards them through unchanged. `$ip` is
deliberately never forwarded β€” PostHog's capture service fills it in
server-side from the request connection.

## Test plan

- [x] `apps/web/scripts/analytics-contract.test.mjs` β€” added a dedicated
regression test pinning that `$raw_user_agent`/`$host` are required and
forwarded, and that events missing either are dropped; updated existing
fixtures to carry the new required fields.
- [x] `apps/web/scripts/analytics-integration.test.mjs` β€” added a
source-scan regression guard analogous to portwing's
`web-analytics-source.test.mjs`.
- [x] `npm run test:scripts` (apps/web) β€” 87/87 passing
- [x] `npm run type-check` (apps/web) β€” clean
- [x] `npm run lint` (apps/web) β€” clean
- [x] full pre-push hook suite (qlty, workflow-tests, typecheck-ui,
web-scripts-test, coverage, build) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ”§ Changed `createBeforeSend` to require non-empty `$raw_user_agent`
and `$host`.
- πŸ—‘οΈ Dropped events that omit either cookieless ingestion field.
- πŸ”§ Forwarded `$raw_user_agent` and `$host` in sanitized events.
- πŸ”’ Continued excluding `$ip`; PostHog supplies it server-side.
- ✨ Added regression and source-scan coverage.
- πŸ”§ Updated analytics fixtures and invalid-input cases.
- βœ… Script tests, type checks, linting, and pre-push checks pass.

- Confirm that all analytics event producers provide non-empty
`$raw_user_agent` and `$host`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(store): persist updatePolicyRetentionCache across process restart (#743)

## Summary
- Round 3 of the #565 thread: a controller self-update (recreate ->
SIGTERM -> new process) still wiped stashed maturity-policy overrides
for a replacement container, even though the sibling lifecycle/clock
cache (`updateLifecycleCache`) already survives the same restart per
#556.
- `updatePolicyRetentionCache` only ever lived in a bare in-memory
`Map`, so `stashUpdatePolicyForReplacement()`'s stash was gone before
the replacement container's `insertContainer()` call could consume it in
the new process.
- Gives `updatePolicyRetentionCache` the same durable,
write-through-backed collection `updateLifecycleCache` already has: a
new `app/store/update-policy-retention-cache.ts` module, write-through
on stash, delete-on-consume, and
`rehydrateUpdatePolicyRetentionCacheFromStore()` wired into
`store/index.ts` startup before the first `insertContainer` runs.
- Does not touch the round-1 (clock-restart, #568) or round-2
(empty-override-authoritative, #624) fixes, which are already correct.
- The remaining half of the report β€” policy loss from a pure 0-container
remote-agent handshake with no controller restart β€” isn't explained by
this fix. The existing zero-container handshake path already skips
`pruneOldContainers`/`deleteContainer` entirely, so that part needs more
repro detail from the reporter before a second root cause can be pinned
down.

## Test plan
- [x] `npx vitest run store/container.test.ts store/index.test.ts
store/update-lifecycle-cache.test.ts
store/update-policy-retention-cache.test.ts` β€” new "simulated process
restart" test pins the fix; also new dedicated unit tests for the new
store module and wiring-order assertions in `store/index.test.ts`
- [x] `npm test` in `app/` β€” 12907 tests pass, 100% coverage
- [x] `npx tsc --noEmit` and `npx biome check .` clean
- [x] Pre-push hooks (biome, qlty, workflow-tests, typecheck-ui,
coverage, build) all green

Fixes: #565

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added a durable LokiJS-backed store for update-policy retention
records.
- πŸ”§ Changed `updatePolicyRetentionCache` to write through to persistent
storage.
- πŸ”§ Changed cache consumption, expiration, and size eviction to delete
persistent records.
- πŸ”§ Changed startup to rehydrate unexpired records before the first
`insertContainer` call.
- πŸ› Fixed maturity-policy overrides being lost during controller process
restarts.
- ✨ Added tests for persistence, rehydration, expiration pruning,
eviction, deletion, and startup ordering.

## Concerns

- Verify behavior during zero-container remote-agent handshakes without
a controller restart. This PR does not cover that loss path.
- Verify the new store follows existing store initialization and
persistence conventions.
- Review whether `unknown` for `updatePolicyOverrides` preserves the
required type safety.
- Check whether cache persistence and rehydration logic duplicates
existing store utilities.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* ci: migrate workflow security to the reusable go-ci caller (#742)

## Summary
- Replace the inline `zizmor` job in `ci-verify.yml` with a caller job
(`security-actions`) into `CodesWhat/.github`'s `go-ci.yml` reusable
`workflow-security` gate, pinned at
`01bf40b06b110946f12a49b82e407d77c6480df7`.
- Add a temporary fail-closed bridge job (`legacy-security-actions`)
that republishes the caller's result under the old plain `Security:
Actions` check context, so branch protection keeps working unchanged
during the migration window.
- Repoint every job that depended on the removed `zizmor` job
(`secrets`, `codeql`, `fuzz`) at `security-actions`.

## Naming resolution
- Caller job: key `security-actions`, `name: "Security: Actions"` β†’
GitHub reports this as the composite context `Security: Actions /
Workflow Security` (reusable-workflow-call jobs report as `<caller job
name> / <called workflow job name>`).
- Bridge job: key `legacy-security-actions`, `name: "Security: Actions"`
β†’ reports as the plain context `Security: Actions`, identical to what
the removed inline job published.
- These are two different job keys with the same display `name`, which
GitHub allows (job identity for check-run purposes is the job key +
workflow, not the display name) and produces two distinct, non-colliding
check contexts because one is a reusable-workflow-call job and the other
isn't.

## Test plan
- [x] `npm run test:workflows` β€” 166/166 passing (17 files), including
new `.github/tests/reusable-ci-config.test.ts` and extended
`ci-verify-workflow.test.ts` / `harden-runner-workflow.test.ts`
- [x] `node --test scripts/*.test.mjs` β€” passing (ran as part of
pre-push hook)
- [x] `npx biome check .` β€” clean
- [x] Local `zizmor` pre-push hook scan of `.github/workflows/*.yml` β€”
no findings
- [x] Full pre-push hook chain (clean-tree, ts-nocheck, biome, qlty,
qlty-smells, scripts-test, workflow-tests, typecheck-ui, coverage,
build, zizmor) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ”’ Added a pinned `security-actions` reusable workflow caller from
`CodesWhat/.github/go-ci.yml`.
- πŸ”§ Disabled Go test and lint jobs for this Go-less repository.
- ✨ Added a fail-closed `legacy-security-actions` bridge for the
existing `Security: Actions` branch-protection context.
- πŸ”§ Updated `secrets`, `codeql`, and `fuzz` job dependencies.
- πŸ”’ Required `actions:read`, `contents:read`, and
`security-events:write`.
- πŸ”§ Added validation for workflow pinning, permissions, disabled Go
jobs, bridge behavior, and blocked egress.
- πŸ—‘οΈ Removed the inline `zizmor` job.

## Concerns

- Remove `legacy-security-actions` after branch protection no longer
requires `Security: Actions`.
- Keep the frozen `go-ci.yml` SHA synchronized with the approved
revision.
- Preserve the fail-closed bridge contract and `egress-policy: block`.
- Confirm the reusable workflow remains compatible with the required
`security-events: write` permission.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* ci(verify): remove legacy security-actions bridge (#745)

## Summary
- Ruleset 13077055 was narrowed to require `Security: Actions / Workflow
Security` (the reusable go-ci caller's composite context) instead of the
old plain `Security: Actions` context. The `legacy-security-actions`
fail-closed bridge job in `.github/workflows/ci-verify.yml`, which
existed only to republish the old plain name, is now unreferenced by
branch protection and has been removed.
- Updated `.github/tests/ci-verify-workflow.test.ts` to drop the
assertion on the removed job's name and add a retired-context rejection
test (mirrors portwing #122 / sockguard #260): asserts the
`legacy-security-actions` job is gone and that no job (other than the
legitimate `security-actions` reusable caller, whose `name:` field is
the composite prefix, not a standalone check) republishes the bare
`Security: Actions` name. The regex is anchored to `^[ \t]*name:` with
optional quotes so it can't false-positive on an input key like
`workflow-security-check-name:`.
- Updated `.github/tests/harden-runner-workflow.test.ts` to drop the
block-egress carve-out and dedicated bridge test that only existed for
the removed job; every remaining Harden Runner step now uses the
standard `audit` policy.

## Test plan
- [x] `npm run test:workflows` β€” 167/167 pass
- [x] Full `git push` pre-push gate (clean-tree, ts-nocheck, biome,
qlty, qlty-smells, scripts-test, workflow-tests, typecheck-ui, coverage,
build, zizmor) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ—‘οΈ Removed the obsolete `legacy-security-actions` bridge job from
`.github/workflows/ci-verify.yml`.
- πŸ”§ Updated workflow tests to reject the retired job and bare `Security:
Actions` check context.
- πŸ”’ Removed the Harden Runner egress-policy exception for the bridge
job.
- πŸ”§ Removed the bridge-specific Harden Runner test.
- πŸ”§ Verified workflow tests and the full pre-push gate pass.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* test(workflows): exclude nested worktrees from vitest discovery (#747)

The primary checkout's pre-push workflow-tests gate runs `vitest run
.github/tests`, which also discovers every nested preserved worktree's
copy of the suite under `.claude/worktrees/` (and legacy
`.codex/worktrees/`). A parked WIP worktree with intentionally-failing
tests (e.g. the held Warpchart README branch awaiting its Crowdin cycle)
then blocks unrelated pushes from the primary checkout, including branch
deletions. Exclude those paths from discovery; each worktree still runs
its own suite from its own root.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

### Changelog

- ✨ Added Vitest exclusions for `.claude/worktrees/` and
`.codex/worktrees/`.
- πŸ”§ Changed the configuration to extend `configDefaults.exclude`.
- πŸ› Fixed test discovery in the primary checkout by ignoring nested
preserved worktrees.

### Concerns

- Verify that each worktree runs Vitest from its own root and is not
excluded by these patterns.
- Add or update tests for both worktree paths if coverage is missing.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* test(configuration): restore digest-pinned node base image guard (#749)

## Summary
- The regression test `release image builds from the digest-pinned Node
base image` in `app/configuration/dockerfile-defaults.test.ts` was
silently dropped at a70d406e ("chore(release): promote v1.7.0-rc.1 to
main"). Restored it exactly as it read at a70d406e^.
- No digest bump: the Dockerfile still pins
`node:24-alpine@sha256:d32cdf6...`, and resolving the `node:24-alpine`
tag against Docker Hub's registry API confirms that digest is still
current, so there's no newer image to move to (and no basis to link this
to CVE-2026-58055/nghttp2-libs at this time).

## Test plan
- [x] `npx vitest run configuration/dockerfile-defaults.test.ts` β€” 5
passed
- [x] `npm run lint` (biome) β€” clean
- [x] `git push` β€” full pre-push hook chain (biome, qlty, coverage 100%,
build) passed

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added a regression test for the digest-pinned `node:24-alpine` base
image in `app/configuration/dockerfile-defaults.test.ts`.
- πŸ› Fixed missing coverage for release image builds after the
v1.7.0-rc.1 promotion.

## Validation

- Vitest passed.
- Biome linting passed.
- Pre-push checks passed.
- Coverage passed.
- Build passed.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(ui): guard container view against remote property injection (#750)

## Summary

Fixes CodeQL alert #556 (`js/remote-property-injection`,
CWE-250/CWE-400) in `ui/src/views/ContainersView.vue`.

- **Sink**: `normalizeQueryRecord()` copied `route.query` into a plain
`Record<string, string>` via `normalized[key] = normalizedValue`, where
`key` comes directly from the URL query string
(`Object.entries(route.query)`). CodeQL flags any dynamically-computed
property name write reached from a remote/URL-controlled value,
regardless of the target object's shape β€” the alert pointed at two call
sites that flow into this same write (`buildSyncedRouteQuery` and
`syncRouteQueryFromState`).
- **Fix**: accumulate the normalized entries in a `Map<string, string>`
instead of writing onto a plain object with bracket notation, then
materialize the result in one shot with `Object.fromEntries(map)`.
`Map.set` and `Object.fromEntries` are method calls, not syntactic
property writes, so there's no `obj[dynamicKey] = value` pattern for the
sink to match. `Object.fromEntries` also uses `CreateDataProperty`
semantics rather than `[[Set]]`, so even an attacker-chosen key like
`__proto__` lands as an inert own data property instead of mutating the
object's actual prototype chain β€” closing the underlying vulnerability
class, not just satisfying the checker.
- No suppression comments were used; this is a root-cause fix, and
behavior for legitimate query keys is unchanged (verified by existing +
new tests).

## Test plan

- [x] Added `ui/tests/views/ContainersView.spec.ts` β†’ `describe('remote
property injection guard (CodeQL #556)')`:
- unit-tests `normalizeQueryRecord` directly with a malicious
`"__proto__"` query key (constructed via `JSON.parse` so it's a real own
property, since object-literal `{ __proto__: ... }` syntax is
special-cased and would silently no-op) and asserts `Object.prototype`
is untouched while the legitimate key is preserved.
- exercises the full `route.query` β†’ `router.replace` sync path with the
same malicious query and asserts the emitted query object still has a
normal prototype and no global pollution occurred.
- [x] `cd ui && npx vitest run tests/views/ContainersView.spec.ts` β€” 164
tests pass (162 existing + 2 new).
- [x] `cd ui && npm run lint` β€” clean.
- [x] `cd ui && npm run typecheck` β€” clean.
- [x] `git push` β€” full pre-push hook suite passed (biome, qlty,
qlty-smells, coverage @ 100% for app+ui, app+ui build).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”’ **Security:** Prevent prototype pollution from attacker-controlled
query keys in `normalizeQueryRecord()`.
- πŸ”§ **Changed:** Normalize query entries with `Map<string, string>` and
`Object.fromEntries`.
- ✨ **Added:** Regression tests for `__proto__` normalization and
route-query synchronization.
- πŸ”§ **Changed:** Verify legitimate query keys remain intact and
`Object.prototype` remains unchanged.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* feat(triggers): add onauto auto mode and dd.action.auto label plumbing (#752)

Slice 1 of the 6.0.1 per-action policy package (#511): inert plumbing
only.

- `TriggerAutoMode` widens to `all | oninclude | onauto | none`; in this
slice `onauto` behaves identically to `oninclude` (closed by default,
auto handlers register). Its real semantics β€” `dd.action.include` grants
manual, `dd.action.auto` grants auto β€” land with the policy resolver in
the next slice.
- New `dd.action.auto` label constant and `actionTriggerAuto` field
threaded through label resolution, the container model, and store
normalization, mirroring `actionTriggerInclude`'s flow exactly
(override-vs-label precedence, no deprecated mirror, action category
only).
- Nothing consumes `actionTriggerAuto` yet.

Full suite: 12,922 tests, 100% coverage both gates.

Part of the v1.7 per-action access/auto-execution policy (prerequisite
for the DEPRECATIONS.md soft-to-hard blocker flip, which ships in the
final slice of this package, never alone).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added
- Added `dd.action.auto` label support.
- Added optional `actionTriggerAuto` to the `Container` model and Joi
schema.
- Added `actionTriggerAuto` to trigger-label resolution, Docker
overrides, container derivation, and store normalization.
- Added `onauto` to `TriggerAutoMode` and the `AUTO` Joi enum.
- Added tests for label mapping, precedence, normalization, filtering,
and Docker propagation.

πŸ”§ Changed
- `onauto` follows `oninclude` behavior.
- Label resolution limits `dd.action.auto` to the action category.
- Nullish fallback preserves explicit empty `actionTriggerAuto`
overrides.
- The label does not create a deprecated mirror.

Concerns:
- `actionTriggerAuto` has no consumer. Add policy resolution in the next
slice.
- Confirm all `AUTO` enum declarations and validation paths include
`onauto`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* feat(model): add per-action policy resolver (#755)

Slice 2 of the 6.0.1 per-action policy package (#511), stacked on #752.

- `app/model/action-policy.ts`: pure resolver returning one `blocked |
manual | auto` state per (action trigger, container).
`dd.action.exclude` always wins; access is open for `AUTO=all|none` and
label-granted otherwise; `dd.action.auto` implies access under `onauto`;
`oninclude` keeps its legacy conflated meaning (include grants
manual+auto) so no existing deployment changes behavior.
- `selectActionTrigger`: specificity-ranked candidate walk (file-matched
compose > catch-all compose > generic docker, ties by insertion order
with a one-time warn) β€” skip default-deny candidates, hard-stop on an
explicit exclude, first authorized wins. Replaces
first-compatible-by-insertion-order for eligibility display.
- `trigger-reference-matching.ts`: the `name[:threshold]` grammar
extracted from `Trigger.ts` so the resolver reuses the exact matching
machinery without a require cycle.
- `computeUpdateEligibility` derives
`trigger-excluded`/`trigger-not-included` from the resolver verdict.
Blocker reasons and severities unchanged (both still soft β€” the hard
flip is the final slice of this package).
- Parametrized tests cover the full migration table and regression
matrix from the phase spec, plus equivalence tests proving selection
matches `findDockerTriggerForContainer` for every legacy scenario.

Admission and auto-dispatch wiring are slices 3-4. Global `updateMode`
remains a call-site clamp, untouched here.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added per-action policy resolution for `blocked`, `manual`, and
`auto` states.
- ✨ Added ranked Docker and Docker Compose trigger selection.
- ✨ Added reusable trigger-reference parsing and matching utilities.
- ✨ Added migration, regression, legacy-equivalence, and parametrized
tests.
- πŸ”§ Updated `computeUpdateEligibility` to use resolver results.
- πŸ”§ Preserved existing blocker reasons and soft severities.
- πŸ”§ Preserved admission, auto-dispatch, and global `updateMode` clamp
behavior.
- πŸ—‘οΈ Removed duplicated trigger-reference parsing and legacy
include/exclude checks.

## Concerns

- Verify resolver precedence for `dd.action.exclude`, access rules,
`dd.action.auto`, and legacy `oninclude` against all migration cases.
- Verify tie warnings are emitted once per trigger set.
- Verify exported trigger-selection types follow existing module API
conventions.
- Verify provider-qualified, name-only, and threshold-based references
remain backward compatible.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* feat(updates): gate admission through the action policy resolver (#756)

* feat(updates): gate admission through the action policy resolver

resolveUpdateTrigger now selects the update trigger via
selectActionTrigger's hybrid specificity walk instead of the plain
agent/compose lookup, so a not-included candidate is no longer picked
as the resolved trigger. prepareContainerUpdateRequest also adds a
defense-in-depth guard: automatic (watcher-driven) admission is
rejected with 409 unless the resolved action-policy state is 'auto' β€”
needed because trigger-excluded/trigger-not-included stay soft-severity
blockers until the DEPRECATIONS.md hard flip lands. Manual/API admission
is unaffected and keeps admitting both 'manual' and 'auto' states.

Test mocks across request-update/webhook/container-actions specs gained
getId() now that trigger resolution and policy checks require it.

* fix(updates): harden trigger resolution per review

Three CodeRabbit review fixes on PR #756 (action policy admission):

- Require getId on resolved update triggers: isResolvedUpdateTrigger now
  checks typeof trigger.getId === 'function' in addition to type, so a
  malformed explicit options.trigger fails resolution with the existing
  500 'Invalid update trigger' instead of throwing a TypeError later in
  resolveForTrigger's automatic-source guard.
- Honor options.triggerTypes: selectActionTrigger now accepts a
  triggerTypes option that filters candidates by type before ranking, so
  a caller-scoped type (e.g. docker-only) can never lose to an excluded,
  higher-specificity candidate (e.g. a compose file match). Threaded
  through from resolveUpdateTrigger; the stale "not honored" comment is
  rewritten to describe the actual behavior.
- Add the missing automatic-source admission test: an explicit trigger
  (with getId) resolving to configuration.auto:'none' under
  source:'automatic' now has direct coverage asserting the 409
  ACTION_POLICY_NOT_AUTO_REJECTION_MESSAGE, trigger() never called, and
  no operation inserted.

* fix(updates): widen trigger type guard to unknown for CodeQL

CodeQL js/comparison-between-inconvertible-types flagged the null check:
with the parameter typed UpdateTriggerLike the comparison was statically
dead. A type guard should accept unknown; the runtime checks are unchanged
and now all statically meaningful.

---------

Co-authored-by: Test <[email protected]>

* feat(triggers): dispatch automatic actions through the policy winner (#758)

spec-6.0.1-action-policy.md slice 4. Update-action (docker/dockercompose)
triggers now gate every automatic dispatch decision point on
selectActionTrigger(..., {requireAuto: true}): getMustTriggerDecision is
extended so a trigger only proceeds when the resolver's hybrid specificity
walk picks it, by getId, with a resolved state of 'auto'. Since simple
(runUpdateAvailableSimpleTrigger), batch (shouldDispatchUpdateAvailableContainer)
and digest (handleContainerReportDigest) all funnel through
getMustTriggerDecision/mustTrigger, one extension point covers all three
without double-evaluating.

This closes the pre-existing latent fan-out double-dispatch: before this
slice every registered action trigger decided independently whether to
fire, so two compatible triggers could both run the same update. After
this slice only the resolver's ranked winner fires; the loser's
mustTrigger() now returns false and it never reaches enqueueContainerUpdate.

The digest buffer additionally re-checks the winner at flush time
(flushUpdateDigestBuffer), not just at buffer time, mirroring the existing
isAutomaticActionDispatchBlocked() re-check: a container can sit in the
buffer across cron ticks, and by flush time another trigger may now be the
resolver's winner (config change, or a more specific trigger registered
since). A stale entry is evicted instead of dispatched.

The action-category branch of getMustTriggerDecision replaces the plain
include/exclude check entirely for update-action triggers (rather than
gating on top of it), routed through the resolver via
getActionPolicyCandidateTriggers() (registry.getState().trigger, unioned
with `this` so a lone trigger absent from the registry snapshot β€” the shape
of nearly every existing unit test β€” still resolves itself as the winner
of a one-candidate walk). Two behavior changes fall out of this, both
already the resolver's behavior for display (slice 2) and admission
(slice 3), now made consistent for auto-dispatch too:
  - onauto + an include label only (no dd.action.auto label) now resolves
    to 'manual', not 'auto' β€” it grants admission access but no longer
    auto-fires. Before this slice the plain include/exclude check had no
    manual/auto distinction and incorrectly let it auto-fire.
  - AUTO=all now grants unconditional access for auto-dispatch purposes
    exactly like it already does for display/admission, ignoring any
    include label's own threshold suffix (matches the resolver's
    accessOpen semantics) rather than still honoring it as the old
    Trigger.ts-local check did.

Command trigger finding: command triggers are category 'action' (per
trigger-category.ts's ACTION_TRIGGER_TYPES) but are NOT in
UPDATE_ACTION_TRIGGER_TYPES (isUpdateActionTrigger() is false for them) β€”
they call this.trigger()/triggerBatch() directly to run a shell command,
never enqueueContainerUpdate/enqueueContainerUpdates, so they never entered
the admission queue this feature guards against fan-out on. They fall
through unchanged to the plain include/exclude branch of
getMustTriggerDecision, preserving today's behavior exactly.

Tests: regression-matrix cases 5, 6 (double-dispatch closure across
simple/batch/digest, asserting the loser's enqueue call is never made),
11 (updateMode=manual still suppresses the resolved winner), legacy
preservation (solo AUTO=all trigger absent from the registry snapshot,
oninclude+include), and notification triggers unaffected by the winner
gate. Full app suite (409 files, 12997 tests) passes with 100% coverage.

Co-authored-by: Test <[email protected]>

* chore(quality): drop the trivy qlty plugin in favor of Grype (#757)

Grype already owns vuln-scanning coverage (security-grype.yml). Trivy's
qlty-plugin config driver only checked Dockerfile misconfigurations
(DS002/DS-0002), which checkov already covers via the checkov:skip=CKV_DOCKER_3
comment on Dockerfile line 1. Removes the trivy plugin block and its
triage entry from .qlty/qlty.toml; trufflehog is untouched.

House audit follow-up H3.

Closes #753

* feat(api): surface the action policy resolution (#761)

* feat(api): surface the action policy resolution

Adds an actionPolicy field (state/triggerId/reason) to the
updateEligibility payload and a resolvedState field per trigger on
GET /api/v1/containers/{id}/triggers, so the UI can render the
blocked/manual/auto verdict Drydock actually resolved rather than
inferring it from blockers alone. New action-policy.ts helpers
(findOnincludeAutoMigrationGaps, findInertAutoLabelContainers) back
two startup WARNs on Trigger.init(): a trigger left on AUTO=oninclude
whose dd.action.include-matching containers have no dd.action.auto
label (would silently drop to manual-only if switched to onauto), and
a trigger on AUTO=none carrying an inert dd.action.auto label. OpenAPI
schemas and the triggers-list response shape are updated to match.

Part of spec-6.0.1-action-policy.md, slice 5.

* feat(ui): show auto-dispatch policy badges

Adds an "Auto" badge (Update Status panel, full-page Actions tab, and
side panel trigger rows) wherever a container's or an individual
trigger's resolved action-policy state is auto, backed by the new
actionPolicy/resolvedState API fields. Tooltips explain the
blocked/manual/auto verdict for each trigger row. New en locale
strings only; other locales pick up keys via Crowdin.

Part of spec-6.0.1-action-policy.md, slice 5.

* docs(actions): document dd.action.auto and onauto

Documents the new dd.action.auto container label and the onauto AUTO
value across the labels reference, triggers configuration, and
update-eligibility pages, including the resolved actionPolicy API
field and per-trigger resolvedState. Adds a callout on all three pages
making explicit that AUTO=none/AUTO=all also set the baseline access
default, not just automatic execution: AUTO=none still opens manual
access to every container, and AUTO=all opens both. Adds the
Unreleased CHANGELOG entry for this slice.

Part of spec-6.0.1-action-policy.md, slice 5.

* test(e2e): scope the QA dockercompose action to a dedicated compose file

The trigger-specificity walk introduced by the 6.0.1 admission wiring
(#756) correctly prefers a compose-file-matched trigger, which turned
DD_ACTION_DOCKERCOMPOSE_QA into the winning action for the entire
Playwright fleet: qa-compose.yml's basename suffix-matches every fixture
container's compose label. That trigger can never complete an update
against its read-only mount, so accepted dashboard updates EROFS-failed
in the background dispatch and the widget never left its pending state
(intermittent dashboard.spec.ts failures, #763).

Point the trigger at a dedicated file with a distinct basename that no
fleet container matches, restoring DD_ACTION_DOCKER_LOCAL as the
selected action for the fixtures, and guard the collision in the
workflow tests.

* ci(review): wire the greptile second-opinion summon behind a label (#762)

Closes #751, house-audit H7, both halves β€” caller + labeling_instructions.

* feat(model)!: enforce action include/exclude as hard blockers (#772)

* feat(model)!: enforce action include/exclude as hard blockers

End the v1.5.0-v1.6.x soft-severity grace period for trigger-excluded
and trigger-not-included (spec-6.0.1-action-policy.md slice 6): both
flip fro…
scttbnsn added a commit that referenced this pull request Oct 8, 2026
* chore(i18n): sync translations from Crowdin (#713)

Automated sync from Crowdin. Review wording, then merge.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added translated `appShell`, `containerComponents`, and
`containersView` entries across 18 locales.
- ✨ Added README translation tests for required labels and forbidden
source-English prose.
- πŸ› Fixed untranslated README output rejection.

## Concerns

- Review French, Italian, Russian, and other locale entries that still
contain English text.
- Verify `"ports": "Ports"` is intentional in each locale.
- Validate locale key parity, value types, interpolation tokens, and
plural forms.
- Confirm the README tests cover all translated files and expected
headings.
- Confirm the change set contains only generated translation files and
required tests.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Crowdin Bot <[email protected]>
Co-authored-by: Test <[email protected]>

* fix(mqtt): resync home assistant discovery (#712)

## Summary

- resync retained Home Assistant discovery for containers already loaded
at MQTT startup
- run the resync after command subscription so Install buttons reflect
live broker capability
- isolate store and per-container publish failures so trigger
initialization continues

## Verification

- RED: five focused startup-resync tests failed because
`resyncDiscovery` did not exist
- RED: MQTT lifecycle ordering resolved before discovery resync
- GREEN: 172 MQTT/Home Assistant tests pass
- GREEN: full backend suite passes 12,859 tests with 100% statement,
branch, function, and line coverage
- GREEN: lint, typecheck, app/UI builds, workflow tests, qlty, and
zizmor pass through the full pre-push hook

Closes #708


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- ✨ Added `Hass.resyncDiscovery()` to reload stored containers and
republish Home Assistant discovery configurations.
- πŸ”§ Changed MQTT trigger initialization to resynchronize discovery after
`initCommandSubscription()`.
- πŸ”§ Serialized per-container discovery updates and drained queued
synchronization during deregistration.
- πŸ› Fixed stale retained discovery payloads after broker capability
changes.
- πŸ› Fixed excluded-container discovery cleanup and command metadata
updates.
- πŸ”§ Isolated store and per-container publish failures so MQTT
initialization continues.
- ✨ Added tests for resynchronization, failure handling, ordering,
initialization timing, and deregistration lifecycle behavior.

- Verify that keyed synchronization matches the provider event-handling
convention.
- Confirm that error logging includes sufficient container context for
store and publish failures.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* chore(release): prepare v1.7.0-rc.1 (#715)

## Summary

- sets the exact `v1.7.0-rc.1` identity across packages, locks, demo
fixtures, all seven READMEs, website metadata, API examples, quickstart,
and changelog links
- advances current docs routing to `v1.7` while preserving `/docs/v1.6`
- archives the published v1.6 GA docs with immutable source-tree, blob,
file-set, and generated-changelog provenance checks
- makes the release precheck reject stale package, lock, README,
docs-route, changelog, and public release metadata

## TDD evidence

RED first failed on the stale v1.6 package/demo/public identities,
absent exact metadata validator, GA/RC quickstart mismatch, stale
roadmap states, missing v1.6 route/archive, and missing archive
provenance manifest. GREEN now proves:

- 154/154 maintenance tests
- 127/127 workflow tests
- 63/63 website script tests
- 43/43 translated README contracts
- backend and UI coverage at 100 percent
- backend, UI, website, and demo production builds
- strict `v1.7.0-rc.1` precheck against the private release tracker
- Biome, Qlty baseline, UI typecheck, and Zizmor

This PR changes release metadata and documentation only. It does not
tag, publish, dispatch `release-cut.yml`, or promote `dev/v1.7` to
`main`.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- ✨ Added `v1.7.0-rc.1` release identity across packages, lockfiles,
demos, READMEs, website metadata, API examples, quickstart content, and
changelog links.
- ✨ Added `v1.7` documentation routing while preserving `/docs/v1.6`.
- ✨ Added immutable v1.6 archive provenance metadata and byte-level
validation tests.
- ✨ Added release metadata prechecks for package versions, lockfiles,
badges, changelog entries, documentation routes, and public release
metadata.
- πŸ”§ Updated translated README contracts and release surfaces.
- πŸ”§ Updated CI checkout validation to require full history and disable
persisted credentials.
- πŸ”’ Expanded validation for archived documentation authentication,
unsafe configuration, and secret-scan exceptions.

## Concerns

- Confirm that release tagging, publishing, `release-cut.yml` dispatch,
and `dev/v1.7` promotion remain separate follow-up actions.
- Verify that v1.6 archive provenance matches the published source tree,
blobs, file set, and generated changelog.
- Run the full maintenance, workflow, website, translation, build,
coverage, precheck, lint, typecheck, and security checks.
- Review the 199-file change set manually because automated CodeRabbit
review was skipped.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(updates): preserve dependency context after admission (#718)

Fixes the release-blocking finding from the exact-head review on #716.

The dependency group admitted members independently, then rebuilt
dispatch and response graphs from only the accepted subset. When an
upstream update was rejected, a restart-only dependent lost its resolved
edge, was annotated as a normal update in wave 0, and entered the normal
pull/update trigger despite having no update.

This carries the original admission batch as dependency context through
both dispatch and API annotation. Rejected members do not receive
operations, but their graph nodes still preserve the confirmed wave and
restart action for accepted dependents.

TDD:
- RED: focused regression run failed 2 tests. Dispatcher never called
the restart primitive; API returned `actionKind: update, wave: 0`
instead of `restart, wave: 1`.
- GREEN: focused 95/95 tests pass.
- Full backend: 406 files, 12,868 tests, 100%
statements/branches/functions/lines.
- Full pre-push: scripts 158, workflows 127, web contracts 63, UI
typecheck, app/UI 100% coverage, app/UI builds, zizmor all pass.

Exact source: `ef92dc8c7fa8c2bbf7a0e936f37285163fb55113`.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ› Fixed dependency graph loss when an upstream container is rejected
during admission.
- πŸ”§ Preserved the original admission batch as `dependencyContext`
through dispatch and API annotation.
- πŸ”§ Preserved confirmed wave and `restart` action metadata for accepted
restart-only dependents.
- πŸ”§ Skipped dispatch entries without accepted operations.
- ✨ Added regression tests for rejected upstream dependencies and
restart-only dependents.
- πŸ”§ Passed focused tests: 95/95.
- πŸ”§ Passed backend tests across 406 files with complete coverage.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* revert: subtract unreviewed documentation tails (#719)

This is review-gap PR A. It subtracts only the two unreviewed historical
patch tails identified in the v1.7 promotion ledger. A separate reviewed
PR B will restore these four paths exactly from the frozen promotion
tree after this lands.

Frozen dev head: d3a94199e110a97544f9992354d359bd1fe80dcc
Frozen tree: a399f39980911e02e5795854aeeb557301d1cd51
Combined binary subtraction patch SHA-256:
59d99df8b587099ddc8393036634b9cd494258b46ba13535bff74b203bbb13df

Changed paths and blobs:
- AGENTS.md: 80657ad4435e5cd5e991da80b599df22f69a5e47 -> deleted
- RELEASING.md: a3d1fdd490c2859301bc7474949485845bed4e3b -> deleted
- apps/demo/src/mocks/data/audit.ts:
8bb17758119352e5ce059f2f1f44eb2aca8cf2e4 ->
ca0b43e9fbe0cb5f47f95ad5fb2b081c84c5714e
- content/docs/current/api/agent.mdx:
44e3c094fadd06bce8aa57e845470c492cfcaece ->
724cb228bf2446fd1067ad70fa1ce10ff264796c

The #705 overlap was resolved with a deterministic three-way
subtraction: current frozen dev as ours, e65d66b as the post-tail merge
base, and bb85369 as the pre-tail source. It produced no conflicts and
retained the later v1.7.0-rc.1 audit line byte-for-byte. The #706
reverse applied cleanly. The final diff changes exactly these four
paths.

Validation:
- full pre-push pipeline passed in 248.36s
- 158 script tests
- 127 workflow tests
- 63 website contract tests
- UI typecheck
- app and UI coverage at 100%
- app and UI builds
- Biome, Qlty gate, and zizmor

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ—‘οΈ Removed `AGENTS.md` and `RELEASING.md`.
- πŸ”§ Changed audit mock timestamps from August 2026 to March 2026.
- πŸ”§ Changed `agent.mdx` example timestamps to March 2026.

## Concerns

- Restore the deleted documentation from the frozen promotion tree in
the follow-up reviewed PR.
- Confirm that timestamp changes match all related fixtures and
documentation examples.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* docs: restore reviewed contributor and release guidance (#720)

Restore the four historical documentation and fixture paths through a fully reviewed change, then correct contributor and release guidance and bind its contract to the actual pre-push hook commands.

* test(i18n): harden README translation contracts (#721)

## Summary

- bind localized v1.7 release bullets to their intended discussion and
issue links
- require every translated README to preserve the source README URL
multiset
- verify balanced `details`, `summary`, and `em` tags across source and
translated READMEs

## Verification

- focused translation contracts: 76/76
- full workflow suite: 160/160
- Biome and `git diff --check`
- full pre-push pipeline: qlty, 161 script tests, workflow tests, UI
typecheck, 63 web script tests, 100% app/UI coverage, app/UI builds, and
zizmor
- normal push hook repeated the full pipeline successfully

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Changelog

- ✨ Added URL multiset checks for translated READMEs.
- ✨ Added link checks for localized v1.7 release bullets.
- ✨ Added balanced `details`, `summary`, and `em` tag checks.
- ✨ Verified 76/76 translation contracts, 160/160 workflow tests,
formatting checks, and the full pre-push pipeline.

### Concerns

- Confirm that the new checks use existing repository test utilities
where applicable.
- Confirm that localized release bullet matching remains stable for
future translation changes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(agents): make edge poll interval configurable (#723)

Closes #688

## What changed

- add `DD_PORTWING_POLL_INTERVAL` for controller-owned Edge refresh
cadence
- validate positive integer seconds with a 300-second fallback
- send the configured value in the authenticated welcome frame and agent
metadata
- document the setting and protect the public contract with tests

## Verification

- focused configuration and WebSocket tests: 418 passed
- full backend: 12,879 passed, 100% statements/branches/functions/lines
- scripts: 162 passed
- workflows: 160 passed
- full pre-push gate: passed, including app/UI coverage and production
builds

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

✨ Added `getPortwingPollInterval()` with `DD_PORTWING_POLL_INTERVAL`
support.

πŸ”§ Changed the authenticated WebSocket welcome frame and agent metadata
to use the configured interval.

πŸ”§ Changed invalid or unspecified values to fall back to `300` seconds.

✨ Added configuration, handshake, metadata, and documentation contract
tests.

✨ Documented the controller-owned setting and added a Docker Compose
example with a `60`-second interval.

πŸ—‘οΈ Removed the obsolete `.gitleaksignore` exception for the test token
hash.

## Concerns

- Verify the controller-provided interval remains the Edge/WebSocket
override for agent-side polling.
- Preserve rejection of fractional, non-positive, non-numeric, empty,
and unsafe-integer values.
- Keep `DD_AGENT_POLL_INTERVAL` excluded from the documentation
contract.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(agents): surface edge exec end reasons (#724)

Closes #635

## What changed

- preserve the optional Portwing `exec_end.reason` at the Edge session
boundary
- expose an optional `endCallback` to the internal exec consumer
- delete the completed session before invoking consumer code so a
throwing callback cannot leak state
- isolate callback failures during disconnect so later sessions and
agent cleanup still complete
- keep outbound teardown and non-string reason handling unchanged

## Verification

- RED: four reason/callback contracts failed because the reason was
dropped
- RED: disconnect cleanup rejected on the first throwing callback and
skipped later sessions
- GREEN: focused adapter suite 161/161
- full pre-push gate passed in 284 seconds
- app and UI coverage remain 100%
- application and UI production builds passed

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added optional `endCallback` support for exec consumers.
- ✨ Added Portwing `exec_end.reason` propagation.
- πŸ”§ Updated `ExecSession.close(code?, reason?)` to forward string
reasons.
- πŸ› Deleted completed sessions before invoking callbacks.
- πŸ› Isolated disconnect callback failures so cleanup continues.
- ✨ Added regression tests for reason validation, callback failures, and
disconnect cleanup.
- πŸ”’ Preserved outbound teardown and non-string reason behavior.
- βœ… Verified focused adapter tests, the full pre-push gate, coverage,
and production builds.

## Concerns

- Confirm that `endCallback` remains internal and does not require
public API documentation.
- Confirm that callback errors use the project’s standard logging
utility and error format.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(agent): normalize controller-owned registry identities (#725)

Closes #687

## What changed

- normalize complete controller-owned Portwing image records through the
existing configured-provider path
- use the canonical registry name, URL, credentials, and image identity
before persistence and native refresh
- preserve traditional agent behavior and partial-event handling
- cover initial inventory and subsequent Portwing event ingestion

## Verification

- RED: both inventory and event paths retained `registry.name=unknown`
and skipped the native registry query
- GREEN: affected AgentClient/image-comparison suite 607/607
- full backend 12,872 tests at 100% coverage on the fix commit
- full pre-push gate passed in 276 seconds after current-dev integration
- live exact-commit tri-tool smoke returned watch-now HTTP 200, queried
`hub.public`, detected BusyBox `1.36.1`, made 46 native Docker GETs, and
made zero legacy watcher POSTs

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added controller-side normalization for Portwing containers from
Docker transport watchers.
- πŸ”§ Changed inventory and incremental event handling to use configured
registry identity, URL, credentials, and image identity.
- πŸ”§ Preserved traditional agent normalization and partial-event
handling.
- πŸ› Fixed controller-owned registry checks for agent-synced containers.
- ✨ Added tests for anonymous Docker Hub registration, image
normalization, and native watcher identity.
- πŸ”§ Verified affected tests, the backend suite, the pre-push gate, and
live tri-tool smoke tests.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(registries): propagate manifest created fetch failures (#726)

Closes #606

## What changed

- propagate exhausted manifest and blob transport failures instead of
converting them to successful `undefined`
- preserve resolved digest results only when optional created-metadata
requests return 301, 302, 303, 307, or 308, while keeping redirect
following disabled
- keep contextual child debug logging and rethrow the original 304, 4xx,
5xx, network, and non-object failures
- preserve optional handling for missing config digests, absent or
non-string `created`, and invalid dates

## Why

The first implementation correctly fixed #606, but the exact-head
Playwright fixture exposed the mirror registry returning 302 for
optional blob metadata. Because registry requests intentionally use
`maxRedirects: 0`, rethrowing that 302 aborted digest watch and hid a
real Nginx update. CodeRabbit then caught that a broad 3xx predicate
also swallowed `304 Not Modified`; the final allowlist excludes
non-redirect statuses.

## Verification

- RED: four original failure cases resolved successfully instead of
rejecting
- RED: schema v2 blob 302 and manifest 307 rejected instead of
preserving the resolved digest
- RED: manifest 304 resolved with a digest instead of rethrowing the
original error
- GREEN: redirect and failure-propagation focus 5/5
- GREEN: Registry, BaseRegistry, image-comparison, and Docker boundary
597/597
- GREEN: full pre-push in 273.80 seconds, including 323 script/workflow
tests, app/UI 100% coverage, and both builds
- exact patch is limited to `app/registries/Registry.ts` and
`app/registries/Registry.test.ts`

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ› **Fixed:** Propagate manifest configuration and blob transport
failures instead of returning `undefined`.
- πŸ› **Fixed:** Preserve original rejection values, including non-`Error`
values.
- ✨ **Added:** Preserve resolved digests for optional metadata requests
that return HTTP 301, 302, 303, 307, or 308.
- πŸ”§ **Changed:** Keep redirect following disabled.
- πŸ”§ **Changed:** Preserve contextual debug logging for non-redirect
failures.
- ✨ **Added:** Tests for HTTP 304, 4xx, 5xx, network, redirect, missing
metadata, invalid dates, child logging, and legacy blob mocks.
- πŸ”§ **Changed:** Limit implementation changes to `Registry.ts` and
`Registry.test.ts`.

## Concerns

- Verify `isRedirectError` matches only HTTP 301, 302, 303, 307, and
308.
- Verify `BaseRegistry` caching preserves prior digest-watch verdicts
after propagated failures.
- Verify tag-only requests still treat missing or invalid `created`
metadata as optional.
- Check whether an existing shared HTTP-status utility should replace
`isRedirectError`.
- Check whether `Registry` error handling remains consistent with the
`BaseRegistry` provider pattern.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* docs(release): update v1.7.0-rc.1 notes (#727)

## Summary

- date the v1.7.0-rc.1 release metadata for the August 14 cut
- document the four post-promotion fixes without changing their issue
state
- keep all seven translated README anchors and release contracts in sync

## TDD

- RED: release identity failed on the stale August 13 headings and
missing #606, #635, #687, and #688 notes
- RED: the translation contract failed all six localized README anchors
- GREEN: release identity 12/12 and translation contract 76/76

## Verification

- `node --test scripts/*.test.mjs` (164/164)
- `npm run test:workflows` (160/160)
- `npm run release:precheck -- v1.7.0-rc.1 --strict --tracker <private
tracker>`
- website scripts 63/63, typecheck, and production build (437 pages)
- normal pre-push hook, including 100% app/UI coverage and both builds

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added
- Added release metadata checks for issues `#606`, `#635`, `#687`, and
`#688`.
- Added checks for required fix descriptions.
- Added checks that reject broad `3xx` wording and require explicit
redirect statuses `301`, `302`, `303`, `307`, and `308`.
- Preserved `304` as a propagated failure.

πŸ”§ Changed
- Updated v1.7.0-rc.1 release identity from August 13 to August 14,
2026.
- Updated seven translated README changelog anchors.
- Added release highlights for Portwing, Edge reliability, registry
metadata failures, and redirect responses.
- Documented post-promotion fixes without implying issue closure.

- Verify the `README.pt-BR.md` anchor direction. Its generated summary
reports a change from August 14 to August 13, which conflicts with the
release update.
- Confirm all release identity, translation, workflow, website,
typecheck, build, and pre-push checks pass.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* test(release): enforce redirect allowlist in notes

* feat(web): add privacy-first PostHog analytics (#731)

Replace Vercel telemetry with a cookieless, allowlisted PostHog contract for pageviews, CTAs, and web vitals.

* test(web): bind approved CTA combinations (#733)

## Summary

- enumerate every approved analytics CTA tuple
- prove the runtime allowlist exposes every documented CTA ID and
placement
- close the exhaustive-coverage gap found during the dev-to-main
promotion review

## Verification

- mutation RED: removing `marketing\0install_quick\0get_started` fails
the new exhaustive contract
- GREEN: focused analytics contracts pass 8/8
- full normal pre-push passes, including 100% app/UI coverage and both
builds

Refs #732

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added `ANALYTICS_CTA_TUPLES` as the canonical list of approved
surface, CTA, and placement combinations.
πŸ”§ Derived `ALLOWED_CTA_TUPLES` from `ANALYTICS_CTA_TUPLES`.
✨ Added exhaustive contract tests with `APPROVED_CTA_TUPLES`.
✨ Verified that exported tuples and `isAllowedCta` match the approved
allowlist.
✨ Verified the mutation test, 8 focused analytics contract tests, full
pre-push suite, 100% app/UI coverage, and both builds.

- No actionable concerns identified.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(i18n): restore README translation parity (#735)

## Summary

- apply the fresh six-README Crowdin output to the current `dev/v1.7`
tree
- restore localized public labels and the v1.7 dependency/security link
mapping
- remove source-English regressions from the Chinese README and restore
exact URL and HTML-tag parity
- clarify fail-closed authentication wording and fix localized
table/link rendering found during review

## Verification

- RED: exact Crowdin head `8e08831e52d98765000ac20c23783e195da718d8`
failed 12 of 76 translation contracts
- GREEN: focused translation contract passes 76/76
- review RED/GREEN: temporary focused review contract failed 4/4 before
the wording/markup fixes and passed 4/4 afterward; the disposable test
was removed so the product diff remains six READMEs
- full workflow contracts pass 160/160
- repository maintenance scripts pass 166/166
- normal pre-push hook passes twice, including Biome, Qlty, UI
typecheck, 100% app/UI coverage, and app/UI builds
- `git diff --check` passes

## Frozen review identity

- base: `9db36cce930532f044d1fa5e294cf9a622ab14e8`
- head: `ccadd6516520b2f9e0ffaa76c20849c1cbaf0a7d`
- tree: `b3cd1d00173a153c310ef918c81e4c8b00cd6a6a`
- patch SHA-256:
`c0cd81d58e35a2855958e85181bd49acf5eb7dd3788b2485caf49ec56e46d01f`
- scope: exactly six translated README files

Greptile review is skipped under the explicitly accepted
exhausted-credit decision. CodeRabbit, CI, and human language review
remain required.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”§ Updated six translated README files to restore source-content, link,
URL, and HTML-tag parity.
- πŸ”§ Reformatted badges, collapsible sections, screenshots, feature
tables, comparison tables, roadmap tables, documentation tables, and
ecosystem tables.
- πŸ”’ Documented fail-closed authentication behavior across translations.
- πŸ”§ Updated localized v1.7 release, security, dependency, lifecycle,
migration, and star-history references.
- πŸ”§ Corrected translated labels and integration headings.
- πŸ—‘οΈ Removed an obsolete German roadmap note.

## Concerns

- Verify all translated README links and URLs against the source README.
- Verify HTML and Markdown tables render correctly on GitHub.
- Verify `<details>` summaries remain accessible and consistent.
- Confirm no translated content was lost during structural reformatting.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(compose): refresh image-inherited runtime defaults (#736)

Squash merge of reviewed head 1074a1f6 into dev/v1.7.

* fix(i18n): correct reviewed README terminology (#738)

## Summary

- preserve the Cosign product name in the Spanish security descriptions
- complete the Polish roadmap localization and correct the `curl`
removal note
- correct Chinese Docker-socket, localization, release-intelligence,
scanner, and domain terminology
- preserve Polish Compose, Docker digest, update-mode, routing,
resource-action, and template-variable semantics

## TDD verification

- initial RED: a focused seven-case translation contract failed 7/7 on
exact dev `4fc848253210a6885fd95a1916cb5ee3416e0695`
- initial GREEN: the same contract passed 7/7 after the first three
README edits
- first-review RED: a focused three-case contract failed 0/3 on exact
`8ba66139f46123313c7ca91381bf2c8bca03a598`
- first-review GREEN: the same contract passed 3/3 after preserving
Compose/matching semantics, natural Polish roadmap terminology, and all
Chinese scanner/backend choices
- exact-review RED: a focused three-case contract failed 3/3 on exact
`7df439f04f386800051a9bf57f86d55f2234d9e8`
- exact-review GREEN: the same contract passed 3/3 after preserving
Polish routing, template-variable, Docker digest rebuild, update-mode,
and resource-action semantics
- disposable review tests were removed so this fix remains a
three-README product diff
- existing translation contract passes 76/76
- full workflow contracts pass 160/160
- repository maintenance scripts pass 166/166
- latest normal pre-push hook passes in 290 seconds, including Biome,
Qlty, UI typecheck, 100% app/UI coverage, and app/UI builds
- `git diff --check` passes

## Frozen identity

- base: `4fc848253210a6885fd95a1916cb5ee3416e0695`
- head: `9cff7f21a489e60f030bc5742c9e4b2d17649450`
- tree: `297d2aa5a463a3d6b708602e50a834fad5c21ae7`
- patch SHA-256:
`a9e23eae01f487dec7927488762f7799ab3b46682ed7d105feb720049890d73b`
- scope: exactly `README.es.md`, `README.pl.md`, and `README.zh-CN.md`

This feature PR addresses the exact-head translation findings from
promotion PR #737 and the verified follow-up findings from its own
reviews. Greptile is waived under the explicitly accepted
exhausted-credit decision. Exact-head CodeRabbit, CI, and genuine human
language review remain required.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ› Fixed Spanish `Cosign` signature-verification terminology.
- ✨ Added Polish roadmap localization for headers and release entries.
- πŸ› Corrected the Polish `curl` removal note.
- πŸ› Corrected Chinese terminology for Docker socket mounting, UI
localization, release intelligence, scanner options, backend, and
website naming.

## Concerns

- Verify terminology against the source README files.
- Confirm roadmap consistency across localized README files.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(i18n): localize README table labels (#739)

## Summary

- restore five localized roadmap/resource table labels found during the
final D4 promotion language review
- keep the correction to one label cell each in German, Spanish, French,
Polish, and Brazilian Portuguese
- leave the already-reviewed translations and Compose changes unchanged

## TDD evidence

- focused table-header contract RED: 5 failed, 161 passed
- focused table-header contract GREEN: 166 passed
- temporary contract removed after RED/GREEN to preserve the
eight-product-path promotion endpoint
- permanent README translation contract: 76/76
- full workflow suite: 160/160
- normal pre-push: clean tree, Biome, qlty, 166 script tests, 160
workflow tests, UI typecheck, app/UI 100% coverage, and app/UI builds
all passed

## Exact scope

- `README.de.md`: `Highlights` β†’ `HΓΆhepunkte`
- `README.es.md`: `Version` β†’ `VersiΓ³n`
- `README.fr.md`: `Link` β†’ `Lien`
- `README.pl.md`: `Resource` β†’ `ZasΓ³b`
- `README.pt-BR.md`: `Link` β†’ `LigaΓ§Γ£o`

Greptile is waived under the accepted exhausted-credit decision.
Exact-head CodeRabbit, CI, and genuine language approval remain
required.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”§ Changed localized README table labels:
  - German: `Highlights` β†’ `HΓΆhepunkte`
  - Spanish: `Version` β†’ `VersiΓ³n`
  - French: `Link` β†’ `Lien`
  - Polish: `Resource` β†’ `ZasΓ³b`
  - Brazilian Portuguese: `Link` β†’ `LigaΓ§Γ£o`

## Concerns

- Verify the Polish diff. The raw summary also reports `Link` β†’ `Link`,
while the objectives report only one changed label.
- Confirm all reported validation checks pass.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(web): forward $raw_user_agent and $host for cookieless ingestion (#740)

## Summary

- `before_send` in `apps/web/src/lib/analytics-contract.ts` rebuilt
every outgoing PostHog event from a hard allowlist that dropped
`$raw_user_agent` and `$host`. PostHog's cookieless server-hash
ingestion step reads those two fields straight off `event.properties`
and silently drops the event (`cookieless_missing_user_agent` /
`cookieless_missing_host`) if either is absent β€” same bug fixed in
CodesWhat/portwing#124.
- `createBeforeSend` now requires both fields (drops the event if either
is missing or empty) and forwards them through unchanged. `$ip` is
deliberately never forwarded β€” PostHog's capture service fills it in
server-side from the request connection.

## Test plan

- [x] `apps/web/scripts/analytics-contract.test.mjs` β€” added a dedicated
regression test pinning that `$raw_user_agent`/`$host` are required and
forwarded, and that events missing either are dropped; updated existing
fixtures to carry the new required fields.
- [x] `apps/web/scripts/analytics-integration.test.mjs` β€” added a
source-scan regression guard analogous to portwing's
`web-analytics-source.test.mjs`.
- [x] `npm run test:scripts` (apps/web) β€” 87/87 passing
- [x] `npm run type-check` (apps/web) β€” clean
- [x] `npm run lint` (apps/web) β€” clean
- [x] full pre-push hook suite (qlty, workflow-tests, typecheck-ui,
web-scripts-test, coverage, build) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ”§ Changed `createBeforeSend` to require non-empty `$raw_user_agent`
and `$host`.
- πŸ—‘οΈ Dropped events that omit either cookieless ingestion field.
- πŸ”§ Forwarded `$raw_user_agent` and `$host` in sanitized events.
- πŸ”’ Continued excluding `$ip`; PostHog supplies it server-side.
- ✨ Added regression and source-scan coverage.
- πŸ”§ Updated analytics fixtures and invalid-input cases.
- βœ… Script tests, type checks, linting, and pre-push checks pass.

- Confirm that all analytics event producers provide non-empty
`$raw_user_agent` and `$host`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(store): persist updatePolicyRetentionCache across process restart (#743)

## Summary
- Round 3 of the #565 thread: a controller self-update (recreate ->
SIGTERM -> new process) still wiped stashed maturity-policy overrides
for a replacement container, even though the sibling lifecycle/clock
cache (`updateLifecycleCache`) already survives the same restart per
#556.
- `updatePolicyRetentionCache` only ever lived in a bare in-memory
`Map`, so `stashUpdatePolicyForReplacement()`'s stash was gone before
the replacement container's `insertContainer()` call could consume it in
the new process.
- Gives `updatePolicyRetentionCache` the same durable,
write-through-backed collection `updateLifecycleCache` already has: a
new `app/store/update-policy-retention-cache.ts` module, write-through
on stash, delete-on-consume, and
`rehydrateUpdatePolicyRetentionCacheFromStore()` wired into
`store/index.ts` startup before the first `insertContainer` runs.
- Does not touch the round-1 (clock-restart, #568) or round-2
(empty-override-authoritative, #624) fixes, which are already correct.
- The remaining half of the report β€” policy loss from a pure 0-container
remote-agent handshake with no controller restart β€” isn't explained by
this fix. The existing zero-container handshake path already skips
`pruneOldContainers`/`deleteContainer` entirely, so that part needs more
repro detail from the reporter before a second root cause can be pinned
down.

## Test plan
- [x] `npx vitest run store/container.test.ts store/index.test.ts
store/update-lifecycle-cache.test.ts
store/update-policy-retention-cache.test.ts` β€” new "simulated process
restart" test pins the fix; also new dedicated unit tests for the new
store module and wiring-order assertions in `store/index.test.ts`
- [x] `npm test` in `app/` β€” 12907 tests pass, 100% coverage
- [x] `npx tsc --noEmit` and `npx biome check .` clean
- [x] Pre-push hooks (biome, qlty, workflow-tests, typecheck-ui,
coverage, build) all green

Fixes: #565

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added a durable LokiJS-backed store for update-policy retention
records.
- πŸ”§ Changed `updatePolicyRetentionCache` to write through to persistent
storage.
- πŸ”§ Changed cache consumption, expiration, and size eviction to delete
persistent records.
- πŸ”§ Changed startup to rehydrate unexpired records before the first
`insertContainer` call.
- πŸ› Fixed maturity-policy overrides being lost during controller process
restarts.
- ✨ Added tests for persistence, rehydration, expiration pruning,
eviction, deletion, and startup ordering.

## Concerns

- Verify behavior during zero-container remote-agent handshakes without
a controller restart. This PR does not cover that loss path.
- Verify the new store follows existing store initialization and
persistence conventions.
- Review whether `unknown` for `updatePolicyOverrides` preserves the
required type safety.
- Check whether cache persistence and rehydration logic duplicates
existing store utilities.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* ci: migrate workflow security to the reusable go-ci caller (#742)

## Summary
- Replace the inline `zizmor` job in `ci-verify.yml` with a caller job
(`security-actions`) into `CodesWhat/.github`'s `go-ci.yml` reusable
`workflow-security` gate, pinned at
`01bf40b06b110946f12a49b82e407d77c6480df7`.
- Add a temporary fail-closed bridge job (`legacy-security-actions`)
that republishes the caller's result under the old plain `Security:
Actions` check context, so branch protection keeps working unchanged
during the migration window.
- Repoint every job that depended on the removed `zizmor` job
(`secrets`, `codeql`, `fuzz`) at `security-actions`.

## Naming resolution
- Caller job: key `security-actions`, `name: "Security: Actions"` β†’
GitHub reports this as the composite context `Security: Actions /
Workflow Security` (reusable-workflow-call jobs report as `<caller job
name> / <called workflow job name>`).
- Bridge job: key `legacy-security-actions`, `name: "Security: Actions"`
β†’ reports as the plain context `Security: Actions`, identical to what
the removed inline job published.
- These are two different job keys with the same display `name`, which
GitHub allows (job identity for check-run purposes is the job key +
workflow, not the display name) and produces two distinct, non-colliding
check contexts because one is a reusable-workflow-call job and the other
isn't.

## Test plan
- [x] `npm run test:workflows` β€” 166/166 passing (17 files), including
new `.github/tests/reusable-ci-config.test.ts` and extended
`ci-verify-workflow.test.ts` / `harden-runner-workflow.test.ts`
- [x] `node --test scripts/*.test.mjs` β€” passing (ran as part of
pre-push hook)
- [x] `npx biome check .` β€” clean
- [x] Local `zizmor` pre-push hook scan of `.github/workflows/*.yml` β€”
no findings
- [x] Full pre-push hook chain (clean-tree, ts-nocheck, biome, qlty,
qlty-smells, scripts-test, workflow-tests, typecheck-ui, coverage,
build, zizmor) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ”’ Added a pinned `security-actions` reusable workflow caller from
`CodesWhat/.github/go-ci.yml`.
- πŸ”§ Disabled Go test and lint jobs for this Go-less repository.
- ✨ Added a fail-closed `legacy-security-actions` bridge for the
existing `Security: Actions` branch-protection context.
- πŸ”§ Updated `secrets`, `codeql`, and `fuzz` job dependencies.
- πŸ”’ Required `actions:read`, `contents:read`, and
`security-events:write`.
- πŸ”§ Added validation for workflow pinning, permissions, disabled Go
jobs, bridge behavior, and blocked egress.
- πŸ—‘οΈ Removed the inline `zizmor` job.

## Concerns

- Remove `legacy-security-actions` after branch protection no longer
requires `Security: Actions`.
- Keep the frozen `go-ci.yml` SHA synchronized with the approved
revision.
- Preserve the fail-closed bridge contract and `egress-policy: block`.
- Confirm the reusable workflow remains compatible with the required
`security-events: write` permission.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* ci(verify): remove legacy security-actions bridge (#745)

## Summary
- Ruleset 13077055 was narrowed to require `Security: Actions / Workflow
Security` (the reusable go-ci caller's composite context) instead of the
old plain `Security: Actions` context. The `legacy-security-actions`
fail-closed bridge job in `.github/workflows/ci-verify.yml`, which
existed only to republish the old plain name, is now unreferenced by
branch protection and has been removed.
- Updated `.github/tests/ci-verify-workflow.test.ts` to drop the
assertion on the removed job's name and add a retired-context rejection
test (mirrors portwing #122 / sockguard #260): asserts the
`legacy-security-actions` job is gone and that no job (other than the
legitimate `security-actions` reusable caller, whose `name:` field is
the composite prefix, not a standalone check) republishes the bare
`Security: Actions` name. The regex is anchored to `^[ \t]*name:` with
optional quotes so it can't false-positive on an input key like
`workflow-security-check-name:`.
- Updated `.github/tests/harden-runner-workflow.test.ts` to drop the
block-egress carve-out and dedicated bridge test that only existed for
the removed job; every remaining Harden Runner step now uses the
standard `audit` policy.

## Test plan
- [x] `npm run test:workflows` β€” 167/167 pass
- [x] Full `git push` pre-push gate (clean-tree, ts-nocheck, biome,
qlty, qlty-smells, scripts-test, workflow-tests, typecheck-ui, coverage,
build, zizmor) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ—‘οΈ Removed the obsolete `legacy-security-actions` bridge job from
`.github/workflows/ci-verify.yml`.
- πŸ”§ Updated workflow tests to reject the retired job and bare `Security:
Actions` check context.
- πŸ”’ Removed the Harden Runner egress-policy exception for the bridge
job.
- πŸ”§ Removed the bridge-specific Harden Runner test.
- πŸ”§ Verified workflow tests and the full pre-push gate pass.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* test(workflows): exclude nested worktrees from vitest discovery (#747)

The primary checkout's pre-push workflow-tests gate runs `vitest run
.github/tests`, which also discovers every nested preserved worktree's
copy of the suite under `.claude/worktrees/` (and legacy
`.codex/worktrees/`). A parked WIP worktree with intentionally-failing
tests (e.g. the held Warpchart README branch awaiting its Crowdin cycle)
then blocks unrelated pushes from the primary checkout, including branch
deletions. Exclude those paths from discovery; each worktree still runs
its own suite from its own root.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

### Changelog

- ✨ Added Vitest exclusions for `.claude/worktrees/` and
`.codex/worktrees/`.
- πŸ”§ Changed the configuration to extend `configDefaults.exclude`.
- πŸ› Fixed test discovery in the primary checkout by ignoring nested
preserved worktrees.

### Concerns

- Verify that each worktree runs Vitest from its own root and is not
excluded by these patterns.
- Add or update tests for both worktree paths if coverage is missing.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* test(configuration): restore digest-pinned node base image guard (#749)

## Summary
- The regression test `release image builds from the digest-pinned Node
base image` in `app/configuration/dockerfile-defaults.test.ts` was
silently dropped at a70d406e ("chore(release): promote v1.7.0-rc.1 to
main"). Restored it exactly as it read at a70d406e^.
- No digest bump: the Dockerfile still pins
`node:24-alpine@sha256:d32cdf6...`, and resolving the `node:24-alpine`
tag against Docker Hub's registry API confirms that digest is still
current, so there's no newer image to move to (and no basis to link this
to CVE-2026-58055/nghttp2-libs at this time).

## Test plan
- [x] `npx vitest run configuration/dockerfile-defaults.test.ts` β€” 5
passed
- [x] `npm run lint` (biome) β€” clean
- [x] `git push` β€” full pre-push hook chain (biome, qlty, coverage 100%,
build) passed

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added a regression test for the digest-pinned `node:24-alpine` base
image in `app/configuration/dockerfile-defaults.test.ts`.
- πŸ› Fixed missing coverage for release image builds after the
v1.7.0-rc.1 promotion.

## Validation

- Vitest passed.
- Biome linting passed.
- Pre-push checks passed.
- Coverage passed.
- Build passed.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(ui): guard container view against remote property injection (#750)

## Summary

Fixes CodeQL alert #556 (`js/remote-property-injection`,
CWE-250/CWE-400) in `ui/src/views/ContainersView.vue`.

- **Sink**: `normalizeQueryRecord()` copied `route.query` into a plain
`Record<string, string>` via `normalized[key] = normalizedValue`, where
`key` comes directly from the URL query string
(`Object.entries(route.query)`). CodeQL flags any dynamically-computed
property name write reached from a remote/URL-controlled value,
regardless of the target object's shape β€” the alert pointed at two call
sites that flow into this same write (`buildSyncedRouteQuery` and
`syncRouteQueryFromState`).
- **Fix**: accumulate the normalized entries in a `Map<string, string>`
instead of writing onto a plain object with bracket notation, then
materialize the result in one shot with `Object.fromEntries(map)`.
`Map.set` and `Object.fromEntries` are method calls, not syntactic
property writes, so there's no `obj[dynamicKey] = value` pattern for the
sink to match. `Object.fromEntries` also uses `CreateDataProperty`
semantics rather than `[[Set]]`, so even an attacker-chosen key like
`__proto__` lands as an inert own data property instead of mutating the
object's actual prototype chain β€” closing the underlying vulnerability
class, not just satisfying the checker.
- No suppression comments were used; this is a root-cause fix, and
behavior for legitimate query keys is unchanged (verified by existing +
new tests).

## Test plan

- [x] Added `ui/tests/views/ContainersView.spec.ts` β†’ `describe('remote
property injection guard (CodeQL #556)')`:
- unit-tests `normalizeQueryRecord` directly with a malicious
`"__proto__"` query key (constructed via `JSON.parse` so it's a real own
property, since object-literal `{ __proto__: ... }` syntax is
special-cased and would silently no-op) and asserts `Object.prototype`
is untouched while the legitimate key is preserved.
- exercises the full `route.query` β†’ `router.replace` sync path with the
same malicious query and asserts the emitted query object still has a
normal prototype and no global pollution occurred.
- [x] `cd ui && npx vitest run tests/views/ContainersView.spec.ts` β€” 164
tests pass (162 existing + 2 new).
- [x] `cd ui && npm run lint` β€” clean.
- [x] `cd ui && npm run typecheck` β€” clean.
- [x] `git push` β€” full pre-push hook suite passed (biome, qlty,
qlty-smells, coverage @ 100% for app+ui, app+ui build).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”’ **Security:** Prevent prototype pollution from attacker-controlled
query keys in `normalizeQueryRecord()`.
- πŸ”§ **Changed:** Normalize query entries with `Map<string, string>` and
`Object.fromEntries`.
- ✨ **Added:** Regression tests for `__proto__` normalization and
route-query synchronization.
- πŸ”§ **Changed:** Verify legitimate query keys remain intact and
`Object.prototype` remains unchanged.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* feat(triggers): add onauto auto mode and dd.action.auto label plumbing (#752)

Slice 1 of the 6.0.1 per-action policy package (#511): inert plumbing
only.

- `TriggerAutoMode` widens to `all | oninclude | onauto | none`; in this
slice `onauto` behaves identically to `oninclude` (closed by default,
auto handlers register). Its real semantics β€” `dd.action.include` grants
manual, `dd.action.auto` grants auto β€” land with the policy resolver in
the next slice.
- New `dd.action.auto` label constant and `actionTriggerAuto` field
threaded through label resolution, the container model, and store
normalization, mirroring `actionTriggerInclude`'s flow exactly
(override-vs-label precedence, no deprecated mirror, action category
only).
- Nothing consumes `actionTriggerAuto` yet.

Full suite: 12,922 tests, 100% coverage both gates.

Part of the v1.7 per-action access/auto-execution policy (prerequisite
for the DEPRECATIONS.md soft-to-hard blocker flip, which ships in the
final slice of this package, never alone).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added
- Added `dd.action.auto` label support.
- Added optional `actionTriggerAuto` to the `Container` model and Joi
schema.
- Added `actionTriggerAuto` to trigger-label resolution, Docker
overrides, container derivation, and store normalization.
- Added `onauto` to `TriggerAutoMode` and the `AUTO` Joi enum.
- Added tests for label mapping, precedence, normalization, filtering,
and Docker propagation.

πŸ”§ Changed
- `onauto` follows `oninclude` behavior.
- Label resolution limits `dd.action.auto` to the action category.
- Nullish fallback preserves explicit empty `actionTriggerAuto`
overrides.
- The label does not create a deprecated mirror.

Concerns:
- `actionTriggerAuto` has no consumer. Add policy resolution in the next
slice.
- Confirm all `AUTO` enum declarations and validation paths include
`onauto`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* feat(model): add per-action policy resolver (#755)

Slice 2 of the 6.0.1 per-action policy package (#511), stacked on #752.

- `app/model/action-policy.ts`: pure resolver returning one `blocked |
manual | auto` state per (action trigger, container).
`dd.action.exclude` always wins; access is open for `AUTO=all|none` and
label-granted otherwise; `dd.action.auto` implies access under `onauto`;
`oninclude` keeps its legacy conflated meaning (include grants
manual+auto) so no existing deployment changes behavior.
- `selectActionTrigger`: specificity-ranked candidate walk (file-matched
compose > catch-all compose > generic docker, ties by insertion order
with a one-time warn) β€” skip default-deny candidates, hard-stop on an
explicit exclude, first authorized wins. Replaces
first-compatible-by-insertion-order for eligibility display.
- `trigger-reference-matching.ts`: the `name[:threshold]` grammar
extracted from `Trigger.ts` so the resolver reuses the exact matching
machinery without a require cycle.
- `computeUpdateEligibility` derives
`trigger-excluded`/`trigger-not-included` from the resolver verdict.
Blocker reasons and severities unchanged (both still soft β€” the hard
flip is the final slice of this package).
- Parametrized tests cover the full migration table and regression
matrix from the phase spec, plus equivalence tests proving selection
matches `findDockerTriggerForContainer` for every legacy scenario.

Admission and auto-dispatch wiring are slices 3-4. Global `updateMode`
remains a call-site clamp, untouched here.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added per-action policy resolution for `blocked`, `manual`, and
`auto` states.
- ✨ Added ranked Docker and Docker Compose trigger selection.
- ✨ Added reusable trigger-reference parsing and matching utilities.
- ✨ Added migration, regression, legacy-equivalence, and parametrized
tests.
- πŸ”§ Updated `computeUpdateEligibility` to use resolver results.
- πŸ”§ Preserved existing blocker reasons and soft severities.
- πŸ”§ Preserved admission, auto-dispatch, and global `updateMode` clamp
behavior.
- πŸ—‘οΈ Removed duplicated trigger-reference parsing and legacy
include/exclude checks.

## Concerns

- Verify resolver precedence for `dd.action.exclude`, access rules,
`dd.action.auto`, and legacy `oninclude` against all migration cases.
- Verify tie warnings are emitted once per trigger set.
- Verify exported trigger-selection types follow existing module API
conventions.
- Verify provider-qualified, name-only, and threshold-based references
remain backward compatible.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* feat(updates): gate admission through the action policy resolver (#756)

* feat(updates): gate admission through the action policy resolver

resolveUpdateTrigger now selects the update trigger via
selectActionTrigger's hybrid specificity walk instead of the plain
agent/compose lookup, so a not-included candidate is no longer picked
as the resolved trigger. prepareContainerUpdateRequest also adds a
defense-in-depth guard: automatic (watcher-driven) admission is
rejected with 409 unless the resolved action-policy state is 'auto' β€”
needed because trigger-excluded/trigger-not-included stay soft-severity
blockers until the DEPRECATIONS.md hard flip lands. Manual/API admission
is unaffected and keeps admitting both 'manual' and 'auto' states.

Test mocks across request-update/webhook/container-actions specs gained
getId() now that trigger resolution and policy checks require it.

* fix(updates): harden trigger resolution per review

Three CodeRabbit review fixes on PR #756 (action policy admission):

- Require getId on resolved update triggers: isResolvedUpdateTrigger now
  checks typeof trigger.getId === 'function' in addition to type, so a
  malformed explicit options.trigger fails resolution with the existing
  500 'Invalid update trigger' instead of throwing a TypeError later in
  resolveForTrigger's automatic-source guard.
- Honor options.triggerTypes: selectActionTrigger now accepts a
  triggerTypes option that filters candidates by type before ranking, so
  a caller-scoped type (e.g. docker-only) can never lose to an excluded,
  higher-specificity candidate (e.g. a compose file match). Threaded
  through from resolveUpdateTrigger; the stale "not honored" comment is
  rewritten to describe the actual behavior.
- Add the missing automatic-source admission test: an explicit trigger
  (with getId) resolving to configuration.auto:'none' under
  source:'automatic' now has direct coverage asserting the 409
  ACTION_POLICY_NOT_AUTO_REJECTION_MESSAGE, trigger() never called, and
  no operation inserted.

* fix(updates): widen trigger type guard to unknown for CodeQL

CodeQL js/comparison-between-inconvertible-types flagged the null check:
with the parameter typed UpdateTriggerLike the comparison was statically
dead. A type guard should accept unknown; the runtime checks are unchanged
and now all statically meaningful.

---------

Co-authored-by: Test <[email protected]>

* feat(triggers): dispatch automatic actions through the policy winner (#758)

spec-6.0.1-action-policy.md slice 4. Update-action (docker/dockercompose)
triggers now gate every automatic dispatch decision point on
selectActionTrigger(..., {requireAuto: true}): getMustTriggerDecision is
extended so a trigger only proceeds when the resolver's hybrid specificity
walk picks it, by getId, with a resolved state of 'auto'. Since simple
(runUpdateAvailableSimpleTrigger), batch (shouldDispatchUpdateAvailableContainer)
and digest (handleContainerReportDigest) all funnel through
getMustTriggerDecision/mustTrigger, one extension point covers all three
without double-evaluating.

This closes the pre-existing latent fan-out double-dispatch: before this
slice every registered action trigger decided independently whether to
fire, so two compatible triggers could both run the same update. After
this slice only the resolver's ranked winner fires; the loser's
mustTrigger() now returns false and it never reaches enqueueContainerUpdate.

The digest buffer additionally re-checks the winner at flush time
(flushUpdateDigestBuffer), not just at buffer time, mirroring the existing
isAutomaticActionDispatchBlocked() re-check: a container can sit in the
buffer across cron ticks, and by flush time another trigger may now be the
resolver's winner (config change, or a more specific trigger registered
since). A stale entry is evicted instead of dispatched.

The action-category branch of getMustTriggerDecision replaces the plain
include/exclude check entirely for update-action triggers (rather than
gating on top of it), routed through the resolver via
getActionPolicyCandidateTriggers() (registry.getState().trigger, unioned
with `this` so a lone trigger absent from the registry snapshot β€” the shape
of nearly every existing unit test β€” still resolves itself as the winner
of a one-candidate walk). Two behavior changes fall out of this, both
already the resolver's behavior for display (slice 2) and admission
(slice 3), now made consistent for auto-dispatch too:
  - onauto + an include label only (no dd.action.auto label) now resolves
    to 'manual', not 'auto' β€” it grants admission access but no longer
    auto-fires. Before this slice the plain include/exclude check had no
    manual/auto distinction and incorrectly let it auto-fire.
  - AUTO=all now grants unconditional access for auto-dispatch purposes
    exactly like it already does for display/admission, ignoring any
    include label's own threshold suffix (matches the resolver's
    accessOpen semantics) rather than still honoring it as the old
    Trigger.ts-local check did.

Command trigger finding: command triggers are category 'action' (per
trigger-category.ts's ACTION_TRIGGER_TYPES) but are NOT in
UPDATE_ACTION_TRIGGER_TYPES (isUpdateActionTrigger() is false for them) β€”
they call this.trigger()/triggerBatch() directly to run a shell command,
never enqueueContainerUpdate/enqueueContainerUpdates, so they never entered
the admission queue this feature guards against fan-out on. They fall
through unchanged to the plain include/exclude branch of
getMustTriggerDecision, preserving today's behavior exactly.

Tests: regression-matrix cases 5, 6 (double-dispatch closure across
simple/batch/digest, asserting the loser's enqueue call is never made),
11 (updateMode=manual still suppresses the resolved winner), legacy
preservation (solo AUTO=all trigger absent from the registry snapshot,
oninclude+include), and notification triggers unaffected by the winner
gate. Full app suite (409 files, 12997 tests) passes with 100% coverage.

Co-authored-by: Test <[email protected]>

* chore(quality): drop the trivy qlty plugin in favor of Grype (#757)

Grype already owns vuln-scanning coverage (security-grype.yml). Trivy's
qlty-plugin config driver only checked Dockerfile misconfigurations
(DS002/DS-0002), which checkov already covers via the checkov:skip=CKV_DOCKER_3
comment on Dockerfile line 1. Removes the trivy plugin block and its
triage entry from .qlty/qlty.toml; trufflehog is untouched.

House audit follow-up H3.

Closes #753

* feat(api): surface the action policy resolution (#761)

* feat(api): surface the action policy resolution

Adds an actionPolicy field (state/triggerId/reason) to the
updateEligibility payload and a resolvedState field per trigger on
GET /api/v1/containers/{id}/triggers, so the UI can render the
blocked/manual/auto verdict Drydock actually resolved rather than
inferring it from blockers alone. New action-policy.ts helpers
(findOnincludeAutoMigrationGaps, findInertAutoLabelContainers) back
two startup WARNs on Trigger.init(): a trigger left on AUTO=oninclude
whose dd.action.include-matching containers have no dd.action.auto
label (would silently drop to manual-only if switched to onauto), and
a trigger on AUTO=none carrying an inert dd.action.auto label. OpenAPI
schemas and the triggers-list response shape are updated to match.

Part of spec-6.0.1-action-policy.md, slice 5.

* feat(ui): show auto-dispatch policy badges

Adds an "Auto" badge (Update Status panel, full-page Actions tab, and
side panel trigger rows) wherever a container's or an individual
trigger's resolved action-policy state is auto, backed by the new
actionPolicy/resolvedState API fields. Tooltips explain the
blocked/manual/auto verdict for each trigger row. New en locale
strings only; other locales pick up keys via Crowdin.

Part of spec-6.0.1-action-policy.md, slice 5.

* docs(actions): document dd.action.auto and onauto

Documents the new dd.action.auto container label and the onauto AUTO
value across the labels reference, triggers configuration, and
update-eligibility pages, including the resolved actionPolicy API
field and per-trigger resolvedState. Adds a callout on all three pages
making explicit that AUTO=none/AUTO=all also set the baseline access
default, not just automatic execution: AUTO=none still opens manual
access to every container, and AUTO=all opens both. Adds the
Unreleased CHANGELOG entry for this slice.

Part of spec-6.0.1-action-policy.md, slice 5.

* test(e2e): scope the QA dockercompose action to a dedicated compose file

The trigger-specificity walk introduced by the 6.0.1 admission wiring
(#756) correctly prefers a compose-file-matched trigger, which turned
DD_ACTION_DOCKERCOMPOSE_QA into the winning action for the entire
Playwright fleet: qa-compose.yml's basename suffix-matches every fixture
container's compose label. That trigger can never complete an update
against its read-only mount, so accepted dashboard updates EROFS-failed
in the background dispatch and the widget never left its pending state
(intermittent dashboard.spec.ts failures, #763).

Point the trigger at a dedicated file with a distinct basename that no
fleet container matches, restoring DD_ACTION_DOCKER_LOCAL as the
selected action for the fixtures, and guard the collision in the
workflow tests.

* ci(review): wire the greptile second-opinion summon behind a label (#762)

Closes #751, house-audit H7, both halves β€” caller + labeling_instructions.

* feat(model)!: enforce action include/exclude as hard blockers (#772)

* feat(model)!: enforce action include/exclude as hard blockers

End the v1.5.0-v1.6.x soft-severity grace period for trigger-excluded
and trigger-not-included (spec-6.0.1-action-policy.md slice 6): both
flip from soft to hard in BLOCKER_SEVERITY (app/model/update-eligibility.ts
and its UI mirror, ui/src/utils/update-eligibility.ts). A container an
action trigger's dd.action.include/dd.action.exclude labels filter out
now locks the Update button and gets a 409 on a manual update request,
matching every other hard eligibility gate, instead of only gating
automatic dispatch. AUTO=oninclude's existing meaning is unchanged: a
matching dd.action.include label still grants both manual and automatic
access under that mode.

Ships together with the per-action execution policy landed across
slices 1-5 (dd.action.auto label, AUTO=onauto trigger mode) so the
manual-only escape hatch isn't removed without a replacement path.

Updates every test that encoded the old soft behavior (severity-map
assertions, the request-update.ts admission tests that were exercising
the wrong container field and passing vacuously, and UI fixtures that
used trigger-not-included as a generic "soft blocker" example) and adds
hard-rejection coverage for both reasons at the eligibility, admission,
and UI-lock layers. Also updates DEPRECATIONS.md (moved to "Removed
compatibility behaviors"), the docs deprecation schedule and
update-eligibility pages, and the CHANGELOG.

BREAKING CHANGE: a manual update request against a container filtered
out by dd.action.include/dd.action.exclude (or the legacy
dd.trigger.include/dd.trigger.exclude) now fails with a 409 instead of
queuing after a confirm-modal warning. See DEPRECATIONS.md.

* test(model): add the 6.0.1 regression matrix

Dedicated release-gate test file for spec-6.0.1-action-policy.md's
16-case regression matrix. Every case is asserted through
selectActionTrigger/resolveForTrigger, cited by case number; cases 1
and 4 additionally exercise the real admission path
(enqueueContainerUpdate/requestContainerUpdate) since they're the
direct end-to-end proof of the soft->hard flip landing in the prior
commit, and cases 11/12 (the updateMode ceiling) are asserted purely
through admission since the resolver deliberately doesn't apply that
ceiling itself.

* fix(model): omit unset dd.action.include from the not-included message

* docs(deprecations): drop legacy dd.trigger labels from the hard-flip migration guidance

* docs(readme): align with the codeswhat readme shape (#775)

* ci(security): pin hosted runners and annotate remaining action pins (#776)

* ci(security): flip harden-runner to egress block on stage-1 jobs (#777)

* ci(security): flip harden-runner to egress block on stage-1 jobs

Migrates 11 harden-runner job instances from audit (log-only) to block
(enforced) egress policy, per the Stage-1 plan in
.planning/roadmap/h2-harden-runner-block-plan.md Β§2: ci-verify.yml's
changes/dependency-review/secrets/fuzz/test/web, e2e-playwright.yml's
changes, quality-mutation-monthly.yml's stryker/aggregate,
quality-portwing-fleet-soak.yml's fleet-soak, and security-grype.yml's
grype-deps. Each carries the plan's exact per-job allowed-endpoints list.

Also sets disable-sudo: true on every migrated job β€” none of them use
sudo (grep-confirmed across all workflow files).

harden-runner-workflow.test.ts now tracks policy per job via an
expectedPolicy map instead of asserting audit everywhere, so the test
itself becomes the migration checklist for the remaining stages.

* ci(security): allow the api and download hosts the stage-1 jobs actually hit

First block-mode run surfaced four gaps, all confirmed from harden-runner
telemetry: paths-filter calls api.github.com for the PR file list (both
changes jobs), setup-go fetches manifests from raw.githubusercontent.com
and toolchains via go.dev (dl.google.com added for its download redirect),
and the grype installer pulls its script from raw.githubusercontent.com
plus a release lookup on api.github.com. The per-datacenter
hosted-compute-watchdog githubapp.com host stays blocked deliberately:
runner-internal telemetry, unroutable to a stable name, non-fatal.

* ci(security): point the grype allowlist at its real installer and v6 db hosts

Second block-mode run: the pinned scan-action installs from
get.anchore.io (raw.githubusercontent.com is only its fallback, which
worked) and the v6 vulnerability database live…
scttbnsn added a commit that referenced this pull request Oct 9, 2026
* fix(updates): preserve dependency context after admission (#718)

Fixes the release-blocking finding from the exact-head review on #716.

The dependency group admitted members independently, then rebuilt
dispatch and response graphs from only the accepted subset. When an
upstream update was rejected, a restart-only dependent lost its resolved
edge, was annotated as a normal update in wave 0, and entered the normal
pull/update trigger despite having no update.

This carries the original admission batch as dependency context through
both dispatch and API annotation. Rejected members do not receive
operations, but their graph nodes still preserve the confirmed wave and
restart action for accepted dependents.

TDD:
- RED: focused regression run failed 2 tests. Dispatcher never called
the restart primitive; API returned `actionKind: update, wave: 0`
instead of `restart, wave: 1`.
- GREEN: focused 95/95 tests pass.
- Full backend: 406 files, 12,868 tests, 100%
statements/branches/functions/lines.
- Full pre-push: scripts 158, workflows 127, web contracts 63, UI
typecheck, app/UI 100% coverage, app/UI builds, zizmor all pass.

Exact source: `ef92dc8c7fa8c2bbf7a0e936f37285163fb55113`.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ› Fixed dependency graph loss when an upstream container is rejected
during admission.
- πŸ”§ Preserved the original admission batch as `dependencyContext`
through dispatch and API annotation.
- πŸ”§ Preserved confirmed wave and `restart` action metadata for accepted
restart-only dependents.
- πŸ”§ Skipped dispatch entries without accepted operations.
- ✨ Added regression tests for rejected upstream dependencies and
restart-only dependents.
- πŸ”§ Passed focused tests: 95/95.
- πŸ”§ Passed backend tests across 406 files with complete coverage.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* revert: subtract unreviewed documentation tails (#719)

This is review-gap PR A. It subtracts only the two unreviewed historical
patch tails identified in the v1.7 promotion ledger. A separate reviewed
PR B will restore these four paths exactly from the frozen promotion
tree after this lands.

Frozen dev head: d3a94199e110a97544f9992354d359bd1fe80dcc
Frozen tree: a399f39980911e02e5795854aeeb557301d1cd51
Combined binary subtraction patch SHA-256:
59d99df8b587099ddc8393036634b9cd494258b46ba13535bff74b203bbb13df

Changed paths and blobs:
- AGENTS.md: 80657ad4435e5cd5e991da80b599df22f69a5e47 -> deleted
- RELEASING.md: a3d1fdd490c2859301bc7474949485845bed4e3b -> deleted
- apps/demo/src/mocks/data/audit.ts:
8bb17758119352e5ce059f2f1f44eb2aca8cf2e4 ->
ca0b43e9fbe0cb5f47f95ad5fb2b081c84c5714e
- content/docs/current/api/agent.mdx:
44e3c094fadd06bce8aa57e845470c492cfcaece ->
724cb228bf2446fd1067ad70fa1ce10ff264796c

The #705 overlap was resolved with a deterministic three-way
subtraction: current frozen dev as ours, e65d66b as the post-tail merge
base, and bb85369 as the pre-tail source. It produced no conflicts and
retained the later v1.7.0-rc.1 audit line byte-for-byte. The #706
reverse applied cleanly. The final diff changes exactly these four
paths.

Validation:
- full pre-push pipeline passed in 248.36s
- 158 script tests
- 127 workflow tests
- 63 website contract tests
- UI typecheck
- app and UI coverage at 100%
- app and UI builds
- Biome, Qlty gate, and zizmor

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ—‘οΈ Removed `AGENTS.md` and `RELEASING.md`.
- πŸ”§ Changed audit mock timestamps from August 2026 to March 2026.
- πŸ”§ Changed `agent.mdx` example timestamps to March 2026.

## Concerns

- Restore the deleted documentation from the frozen promotion tree in
the follow-up reviewed PR.
- Confirm that timestamp changes match all related fixtures and
documentation examples.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* docs: restore reviewed contributor and release guidance (#720)

Restore the four historical documentation and fixture paths through a fully reviewed change, then correct contributor and release guidance and bind its contract to the actual pre-push hook commands.

* test(i18n): harden README translation contracts (#721)

## Summary

- bind localized v1.7 release bullets to their intended discussion and
issue links
- require every translated README to preserve the source README URL
multiset
- verify balanced `details`, `summary`, and `em` tags across source and
translated READMEs

## Verification

- focused translation contracts: 76/76
- full workflow suite: 160/160
- Biome and `git diff --check`
- full pre-push pipeline: qlty, 161 script tests, workflow tests, UI
typecheck, 63 web script tests, 100% app/UI coverage, app/UI builds, and
zizmor
- normal push hook repeated the full pipeline successfully

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Changelog

- ✨ Added URL multiset checks for translated READMEs.
- ✨ Added link checks for localized v1.7 release bullets.
- ✨ Added balanced `details`, `summary`, and `em` tag checks.
- ✨ Verified 76/76 translation contracts, 160/160 workflow tests,
formatting checks, and the full pre-push pipeline.

### Concerns

- Confirm that the new checks use existing repository test utilities
where applicable.
- Confirm that localized release bullet matching remains stable for
future translation changes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(agents): make edge poll interval configurable (#723)

Closes #688

## What changed

- add `DD_PORTWING_POLL_INTERVAL` for controller-owned Edge refresh
cadence
- validate positive integer seconds with a 300-second fallback
- send the configured value in the authenticated welcome frame and agent
metadata
- document the setting and protect the public contract with tests

## Verification

- focused configuration and WebSocket tests: 418 passed
- full backend: 12,879 passed, 100% statements/branches/functions/lines
- scripts: 162 passed
- workflows: 160 passed
- full pre-push gate: passed, including app/UI coverage and production
builds

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

✨ Added `getPortwingPollInterval()` with `DD_PORTWING_POLL_INTERVAL`
support.

πŸ”§ Changed the authenticated WebSocket welcome frame and agent metadata
to use the configured interval.

πŸ”§ Changed invalid or unspecified values to fall back to `300` seconds.

✨ Added configuration, handshake, metadata, and documentation contract
tests.

✨ Documented the controller-owned setting and added a Docker Compose
example with a `60`-second interval.

πŸ—‘οΈ Removed the obsolete `.gitleaksignore` exception for the test token
hash.

## Concerns

- Verify the controller-provided interval remains the Edge/WebSocket
override for agent-side polling.
- Preserve rejection of fractional, non-positive, non-numeric, empty,
and unsafe-integer values.
- Keep `DD_AGENT_POLL_INTERVAL` excluded from the documentation
contract.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(agents): surface edge exec end reasons (#724)

Closes #635

## What changed

- preserve the optional Portwing `exec_end.reason` at the Edge session
boundary
- expose an optional `endCallback` to the internal exec consumer
- delete the completed session before invoking consumer code so a
throwing callback cannot leak state
- isolate callback failures during disconnect so later sessions and
agent cleanup still complete
- keep outbound teardown and non-string reason handling unchanged

## Verification

- RED: four reason/callback contracts failed because the reason was
dropped
- RED: disconnect cleanup rejected on the first throwing callback and
skipped later sessions
- GREEN: focused adapter suite 161/161
- full pre-push gate passed in 284 seconds
- app and UI coverage remain 100%
- application and UI production builds passed

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added optional `endCallback` support for exec consumers.
- ✨ Added Portwing `exec_end.reason` propagation.
- πŸ”§ Updated `ExecSession.close(code?, reason?)` to forward string
reasons.
- πŸ› Deleted completed sessions before invoking callbacks.
- πŸ› Isolated disconnect callback failures so cleanup continues.
- ✨ Added regression tests for reason validation, callback failures, and
disconnect cleanup.
- πŸ”’ Preserved outbound teardown and non-string reason behavior.
- βœ… Verified focused adapter tests, the full pre-push gate, coverage,
and production builds.

## Concerns

- Confirm that `endCallback` remains internal and does not require
public API documentation.
- Confirm that callback errors use the project’s standard logging
utility and error format.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(agent): normalize controller-owned registry identities (#725)

Closes #687

## What changed

- normalize complete controller-owned Portwing image records through the
existing configured-provider path
- use the canonical registry name, URL, credentials, and image identity
before persistence and native refresh
- preserve traditional agent behavior and partial-event handling
- cover initial inventory and subsequent Portwing event ingestion

## Verification

- RED: both inventory and event paths retained `registry.name=unknown`
and skipped the native registry query
- GREEN: affected AgentClient/image-comparison suite 607/607
- full backend 12,872 tests at 100% coverage on the fix commit
- full pre-push gate passed in 276 seconds after current-dev integration
- live exact-commit tri-tool smoke returned watch-now HTTP 200, queried
`hub.public`, detected BusyBox `1.36.1`, made 46 native Docker GETs, and
made zero legacy watcher POSTs

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added controller-side normalization for Portwing containers from
Docker transport watchers.
- πŸ”§ Changed inventory and incremental event handling to use configured
registry identity, URL, credentials, and image identity.
- πŸ”§ Preserved traditional agent normalization and partial-event
handling.
- πŸ› Fixed controller-owned registry checks for agent-synced containers.
- ✨ Added tests for anonymous Docker Hub registration, image
normalization, and native watcher identity.
- πŸ”§ Verified affected tests, the backend suite, the pre-push gate, and
live tri-tool smoke tests.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(registries): propagate manifest created fetch failures (#726)

Closes #606

## What changed

- propagate exhausted manifest and blob transport failures instead of
converting them to successful `undefined`
- preserve resolved digest results only when optional created-metadata
requests return 301, 302, 303, 307, or 308, while keeping redirect
following disabled
- keep contextual child debug logging and rethrow the original 304, 4xx,
5xx, network, and non-object failures
- preserve optional handling for missing config digests, absent or
non-string `created`, and invalid dates

## Why

The first implementation correctly fixed #606, but the exact-head
Playwright fixture exposed the mirror registry returning 302 for
optional blob metadata. Because registry requests intentionally use
`maxRedirects: 0`, rethrowing that 302 aborted digest watch and hid a
real Nginx update. CodeRabbit then caught that a broad 3xx predicate
also swallowed `304 Not Modified`; the final allowlist excludes
non-redirect statuses.

## Verification

- RED: four original failure cases resolved successfully instead of
rejecting
- RED: schema v2 blob 302 and manifest 307 rejected instead of
preserving the resolved digest
- RED: manifest 304 resolved with a digest instead of rethrowing the
original error
- GREEN: redirect and failure-propagation focus 5/5
- GREEN: Registry, BaseRegistry, image-comparison, and Docker boundary
597/597
- GREEN: full pre-push in 273.80 seconds, including 323 script/workflow
tests, app/UI 100% coverage, and both builds
- exact patch is limited to `app/registries/Registry.ts` and
`app/registries/Registry.test.ts`

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ› **Fixed:** Propagate manifest configuration and blob transport
failures instead of returning `undefined`.
- πŸ› **Fixed:** Preserve original rejection values, including non-`Error`
values.
- ✨ **Added:** Preserve resolved digests for optional metadata requests
that return HTTP 301, 302, 303, 307, or 308.
- πŸ”§ **Changed:** Keep redirect following disabled.
- πŸ”§ **Changed:** Preserve contextual debug logging for non-redirect
failures.
- ✨ **Added:** Tests for HTTP 304, 4xx, 5xx, network, redirect, missing
metadata, invalid dates, child logging, and legacy blob mocks.
- πŸ”§ **Changed:** Limit implementation changes to `Registry.ts` and
`Registry.test.ts`.

## Concerns

- Verify `isRedirectError` matches only HTTP 301, 302, 303, 307, and
308.
- Verify `BaseRegistry` caching preserves prior digest-watch verdicts
after propagated failures.
- Verify tag-only requests still treat missing or invalid `created`
metadata as optional.
- Check whether an existing shared HTTP-status utility should replace
`isRedirectError`.
- Check whether `Registry` error handling remains consistent with the
`BaseRegistry` provider pattern.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* docs(release): update v1.7.0-rc.1 notes (#727)

## Summary

- date the v1.7.0-rc.1 release metadata for the August 14 cut
- document the four post-promotion fixes without changing their issue
state
- keep all seven translated README anchors and release contracts in sync

## TDD

- RED: release identity failed on the stale August 13 headings and
missing #606, #635, #687, and #688 notes
- RED: the translation contract failed all six localized README anchors
- GREEN: release identity 12/12 and translation contract 76/76

## Verification

- `node --test scripts/*.test.mjs` (164/164)
- `npm run test:workflows` (160/160)
- `npm run release:precheck -- v1.7.0-rc.1 --strict --tracker <private
tracker>`
- website scripts 63/63, typecheck, and production build (437 pages)
- normal pre-push hook, including 100% app/UI coverage and both builds

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added
- Added release metadata checks for issues `#606`, `#635`, `#687`, and
`#688`.
- Added checks for required fix descriptions.
- Added checks that reject broad `3xx` wording and require explicit
redirect statuses `301`, `302`, `303`, `307`, and `308`.
- Preserved `304` as a propagated failure.

πŸ”§ Changed
- Updated v1.7.0-rc.1 release identity from August 13 to August 14,
2026.
- Updated seven translated README changelog anchors.
- Added release highlights for Portwing, Edge reliability, registry
metadata failures, and redirect responses.
- Documented post-promotion fixes without implying issue closure.

- Verify the `README.pt-BR.md` anchor direction. Its generated summary
reports a change from August 14 to August 13, which conflicts with the
release update.
- Confirm all release identity, translation, workflow, website,
typecheck, build, and pre-push checks pass.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* test(release): enforce redirect allowlist in notes

* feat(web): add privacy-first PostHog analytics (#731)

Replace Vercel telemetry with a cookieless, allowlisted PostHog contract for pageviews, CTAs, and web vitals.

* test(web): bind approved CTA combinations (#733)

## Summary

- enumerate every approved analytics CTA tuple
- prove the runtime allowlist exposes every documented CTA ID and
placement
- close the exhaustive-coverage gap found during the dev-to-main
promotion review

## Verification

- mutation RED: removing `marketing\0install_quick\0get_started` fails
the new exhaustive contract
- GREEN: focused analytics contracts pass 8/8
- full normal pre-push passes, including 100% app/UI coverage and both
builds

Refs #732

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added `ANALYTICS_CTA_TUPLES` as the canonical list of approved
surface, CTA, and placement combinations.
πŸ”§ Derived `ALLOWED_CTA_TUPLES` from `ANALYTICS_CTA_TUPLES`.
✨ Added exhaustive contract tests with `APPROVED_CTA_TUPLES`.
✨ Verified that exported tuples and `isAllowedCta` match the approved
allowlist.
✨ Verified the mutation test, 8 focused analytics contract tests, full
pre-push suite, 100% app/UI coverage, and both builds.

- No actionable concerns identified.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(i18n): restore README translation parity (#735)

## Summary

- apply the fresh six-README Crowdin output to the current `dev/v1.7`
tree
- restore localized public labels and the v1.7 dependency/security link
mapping
- remove source-English regressions from the Chinese README and restore
exact URL and HTML-tag parity
- clarify fail-closed authentication wording and fix localized
table/link rendering found during review

## Verification

- RED: exact Crowdin head `8e08831e52d98765000ac20c23783e195da718d8`
failed 12 of 76 translation contracts
- GREEN: focused translation contract passes 76/76
- review RED/GREEN: temporary focused review contract failed 4/4 before
the wording/markup fixes and passed 4/4 afterward; the disposable test
was removed so the product diff remains six READMEs
- full workflow contracts pass 160/160
- repository maintenance scripts pass 166/166
- normal pre-push hook passes twice, including Biome, Qlty, UI
typecheck, 100% app/UI coverage, and app/UI builds
- `git diff --check` passes

## Frozen review identity

- base: `9db36cce930532f044d1fa5e294cf9a622ab14e8`
- head: `ccadd6516520b2f9e0ffaa76c20849c1cbaf0a7d`
- tree: `b3cd1d00173a153c310ef918c81e4c8b00cd6a6a`
- patch SHA-256:
`c0cd81d58e35a2855958e85181bd49acf5eb7dd3788b2485caf49ec56e46d01f`
- scope: exactly six translated README files

Greptile review is skipped under the explicitly accepted
exhausted-credit decision. CodeRabbit, CI, and human language review
remain required.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”§ Updated six translated README files to restore source-content, link,
URL, and HTML-tag parity.
- πŸ”§ Reformatted badges, collapsible sections, screenshots, feature
tables, comparison tables, roadmap tables, documentation tables, and
ecosystem tables.
- πŸ”’ Documented fail-closed authentication behavior across translations.
- πŸ”§ Updated localized v1.7 release, security, dependency, lifecycle,
migration, and star-history references.
- πŸ”§ Corrected translated labels and integration headings.
- πŸ—‘οΈ Removed an obsolete German roadmap note.

## Concerns

- Verify all translated README links and URLs against the source README.
- Verify HTML and Markdown tables render correctly on GitHub.
- Verify `<details>` summaries remain accessible and consistent.
- Confirm no translated content was lost during structural reformatting.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(compose): refresh image-inherited runtime defaults (#736)

Squash merge of reviewed head 1074a1f6 into dev/v1.7.

* fix(i18n): correct reviewed README terminology (#738)

## Summary

- preserve the Cosign product name in the Spanish security descriptions
- complete the Polish roadmap localization and correct the `curl`
removal note
- correct Chinese Docker-socket, localization, release-intelligence,
scanner, and domain terminology
- preserve Polish Compose, Docker digest, update-mode, routing,
resource-action, and template-variable semantics

## TDD verification

- initial RED: a focused seven-case translation contract failed 7/7 on
exact dev `4fc848253210a6885fd95a1916cb5ee3416e0695`
- initial GREEN: the same contract passed 7/7 after the first three
README edits
- first-review RED: a focused three-case contract failed 0/3 on exact
`8ba66139f46123313c7ca91381bf2c8bca03a598`
- first-review GREEN: the same contract passed 3/3 after preserving
Compose/matching semantics, natural Polish roadmap terminology, and all
Chinese scanner/backend choices
- exact-review RED: a focused three-case contract failed 3/3 on exact
`7df439f04f386800051a9bf57f86d55f2234d9e8`
- exact-review GREEN: the same contract passed 3/3 after preserving
Polish routing, template-variable, Docker digest rebuild, update-mode,
and resource-action semantics
- disposable review tests were removed so this fix remains a
three-README product diff
- existing translation contract passes 76/76
- full workflow contracts pass 160/160
- repository maintenance scripts pass 166/166
- latest normal pre-push hook passes in 290 seconds, including Biome,
Qlty, UI typecheck, 100% app/UI coverage, and app/UI builds
- `git diff --check` passes

## Frozen identity

- base: `4fc848253210a6885fd95a1916cb5ee3416e0695`
- head: `9cff7f21a489e60f030bc5742c9e4b2d17649450`
- tree: `297d2aa5a463a3d6b708602e50a834fad5c21ae7`
- patch SHA-256:
`a9e23eae01f487dec7927488762f7799ab3b46682ed7d105feb720049890d73b`
- scope: exactly `README.es.md`, `README.pl.md`, and `README.zh-CN.md`

This feature PR addresses the exact-head translation findings from
promotion PR #737 and the verified follow-up findings from its own
reviews. Greptile is waived under the explicitly accepted
exhausted-credit decision. Exact-head CodeRabbit, CI, and genuine human
language review remain required.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ› Fixed Spanish `Cosign` signature-verification terminology.
- ✨ Added Polish roadmap localization for headers and release entries.
- πŸ› Corrected the Polish `curl` removal note.
- πŸ› Corrected Chinese terminology for Docker socket mounting, UI
localization, release intelligence, scanner options, backend, and
website naming.

## Concerns

- Verify terminology against the source README files.
- Confirm roadmap consistency across localized README files.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(i18n): localize README table labels (#739)

## Summary

- restore five localized roadmap/resource table labels found during the
final D4 promotion language review
- keep the correction to one label cell each in German, Spanish, French,
Polish, and Brazilian Portuguese
- leave the already-reviewed translations and Compose changes unchanged

## TDD evidence

- focused table-header contract RED: 5 failed, 161 passed
- focused table-header contract GREEN: 166 passed
- temporary contract removed after RED/GREEN to preserve the
eight-product-path promotion endpoint
- permanent README translation contract: 76/76
- full workflow suite: 160/160
- normal pre-push: clean tree, Biome, qlty, 166 script tests, 160
workflow tests, UI typecheck, app/UI 100% coverage, and app/UI builds
all passed

## Exact scope

- `README.de.md`: `Highlights` β†’ `HΓΆhepunkte`
- `README.es.md`: `Version` β†’ `VersiΓ³n`
- `README.fr.md`: `Link` β†’ `Lien`
- `README.pl.md`: `Resource` β†’ `ZasΓ³b`
- `README.pt-BR.md`: `Link` β†’ `LigaΓ§Γ£o`

Greptile is waived under the accepted exhausted-credit decision.
Exact-head CodeRabbit, CI, and genuine language approval remain
required.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”§ Changed localized README table labels:
  - German: `Highlights` β†’ `HΓΆhepunkte`
  - Spanish: `Version` β†’ `VersiΓ³n`
  - French: `Link` β†’ `Lien`
  - Polish: `Resource` β†’ `ZasΓ³b`
  - Brazilian Portuguese: `Link` β†’ `LigaΓ§Γ£o`

## Concerns

- Verify the Polish diff. The raw summary also reports `Link` β†’ `Link`,
while the objectives report only one changed label.
- Confirm all reported validation checks pass.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(web): forward $raw_user_agent and $host for cookieless ingestion (#740)

## Summary

- `before_send` in `apps/web/src/lib/analytics-contract.ts` rebuilt
every outgoing PostHog event from a hard allowlist that dropped
`$raw_user_agent` and `$host`. PostHog's cookieless server-hash
ingestion step reads those two fields straight off `event.properties`
and silently drops the event (`cookieless_missing_user_agent` /
`cookieless_missing_host`) if either is absent β€” same bug fixed in
CodesWhat/portwing#124.
- `createBeforeSend` now requires both fields (drops the event if either
is missing or empty) and forwards them through unchanged. `$ip` is
deliberately never forwarded β€” PostHog's capture service fills it in
server-side from the request connection.

## Test plan

- [x] `apps/web/scripts/analytics-contract.test.mjs` β€” added a dedicated
regression test pinning that `$raw_user_agent`/`$host` are required and
forwarded, and that events missing either are dropped; updated existing
fixtures to carry the new required fields.
- [x] `apps/web/scripts/analytics-integration.test.mjs` β€” added a
source-scan regression guard analogous to portwing's
`web-analytics-source.test.mjs`.
- [x] `npm run test:scripts` (apps/web) β€” 87/87 passing
- [x] `npm run type-check` (apps/web) β€” clean
- [x] `npm run lint` (apps/web) β€” clean
- [x] full pre-push hook suite (qlty, workflow-tests, typecheck-ui,
web-scripts-test, coverage, build) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ”§ Changed `createBeforeSend` to require non-empty `$raw_user_agent`
and `$host`.
- πŸ—‘οΈ Dropped events that omit either cookieless ingestion field.
- πŸ”§ Forwarded `$raw_user_agent` and `$host` in sanitized events.
- πŸ”’ Continued excluding `$ip`; PostHog supplies it server-side.
- ✨ Added regression and source-scan coverage.
- πŸ”§ Updated analytics fixtures and invalid-input cases.
- βœ… Script tests, type checks, linting, and pre-push checks pass.

- Confirm that all analytics event producers provide non-empty
`$raw_user_agent` and `$host`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(store): persist updatePolicyRetentionCache across process restart (#743)

## Summary
- Round 3 of the #565 thread: a controller self-update (recreate ->
SIGTERM -> new process) still wiped stashed maturity-policy overrides
for a replacement container, even though the sibling lifecycle/clock
cache (`updateLifecycleCache`) already survives the same restart per
#556.
- `updatePolicyRetentionCache` only ever lived in a bare in-memory
`Map`, so `stashUpdatePolicyForReplacement()`'s stash was gone before
the replacement container's `insertContainer()` call could consume it in
the new process.
- Gives `updatePolicyRetentionCache` the same durable,
write-through-backed collection `updateLifecycleCache` already has: a
new `app/store/update-policy-retention-cache.ts` module, write-through
on stash, delete-on-consume, and
`rehydrateUpdatePolicyRetentionCacheFromStore()` wired into
`store/index.ts` startup before the first `insertContainer` runs.
- Does not touch the round-1 (clock-restart, #568) or round-2
(empty-override-authoritative, #624) fixes, which are already correct.
- The remaining half of the report β€” policy loss from a pure 0-container
remote-agent handshake with no controller restart β€” isn't explained by
this fix. The existing zero-container handshake path already skips
`pruneOldContainers`/`deleteContainer` entirely, so that part needs more
repro detail from the reporter before a second root cause can be pinned
down.

## Test plan
- [x] `npx vitest run store/container.test.ts store/index.test.ts
store/update-lifecycle-cache.test.ts
store/update-policy-retention-cache.test.ts` β€” new "simulated process
restart" test pins the fix; also new dedicated unit tests for the new
store module and wiring-order assertions in `store/index.test.ts`
- [x] `npm test` in `app/` β€” 12907 tests pass, 100% coverage
- [x] `npx tsc --noEmit` and `npx biome check .` clean
- [x] Pre-push hooks (biome, qlty, workflow-tests, typecheck-ui,
coverage, build) all green

Fixes: #565

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added a durable LokiJS-backed store for update-policy retention
records.
- πŸ”§ Changed `updatePolicyRetentionCache` to write through to persistent
storage.
- πŸ”§ Changed cache consumption, expiration, and size eviction to delete
persistent records.
- πŸ”§ Changed startup to rehydrate unexpired records before the first
`insertContainer` call.
- πŸ› Fixed maturity-policy overrides being lost during controller process
restarts.
- ✨ Added tests for persistence, rehydration, expiration pruning,
eviction, deletion, and startup ordering.

## Concerns

- Verify behavior during zero-container remote-agent handshakes without
a controller restart. This PR does not cover that loss path.
- Verify the new store follows existing store initialization and
persistence conventions.
- Review whether `unknown` for `updatePolicyOverrides` preserves the
required type safety.
- Check whether cache persistence and rehydration logic duplicates
existing store utilities.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* ci: migrate workflow security to the reusable go-ci caller (#742)

## Summary
- Replace the inline `zizmor` job in `ci-verify.yml` with a caller job
(`security-actions`) into `CodesWhat/.github`'s `go-ci.yml` reusable
`workflow-security` gate, pinned at
`01bf40b06b110946f12a49b82e407d77c6480df7`.
- Add a temporary fail-closed bridge job (`legacy-security-actions`)
that republishes the caller's result under the old plain `Security:
Actions` check context, so branch protection keeps working unchanged
during the migration window.
- Repoint every job that depended on the removed `zizmor` job
(`secrets`, `codeql`, `fuzz`) at `security-actions`.

## Naming resolution
- Caller job: key `security-actions`, `name: "Security: Actions"` β†’
GitHub reports this as the composite context `Security: Actions /
Workflow Security` (reusable-workflow-call jobs report as `<caller job
name> / <called workflow job name>`).
- Bridge job: key `legacy-security-actions`, `name: "Security: Actions"`
β†’ reports as the plain context `Security: Actions`, identical to what
the removed inline job published.
- These are two different job keys with the same display `name`, which
GitHub allows (job identity for check-run purposes is the job key +
workflow, not the display name) and produces two distinct, non-colliding
check contexts because one is a reusable-workflow-call job and the other
isn't.

## Test plan
- [x] `npm run test:workflows` β€” 166/166 passing (17 files), including
new `.github/tests/reusable-ci-config.test.ts` and extended
`ci-verify-workflow.test.ts` / `harden-runner-workflow.test.ts`
- [x] `node --test scripts/*.test.mjs` β€” passing (ran as part of
pre-push hook)
- [x] `npx biome check .` β€” clean
- [x] Local `zizmor` pre-push hook scan of `.github/workflows/*.yml` β€”
no findings
- [x] Full pre-push hook chain (clean-tree, ts-nocheck, biome, qlty,
qlty-smells, scripts-test, workflow-tests, typecheck-ui, coverage,
build, zizmor) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ”’ Added a pinned `security-actions` reusable workflow caller from
`CodesWhat/.github/go-ci.yml`.
- πŸ”§ Disabled Go test and lint jobs for this Go-less repository.
- ✨ Added a fail-closed `legacy-security-actions` bridge for the
existing `Security: Actions` branch-protection context.
- πŸ”§ Updated `secrets`, `codeql`, and `fuzz` job dependencies.
- πŸ”’ Required `actions:read`, `contents:read`, and
`security-events:write`.
- πŸ”§ Added validation for workflow pinning, permissions, disabled Go
jobs, bridge behavior, and blocked egress.
- πŸ—‘οΈ Removed the inline `zizmor` job.

## Concerns

- Remove `legacy-security-actions` after branch protection no longer
requires `Security: Actions`.
- Keep the frozen `go-ci.yml` SHA synchronized with the approved
revision.
- Preserve the fail-closed bridge contract and `egress-policy: block`.
- Confirm the reusable workflow remains compatible with the required
`security-events: write` permission.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* ci(verify): remove legacy security-actions bridge (#745)

## Summary
- Ruleset 13077055 was narrowed to require `Security: Actions / Workflow
Security` (the reusable go-ci caller's composite context) instead of the
old plain `Security: Actions` context. The `legacy-security-actions`
fail-closed bridge job in `.github/workflows/ci-verify.yml`, which
existed only to republish the old plain name, is now unreferenced by
branch protection and has been removed.
- Updated `.github/tests/ci-verify-workflow.test.ts` to drop the
assertion on the removed job's name and add a retired-context rejection
test (mirrors portwing #122 / sockguard #260): asserts the
`legacy-security-actions` job is gone and that no job (other than the
legitimate `security-actions` reusable caller, whose `name:` field is
the composite prefix, not a standalone check) republishes the bare
`Security: Actions` name. The regex is anchored to `^[ \t]*name:` with
optional quotes so it can't false-positive on an input key like
`workflow-security-check-name:`.
- Updated `.github/tests/harden-runner-workflow.test.ts` to drop the
block-egress carve-out and dedicated bridge test that only existed for
the removed job; every remaining Harden Runner step now uses the
standard `audit` policy.

## Test plan
- [x] `npm run test:workflows` β€” 167/167 pass
- [x] Full `git push` pre-push gate (clean-tree, ts-nocheck, biome,
qlty, qlty-smells, scripts-test, workflow-tests, typecheck-ui, coverage,
build, zizmor) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ—‘οΈ Removed the obsolete `legacy-security-actions` bridge job from
`.github/workflows/ci-verify.yml`.
- πŸ”§ Updated workflow tests to reject the retired job and bare `Security:
Actions` check context.
- πŸ”’ Removed the Harden Runner egress-policy exception for the bridge
job.
- πŸ”§ Removed the bridge-specific Harden Runner test.
- πŸ”§ Verified workflow tests and the full pre-push gate pass.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* test(workflows): exclude nested worktrees from vitest discovery (#747)

The primary checkout's pre-push workflow-tests gate runs `vitest run
.github/tests`, which also discovers every nested preserved worktree's
copy of the suite under `.claude/worktrees/` (and legacy
`.codex/worktrees/`). A parked WIP worktree with intentionally-failing
tests (e.g. the held Warpchart README branch awaiting its Crowdin cycle)
then blocks unrelated pushes from the primary checkout, including branch
deletions. Exclude those paths from discovery; each worktree still runs
its own suite from its own root.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

### Changelog

- ✨ Added Vitest exclusions for `.claude/worktrees/` and
`.codex/worktrees/`.
- πŸ”§ Changed the configuration to extend `configDefaults.exclude`.
- πŸ› Fixed test discovery in the primary checkout by ignoring nested
preserved worktrees.

### Concerns

- Verify that each worktree runs Vitest from its own root and is not
excluded by these patterns.
- Add or update tests for both worktree paths if coverage is missing.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* test(configuration): restore digest-pinned node base image guard (#749)

## Summary
- The regression test `release image builds from the digest-pinned Node
base image` in `app/configuration/dockerfile-defaults.test.ts` was
silently dropped at a70d406e ("chore(release): promote v1.7.0-rc.1 to
main"). Restored it exactly as it read at a70d406e^.
- No digest bump: the Dockerfile still pins
`node:24-alpine@sha256:d32cdf6...`, and resolving the `node:24-alpine`
tag against Docker Hub's registry API confirms that digest is still
current, so there's no newer image to move to (and no basis to link this
to CVE-2026-58055/nghttp2-libs at this time).

## Test plan
- [x] `npx vitest run configuration/dockerfile-defaults.test.ts` β€” 5
passed
- [x] `npm run lint` (biome) β€” clean
- [x] `git push` β€” full pre-push hook chain (biome, qlty, coverage 100%,
build) passed

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added a regression test for the digest-pinned `node:24-alpine` base
image in `app/configuration/dockerfile-defaults.test.ts`.
- πŸ› Fixed missing coverage for release image builds after the
v1.7.0-rc.1 promotion.

## Validation

- Vitest passed.
- Biome linting passed.
- Pre-push checks passed.
- Coverage passed.
- Build passed.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(ui): guard container view against remote property injection (#750)

## Summary

Fixes CodeQL alert #556 (`js/remote-property-injection`,
CWE-250/CWE-400) in `ui/src/views/ContainersView.vue`.

- **Sink**: `normalizeQueryRecord()` copied `route.query` into a plain
`Record<string, string>` via `normalized[key] = normalizedValue`, where
`key` comes directly from the URL query string
(`Object.entries(route.query)`). CodeQL flags any dynamically-computed
property name write reached from a remote/URL-controlled value,
regardless of the target object's shape β€” the alert pointed at two call
sites that flow into this same write (`buildSyncedRouteQuery` and
`syncRouteQueryFromState`).
- **Fix**: accumulate the normalized entries in a `Map<string, string>`
instead of writing onto a plain object with bracket notation, then
materialize the result in one shot with `Object.fromEntries(map)`.
`Map.set` and `Object.fromEntries` are method calls, not syntactic
property writes, so there's no `obj[dynamicKey] = value` pattern for the
sink to match. `Object.fromEntries` also uses `CreateDataProperty`
semantics rather than `[[Set]]`, so even an attacker-chosen key like
`__proto__` lands as an inert own data property instead of mutating the
object's actual prototype chain β€” closing the underlying vulnerability
class, not just satisfying the checker.
- No suppression comments were used; this is a root-cause fix, and
behavior for legitimate query keys is unchanged (verified by existing +
new tests).

## Test plan

- [x] Added `ui/tests/views/ContainersView.spec.ts` β†’ `describe('remote
property injection guard (CodeQL #556)')`:
- unit-tests `normalizeQueryRecord` directly with a malicious
`"__proto__"` query key (constructed via `JSON.parse` so it's a real own
property, since object-literal `{ __proto__: ... }` syntax is
special-cased and would silently no-op) and asserts `Object.prototype`
is untouched while the legitimate key is preserved.
- exercises the full `route.query` β†’ `router.replace` sync path with the
same malicious query and asserts the emitted query object still has a
normal prototype and no global pollution occurred.
- [x] `cd ui && npx vitest run tests/views/ContainersView.spec.ts` β€” 164
tests pass (162 existing + 2 new).
- [x] `cd ui && npm run lint` β€” clean.
- [x] `cd ui && npm run typecheck` β€” clean.
- [x] `git push` β€” full pre-push hook suite passed (biome, qlty,
qlty-smells, coverage @ 100% for app+ui, app+ui build).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”’ **Security:** Prevent prototype pollution from attacker-controlled
query keys in `normalizeQueryRecord()`.
- πŸ”§ **Changed:** Normalize query entries with `Map<string, string>` and
`Object.fromEntries`.
- ✨ **Added:** Regression tests for `__proto__` normalization and
route-query synchronization.
- πŸ”§ **Changed:** Verify legitimate query keys remain intact and
`Object.prototype` remains unchanged.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* feat(triggers): add onauto auto mode and dd.action.auto label plumbing (#752)

Slice 1 of the 6.0.1 per-action policy package (#511): inert plumbing
only.

- `TriggerAutoMode` widens to `all | oninclude | onauto | none`; in this
slice `onauto` behaves identically to `oninclude` (closed by default,
auto handlers register). Its real semantics β€” `dd.action.include` grants
manual, `dd.action.auto` grants auto β€” land with the policy resolver in
the next slice.
- New `dd.action.auto` label constant and `actionTriggerAuto` field
threaded through label resolution, the container model, and store
normalization, mirroring `actionTriggerInclude`'s flow exactly
(override-vs-label precedence, no deprecated mirror, action category
only).
- Nothing consumes `actionTriggerAuto` yet.

Full suite: 12,922 tests, 100% coverage both gates.

Part of the v1.7 per-action access/auto-execution policy (prerequisite
for the DEPRECATIONS.md soft-to-hard blocker flip, which ships in the
final slice of this package, never alone).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added
- Added `dd.action.auto` label support.
- Added optional `actionTriggerAuto` to the `Container` model and Joi
schema.
- Added `actionTriggerAuto` to trigger-label resolution, Docker
overrides, container derivation, and store normalization.
- Added `onauto` to `TriggerAutoMode` and the `AUTO` Joi enum.
- Added tests for label mapping, precedence, normalization, filtering,
and Docker propagation.

πŸ”§ Changed
- `onauto` follows `oninclude` behavior.
- Label resolution limits `dd.action.auto` to the action category.
- Nullish fallback preserves explicit empty `actionTriggerAuto`
overrides.
- The label does not create a deprecated mirror.

Concerns:
- `actionTriggerAuto` has no consumer. Add policy resolution in the next
slice.
- Confirm all `AUTO` enum declarations and validation paths include
`onauto`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* feat(model): add per-action policy resolver (#755)

Slice 2 of the 6.0.1 per-action policy package (#511), stacked on #752.

- `app/model/action-policy.ts`: pure resolver returning one `blocked |
manual | auto` state per (action trigger, container).
`dd.action.exclude` always wins; access is open for `AUTO=all|none` and
label-granted otherwise; `dd.action.auto` implies access under `onauto`;
`oninclude` keeps its legacy conflated meaning (include grants
manual+auto) so no existing deployment changes behavior.
- `selectActionTrigger`: specificity-ranked candidate walk (file-matched
compose > catch-all compose > generic docker, ties by insertion order
with a one-time warn) β€” skip default-deny candidates, hard-stop on an
explicit exclude, first authorized wins. Replaces
first-compatible-by-insertion-order for eligibility display.
- `trigger-reference-matching.ts`: the `name[:threshold]` grammar
extracted from `Trigger.ts` so the resolver reuses the exact matching
machinery without a require cycle.
- `computeUpdateEligibility` derives
`trigger-excluded`/`trigger-not-included` from the resolver verdict.
Blocker reasons and severities unchanged (both still soft β€” the hard
flip is the final slice of this package).
- Parametrized tests cover the full migration table and regression
matrix from the phase spec, plus equivalence tests proving selection
matches `findDockerTriggerForContainer` for every legacy scenario.

Admission and auto-dispatch wiring are slices 3-4. Global `updateMode`
remains a call-site clamp, untouched here.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added per-action policy resolution for `blocked`, `manual`, and
`auto` states.
- ✨ Added ranked Docker and Docker Compose trigger selection.
- ✨ Added reusable trigger-reference parsing and matching utilities.
- ✨ Added migration, regression, legacy-equivalence, and parametrized
tests.
- πŸ”§ Updated `computeUpdateEligibility` to use resolver results.
- πŸ”§ Preserved existing blocker reasons and soft severities.
- πŸ”§ Preserved admission, auto-dispatch, and global `updateMode` clamp
behavior.
- πŸ—‘οΈ Removed duplicated trigger-reference parsing and legacy
include/exclude checks.

## Concerns

- Verify resolver precedence for `dd.action.exclude`, access rules,
`dd.action.auto`, and legacy `oninclude` against all migration cases.
- Verify tie warnings are emitted once per trigger set.
- Verify exported trigger-selection types follow existing module API
conventions.
- Verify provider-qualified, name-only, and threshold-based references
remain backward compatible.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* feat(updates): gate admission through the action policy resolver (#756)

* feat(updates): gate admission through the action policy resolver

resolveUpdateTrigger now selects the update trigger via
selectActionTrigger's hybrid specificity walk instead of the plain
agent/compose lookup, so a not-included candidate is no longer picked
as the resolved trigger. prepareContainerUpdateRequest also adds a
defense-in-depth guard: automatic (watcher-driven) admission is
rejected with 409 unless the resolved action-policy state is 'auto' β€”
needed because trigger-excluded/trigger-not-included stay soft-severity
blockers until the DEPRECATIONS.md hard flip lands. Manual/API admission
is unaffected and keeps admitting both 'manual' and 'auto' states.

Test mocks across request-update/webhook/container-actions specs gained
getId() now that trigger resolution and policy checks require it.

* fix(updates): harden trigger resolution per review

Three CodeRabbit review fixes on PR #756 (action policy admission):

- Require getId on resolved update triggers: isResolvedUpdateTrigger now
  checks typeof trigger.getId === 'function' in addition to type, so a
  malformed explicit options.trigger fails resolution with the existing
  500 'Invalid update trigger' instead of throwing a TypeError later in
  resolveForTrigger's automatic-source guard.
- Honor options.triggerTypes: selectActionTrigger now accepts a
  triggerTypes option that filters candidates by type before ranking, so
  a caller-scoped type (e.g. docker-only) can never lose to an excluded,
  higher-specificity candidate (e.g. a compose file match). Threaded
  through from resolveUpdateTrigger; the stale "not honored" comment is
  rewritten to describe the actual behavior.
- Add the missing automatic-source admission test: an explicit trigger
  (with getId) resolving to configuration.auto:'none' under
  source:'automatic' now has direct coverage asserting the 409
  ACTION_POLICY_NOT_AUTO_REJECTION_MESSAGE, trigger() never called, and
  no operation inserted.

* fix(updates): widen trigger type guard to unknown for CodeQL

CodeQL js/comparison-between-inconvertible-types flagged the null check:
with the parameter typed UpdateTriggerLike the comparison was statically
dead. A type guard should accept unknown; the runtime checks are unchanged
and now all statically meaningful.

---------

Co-authored-by: Test <[email protected]>

* feat(triggers): dispatch automatic actions through the policy winner (#758)

spec-6.0.1-action-policy.md slice 4. Update-action (docker/dockercompose)
triggers now gate every automatic dispatch decision point on
selectActionTrigger(..., {requireAuto: true}): getMustTriggerDecision is
extended so a trigger only proceeds when the resolver's hybrid specificity
walk picks it, by getId, with a resolved state of 'auto'. Since simple
(runUpdateAvailableSimpleTrigger), batch (shouldDispatchUpdateAvailableContainer)
and digest (handleContainerReportDigest) all funnel through
getMustTriggerDecision/mustTrigger, one extension point covers all three
without double-evaluating.

This closes the pre-existing latent fan-out double-dispatch: before this
slice every registered action trigger decided independently whether to
fire, so two compatible triggers could both run the same update. After
this slice only the resolver's ranked winner fires; the loser's
mustTrigger() now returns false and it never reaches enqueueContainerUpdate.

The digest buffer additionally re-checks the winner at flush time
(flushUpdateDigestBuffer), not just at buffer time, mirroring the existing
isAutomaticActionDispatchBlocked() re-check: a container can sit in the
buffer across cron ticks, and by flush time another trigger may now be the
resolver's winner (config change, or a more specific trigger registered
since). A stale entry is evicted instead of dispatched.

The action-category branch of getMustTriggerDecision replaces the plain
include/exclude check entirely for update-action triggers (rather than
gating on top of it), routed through the resolver via
getActionPolicyCandidateTriggers() (registry.getState().trigger, unioned
with `this` so a lone trigger absent from the registry snapshot β€” the shape
of nearly every existing unit test β€” still resolves itself as the winner
of a one-candidate walk). Two behavior changes fall out of this, both
already the resolver's behavior for display (slice 2) and admission
(slice 3), now made consistent for auto-dispatch too:
  - onauto + an include label only (no dd.action.auto label) now resolves
    to 'manual', not 'auto' β€” it grants admission access but no longer
    auto-fires. Before this slice the plain include/exclude check had no
    manual/auto distinction and incorrectly let it auto-fire.
  - AUTO=all now grants unconditional access for auto-dispatch purposes
    exactly like it already does for display/admission, ignoring any
    include label's own threshold suffix (matches the resolver's
    accessOpen semantics) rather than still honoring it as the old
    Trigger.ts-local check did.

Command trigger finding: command triggers are category 'action' (per
trigger-category.ts's ACTION_TRIGGER_TYPES) but are NOT in
UPDATE_ACTION_TRIGGER_TYPES (isUpdateActionTrigger() is false for them) β€”
they call this.trigger()/triggerBatch() directly to run a shell command,
never enqueueContainerUpdate/enqueueContainerUpdates, so they never entered
the admission queue this feature guards against fan-out on. They fall
through unchanged to the plain include/exclude branch of
getMustTriggerDecision, preserving today's behavior exactly.

Tests: regression-matrix cases 5, 6 (double-dispatch closure across
simple/batch/digest, asserting the loser's enqueue call is never made),
11 (updateMode=manual still suppresses the resolved winner), legacy
preservation (solo AUTO=all trigger absent from the registry snapshot,
oninclude+include), and notification triggers unaffected by the winner
gate. Full app suite (409 files, 12997 tests) passes with 100% coverage.

Co-authored-by: Test <[email protected]>

* chore(quality): drop the trivy qlty plugin in favor of Grype (#757)

Grype already owns vuln-scanning coverage (security-grype.yml). Trivy's
qlty-plugin config driver only checked Dockerfile misconfigurations
(DS002/DS-0002), which checkov already covers via the checkov:skip=CKV_DOCKER_3
comment on Dockerfile line 1. Removes the trivy plugin block and its
triage entry from .qlty/qlty.toml; trufflehog is untouched.

House audit follow-up H3.

Closes #753

* feat(api): surface the action policy resolution (#761)

* feat(api): surface the action policy resolution

Adds an actionPolicy field (state/triggerId/reason) to the
updateEligibility payload and a resolvedState field per trigger on
GET /api/v1/containers/{id}/triggers, so the UI can render the
blocked/manual/auto verdict Drydock actually resolved rather than
inferring it from blockers alone. New action-policy.ts helpers
(findOnincludeAutoMigrationGaps, findInertAutoLabelContainers) back
two startup WARNs on Trigger.init(): a trigger left on AUTO=oninclude
whose dd.action.include-matching containers have no dd.action.auto
label (would silently drop to manual-only if switched to onauto), and
a trigger on AUTO=none carrying an inert dd.action.auto label. OpenAPI
schemas and the triggers-list response shape are updated to match.

Part of spec-6.0.1-action-policy.md, slice 5.

* feat(ui): show auto-dispatch policy badges

Adds an "Auto" badge (Update Status panel, full-page Actions tab, and
side panel trigger rows) wherever a container's or an individual
trigger's resolved action-policy state is auto, backed by the new
actionPolicy/resolvedState API fields. Tooltips explain the
blocked/manual/auto verdict for each trigger row. New en locale
strings only; other locales pick up keys via Crowdin.

Part of spec-6.0.1-action-policy.md, slice 5.

* docs(actions): document dd.action.auto and onauto

Documents the new dd.action.auto container label and the onauto AUTO
value across the labels reference, triggers configuration, and
update-eligibility pages, including the resolved actionPolicy API
field and per-trigger resolvedState. Adds a callout on all three pages
making explicit that AUTO=none/AUTO=all also set the baseline access
default, not just automatic execution: AUTO=none still opens manual
access to every container, and AUTO=all opens both. Adds the
Unreleased CHANGELOG entry for this slice.

Part of spec-6.0.1-action-policy.md, slice 5.

* test(e2e): scope the QA dockercompose action to a dedicated compose file

The trigger-specificity walk introduced by the 6.0.1 admission wiring
(#756) correctly prefers a compose-file-matched trigger, which turned
DD_ACTION_DOCKERCOMPOSE_QA into the winning action for the entire
Playwright fleet: qa-compose.yml's basename suffix-matches every fixture
container's compose label. That trigger can never complete an update
against its read-only mount, so accepted dashboard updates EROFS-failed
in the background dispatch and the widget never left its pending state
(intermittent dashboard.spec.ts failures, #763).

Point the trigger at a dedicated file with a distinct basename that no
fleet container matches, restoring DD_ACTION_DOCKER_LOCAL as the
selected action for the fixtures, and guard the collision in the
workflow tests.

* ci(review): wire the greptile second-opinion summon behind a label (#762)

Closes #751, house-audit H7, both halves β€” caller + labeling_instructions.

* feat(model)!: enforce action include/exclude as hard blockers (#772)

* feat(model)!: enforce action include/exclude as hard blockers

End the v1.5.0-v1.6.x soft-severity grace period for trigger-excluded
and trigger-not-included (spec-6.0.1-action-policy.md slice 6): both
flip from soft to hard in BLOCKER_SEVERITY (app/model/update-eligibility.ts
and its UI mirror, ui/src/utils/update-eligibility.ts). A container an
action trigger's dd.action.include/dd.action.exclude labels filter out
now locks the Update button and gets a 409 on a manual update request,
matching every other hard eligibility gate, instead of only gating
automatic dispatch. AUTO=oninclude's existing meaning is unchanged: a
matching dd.action.include label still grants both manual and automatic
access under that mode.

Ships together with the per-action execution policy landed across
slices 1-5 (dd.action.auto label, AUTO=onauto trigger mode) so the
manual-only escape hatch isn't removed without a replacement path.

Updates every test that encoded the old soft behavior (severity-map
assertions, the request-update.ts admission tests that were exercising
the wrong container field and passing vacuously, and UI fixtures that
used trigger-not-included as a generic "soft blocker" example) and adds
hard-rejection coverage for both reasons at the eligibility, admission,
and UI-lock layers. Also updates DEPRECATIONS.md (moved to "Removed
compatibility behaviors"), the docs deprecation schedule and
update-eligibility pages, and the CHANGELOG.

BREAKING CHANGE: a manual update request against a container filtered
out by dd.action.include/dd.action.exclude (or the legacy
dd.trigger.include/dd.trigger.exclude) now fails with a 409 instead of
queuing after a confirm-modal warning. See DEPRECATIONS.md.

* test(model): add the 6.0.1 regression matrix

Dedicated release-gate test file for spec-6.0.1-action-policy.md's
16-case regression matrix. Every case is asserted through
selectActionTrigger/resolveForTrigger, cited by case number; cases 1
and 4 additionally exercise the real admission path
(enqueueContainerUpdate/requestContainerUpdate) since they're the
direct end-to-end proof of the soft->hard flip landing in the prior
commit, and cases 11/12 (the updateMode ceiling) are asserted purely
through admission since the resolver deliberately doesn't apply that
ceiling itself.

* fix(model): omit unset dd.action.include from the not-included message

* docs(deprecations): drop legacy dd.trigger labels from the hard-flip migration guidance

* docs(readme): align with the codeswhat readme shape (#775)

* ci(security): pin hosted runners and annotate remaining action pins (#776)

* ci(security): flip harden-runner to egress block on stage-1 jobs (#777)

* ci(security): flip harden-runner to egress block on stage-1 jobs

Migrates 11 harden-runner job instances from audit (log-only) to block
(enforced) egress policy, per the Stage-1 plan in
.planning/roadmap/h2-harden-runner-block-plan.md Β§2: ci-verify.yml's
changes/dependency-review/secrets/fuzz/test/web, e2e-playwright.yml's
changes, quality-mutation-monthly.yml's stryker/aggregate,
quality-portwing-fleet-soak.yml's fleet-soak, and security-grype.yml's
grype-deps. Each carries the plan's exact per-job allowed-endpoints list.

Also sets disable-sudo: true on every migrated job β€” none of them use
sudo (grep-confirmed across all workflow files).

harden-runner-workflow.test.ts now tracks policy per job via an
expectedPolicy map instead of asserting audit everywhere, so the test
itself becomes the migration checklist for the remaining stages.

* ci(security): allow the api and download hosts the stage-1 jobs actually hit

First block-mode run surfaced four gaps, all confirmed from harden-runner
telemetry: paths-filter calls api.github.com for the PR file list (both
changes jobs), setup-go fetches manifests from raw.githubusercontent.com
and toolchains via go.dev (dl.google.com added for its download redirect),
and the grype installer pulls its script from raw.githubusercontent.com
plus a release lookup on api.github.com. The per-datacenter
hosted-compute-watchdog githubapp.com host stays blocked deliberately:
runner-internal telemetry, unroutable to a stable name, non-fatal.

* ci(security): point the grype allowlist at its real installer and v6 db hosts

Second block-mode run: the pinned scan-action installs from
get.anchore.io (raw.githubusercontent.com is only its fallback, which
worked) and the v6 vulnerability database lives at grype.anchore.io, not
toolbox-data.anchore.io β€” that host is the legacy v5 listing and was
observed unused, so it's dropped rather than left as dead egress.

* ci(security): harden the stage-1 allowlists and policy test from run telemetry

- nodejs.org on every flipped setup-node job: the green test job showed a
  blocked setup-node fallback download that only stays harmless while the
  runner image's toolcache carries the pinned Node version.
- qlty-releases.s3.amazonaws.com and qlty.sh on the test job: the
  continue-on-error coverage publish was failing invisibly at the CLI
  download. The qlty CLI's Sentry ingest host stays blocked deliberately.
- grype's real hosts landed in the previous commit; this one also drops
  two review gaps in the workflow test: stale expectedPolicy keys now
  fail (a misspelled key silently defaulted the job to audit), and block
  jobs must carry disable-sudo: true.

* ci(security): allow the sigstore tuf roots for qlty attestation verification

The coverage publish's gh attestation verify needs the sigstore and
GitHub TUF repositories; with them blocked the continue-on-error step
silently skipped every publish. Allowing attestation infrastructure is
the supply-chain-positive direction of this migration.

* docs(readme): align tail sections and badge wall with house shape (#778)

* docs(readme): align tail sections and badge wall with house shape

- docs(readme): promote Star History, Built With, Community & Support,
  and CodesWhat Ecosystem to h2 with anchor ids per readme-shape.md
- docs(readme): move the sponsor badge into the badge wall's social-proof
  row and drop it from the footer
- docs(readme): drop the qlty test_coverage badge, keeping maintainability
  as the one Qlty signal on the wall
- docs(readme): state the Issues/Discussions/Discord routing rule in
  Community & Support per community.md
- docs(readme): mirror the badge-wall and routing-sentence changes into
  the six translated READMEs, preserving the source URL multiset
- docs(agents): note the greptile.json + greptile.yml second-opinion
  reviewer wiring in the merging section

* docs(readme): narrow the Discord line to real-time chat and early support

Review follow-up: the lead Community line routed questions to Discord
while the routing sentence below routes open-ended questions to
Discussions. Mirrored across the 6 translations.

* ci(quality): gate knip and clear the dead-code backlog (#782)

* refactor(quality): remove dead code and stray exports surfaced by knip

Ran knip across app/ and ui/ for the first time and cleared the backlog
so the gate can go in clean. Findings broke down into a few buckets:

- refactor(app): drop test/mock-factories.ts, a 60-line mock-factory
  file with zero live importers
- build(app): remove the unused express-healthcheck dependency
- build(ui): add @vue/compiler-core as an explicit devDependency (it
  was only resolving transitively through vue, despite being imported
  directly in tests/i18n/no-raw-text.spec.ts)
- refactor(app): fix ComposeFileLockManager's duplicate export (was
  both `export class` and `export default`); standardize on default
  export to match every other provider/manager in the codebase
- refactor(app,ui): remove the `export` keyword from ~190 functions,
  consts, types, and interfaces that knip's whole-program analysis
  proved have no consumer outside their own file. Unexporting several
  of these then surfaced true dead code underneath (nothing internal
  referenced them either), which biome's noUnusedVariables caught once
  export no longer hid them:
  - agent/ed25519-signer.ts: unused ED25519_AUTH_HEADER_NAMES map
    (header names are hardcoded elsewhere; this copy was never read)
  - api/container/filters.ts, api/container/sorting.ts: unused
    ContainerSortField/ContainerOrderDirection type aliases, and a
    fully orphaned duplicate parseContainerSortMode/
    resolveContainerSortMode pair in sorting.ts left over from a
    refactor that moved the real implementation into filters.ts
  - watchers/providers/docker/Docker.containers.test.helpers.ts: an
    orphaned OIDC device-flow fixture cluster (createOidcConfig,
    createDeviceFlowConfig, createDeviceCodeResponse,
    createTokenResponse, createDockerOidcStateAdapter,
    createDockerOidcContext) with no remaining callers, plus the now-
    unused imports that fed the trimmed re-export block
  - watchers/providers/docker/label.ts: ten dd.* label constants
    (ddSourceRepo, ddGroup, ddHookPre/Post/PreAbort/Timeout,
    ddUpdateMode, ddRollbackAuto/Window/Interval) that documented
    label keys the actual readers hardcode as string literals instead
    of importing
  - ui/src/services/notification.ts: unused NotificationTemplateField
    type alias
- test(app): rewrite log/warn.test.ts's logError case to destructure
  the import directly instead of going through a type-cast property
  access, which was hiding the export from knip
- test(ui): import CONTAINER_TABLE_ACTIONS_SIZE statically in
  useColumnVisibility.spec.ts instead of through a dynamic-import
  helper, for the same reason
- chore(app): move **/*.typecheck.ts from knip.json's `ignore` to
  `entry` so type-check-only consumers count as real usage instead of
  being invisible to the analysis; fixes the same blind spot for any
  future typecheck-only export, not just the two it caught here
- chore(app,ui): add ignoreBinaries/ignoreDependencies entries for
  genuine false positives (cc/openssl system binaries used in a
  healthcheck test, and two dependency-resolution quirks around
  stryker's JSDoc-only type import and vit…
scttbnsn added a commit that referenced this pull request Oct 12, 2026
* test(i18n): harden README translation contracts (#721)

## Summary

- bind localized v1.7 release bullets to their intended discussion and
issue links
- require every translated README to preserve the source README URL
multiset
- verify balanced `details`, `summary`, and `em` tags across source and
translated READMEs

## Verification

- focused translation contracts: 76/76
- full workflow suite: 160/160
- Biome and `git diff --check`
- full pre-push pipeline: qlty, 161 script tests, workflow tests, UI
typecheck, 63 web script tests, 100% app/UI coverage, app/UI builds, and
zizmor
- normal push hook repeated the full pipeline successfully

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Changelog

- ✨ Added URL multiset checks for translated READMEs.
- ✨ Added link checks for localized v1.7 release bullets.
- ✨ Added balanced `details`, `summary`, and `em` tag checks.
- ✨ Verified 76/76 translation contracts, 160/160 workflow tests,
formatting checks, and the full pre-push pipeline.

### Concerns

- Confirm that the new checks use existing repository test utilities
where applicable.
- Confirm that localized release bullet matching remains stable for
future translation changes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(agents): make edge poll interval configurable (#723)

Closes #688

## What changed

- add `DD_PORTWING_POLL_INTERVAL` for controller-owned Edge refresh
cadence
- validate positive integer seconds with a 300-second fallback
- send the configured value in the authenticated welcome frame and agent
metadata
- document the setting and protect the public contract with tests

## Verification

- focused configuration and WebSocket tests: 418 passed
- full backend: 12,879 passed, 100% statements/branches/functions/lines
- scripts: 162 passed
- workflows: 160 passed
- full pre-push gate: passed, including app/UI coverage and production
builds

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

✨ Added `getPortwingPollInterval()` with `DD_PORTWING_POLL_INTERVAL`
support.

πŸ”§ Changed the authenticated WebSocket welcome frame and agent metadata
to use the configured interval.

πŸ”§ Changed invalid or unspecified values to fall back to `300` seconds.

✨ Added configuration, handshake, metadata, and documentation contract
tests.

✨ Documented the controller-owned setting and added a Docker Compose
example with a `60`-second interval.

πŸ—‘οΈ Removed the obsolete `.gitleaksignore` exception for the test token
hash.

## Concerns

- Verify the controller-provided interval remains the Edge/WebSocket
override for agent-side polling.
- Preserve rejection of fractional, non-positive, non-numeric, empty,
and unsafe-integer values.
- Keep `DD_AGENT_POLL_INTERVAL` excluded from the documentation
contract.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(agents): surface edge exec end reasons (#724)

Closes #635

## What changed

- preserve the optional Portwing `exec_end.reason` at the Edge session
boundary
- expose an optional `endCallback` to the internal exec consumer
- delete the completed session before invoking consumer code so a
throwing callback cannot leak state
- isolate callback failures during disconnect so later sessions and
agent cleanup still complete
- keep outbound teardown and non-string reason handling unchanged

## Verification

- RED: four reason/callback contracts failed because the reason was
dropped
- RED: disconnect cleanup rejected on the first throwing callback and
skipped later sessions
- GREEN: focused adapter suite 161/161
- full pre-push gate passed in 284 seconds
- app and UI coverage remain 100%
- application and UI production builds passed

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added optional `endCallback` support for exec consumers.
- ✨ Added Portwing `exec_end.reason` propagation.
- πŸ”§ Updated `ExecSession.close(code?, reason?)` to forward string
reasons.
- πŸ› Deleted completed sessions before invoking callbacks.
- πŸ› Isolated disconnect callback failures so cleanup continues.
- ✨ Added regression tests for reason validation, callback failures, and
disconnect cleanup.
- πŸ”’ Preserved outbound teardown and non-string reason behavior.
- βœ… Verified focused adapter tests, the full pre-push gate, coverage,
and production builds.

## Concerns

- Confirm that `endCallback` remains internal and does not require
public API documentation.
- Confirm that callback errors use the project’s standard logging
utility and error format.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(agent): normalize controller-owned registry identities (#725)

Closes #687

## What changed

- normalize complete controller-owned Portwing image records through the
existing configured-provider path
- use the canonical registry name, URL, credentials, and image identity
before persistence and native refresh
- preserve traditional agent behavior and partial-event handling
- cover initial inventory and subsequent Portwing event ingestion

## Verification

- RED: both inventory and event paths retained `registry.name=unknown`
and skipped the native registry query
- GREEN: affected AgentClient/image-comparison suite 607/607
- full backend 12,872 tests at 100% coverage on the fix commit
- full pre-push gate passed in 276 seconds after current-dev integration
- live exact-commit tri-tool smoke returned watch-now HTTP 200, queried
`hub.public`, detected BusyBox `1.36.1`, made 46 native Docker GETs, and
made zero legacy watcher POSTs

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added controller-side normalization for Portwing containers from
Docker transport watchers.
- πŸ”§ Changed inventory and incremental event handling to use configured
registry identity, URL, credentials, and image identity.
- πŸ”§ Preserved traditional agent normalization and partial-event
handling.
- πŸ› Fixed controller-owned registry checks for agent-synced containers.
- ✨ Added tests for anonymous Docker Hub registration, image
normalization, and native watcher identity.
- πŸ”§ Verified affected tests, the backend suite, the pre-push gate, and
live tri-tool smoke tests.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(registries): propagate manifest created fetch failures (#726)

Closes #606

## What changed

- propagate exhausted manifest and blob transport failures instead of
converting them to successful `undefined`
- preserve resolved digest results only when optional created-metadata
requests return 301, 302, 303, 307, or 308, while keeping redirect
following disabled
- keep contextual child debug logging and rethrow the original 304, 4xx,
5xx, network, and non-object failures
- preserve optional handling for missing config digests, absent or
non-string `created`, and invalid dates

## Why

The first implementation correctly fixed #606, but the exact-head
Playwright fixture exposed the mirror registry returning 302 for
optional blob metadata. Because registry requests intentionally use
`maxRedirects: 0`, rethrowing that 302 aborted digest watch and hid a
real Nginx update. CodeRabbit then caught that a broad 3xx predicate
also swallowed `304 Not Modified`; the final allowlist excludes
non-redirect statuses.

## Verification

- RED: four original failure cases resolved successfully instead of
rejecting
- RED: schema v2 blob 302 and manifest 307 rejected instead of
preserving the resolved digest
- RED: manifest 304 resolved with a digest instead of rethrowing the
original error
- GREEN: redirect and failure-propagation focus 5/5
- GREEN: Registry, BaseRegistry, image-comparison, and Docker boundary
597/597
- GREEN: full pre-push in 273.80 seconds, including 323 script/workflow
tests, app/UI 100% coverage, and both builds
- exact patch is limited to `app/registries/Registry.ts` and
`app/registries/Registry.test.ts`

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ› **Fixed:** Propagate manifest configuration and blob transport
failures instead of returning `undefined`.
- πŸ› **Fixed:** Preserve original rejection values, including non-`Error`
values.
- ✨ **Added:** Preserve resolved digests for optional metadata requests
that return HTTP 301, 302, 303, 307, or 308.
- πŸ”§ **Changed:** Keep redirect following disabled.
- πŸ”§ **Changed:** Preserve contextual debug logging for non-redirect
failures.
- ✨ **Added:** Tests for HTTP 304, 4xx, 5xx, network, redirect, missing
metadata, invalid dates, child logging, and legacy blob mocks.
- πŸ”§ **Changed:** Limit implementation changes to `Registry.ts` and
`Registry.test.ts`.

## Concerns

- Verify `isRedirectError` matches only HTTP 301, 302, 303, 307, and
308.
- Verify `BaseRegistry` caching preserves prior digest-watch verdicts
after propagated failures.
- Verify tag-only requests still treat missing or invalid `created`
metadata as optional.
- Check whether an existing shared HTTP-status utility should replace
`isRedirectError`.
- Check whether `Registry` error handling remains consistent with the
`BaseRegistry` provider pattern.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* docs(release): update v1.7.0-rc.1 notes (#727)

## Summary

- date the v1.7.0-rc.1 release metadata for the August 14 cut
- document the four post-promotion fixes without changing their issue
state
- keep all seven translated README anchors and release contracts in sync

## TDD

- RED: release identity failed on the stale August 13 headings and
missing #606, #635, #687, and #688 notes
- RED: the translation contract failed all six localized README anchors
- GREEN: release identity 12/12 and translation contract 76/76

## Verification

- `node --test scripts/*.test.mjs` (164/164)
- `npm run test:workflows` (160/160)
- `npm run release:precheck -- v1.7.0-rc.1 --strict --tracker <private
tracker>`
- website scripts 63/63, typecheck, and production build (437 pages)
- normal pre-push hook, including 100% app/UI coverage and both builds

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added
- Added release metadata checks for issues `#606`, `#635`, `#687`, and
`#688`.
- Added checks for required fix descriptions.
- Added checks that reject broad `3xx` wording and require explicit
redirect statuses `301`, `302`, `303`, `307`, and `308`.
- Preserved `304` as a propagated failure.

πŸ”§ Changed
- Updated v1.7.0-rc.1 release identity from August 13 to August 14,
2026.
- Updated seven translated README changelog anchors.
- Added release highlights for Portwing, Edge reliability, registry
metadata failures, and redirect responses.
- Documented post-promotion fixes without implying issue closure.

- Verify the `README.pt-BR.md` anchor direction. Its generated summary
reports a change from August 14 to August 13, which conflicts with the
release update.
- Confirm all release identity, translation, workflow, website,
typecheck, build, and pre-push checks pass.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* test(release): enforce redirect allowlist in notes

* feat(web): add privacy-first PostHog analytics (#731)

Replace Vercel telemetry with a cookieless, allowlisted PostHog contract for pageviews, CTAs, and web vitals.

* test(web): bind approved CTA combinations (#733)

## Summary

- enumerate every approved analytics CTA tuple
- prove the runtime allowlist exposes every documented CTA ID and
placement
- close the exhaustive-coverage gap found during the dev-to-main
promotion review

## Verification

- mutation RED: removing `marketing\0install_quick\0get_started` fails
the new exhaustive contract
- GREEN: focused analytics contracts pass 8/8
- full normal pre-push passes, including 100% app/UI coverage and both
builds

Refs #732

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added `ANALYTICS_CTA_TUPLES` as the canonical list of approved
surface, CTA, and placement combinations.
πŸ”§ Derived `ALLOWED_CTA_TUPLES` from `ANALYTICS_CTA_TUPLES`.
✨ Added exhaustive contract tests with `APPROVED_CTA_TUPLES`.
✨ Verified that exported tuples and `isAllowedCta` match the approved
allowlist.
✨ Verified the mutation test, 8 focused analytics contract tests, full
pre-push suite, 100% app/UI coverage, and both builds.

- No actionable concerns identified.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(i18n): restore README translation parity (#735)

## Summary

- apply the fresh six-README Crowdin output to the current `dev/v1.7`
tree
- restore localized public labels and the v1.7 dependency/security link
mapping
- remove source-English regressions from the Chinese README and restore
exact URL and HTML-tag parity
- clarify fail-closed authentication wording and fix localized
table/link rendering found during review

## Verification

- RED: exact Crowdin head `8e08831e52d98765000ac20c23783e195da718d8`
failed 12 of 76 translation contracts
- GREEN: focused translation contract passes 76/76
- review RED/GREEN: temporary focused review contract failed 4/4 before
the wording/markup fixes and passed 4/4 afterward; the disposable test
was removed so the product diff remains six READMEs
- full workflow contracts pass 160/160
- repository maintenance scripts pass 166/166
- normal pre-push hook passes twice, including Biome, Qlty, UI
typecheck, 100% app/UI coverage, and app/UI builds
- `git diff --check` passes

## Frozen review identity

- base: `9db36cce930532f044d1fa5e294cf9a622ab14e8`
- head: `ccadd6516520b2f9e0ffaa76c20849c1cbaf0a7d`
- tree: `b3cd1d00173a153c310ef918c81e4c8b00cd6a6a`
- patch SHA-256:
`c0cd81d58e35a2855958e85181bd49acf5eb7dd3788b2485caf49ec56e46d01f`
- scope: exactly six translated README files

Greptile review is skipped under the explicitly accepted
exhausted-credit decision. CodeRabbit, CI, and human language review
remain required.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”§ Updated six translated README files to restore source-content, link,
URL, and HTML-tag parity.
- πŸ”§ Reformatted badges, collapsible sections, screenshots, feature
tables, comparison tables, roadmap tables, documentation tables, and
ecosystem tables.
- πŸ”’ Documented fail-closed authentication behavior across translations.
- πŸ”§ Updated localized v1.7 release, security, dependency, lifecycle,
migration, and star-history references.
- πŸ”§ Corrected translated labels and integration headings.
- πŸ—‘οΈ Removed an obsolete German roadmap note.

## Concerns

- Verify all translated README links and URLs against the source README.
- Verify HTML and Markdown tables render correctly on GitHub.
- Verify `<details>` summaries remain accessible and consistent.
- Confirm no translated content was lost during structural reformatting.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(compose): refresh image-inherited runtime defaults (#736)

Squash merge of reviewed head 1074a1f6 into dev/v1.7.

* fix(i18n): correct reviewed README terminology (#738)

## Summary

- preserve the Cosign product name in the Spanish security descriptions
- complete the Polish roadmap localization and correct the `curl`
removal note
- correct Chinese Docker-socket, localization, release-intelligence,
scanner, and domain terminology
- preserve Polish Compose, Docker digest, update-mode, routing,
resource-action, and template-variable semantics

## TDD verification

- initial RED: a focused seven-case translation contract failed 7/7 on
exact dev `4fc848253210a6885fd95a1916cb5ee3416e0695`
- initial GREEN: the same contract passed 7/7 after the first three
README edits
- first-review RED: a focused three-case contract failed 0/3 on exact
`8ba66139f46123313c7ca91381bf2c8bca03a598`
- first-review GREEN: the same contract passed 3/3 after preserving
Compose/matching semantics, natural Polish roadmap terminology, and all
Chinese scanner/backend choices
- exact-review RED: a focused three-case contract failed 3/3 on exact
`7df439f04f386800051a9bf57f86d55f2234d9e8`
- exact-review GREEN: the same contract passed 3/3 after preserving
Polish routing, template-variable, Docker digest rebuild, update-mode,
and resource-action semantics
- disposable review tests were removed so this fix remains a
three-README product diff
- existing translation contract passes 76/76
- full workflow contracts pass 160/160
- repository maintenance scripts pass 166/166
- latest normal pre-push hook passes in 290 seconds, including Biome,
Qlty, UI typecheck, 100% app/UI coverage, and app/UI builds
- `git diff --check` passes

## Frozen identity

- base: `4fc848253210a6885fd95a1916cb5ee3416e0695`
- head: `9cff7f21a489e60f030bc5742c9e4b2d17649450`
- tree: `297d2aa5a463a3d6b708602e50a834fad5c21ae7`
- patch SHA-256:
`a9e23eae01f487dec7927488762f7799ab3b46682ed7d105feb720049890d73b`
- scope: exactly `README.es.md`, `README.pl.md`, and `README.zh-CN.md`

This feature PR addresses the exact-head translation findings from
promotion PR #737 and the verified follow-up findings from its own
reviews. Greptile is waived under the explicitly accepted
exhausted-credit decision. Exact-head CodeRabbit, CI, and genuine human
language review remain required.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ› Fixed Spanish `Cosign` signature-verification terminology.
- ✨ Added Polish roadmap localization for headers and release entries.
- πŸ› Corrected the Polish `curl` removal note.
- πŸ› Corrected Chinese terminology for Docker socket mounting, UI
localization, release intelligence, scanner options, backend, and
website naming.

## Concerns

- Verify terminology against the source README files.
- Confirm roadmap consistency across localized README files.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(i18n): localize README table labels (#739)

## Summary

- restore five localized roadmap/resource table labels found during the
final D4 promotion language review
- keep the correction to one label cell each in German, Spanish, French,
Polish, and Brazilian Portuguese
- leave the already-reviewed translations and Compose changes unchanged

## TDD evidence

- focused table-header contract RED: 5 failed, 161 passed
- focused table-header contract GREEN: 166 passed
- temporary contract removed after RED/GREEN to preserve the
eight-product-path promotion endpoint
- permanent README translation contract: 76/76
- full workflow suite: 160/160
- normal pre-push: clean tree, Biome, qlty, 166 script tests, 160
workflow tests, UI typecheck, app/UI 100% coverage, and app/UI builds
all passed

## Exact scope

- `README.de.md`: `Highlights` β†’ `HΓΆhepunkte`
- `README.es.md`: `Version` β†’ `VersiΓ³n`
- `README.fr.md`: `Link` β†’ `Lien`
- `README.pl.md`: `Resource` β†’ `ZasΓ³b`
- `README.pt-BR.md`: `Link` β†’ `LigaΓ§Γ£o`

Greptile is waived under the accepted exhausted-credit decision.
Exact-head CodeRabbit, CI, and genuine language approval remain
required.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”§ Changed localized README table labels:
  - German: `Highlights` β†’ `HΓΆhepunkte`
  - Spanish: `Version` β†’ `VersiΓ³n`
  - French: `Link` β†’ `Lien`
  - Polish: `Resource` β†’ `ZasΓ³b`
  - Brazilian Portuguese: `Link` β†’ `LigaΓ§Γ£o`

## Concerns

- Verify the Polish diff. The raw summary also reports `Link` β†’ `Link`,
while the objectives report only one changed label.
- Confirm all reported validation checks pass.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(web): forward $raw_user_agent and $host for cookieless ingestion (#740)

## Summary

- `before_send` in `apps/web/src/lib/analytics-contract.ts` rebuilt
every outgoing PostHog event from a hard allowlist that dropped
`$raw_user_agent` and `$host`. PostHog's cookieless server-hash
ingestion step reads those two fields straight off `event.properties`
and silently drops the event (`cookieless_missing_user_agent` /
`cookieless_missing_host`) if either is absent β€” same bug fixed in
CodesWhat/portwing#124.
- `createBeforeSend` now requires both fields (drops the event if either
is missing or empty) and forwards them through unchanged. `$ip` is
deliberately never forwarded β€” PostHog's capture service fills it in
server-side from the request connection.

## Test plan

- [x] `apps/web/scripts/analytics-contract.test.mjs` β€” added a dedicated
regression test pinning that `$raw_user_agent`/`$host` are required and
forwarded, and that events missing either are dropped; updated existing
fixtures to carry the new required fields.
- [x] `apps/web/scripts/analytics-integration.test.mjs` β€” added a
source-scan regression guard analogous to portwing's
`web-analytics-source.test.mjs`.
- [x] `npm run test:scripts` (apps/web) β€” 87/87 passing
- [x] `npm run type-check` (apps/web) β€” clean
- [x] `npm run lint` (apps/web) β€” clean
- [x] full pre-push hook suite (qlty, workflow-tests, typecheck-ui,
web-scripts-test, coverage, build) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ”§ Changed `createBeforeSend` to require non-empty `$raw_user_agent`
and `$host`.
- πŸ—‘οΈ Dropped events that omit either cookieless ingestion field.
- πŸ”§ Forwarded `$raw_user_agent` and `$host` in sanitized events.
- πŸ”’ Continued excluding `$ip`; PostHog supplies it server-side.
- ✨ Added regression and source-scan coverage.
- πŸ”§ Updated analytics fixtures and invalid-input cases.
- βœ… Script tests, type checks, linting, and pre-push checks pass.

- Confirm that all analytics event producers provide non-empty
`$raw_user_agent` and `$host`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(store): persist updatePolicyRetentionCache across process restart (#743)

## Summary
- Round 3 of the #565 thread: a controller self-update (recreate ->
SIGTERM -> new process) still wiped stashed maturity-policy overrides
for a replacement container, even though the sibling lifecycle/clock
cache (`updateLifecycleCache`) already survives the same restart per
#556.
- `updatePolicyRetentionCache` only ever lived in a bare in-memory
`Map`, so `stashUpdatePolicyForReplacement()`'s stash was gone before
the replacement container's `insertContainer()` call could consume it in
the new process.
- Gives `updatePolicyRetentionCache` the same durable,
write-through-backed collection `updateLifecycleCache` already has: a
new `app/store/update-policy-retention-cache.ts` module, write-through
on stash, delete-on-consume, and
`rehydrateUpdatePolicyRetentionCacheFromStore()` wired into
`store/index.ts` startup before the first `insertContainer` runs.
- Does not touch the round-1 (clock-restart, #568) or round-2
(empty-override-authoritative, #624) fixes, which are already correct.
- The remaining half of the report β€” policy loss from a pure 0-container
remote-agent handshake with no controller restart β€” isn't explained by
this fix. The existing zero-container handshake path already skips
`pruneOldContainers`/`deleteContainer` entirely, so that part needs more
repro detail from the reporter before a second root cause can be pinned
down.

## Test plan
- [x] `npx vitest run store/container.test.ts store/index.test.ts
store/update-lifecycle-cache.test.ts
store/update-policy-retention-cache.test.ts` β€” new "simulated process
restart" test pins the fix; also new dedicated unit tests for the new
store module and wiring-order assertions in `store/index.test.ts`
- [x] `npm test` in `app/` β€” 12907 tests pass, 100% coverage
- [x] `npx tsc --noEmit` and `npx biome check .` clean
- [x] Pre-push hooks (biome, qlty, workflow-tests, typecheck-ui,
coverage, build) all green

Fixes: #565

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added a durable LokiJS-backed store for update-policy retention
records.
- πŸ”§ Changed `updatePolicyRetentionCache` to write through to persistent
storage.
- πŸ”§ Changed cache consumption, expiration, and size eviction to delete
persistent records.
- πŸ”§ Changed startup to rehydrate unexpired records before the first
`insertContainer` call.
- πŸ› Fixed maturity-policy overrides being lost during controller process
restarts.
- ✨ Added tests for persistence, rehydration, expiration pruning,
eviction, deletion, and startup ordering.

## Concerns

- Verify behavior during zero-container remote-agent handshakes without
a controller restart. This PR does not cover that loss path.
- Verify the new store follows existing store initialization and
persistence conventions.
- Review whether `unknown` for `updatePolicyOverrides` preserves the
required type safety.
- Check whether cache persistence and rehydration logic duplicates
existing store utilities.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* ci: migrate workflow security to the reusable go-ci caller (#742)

## Summary
- Replace the inline `zizmor` job in `ci-verify.yml` with a caller job
(`security-actions`) into `CodesWhat/.github`'s `go-ci.yml` reusable
`workflow-security` gate, pinned at
`01bf40b06b110946f12a49b82e407d77c6480df7`.
- Add a temporary fail-closed bridge job (`legacy-security-actions`)
that republishes the caller's result under the old plain `Security:
Actions` check context, so branch protection keeps working unchanged
during the migration window.
- Repoint every job that depended on the removed `zizmor` job
(`secrets`, `codeql`, `fuzz`) at `security-actions`.

## Naming resolution
- Caller job: key `security-actions`, `name: "Security: Actions"` β†’
GitHub reports this as the composite context `Security: Actions /
Workflow Security` (reusable-workflow-call jobs report as `<caller job
name> / <called workflow job name>`).
- Bridge job: key `legacy-security-actions`, `name: "Security: Actions"`
β†’ reports as the plain context `Security: Actions`, identical to what
the removed inline job published.
- These are two different job keys with the same display `name`, which
GitHub allows (job identity for check-run purposes is the job key +
workflow, not the display name) and produces two distinct, non-colliding
check contexts because one is a reusable-workflow-call job and the other
isn't.

## Test plan
- [x] `npm run test:workflows` β€” 166/166 passing (17 files), including
new `.github/tests/reusable-ci-config.test.ts` and extended
`ci-verify-workflow.test.ts` / `harden-runner-workflow.test.ts`
- [x] `node --test scripts/*.test.mjs` β€” passing (ran as part of
pre-push hook)
- [x] `npx biome check .` β€” clean
- [x] Local `zizmor` pre-push hook scan of `.github/workflows/*.yml` β€”
no findings
- [x] Full pre-push hook chain (clean-tree, ts-nocheck, biome, qlty,
qlty-smells, scripts-test, workflow-tests, typecheck-ui, coverage,
build, zizmor) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ”’ Added a pinned `security-actions` reusable workflow caller from
`CodesWhat/.github/go-ci.yml`.
- πŸ”§ Disabled Go test and lint jobs for this Go-less repository.
- ✨ Added a fail-closed `legacy-security-actions` bridge for the
existing `Security: Actions` branch-protection context.
- πŸ”§ Updated `secrets`, `codeql`, and `fuzz` job dependencies.
- πŸ”’ Required `actions:read`, `contents:read`, and
`security-events:write`.
- πŸ”§ Added validation for workflow pinning, permissions, disabled Go
jobs, bridge behavior, and blocked egress.
- πŸ—‘οΈ Removed the inline `zizmor` job.

## Concerns

- Remove `legacy-security-actions` after branch protection no longer
requires `Security: Actions`.
- Keep the frozen `go-ci.yml` SHA synchronized with the approved
revision.
- Preserve the fail-closed bridge contract and `egress-policy: block`.
- Confirm the reusable workflow remains compatible with the required
`security-events: write` permission.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* ci(verify): remove legacy security-actions bridge (#745)

## Summary
- Ruleset 13077055 was narrowed to require `Security: Actions / Workflow
Security` (the reusable go-ci caller's composite context) instead of the
old plain `Security: Actions` context. The `legacy-security-actions`
fail-closed bridge job in `.github/workflows/ci-verify.yml`, which
existed only to republish the old plain name, is now unreferenced by
branch protection and has been removed.
- Updated `.github/tests/ci-verify-workflow.test.ts` to drop the
assertion on the removed job's name and add a retired-context rejection
test (mirrors portwing #122 / sockguard #260): asserts the
`legacy-security-actions` job is gone and that no job (other than the
legitimate `security-actions` reusable caller, whose `name:` field is
the composite prefix, not a standalone check) republishes the bare
`Security: Actions` name. The regex is anchored to `^[ \t]*name:` with
optional quotes so it can't false-positive on an input key like
`workflow-security-check-name:`.
- Updated `.github/tests/harden-runner-workflow.test.ts` to drop the
block-egress carve-out and dedicated bridge test that only existed for
the removed job; every remaining Harden Runner step now uses the
standard `audit` policy.

## Test plan
- [x] `npm run test:workflows` β€” 167/167 pass
- [x] Full `git push` pre-push gate (clean-tree, ts-nocheck, biome,
qlty, qlty-smells, scripts-test, workflow-tests, typecheck-ui, coverage,
build, zizmor) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ—‘οΈ Removed the obsolete `legacy-security-actions` bridge job from
`.github/workflows/ci-verify.yml`.
- πŸ”§ Updated workflow tests to reject the retired job and bare `Security:
Actions` check context.
- πŸ”’ Removed the Harden Runner egress-policy exception for the bridge
job.
- πŸ”§ Removed the bridge-specific Harden Runner test.
- πŸ”§ Verified workflow tests and the full pre-push gate pass.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* test(workflows): exclude nested worktrees from vitest discovery (#747)

The primary checkout's pre-push workflow-tests gate runs `vitest run
.github/tests`, which also discovers every nested preserved worktree's
copy of the suite under `.claude/worktrees/` (and legacy
`.codex/worktrees/`). A parked WIP worktree with intentionally-failing
tests (e.g. the held Warpchart README branch awaiting its Crowdin cycle)
then blocks unrelated pushes from the primary checkout, including branch
deletions. Exclude those paths from discovery; each worktree still runs
its own suite from its own root.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

### Changelog

- ✨ Added Vitest exclusions for `.claude/worktrees/` and
`.codex/worktrees/`.
- πŸ”§ Changed the configuration to extend `configDefaults.exclude`.
- πŸ› Fixed test discovery in the primary checkout by ignoring nested
preserved worktrees.

### Concerns

- Verify that each worktree runs Vitest from its own root and is not
excluded by these patterns.
- Add or update tests for both worktree paths if coverage is missing.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* test(configuration): restore digest-pinned node base image guard (#749)

## Summary
- The regression test `release image builds from the digest-pinned Node
base image` in `app/configuration/dockerfile-defaults.test.ts` was
silently dropped at a70d406e ("chore(release): promote v1.7.0-rc.1 to
main"). Restored it exactly as it read at a70d406e^.
- No digest bump: the Dockerfile still pins
`node:24-alpine@sha256:d32cdf6...`, and resolving the `node:24-alpine`
tag against Docker Hub's registry API confirms that digest is still
current, so there's no newer image to move to (and no basis to link this
to CVE-2026-58055/nghttp2-libs at this time).

## Test plan
- [x] `npx vitest run configuration/dockerfile-defaults.test.ts` β€” 5
passed
- [x] `npm run lint` (biome) β€” clean
- [x] `git push` β€” full pre-push hook chain (biome, qlty, coverage 100%,
build) passed

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added a regression test for the digest-pinned `node:24-alpine` base
image in `app/configuration/dockerfile-defaults.test.ts`.
- πŸ› Fixed missing coverage for release image builds after the
v1.7.0-rc.1 promotion.

## Validation

- Vitest passed.
- Biome linting passed.
- Pre-push checks passed.
- Coverage passed.
- Build passed.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(ui): guard container view against remote property injection (#750)

## Summary

Fixes CodeQL alert #556 (`js/remote-property-injection`,
CWE-250/CWE-400) in `ui/src/views/ContainersView.vue`.

- **Sink**: `normalizeQueryRecord()` copied `route.query` into a plain
`Record<string, string>` via `normalized[key] = normalizedValue`, where
`key` comes directly from the URL query string
(`Object.entries(route.query)`). CodeQL flags any dynamically-computed
property name write reached from a remote/URL-controlled value,
regardless of the target object's shape β€” the alert pointed at two call
sites that flow into this same write (`buildSyncedRouteQuery` and
`syncRouteQueryFromState`).
- **Fix**: accumulate the normalized entries in a `Map<string, string>`
instead of writing onto a plain object with bracket notation, then
materialize the result in one shot with `Object.fromEntries(map)`.
`Map.set` and `Object.fromEntries` are method calls, not syntactic
property writes, so there's no `obj[dynamicKey] = value` pattern for the
sink to match. `Object.fromEntries` also uses `CreateDataProperty`
semantics rather than `[[Set]]`, so even an attacker-chosen key like
`__proto__` lands as an inert own data property instead of mutating the
object's actual prototype chain β€” closing the underlying vulnerability
class, not just satisfying the checker.
- No suppression comments were used; this is a root-cause fix, and
behavior for legitimate query keys is unchanged (verified by existing +
new tests).

## Test plan

- [x] Added `ui/tests/views/ContainersView.spec.ts` β†’ `describe('remote
property injection guard (CodeQL #556)')`:
- unit-tests `normalizeQueryRecord` directly with a malicious
`"__proto__"` query key (constructed via `JSON.parse` so it's a real own
property, since object-literal `{ __proto__: ... }` syntax is
special-cased and would silently no-op) and asserts `Object.prototype`
is untouched while the legitimate key is preserved.
- exercises the full `route.query` β†’ `router.replace` sync path with the
same malicious query and asserts the emitted query object still has a
normal prototype and no global pollution occurred.
- [x] `cd ui && npx vitest run tests/views/ContainersView.spec.ts` β€” 164
tests pass (162 existing + 2 new).
- [x] `cd ui && npm run lint` β€” clean.
- [x] `cd ui && npm run typecheck` β€” clean.
- [x] `git push` β€” full pre-push hook suite passed (biome, qlty,
qlty-smells, coverage @ 100% for app+ui, app+ui build).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”’ **Security:** Prevent prototype pollution from attacker-controlled
query keys in `normalizeQueryRecord()`.
- πŸ”§ **Changed:** Normalize query entries with `Map<string, string>` and
`Object.fromEntries`.
- ✨ **Added:** Regression tests for `__proto__` normalization and
route-query synchronization.
- πŸ”§ **Changed:** Verify legitimate query keys remain intact and
`Object.prototype` remains unchanged.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* feat(triggers): add onauto auto mode and dd.action.auto label plumbing (#752)

Slice 1 of the 6.0.1 per-action policy package (#511): inert plumbing
only.

- `TriggerAutoMode` widens to `all | oninclude | onauto | none`; in this
slice `onauto` behaves identically to `oninclude` (closed by default,
auto handlers register). Its real semantics β€” `dd.action.include` grants
manual, `dd.action.auto` grants auto β€” land with the policy resolver in
the next slice.
- New `dd.action.auto` label constant and `actionTriggerAuto` field
threaded through label resolution, the container model, and store
normalization, mirroring `actionTriggerInclude`'s flow exactly
(override-vs-label precedence, no deprecated mirror, action category
only).
- Nothing consumes `actionTriggerAuto` yet.

Full suite: 12,922 tests, 100% coverage both gates.

Part of the v1.7 per-action access/auto-execution policy (prerequisite
for the DEPRECATIONS.md soft-to-hard blocker flip, which ships in the
final slice of this package, never alone).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added
- Added `dd.action.auto` label support.
- Added optional `actionTriggerAuto` to the `Container` model and Joi
schema.
- Added `actionTriggerAuto` to trigger-label resolution, Docker
overrides, container derivation, and store normalization.
- Added `onauto` to `TriggerAutoMode` and the `AUTO` Joi enum.
- Added tests for label mapping, precedence, normalization, filtering,
and Docker propagation.

πŸ”§ Changed
- `onauto` follows `oninclude` behavior.
- Label resolution limits `dd.action.auto` to the action category.
- Nullish fallback preserves explicit empty `actionTriggerAuto`
overrides.
- The label does not create a deprecated mirror.

Concerns:
- `actionTriggerAuto` has no consumer. Add policy resolution in the next
slice.
- Confirm all `AUTO` enum declarations and validation paths include
`onauto`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* feat(model): add per-action policy resolver (#755)

Slice 2 of the 6.0.1 per-action policy package (#511), stacked on #752.

- `app/model/action-policy.ts`: pure resolver returning one `blocked |
manual | auto` state per (action trigger, container).
`dd.action.exclude` always wins; access is open for `AUTO=all|none` and
label-granted otherwise; `dd.action.auto` implies access under `onauto`;
`oninclude` keeps its legacy conflated meaning (include grants
manual+auto) so no existing deployment changes behavior.
- `selectActionTrigger`: specificity-ranked candidate walk (file-matched
compose > catch-all compose > generic docker, ties by insertion order
with a one-time warn) β€” skip default-deny candidates, hard-stop on an
explicit exclude, first authorized wins. Replaces
first-compatible-by-insertion-order for eligibility display.
- `trigger-reference-matching.ts`: the `name[:threshold]` grammar
extracted from `Trigger.ts` so the resolver reuses the exact matching
machinery without a require cycle.
- `computeUpdateEligibility` derives
`trigger-excluded`/`trigger-not-included` from the resolver verdict.
Blocker reasons and severities unchanged (both still soft β€” the hard
flip is the final slice of this package).
- Parametrized tests cover the full migration table and regression
matrix from the phase spec, plus equivalence tests proving selection
matches `findDockerTriggerForContainer` for every legacy scenario.

Admission and auto-dispatch wiring are slices 3-4. Global `updateMode`
remains a call-site clamp, untouched here.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added per-action policy resolution for `blocked`, `manual`, and
`auto` states.
- ✨ Added ranked Docker and Docker Compose trigger selection.
- ✨ Added reusable trigger-reference parsing and matching utilities.
- ✨ Added migration, regression, legacy-equivalence, and parametrized
tests.
- πŸ”§ Updated `computeUpdateEligibility` to use resolver results.
- πŸ”§ Preserved existing blocker reasons and soft severities.
- πŸ”§ Preserved admission, auto-dispatch, and global `updateMode` clamp
behavior.
- πŸ—‘οΈ Removed duplicated trigger-reference parsing and legacy
include/exclude checks.

## Concerns

- Verify resolver precedence for `dd.action.exclude`, access rules,
`dd.action.auto`, and legacy `oninclude` against all migration cases.
- Verify tie warnings are emitted once per trigger set.
- Verify exported trigger-selection types follow existing module API
conventions.
- Verify provider-qualified, name-only, and threshold-based references
remain backward compatible.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* feat(updates): gate admission through the action policy resolver (#756)

* feat(updates): gate admission through the action policy resolver

resolveUpdateTrigger now selects the update trigger via
selectActionTrigger's hybrid specificity walk instead of the plain
agent/compose lookup, so a not-included candidate is no longer picked
as the resolved trigger. prepareContainerUpdateRequest also adds a
defense-in-depth guard: automatic (watcher-driven) admission is
rejected with 409 unless the resolved action-policy state is 'auto' β€”
needed because trigger-excluded/trigger-not-included stay soft-severity
blockers until the DEPRECATIONS.md hard flip lands. Manual/API admission
is unaffected and keeps admitting both 'manual' and 'auto' states.

Test mocks across request-update/webhook/container-actions specs gained
getId() now that trigger resolution and policy checks require it.

* fix(updates): harden trigger resolution per review

Three CodeRabbit review fixes on PR #756 (action policy admission):

- Require getId on resolved update triggers: isResolvedUpdateTrigger now
  checks typeof trigger.getId === 'function' in addition to type, so a
  malformed explicit options.trigger fails resolution with the existing
  500 'Invalid update trigger' instead of throwing a TypeError later in
  resolveForTrigger's automatic-source guard.
- Honor options.triggerTypes: selectActionTrigger now accepts a
  triggerTypes option that filters candidates by type before ranking, so
  a caller-scoped type (e.g. docker-only) can never lose to an excluded,
  higher-specificity candidate (e.g. a compose file match). Threaded
  through from resolveUpdateTrigger; the stale "not honored" comment is
  rewritten to describe the actual behavior.
- Add the missing automatic-source admission test: an explicit trigger
  (with getId) resolving to configuration.auto:'none' under
  source:'automatic' now has direct coverage asserting the 409
  ACTION_POLICY_NOT_AUTO_REJECTION_MESSAGE, trigger() never called, and
  no operation inserted.

* fix(updates): widen trigger type guard to unknown for CodeQL

CodeQL js/comparison-between-inconvertible-types flagged the null check:
with the parameter typed UpdateTriggerLike the comparison was statically
dead. A type guard should accept unknown; the runtime checks are unchanged
and now all statically meaningful.

---------

Co-authored-by: Test <[email protected]>

* feat(triggers): dispatch automatic actions through the policy winner (#758)

spec-6.0.1-action-policy.md slice 4. Update-action (docker/dockercompose)
triggers now gate every automatic dispatch decision point on
selectActionTrigger(..., {requireAuto: true}): getMustTriggerDecision is
extended so a trigger only proceeds when the resolver's hybrid specificity
walk picks it, by getId, with a resolved state of 'auto'. Since simple
(runUpdateAvailableSimpleTrigger), batch (shouldDispatchUpdateAvailableContainer)
and digest (handleContainerReportDigest) all funnel through
getMustTriggerDecision/mustTrigger, one extension point covers all three
without double-evaluating.

This closes the pre-existing latent fan-out double-dispatch: before this
slice every registered action trigger decided independently whether to
fire, so two compatible triggers could both run the same update. After
this slice only the resolver's ranked winner fires; the loser's
mustTrigger() now returns false and it never reaches enqueueContainerUpdate.

The digest buffer additionally re-checks the winner at flush time
(flushUpdateDigestBuffer), not just at buffer time, mirroring the existing
isAutomaticActionDispatchBlocked() re-check: a container can sit in the
buffer across cron ticks, and by flush time another trigger may now be the
resolver's winner (config change, or a more specific trigger registered
since). A stale entry is evicted instead of dispatched.

The action-category branch of getMustTriggerDecision replaces the plain
include/exclude check entirely for update-action triggers (rather than
gating on top of it), routed through the resolver via
getActionPolicyCandidateTriggers() (registry.getState().trigger, unioned
with `this` so a lone trigger absent from the registry snapshot β€” the shape
of nearly every existing unit test β€” still resolves itself as the winner
of a one-candidate walk). Two behavior changes fall out of this, both
already the resolver's behavior for display (slice 2) and admission
(slice 3), now made consistent for auto-dispatch too:
  - onauto + an include label only (no dd.action.auto label) now resolves
    to 'manual', not 'auto' β€” it grants admission access but no longer
    auto-fires. Before this slice the plain include/exclude check had no
    manual/auto distinction and incorrectly let it auto-fire.
  - AUTO=all now grants unconditional access for auto-dispatch purposes
    exactly like it already does for display/admission, ignoring any
    include label's own threshold suffix (matches the resolver's
    accessOpen semantics) rather than still honoring it as the old
    Trigger.ts-local check did.

Command trigger finding: command triggers are category 'action' (per
trigger-category.ts's ACTION_TRIGGER_TYPES) but are NOT in
UPDATE_ACTION_TRIGGER_TYPES (isUpdateActionTrigger() is false for them) β€”
they call this.trigger()/triggerBatch() directly to run a shell command,
never enqueueContainerUpdate/enqueueContainerUpdates, so they never entered
the admission queue this feature guards against fan-out on. They fall
through unchanged to the plain include/exclude branch of
getMustTriggerDecision, preserving today's behavior exactly.

Tests: regression-matrix cases 5, 6 (double-dispatch closure across
simple/batch/digest, asserting the loser's enqueue call is never made),
11 (updateMode=manual still suppresses the resolved winner), legacy
preservation (solo AUTO=all trigger absent from the registry snapshot,
oninclude+include), and notification triggers unaffected by the winner
gate. Full app suite (409 files, 12997 tests) passes with 100% coverage.

Co-authored-by: Test <[email protected]>

* chore(quality): drop the trivy qlty plugin in favor of Grype (#757)

Grype already owns vuln-scanning coverage (security-grype.yml). Trivy's
qlty-plugin config driver only checked Dockerfile misconfigurations
(DS002/DS-0002), which checkov already covers via the checkov:skip=CKV_DOCKER_3
comment on Dockerfile line 1. Removes the trivy plugin block and its
triage entry from .qlty/qlty.toml; trufflehog is untouched.

House audit follow-up H3.

Closes #753

* feat(api): surface the action policy resolution (#761)

* feat(api): surface the action policy resolution

Adds an actionPolicy field (state/triggerId/reason) to the
updateEligibility payload and a resolvedState field per trigger on
GET /api/v1/containers/{id}/triggers, so the UI can render the
blocked/manual/auto verdict Drydock actually resolved rather than
inferring it from blockers alone. New action-policy.ts helpers
(findOnincludeAutoMigrationGaps, findInertAutoLabelContainers) back
two startup WARNs on Trigger.init(): a trigger left on AUTO=oninclude
whose dd.action.include-matching containers have no dd.action.auto
label (would silently drop to manual-only if switched to onauto), and
a trigger on AUTO=none carrying an inert dd.action.auto label. OpenAPI
schemas and the triggers-list response shape are updated to match.

Part of spec-6.0.1-action-policy.md, slice 5.

* feat(ui): show auto-dispatch policy badges

Adds an "Auto" badge (Update Status panel, full-page Actions tab, and
side panel trigger rows) wherever a container's or an individual
trigger's resolved action-policy state is auto, backed by the new
actionPolicy/resolvedState API fields. Tooltips explain the
blocked/manual/auto verdict for each trigger row. New en locale
strings only; other locales pick up keys via Crowdin.

Part of spec-6.0.1-action-policy.md, slice 5.

* docs(actions): document dd.action.auto and onauto

Documents the new dd.action.auto container label and the onauto AUTO
value across the labels reference, triggers configuration, and
update-eligibility pages, including the resolved actionPolicy API
field and per-trigger resolvedState. Adds a callout on all three pages
making explicit that AUTO=none/AUTO=all also set the baseline access
default, not just automatic execution: AUTO=none still opens manual
access to every container, and AUTO=all opens both. Adds the
Unreleased CHANGELOG entry for this slice.

Part of spec-6.0.1-action-policy.md, slice 5.

* test(e2e): scope the QA dockercompose action to a dedicated compose file

The trigger-specificity walk introduced by the 6.0.1 admission wiring
(#756) correctly prefers a compose-file-matched trigger, which turned
DD_ACTION_DOCKERCOMPOSE_QA into the winning action for the entire
Playwright fleet: qa-compose.yml's basename suffix-matches every fixture
container's compose label. That trigger can never complete an update
against its read-only mount, so accepted dashboard updates EROFS-failed
in the background dispatch and the widget never left its pending state
(intermittent dashboard.spec.ts failures, #763).

Point the trigger at a dedicated file with a distinct basename that no
fleet container matches, restoring DD_ACTION_DOCKER_LOCAL as the
selected action for the fixtures, and guard the collision in the
workflow tests.

* ci(review): wire the greptile second-opinion summon behind a label (#762)

Closes #751, house-audit H7, both halves β€” caller + labeling_instructions.

* feat(model)!: enforce action include/exclude as hard blockers (#772)

* feat(model)!: enforce action include/exclude as hard blockers

End the v1.5.0-v1.6.x soft-severity grace period for trigger-excluded
and trigger-not-included (spec-6.0.1-action-policy.md slice 6): both
flip from soft to hard in BLOCKER_SEVERITY (app/model/update-eligibility.ts
and its UI mirror, ui/src/utils/update-eligibility.ts). A container an
action trigger's dd.action.include/dd.action.exclude labels filter out
now locks the Update button and gets a 409 on a manual update request,
matching every other hard eligibility gate, instead of only gating
automatic dispatch. AUTO=oninclude's existing meaning is unchanged: a
matching dd.action.include label still grants both manual and automatic
access under that mode.

Ships together with the per-action execution policy landed across
slices 1-5 (dd.action.auto label, AUTO=onauto trigger mode) so the
manual-only escape hatch isn't removed without a replacement path.

Updates every test that encoded the old soft behavior (severity-map
assertions, the request-update.ts admission tests that were exercising
the wrong container field and passing vacuously, and UI fixtures that
used trigger-not-included as a generic "soft blocker" example) and adds
hard-rejection coverage for both reasons at the eligibility, admission,
and UI-lock layers. Also updates DEPRECATIONS.md (moved to "Removed
compatibility behaviors"), the docs deprecation schedule and
update-eligibility pages, and the CHANGELOG.

BREAKING CHANGE: a manual update request against a container filtered
out by dd.action.include/dd.action.exclude (or the legacy
dd.trigger.include/dd.trigger.exclude) now fails with a 409 instead of
queuing after a confirm-modal warning. See DEPRECATIONS.md.

* test(model): add the 6.0.1 regression matrix

Dedicated release-gate test file for spec-6.0.1-action-policy.md's
16-case regression matrix. Every case is asserted through
selectActionTrigger/resolveForTrigger, cited by case number; cases 1
and 4 additionally exercise the real admission path
(enqueueContainerUpdate/requestContainerUpdate) since they're the
direct end-to-end proof of the soft->hard flip landing in the prior
commit, and cases 11/12 (the updateMode ceiling) are asserted purely
through admission since the resolver deliberately doesn't apply that
ceiling itself.

* fix(model): omit unset dd.action.include from the not-included message

* docs(deprecations): drop legacy dd.trigger labels from the hard-flip migration guidance

* docs(readme): align with the codeswhat readme shape (#775)

* ci(security): pin hosted runners and annotate remaining action pins (#776)

* ci(security): flip harden-runner to egress block on stage-1 jobs (#777)

* ci(security): flip harden-runner to egress block on stage-1 jobs

Migrates 11 harden-runner job instances from audit (log-only) to block
(enforced) egress policy, per the Stage-1 plan in
.planning/roadmap/h2-harden-runner-block-plan.md Β§2: ci-verify.yml's
changes/dependency-review/secrets/fuzz/test/web, e2e-playwright.yml's
changes, quality-mutation-monthly.yml's stryker/aggregate,
quality-portwing-fleet-soak.yml's fleet-soak, and security-grype.yml's
grype-deps. Each carries the plan's exact per-job allowed-endpoints list.

Also sets disable-sudo: true on every migrated job β€” none of them use
sudo (grep-confirmed across all workflow files).

harden-runner-workflow.test.ts now tracks policy per job via an
expectedPolicy map instead of asserting audit everywhere, so the test
itself becomes the migration checklist for the remaining stages.

* ci(security): allow the api and download hosts the stage-1 jobs actually hit

First block-mode run surfaced four gaps, all confirmed from harden-runner
telemetry: paths-filter calls api.github.com for the PR file list (both
changes jobs), setup-go fetches manifests from raw.githubusercontent.com
and toolchains via go.dev (dl.google.com added for its download redirect),
and the grype installer pulls its script from raw.githubusercontent.com
plus a release lookup on api.github.com. The per-datacenter
hosted-compute-watchdog githubapp.com host stays blocked deliberately:
runner-internal telemetry, unroutable to a stable name, non-fatal.

* ci(security): point the grype allowlist at its real installer and v6 db hosts

Second block-mode run: the pinned scan-action installs from
get.anchore.io (raw.githubusercontent.com is only its fallback, which
worked) and the v6 vulnerability database lives at grype.anchore.io, not
toolbox-data.anchore.io β€” that host is the legacy v5 listing and was
observed unused, so it's dropped rather than left as dead egress.

* ci(security): harden the stage-1 allowlists and policy test from run telemetry

- nodejs.org on every flipped setup-node job: the green test job showed a
  blocked setup-node fallback download that only stays harmless while the
  runner image's toolcache carries the pinned Node version.
- qlty-releases.s3.amazonaws.com and qlty.sh on the test job: the
  continue-on-error coverage publish was failing invisibly at the CLI
  download. The qlty CLI's Sentry ingest host stays blocked deliberately.
- grype's real hosts landed in the previous commit; this one also drops
  two review gaps in the workflow test: stale expectedPolicy keys now
  fail (a misspelled key silently defaulted the job to audit), and block
  jobs must carry disable-sudo: true.

* ci(security): allow the sigstore tuf roots for qlty attestation verification

The coverage publish's gh attestation verify needs the sigstore and
GitHub TUF repositories; with them blocked the continue-on-error step
silently skipped every publish. Allowing attestation infrastructure is
the supply-chain-positive direction of this migration.

* docs(readme): align tail sections and badge wall with house shape (#778)

* docs(readme): align tail sections and badge wall with house shape

- docs(readme): promote Star History, Built With, Community & Support,
  and CodesWhat Ecosystem to h2 with anchor ids per readme-shape.md
- docs(readme): move the sponsor badge into the badge wall's social-proof
  row and drop it from the footer
- docs(readme): drop the qlty test_coverage badge, keeping maintainability
  as the one Qlty signal on the wall
- docs(readme): state the Issues/Discussions/Discord routing rule in
  Community & Support per community.md
- docs(readme): mirror the badge-wall and routing-sentence changes into
  the six translated READMEs, preserving the source URL multiset
- docs(agents): note the greptile.json + greptile.yml second-opinion
  reviewer wiring in the merging section

* docs(readme): narrow the Discord line to real-time chat and early support

Review follow-up: the lead Community line routed questions to Discord
while the routing sentence below routes open-ended questions to
Discussions. Mirrored across the 6 translations.

* ci(quality): gate knip and clear the dead-code backlog (#782)

* refactor(quality): remove dead code and stray exports surfaced by knip

Ran knip across app/ and ui/ for the first time and cleared the backlog
so the gate can go in clean. Findings broke down into a few buckets:

- refactor(app): drop test/mock-factories.ts, a 60-line mock-factory
  file with zero live importers
- build(app): remove the unused express-healthcheck dependency
- build(ui): add @vue/compiler-core as an explicit devDependency (it
  was only resolving transitively through vue, despite being imported
  directly in tests/i18n/no-raw-text.spec.ts)
- refactor(app): fix ComposeFileLockManager's duplicate export (was
  both `export class` and `export default`); standardize on default
  export to match every other provider/manager in the codebase
- refactor(app,ui): remove the `export` keyword from ~190 functions,
  consts, types, and interfaces that knip's whole-program analysis
  proved have no consumer outside their own file. Unexporting several
  of these then surfaced true dead code underneath (nothing internal
  referenced them either), which biome's noUnusedVariables caught once
  export no longer hid them:
  - agent/ed25519-signer.ts: unused ED25519_AUTH_HEADER_NAMES map
    (header names are hardcoded elsewhere; this copy was never read)
  - api/container/filters.ts, api/container/sorting.ts: unused
    ContainerSortField/ContainerOrderDirection type aliases, and a
    fully orphaned duplicate parseContainerSortMode/
    resolveContainerSortMode pair in sorting.ts left over from a
    refactor that moved the real implementation into filters.ts
  - watchers/providers/docker/Docker.containers.test.helpers.ts: an
    orphaned OIDC device-flow fixture cluster (createOidcConfig,
    createDeviceFlowConfig, createDeviceCodeResponse,
    createTokenResponse, createDockerOidcStateAdapter,
    createDockerOidcContext) with no remaining callers, plus the now-
    unused imports that fed the trimmed re-export block
  - watchers/providers/docker/label.ts: ten dd.* label constants
    (ddSourceRepo, ddGroup, ddHookPre/Post/PreAbort/Timeout,
    ddUpdateMode, ddRollbackAuto/Window/Interval) that documented
    label keys the actual readers hardcode as string literals instead
    of importing
  - ui/src/services/notification.ts: unused NotificationTemplateField
    type alias
- test(app): rewrite log/warn.test.ts's logError case to destructure
  the import directly instead of going through a type-cast property
  access, which was hiding the export from knip
- test(ui): import CONTAINER_TABLE_ACTIONS_SIZE statically in
  useColumnVisibility.spec.ts instead of through a dynamic-import
  helper, for the same reason
- chore(app): move **/*.typecheck.ts from knip.json's `ignore` to
  `entry` so type-check-only consumers count as real usage instead of
  being invisible to the analysis; fixes the same blind spot for any
  future typecheck-only export, not just the two it caught here
- chore(app,ui): add ignoreBinaries/ignoreDependencies entries for
  genuine false positives (cc/openssl system binaries used in a
  healthcheck test, and two dependency-resolution quirks around
  stryker's JSDoc-only type import and vitest's custom coverage
  provider)

knip exits 0 in both workspaces. biome check is clean across both.

* ci(quality): gate knip in lefthook and ci-verify

Wire the knip dead-code/unused-dependency check into both CI and the
local pre-push gate, per the house linters standard (knip is a hard
gate, not advisory-only). It was already runnable via `npm run knip`
in app/ and ui/ but invoked nowhere.

- scripts/knip-gate.sh: runs knip in both workspaces, mirrors the
  labeled pass/fail style of pre-push-build.sh
- lefthook.yml: new `knip` pre-push step at priority 4, right after
  biome and before qlty (knip is a source-only check like biome, no
  build needed, and both workspaces run in ~1-2s so no sharding).
  Renumbers qlty (4->5) through zizmor (13->14).
- ci-verify.yml lint job: scoped app/ui `npm ci` installs (retry-
  wrapped, matching the pattern already used in the test job) plus
  Knip (app) / Knip (ui) steps, inserted after Biome check and before
  Setup Qlty. Leaves the job's existing harden-runner step untouched.
- .github/tests/ci-verify-workflow.test.ts: update the hardcoded
  workflow-tests priority assertion (7 -> 8) to match the renumbering

npm run test:workflows: 17 files / 174 tests passed.

* docs(agents): sync AGENTS.md pre-push checklist with knip lefthook step

* ci(security): allow api.deps.dev for dependency review

Fifth block-mode telemetry correction: dependency-review-action calls
api.deps.dev for changed-package metadata, exercised only by PRs that
change dependencies. First such PR since the harden-runner flip failed
closed with 'fetch failed'; the blocked domain shows in the post-step
telemetry.

* test(quality): remove vitest retry and fix the flakes it masked (#784)

House standard forbids runner-level retry: root-cause or quarantine,
never blind-retry. Both app/vitest.config.ts and ui/vitest.config.ts
set retry: 1; neither was masking an unfixable flake.

- test(app): fix store/index.test.ts's node:fs mock identity race.
  Each test swapped in a brand-new mocked fs object via
  vi.doMock('node:fs', () => createFsMock(overrides)) after
  vi.resetModules(), so correctness depended on that fresh factory
  winning a timing race against store/index.js re-resolving 'node:fs'.
  The originally diagnosed symptom (PR #417/#436): renameSync asserted
  called 0 times when a stale/base mock got captured instead. Replaced
  with one stable, hoisted fs mock object reconfigured in place per
  test, so the object identity never changes and the race is gone
  structurally. Validated with 100+ shuffled/targeted/full-coverage
  runs, zero failures.

- test(ui): fix ConfigView.spec.ts's real useUpdateMode() coupling.
  useUpdateMode.ts holds module-level singleton state (loaded,
  loadPromise); ConfigView.vue calls both its own getSettings() and
  useUpdateMode() internally, which also calls getSettings() the first
  time loaded.value is false. On a cold module both fire, so the "on
  mount" test's toHaveBeenCalledOnce() failed deterministically on the
  first mount and passed afterward once the singleton warmed - exactly
  the retry-always-fixes-it-on-attempt-2 signature. Mocked
  @/composables/useUpdateMode to match the pattern already used by
  every other real consumer's spec file (ContainerUpdateDialog,
  DashboardView, SecurityView).

- test(ui): add composable-level coverage for useUpdateMode.ts's
  skip-when-loaded branch and default-autoload/effect-scope lifecycle,
  since mocking it out of ConfigView.spec.ts removed the only place in
  the suite that exercised those paths (previously covered by
  accident, not by useUpdateMode's own test suite).

* fix(deps): update npm minor/patch (app) (#770)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update npm minor/patch () (#764)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update npm minor/patch (apps/demo) (#765)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update npm minor/patch (ui) (#767)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update npm minor/patch (e2e) (#769)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(…
scttbnsn added a commit that referenced this pull request Oct 12, 2026
* fix(agent): normalize controller-owned registry identities (#725)

Closes #687

## What changed

- normalize complete controller-owned Portwing image records through the
existing configured-provider path
- use the canonical registry name, URL, credentials, and image identity
before persistence and native refresh
- preserve traditional agent behavior and partial-event handling
- cover initial inventory and subsequent Portwing event ingestion

## Verification

- RED: both inventory and event paths retained `registry.name=unknown`
and skipped the native registry query
- GREEN: affected AgentClient/image-comparison suite 607/607
- full backend 12,872 tests at 100% coverage on the fix commit
- full pre-push gate passed in 276 seconds after current-dev integration
- live exact-commit tri-tool smoke returned watch-now HTTP 200, queried
`hub.public`, detected BusyBox `1.36.1`, made 46 native Docker GETs, and
made zero legacy watcher POSTs

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added controller-side normalization for Portwing containers from
Docker transport watchers.
- πŸ”§ Changed inventory and incremental event handling to use configured
registry identity, URL, credentials, and image identity.
- πŸ”§ Preserved traditional agent normalization and partial-event
handling.
- πŸ› Fixed controller-owned registry checks for agent-synced containers.
- ✨ Added tests for anonymous Docker Hub registration, image
normalization, and native watcher identity.
- πŸ”§ Verified affected tests, the backend suite, the pre-push gate, and
live tri-tool smoke tests.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(registries): propagate manifest created fetch failures (#726)

Closes #606

## What changed

- propagate exhausted manifest and blob transport failures instead of
converting them to successful `undefined`
- preserve resolved digest results only when optional created-metadata
requests return 301, 302, 303, 307, or 308, while keeping redirect
following disabled
- keep contextual child debug logging and rethrow the original 304, 4xx,
5xx, network, and non-object failures
- preserve optional handling for missing config digests, absent or
non-string `created`, and invalid dates

## Why

The first implementation correctly fixed #606, but the exact-head
Playwright fixture exposed the mirror registry returning 302 for
optional blob metadata. Because registry requests intentionally use
`maxRedirects: 0`, rethrowing that 302 aborted digest watch and hid a
real Nginx update. CodeRabbit then caught that a broad 3xx predicate
also swallowed `304 Not Modified`; the final allowlist excludes
non-redirect statuses.

## Verification

- RED: four original failure cases resolved successfully instead of
rejecting
- RED: schema v2 blob 302 and manifest 307 rejected instead of
preserving the resolved digest
- RED: manifest 304 resolved with a digest instead of rethrowing the
original error
- GREEN: redirect and failure-propagation focus 5/5
- GREEN: Registry, BaseRegistry, image-comparison, and Docker boundary
597/597
- GREEN: full pre-push in 273.80 seconds, including 323 script/workflow
tests, app/UI 100% coverage, and both builds
- exact patch is limited to `app/registries/Registry.ts` and
`app/registries/Registry.test.ts`

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ› **Fixed:** Propagate manifest configuration and blob transport
failures instead of returning `undefined`.
- πŸ› **Fixed:** Preserve original rejection values, including non-`Error`
values.
- ✨ **Added:** Preserve resolved digests for optional metadata requests
that return HTTP 301, 302, 303, 307, or 308.
- πŸ”§ **Changed:** Keep redirect following disabled.
- πŸ”§ **Changed:** Preserve contextual debug logging for non-redirect
failures.
- ✨ **Added:** Tests for HTTP 304, 4xx, 5xx, network, redirect, missing
metadata, invalid dates, child logging, and legacy blob mocks.
- πŸ”§ **Changed:** Limit implementation changes to `Registry.ts` and
`Registry.test.ts`.

## Concerns

- Verify `isRedirectError` matches only HTTP 301, 302, 303, 307, and
308.
- Verify `BaseRegistry` caching preserves prior digest-watch verdicts
after propagated failures.
- Verify tag-only requests still treat missing or invalid `created`
metadata as optional.
- Check whether an existing shared HTTP-status utility should replace
`isRedirectError`.
- Check whether `Registry` error handling remains consistent with the
`BaseRegistry` provider pattern.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* docs(release): update v1.7.0-rc.1 notes (#727)

## Summary

- date the v1.7.0-rc.1 release metadata for the August 14 cut
- document the four post-promotion fixes without changing their issue
state
- keep all seven translated README anchors and release contracts in sync

## TDD

- RED: release identity failed on the stale August 13 headings and
missing #606, #635, #687, and #688 notes
- RED: the translation contract failed all six localized README anchors
- GREEN: release identity 12/12 and translation contract 76/76

## Verification

- `node --test scripts/*.test.mjs` (164/164)
- `npm run test:workflows` (160/160)
- `npm run release:precheck -- v1.7.0-rc.1 --strict --tracker <private
tracker>`
- website scripts 63/63, typecheck, and production build (437 pages)
- normal pre-push hook, including 100% app/UI coverage and both builds

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added
- Added release metadata checks for issues `#606`, `#635`, `#687`, and
`#688`.
- Added checks for required fix descriptions.
- Added checks that reject broad `3xx` wording and require explicit
redirect statuses `301`, `302`, `303`, `307`, and `308`.
- Preserved `304` as a propagated failure.

πŸ”§ Changed
- Updated v1.7.0-rc.1 release identity from August 13 to August 14,
2026.
- Updated seven translated README changelog anchors.
- Added release highlights for Portwing, Edge reliability, registry
metadata failures, and redirect responses.
- Documented post-promotion fixes without implying issue closure.

- Verify the `README.pt-BR.md` anchor direction. Its generated summary
reports a change from August 14 to August 13, which conflicts with the
release update.
- Confirm all release identity, translation, workflow, website,
typecheck, build, and pre-push checks pass.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* test(release): enforce redirect allowlist in notes

* feat(web): add privacy-first PostHog analytics (#731)

Replace Vercel telemetry with a cookieless, allowlisted PostHog contract for pageviews, CTAs, and web vitals.

* test(web): bind approved CTA combinations (#733)

## Summary

- enumerate every approved analytics CTA tuple
- prove the runtime allowlist exposes every documented CTA ID and
placement
- close the exhaustive-coverage gap found during the dev-to-main
promotion review

## Verification

- mutation RED: removing `marketing\0install_quick\0get_started` fails
the new exhaustive contract
- GREEN: focused analytics contracts pass 8/8
- full normal pre-push passes, including 100% app/UI coverage and both
builds

Refs #732

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added `ANALYTICS_CTA_TUPLES` as the canonical list of approved
surface, CTA, and placement combinations.
πŸ”§ Derived `ALLOWED_CTA_TUPLES` from `ANALYTICS_CTA_TUPLES`.
✨ Added exhaustive contract tests with `APPROVED_CTA_TUPLES`.
✨ Verified that exported tuples and `isAllowedCta` match the approved
allowlist.
✨ Verified the mutation test, 8 focused analytics contract tests, full
pre-push suite, 100% app/UI coverage, and both builds.

- No actionable concerns identified.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(i18n): restore README translation parity (#735)

## Summary

- apply the fresh six-README Crowdin output to the current `dev/v1.7`
tree
- restore localized public labels and the v1.7 dependency/security link
mapping
- remove source-English regressions from the Chinese README and restore
exact URL and HTML-tag parity
- clarify fail-closed authentication wording and fix localized
table/link rendering found during review

## Verification

- RED: exact Crowdin head `8e08831e52d98765000ac20c23783e195da718d8`
failed 12 of 76 translation contracts
- GREEN: focused translation contract passes 76/76
- review RED/GREEN: temporary focused review contract failed 4/4 before
the wording/markup fixes and passed 4/4 afterward; the disposable test
was removed so the product diff remains six READMEs
- full workflow contracts pass 160/160
- repository maintenance scripts pass 166/166
- normal pre-push hook passes twice, including Biome, Qlty, UI
typecheck, 100% app/UI coverage, and app/UI builds
- `git diff --check` passes

## Frozen review identity

- base: `9db36cce930532f044d1fa5e294cf9a622ab14e8`
- head: `ccadd6516520b2f9e0ffaa76c20849c1cbaf0a7d`
- tree: `b3cd1d00173a153c310ef918c81e4c8b00cd6a6a`
- patch SHA-256:
`c0cd81d58e35a2855958e85181bd49acf5eb7dd3788b2485caf49ec56e46d01f`
- scope: exactly six translated README files

Greptile review is skipped under the explicitly accepted
exhausted-credit decision. CodeRabbit, CI, and human language review
remain required.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”§ Updated six translated README files to restore source-content, link,
URL, and HTML-tag parity.
- πŸ”§ Reformatted badges, collapsible sections, screenshots, feature
tables, comparison tables, roadmap tables, documentation tables, and
ecosystem tables.
- πŸ”’ Documented fail-closed authentication behavior across translations.
- πŸ”§ Updated localized v1.7 release, security, dependency, lifecycle,
migration, and star-history references.
- πŸ”§ Corrected translated labels and integration headings.
- πŸ—‘οΈ Removed an obsolete German roadmap note.

## Concerns

- Verify all translated README links and URLs against the source README.
- Verify HTML and Markdown tables render correctly on GitHub.
- Verify `<details>` summaries remain accessible and consistent.
- Confirm no translated content was lost during structural reformatting.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(compose): refresh image-inherited runtime defaults (#736)

Squash merge of reviewed head 1074a1f6 into dev/v1.7.

* fix(i18n): correct reviewed README terminology (#738)

## Summary

- preserve the Cosign product name in the Spanish security descriptions
- complete the Polish roadmap localization and correct the `curl`
removal note
- correct Chinese Docker-socket, localization, release-intelligence,
scanner, and domain terminology
- preserve Polish Compose, Docker digest, update-mode, routing,
resource-action, and template-variable semantics

## TDD verification

- initial RED: a focused seven-case translation contract failed 7/7 on
exact dev `4fc848253210a6885fd95a1916cb5ee3416e0695`
- initial GREEN: the same contract passed 7/7 after the first three
README edits
- first-review RED: a focused three-case contract failed 0/3 on exact
`8ba66139f46123313c7ca91381bf2c8bca03a598`
- first-review GREEN: the same contract passed 3/3 after preserving
Compose/matching semantics, natural Polish roadmap terminology, and all
Chinese scanner/backend choices
- exact-review RED: a focused three-case contract failed 3/3 on exact
`7df439f04f386800051a9bf57f86d55f2234d9e8`
- exact-review GREEN: the same contract passed 3/3 after preserving
Polish routing, template-variable, Docker digest rebuild, update-mode,
and resource-action semantics
- disposable review tests were removed so this fix remains a
three-README product diff
- existing translation contract passes 76/76
- full workflow contracts pass 160/160
- repository maintenance scripts pass 166/166
- latest normal pre-push hook passes in 290 seconds, including Biome,
Qlty, UI typecheck, 100% app/UI coverage, and app/UI builds
- `git diff --check` passes

## Frozen identity

- base: `4fc848253210a6885fd95a1916cb5ee3416e0695`
- head: `9cff7f21a489e60f030bc5742c9e4b2d17649450`
- tree: `297d2aa5a463a3d6b708602e50a834fad5c21ae7`
- patch SHA-256:
`a9e23eae01f487dec7927488762f7799ab3b46682ed7d105feb720049890d73b`
- scope: exactly `README.es.md`, `README.pl.md`, and `README.zh-CN.md`

This feature PR addresses the exact-head translation findings from
promotion PR #737 and the verified follow-up findings from its own
reviews. Greptile is waived under the explicitly accepted
exhausted-credit decision. Exact-head CodeRabbit, CI, and genuine human
language review remain required.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ› Fixed Spanish `Cosign` signature-verification terminology.
- ✨ Added Polish roadmap localization for headers and release entries.
- πŸ› Corrected the Polish `curl` removal note.
- πŸ› Corrected Chinese terminology for Docker socket mounting, UI
localization, release intelligence, scanner options, backend, and
website naming.

## Concerns

- Verify terminology against the source README files.
- Confirm roadmap consistency across localized README files.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(i18n): localize README table labels (#739)

## Summary

- restore five localized roadmap/resource table labels found during the
final D4 promotion language review
- keep the correction to one label cell each in German, Spanish, French,
Polish, and Brazilian Portuguese
- leave the already-reviewed translations and Compose changes unchanged

## TDD evidence

- focused table-header contract RED: 5 failed, 161 passed
- focused table-header contract GREEN: 166 passed
- temporary contract removed after RED/GREEN to preserve the
eight-product-path promotion endpoint
- permanent README translation contract: 76/76
- full workflow suite: 160/160
- normal pre-push: clean tree, Biome, qlty, 166 script tests, 160
workflow tests, UI typecheck, app/UI 100% coverage, and app/UI builds
all passed

## Exact scope

- `README.de.md`: `Highlights` β†’ `HΓΆhepunkte`
- `README.es.md`: `Version` β†’ `VersiΓ³n`
- `README.fr.md`: `Link` β†’ `Lien`
- `README.pl.md`: `Resource` β†’ `ZasΓ³b`
- `README.pt-BR.md`: `Link` β†’ `LigaΓ§Γ£o`

Greptile is waived under the accepted exhausted-credit decision.
Exact-head CodeRabbit, CI, and genuine language approval remain
required.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”§ Changed localized README table labels:
  - German: `Highlights` β†’ `HΓΆhepunkte`
  - Spanish: `Version` β†’ `VersiΓ³n`
  - French: `Link` β†’ `Lien`
  - Polish: `Resource` β†’ `ZasΓ³b`
  - Brazilian Portuguese: `Link` β†’ `LigaΓ§Γ£o`

## Concerns

- Verify the Polish diff. The raw summary also reports `Link` β†’ `Link`,
while the objectives report only one changed label.
- Confirm all reported validation checks pass.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(web): forward $raw_user_agent and $host for cookieless ingestion (#740)

## Summary

- `before_send` in `apps/web/src/lib/analytics-contract.ts` rebuilt
every outgoing PostHog event from a hard allowlist that dropped
`$raw_user_agent` and `$host`. PostHog's cookieless server-hash
ingestion step reads those two fields straight off `event.properties`
and silently drops the event (`cookieless_missing_user_agent` /
`cookieless_missing_host`) if either is absent β€” same bug fixed in
CodesWhat/portwing#124.
- `createBeforeSend` now requires both fields (drops the event if either
is missing or empty) and forwards them through unchanged. `$ip` is
deliberately never forwarded β€” PostHog's capture service fills it in
server-side from the request connection.

## Test plan

- [x] `apps/web/scripts/analytics-contract.test.mjs` β€” added a dedicated
regression test pinning that `$raw_user_agent`/`$host` are required and
forwarded, and that events missing either are dropped; updated existing
fixtures to carry the new required fields.
- [x] `apps/web/scripts/analytics-integration.test.mjs` β€” added a
source-scan regression guard analogous to portwing's
`web-analytics-source.test.mjs`.
- [x] `npm run test:scripts` (apps/web) β€” 87/87 passing
- [x] `npm run type-check` (apps/web) β€” clean
- [x] `npm run lint` (apps/web) β€” clean
- [x] full pre-push hook suite (qlty, workflow-tests, typecheck-ui,
web-scripts-test, coverage, build) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ”§ Changed `createBeforeSend` to require non-empty `$raw_user_agent`
and `$host`.
- πŸ—‘οΈ Dropped events that omit either cookieless ingestion field.
- πŸ”§ Forwarded `$raw_user_agent` and `$host` in sanitized events.
- πŸ”’ Continued excluding `$ip`; PostHog supplies it server-side.
- ✨ Added regression and source-scan coverage.
- πŸ”§ Updated analytics fixtures and invalid-input cases.
- βœ… Script tests, type checks, linting, and pre-push checks pass.

- Confirm that all analytics event producers provide non-empty
`$raw_user_agent` and `$host`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* fix(store): persist updatePolicyRetentionCache across process restart (#743)

## Summary
- Round 3 of the #565 thread: a controller self-update (recreate ->
SIGTERM -> new process) still wiped stashed maturity-policy overrides
for a replacement container, even though the sibling lifecycle/clock
cache (`updateLifecycleCache`) already survives the same restart per
#556.
- `updatePolicyRetentionCache` only ever lived in a bare in-memory
`Map`, so `stashUpdatePolicyForReplacement()`'s stash was gone before
the replacement container's `insertContainer()` call could consume it in
the new process.
- Gives `updatePolicyRetentionCache` the same durable,
write-through-backed collection `updateLifecycleCache` already has: a
new `app/store/update-policy-retention-cache.ts` module, write-through
on stash, delete-on-consume, and
`rehydrateUpdatePolicyRetentionCacheFromStore()` wired into
`store/index.ts` startup before the first `insertContainer` runs.
- Does not touch the round-1 (clock-restart, #568) or round-2
(empty-override-authoritative, #624) fixes, which are already correct.
- The remaining half of the report β€” policy loss from a pure 0-container
remote-agent handshake with no controller restart β€” isn't explained by
this fix. The existing zero-container handshake path already skips
`pruneOldContainers`/`deleteContainer` entirely, so that part needs more
repro detail from the reporter before a second root cause can be pinned
down.

## Test plan
- [x] `npx vitest run store/container.test.ts store/index.test.ts
store/update-lifecycle-cache.test.ts
store/update-policy-retention-cache.test.ts` β€” new "simulated process
restart" test pins the fix; also new dedicated unit tests for the new
store module and wiring-order assertions in `store/index.test.ts`
- [x] `npm test` in `app/` β€” 12907 tests pass, 100% coverage
- [x] `npx tsc --noEmit` and `npx biome check .` clean
- [x] Pre-push hooks (biome, qlty, workflow-tests, typecheck-ui,
coverage, build) all green

Fixes: #565

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added a durable LokiJS-backed store for update-policy retention
records.
- πŸ”§ Changed `updatePolicyRetentionCache` to write through to persistent
storage.
- πŸ”§ Changed cache consumption, expiration, and size eviction to delete
persistent records.
- πŸ”§ Changed startup to rehydrate unexpired records before the first
`insertContainer` call.
- πŸ› Fixed maturity-policy overrides being lost during controller process
restarts.
- ✨ Added tests for persistence, rehydration, expiration pruning,
eviction, deletion, and startup ordering.

## Concerns

- Verify behavior during zero-container remote-agent handshakes without
a controller restart. This PR does not cover that loss path.
- Verify the new store follows existing store initialization and
persistence conventions.
- Review whether `unknown` for `updatePolicyOverrides` preserves the
required type safety.
- Check whether cache persistence and rehydration logic duplicates
existing store utilities.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* ci: migrate workflow security to the reusable go-ci caller (#742)

## Summary
- Replace the inline `zizmor` job in `ci-verify.yml` with a caller job
(`security-actions`) into `CodesWhat/.github`'s `go-ci.yml` reusable
`workflow-security` gate, pinned at
`01bf40b06b110946f12a49b82e407d77c6480df7`.
- Add a temporary fail-closed bridge job (`legacy-security-actions`)
that republishes the caller's result under the old plain `Security:
Actions` check context, so branch protection keeps working unchanged
during the migration window.
- Repoint every job that depended on the removed `zizmor` job
(`secrets`, `codeql`, `fuzz`) at `security-actions`.

## Naming resolution
- Caller job: key `security-actions`, `name: "Security: Actions"` β†’
GitHub reports this as the composite context `Security: Actions /
Workflow Security` (reusable-workflow-call jobs report as `<caller job
name> / <called workflow job name>`).
- Bridge job: key `legacy-security-actions`, `name: "Security: Actions"`
β†’ reports as the plain context `Security: Actions`, identical to what
the removed inline job published.
- These are two different job keys with the same display `name`, which
GitHub allows (job identity for check-run purposes is the job key +
workflow, not the display name) and produces two distinct, non-colliding
check contexts because one is a reusable-workflow-call job and the other
isn't.

## Test plan
- [x] `npm run test:workflows` β€” 166/166 passing (17 files), including
new `.github/tests/reusable-ci-config.test.ts` and extended
`ci-verify-workflow.test.ts` / `harden-runner-workflow.test.ts`
- [x] `node --test scripts/*.test.mjs` β€” passing (ran as part of
pre-push hook)
- [x] `npx biome check .` β€” clean
- [x] Local `zizmor` pre-push hook scan of `.github/workflows/*.yml` β€”
no findings
- [x] Full pre-push hook chain (clean-tree, ts-nocheck, biome, qlty,
qlty-smells, scripts-test, workflow-tests, typecheck-ui, coverage,
build, zizmor) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Changelog

- πŸ”’ Added a pinned `security-actions` reusable workflow caller from
`CodesWhat/.github/go-ci.yml`.
- πŸ”§ Disabled Go test and lint jobs for this Go-less repository.
- ✨ Added a fail-closed `legacy-security-actions` bridge for the
existing `Security: Actions` branch-protection context.
- πŸ”§ Updated `secrets`, `codeql`, and `fuzz` job dependencies.
- πŸ”’ Required `actions:read`, `contents:read`, and
`security-events:write`.
- πŸ”§ Added validation for workflow pinning, permissions, disabled Go
jobs, bridge behavior, and blocked egress.
- πŸ—‘οΈ Removed the inline `zizmor` job.

## Concerns

- Remove `legacy-security-actions` after branch protection no longer
requires `Security: Actions`.
- Keep the frozen `go-ci.yml` SHA synchronized with the approved
revision.
- Preserve the fail-closed bridge contract and `egress-policy: block`.
- Confirm the reusable workflow remains compatible with the required
`security-events: write` permission.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* ci(verify): remove legacy security-actions bridge (#745)

## Summary
- Ruleset 13077055 was narrowed to require `Security: Actions / Workflow
Security` (the reusable go-ci caller's composite context) instead of the
old plain `Security: Actions` context. The `legacy-security-actions`
fail-closed bridge job in `.github/workflows/ci-verify.yml`, which
existed only to republish the old plain name, is now unreferenced by
branch protection and has been removed.
- Updated `.github/tests/ci-verify-workflow.test.ts` to drop the
assertion on the removed job's name and add a retired-context rejection
test (mirrors portwing #122 / sockguard #260): asserts the
`legacy-security-actions` job is gone and that no job (other than the
legitimate `security-actions` reusable caller, whose `name:` field is
the composite prefix, not a standalone check) republishes the bare
`Security: Actions` name. The regex is anchored to `^[ \t]*name:` with
optional quotes so it can't false-positive on an input key like
`workflow-security-check-name:`.
- Updated `.github/tests/harden-runner-workflow.test.ts` to drop the
block-egress carve-out and dedicated bridge test that only existed for
the removed job; every remaining Harden Runner step now uses the
standard `audit` policy.

## Test plan
- [x] `npm run test:workflows` β€” 167/167 pass
- [x] Full `git push` pre-push gate (clean-tree, ts-nocheck, biome,
qlty, qlty-smells, scripts-test, workflow-tests, typecheck-ui, coverage,
build, zizmor) β€” all green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ—‘οΈ Removed the obsolete `legacy-security-actions` bridge job from
`.github/workflows/ci-verify.yml`.
- πŸ”§ Updated workflow tests to reject the retired job and bare `Security:
Actions` check context.
- πŸ”’ Removed the Harden Runner egress-policy exception for the bridge
job.
- πŸ”§ Removed the bridge-specific Harden Runner test.
- πŸ”§ Verified workflow tests and the full pre-push gate pass.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* test(workflows): exclude nested worktrees from vitest discovery (#747)

The primary checkout's pre-push workflow-tests gate runs `vitest run
.github/tests`, which also discovers every nested preserved worktree's
copy of the suite under `.claude/worktrees/` (and legacy
`.codex/worktrees/`). A parked WIP worktree with intentionally-failing
tests (e.g. the held Warpchart README branch awaiting its Crowdin cycle)
then blocks unrelated pushes from the primary checkout, including branch
deletions. Exclude those paths from discovery; each worktree still runs
its own suite from its own root.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

### Changelog

- ✨ Added Vitest exclusions for `.claude/worktrees/` and
`.codex/worktrees/`.
- πŸ”§ Changed the configuration to extend `configDefaults.exclude`.
- πŸ› Fixed test discovery in the primary checkout by ignoring nested
preserved worktrees.

### Concerns

- Verify that each worktree runs Vitest from its own root and is not
excluded by these patterns.
- Add or update tests for both worktree paths if coverage is missing.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* test(configuration): restore digest-pinned node base image guard (#749)

## Summary
- The regression test `release image builds from the digest-pinned Node
base image` in `app/configuration/dockerfile-defaults.test.ts` was
silently dropped at a70d406e ("chore(release): promote v1.7.0-rc.1 to
main"). Restored it exactly as it read at a70d406e^.
- No digest bump: the Dockerfile still pins
`node:24-alpine@sha256:d32cdf6...`, and resolving the `node:24-alpine`
tag against Docker Hub's registry API confirms that digest is still
current, so there's no newer image to move to (and no basis to link this
to CVE-2026-58055/nghttp2-libs at this time).

## Test plan
- [x] `npx vitest run configuration/dockerfile-defaults.test.ts` β€” 5
passed
- [x] `npm run lint` (biome) β€” clean
- [x] `git push` β€” full pre-push hook chain (biome, qlty, coverage 100%,
build) passed

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added a regression test for the digest-pinned `node:24-alpine` base
image in `app/configuration/dockerfile-defaults.test.ts`.
- πŸ› Fixed missing coverage for release image builds after the
v1.7.0-rc.1 promotion.

## Validation

- Vitest passed.
- Biome linting passed.
- Pre-push checks passed.
- Coverage passed.
- Build passed.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* fix(ui): guard container view against remote property injection (#750)

## Summary

Fixes CodeQL alert #556 (`js/remote-property-injection`,
CWE-250/CWE-400) in `ui/src/views/ContainersView.vue`.

- **Sink**: `normalizeQueryRecord()` copied `route.query` into a plain
`Record<string, string>` via `normalized[key] = normalizedValue`, where
`key` comes directly from the URL query string
(`Object.entries(route.query)`). CodeQL flags any dynamically-computed
property name write reached from a remote/URL-controlled value,
regardless of the target object's shape β€” the alert pointed at two call
sites that flow into this same write (`buildSyncedRouteQuery` and
`syncRouteQueryFromState`).
- **Fix**: accumulate the normalized entries in a `Map<string, string>`
instead of writing onto a plain object with bracket notation, then
materialize the result in one shot with `Object.fromEntries(map)`.
`Map.set` and `Object.fromEntries` are method calls, not syntactic
property writes, so there's no `obj[dynamicKey] = value` pattern for the
sink to match. `Object.fromEntries` also uses `CreateDataProperty`
semantics rather than `[[Set]]`, so even an attacker-chosen key like
`__proto__` lands as an inert own data property instead of mutating the
object's actual prototype chain β€” closing the underlying vulnerability
class, not just satisfying the checker.
- No suppression comments were used; this is a root-cause fix, and
behavior for legitimate query keys is unchanged (verified by existing +
new tests).

## Test plan

- [x] Added `ui/tests/views/ContainersView.spec.ts` β†’ `describe('remote
property injection guard (CodeQL #556)')`:
- unit-tests `normalizeQueryRecord` directly with a malicious
`"__proto__"` query key (constructed via `JSON.parse` so it's a real own
property, since object-literal `{ __proto__: ... }` syntax is
special-cased and would silently no-op) and asserts `Object.prototype`
is untouched while the legitimate key is preserved.
- exercises the full `route.query` β†’ `router.replace` sync path with the
same malicious query and asserts the emitted query object still has a
normal prototype and no global pollution occurred.
- [x] `cd ui && npx vitest run tests/views/ContainersView.spec.ts` β€” 164
tests pass (162 existing + 2 new).
- [x] `cd ui && npm run lint` β€” clean.
- [x] `cd ui && npm run typecheck` β€” clean.
- [x] `git push` β€” full pre-push hook suite passed (biome, qlty,
qlty-smells, coverage @ 100% for app+ui, app+ui build).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- πŸ”’ **Security:** Prevent prototype pollution from attacker-controlled
query keys in `normalizeQueryRecord()`.
- πŸ”§ **Changed:** Normalize query entries with `Map<string, string>` and
`Object.fromEntries`.
- ✨ **Added:** Regression tests for `__proto__` normalization and
route-query synchronization.
- πŸ”§ **Changed:** Verify legitimate query keys remain intact and
`Object.prototype` remains unchanged.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Test <[email protected]>

* feat(triggers): add onauto auto mode and dd.action.auto label plumbing (#752)

Slice 1 of the 6.0.1 per-action policy package (#511): inert plumbing
only.

- `TriggerAutoMode` widens to `all | oninclude | onauto | none`; in this
slice `onauto` behaves identically to `oninclude` (closed by default,
auto handlers register). Its real semantics β€” `dd.action.include` grants
manual, `dd.action.auto` grants auto β€” land with the policy resolver in
the next slice.
- New `dd.action.auto` label constant and `actionTriggerAuto` field
threaded through label resolution, the container model, and store
normalization, mirroring `actionTriggerInclude`'s flow exactly
(override-vs-label precedence, no deprecated mirror, action category
only).
- Nothing consumes `actionTriggerAuto` yet.

Full suite: 12,922 tests, 100% coverage both gates.

Part of the v1.7 per-action access/auto-execution policy (prerequisite
for the DEPRECATIONS.md soft-to-hard blocker flip, which ships in the
final slice of this package, never alone).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
✨ Added
- Added `dd.action.auto` label support.
- Added optional `actionTriggerAuto` to the `Container` model and Joi
schema.
- Added `actionTriggerAuto` to trigger-label resolution, Docker
overrides, container derivation, and store normalization.
- Added `onauto` to `TriggerAutoMode` and the `AUTO` Joi enum.
- Added tests for label mapping, precedence, normalization, filtering,
and Docker propagation.

πŸ”§ Changed
- `onauto` follows `oninclude` behavior.
- Label resolution limits `dd.action.auto` to the action category.
- Nullish fallback preserves explicit empty `actionTriggerAuto`
overrides.
- The label does not create a deprecated mirror.

Concerns:
- `actionTriggerAuto` has no consumer. Add policy resolution in the next
slice.
- Confirm all `AUTO` enum declarations and validation paths include
`onauto`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* feat(model): add per-action policy resolver (#755)

Slice 2 of the 6.0.1 per-action policy package (#511), stacked on #752.

- `app/model/action-policy.ts`: pure resolver returning one `blocked |
manual | auto` state per (action trigger, container).
`dd.action.exclude` always wins; access is open for `AUTO=all|none` and
label-granted otherwise; `dd.action.auto` implies access under `onauto`;
`oninclude` keeps its legacy conflated meaning (include grants
manual+auto) so no existing deployment changes behavior.
- `selectActionTrigger`: specificity-ranked candidate walk (file-matched
compose > catch-all compose > generic docker, ties by insertion order
with a one-time warn) β€” skip default-deny candidates, hard-stop on an
explicit exclude, first authorized wins. Replaces
first-compatible-by-insertion-order for eligibility display.
- `trigger-reference-matching.ts`: the `name[:threshold]` grammar
extracted from `Trigger.ts` so the resolver reuses the exact matching
machinery without a require cycle.
- `computeUpdateEligibility` derives
`trigger-excluded`/`trigger-not-included` from the resolver verdict.
Blocker reasons and severities unchanged (both still soft β€” the hard
flip is the final slice of this package).
- Parametrized tests cover the full migration table and regression
matrix from the phase spec, plus equivalence tests proving selection
matches `findDockerTriggerForContainer` for every legacy scenario.

Admission and auto-dispatch wiring are slices 3-4. Global `updateMode`
remains a call-site clamp, untouched here.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Changelog

- ✨ Added per-action policy resolution for `blocked`, `manual`, and
`auto` states.
- ✨ Added ranked Docker and Docker Compose trigger selection.
- ✨ Added reusable trigger-reference parsing and matching utilities.
- ✨ Added migration, regression, legacy-equivalence, and parametrized
tests.
- πŸ”§ Updated `computeUpdateEligibility` to use resolver results.
- πŸ”§ Preserved existing blocker reasons and soft severities.
- πŸ”§ Preserved admission, auto-dispatch, and global `updateMode` clamp
behavior.
- πŸ—‘οΈ Removed duplicated trigger-reference parsing and legacy
include/exclude checks.

## Concerns

- Verify resolver precedence for `dd.action.exclude`, access rules,
`dd.action.auto`, and legacy `oninclude` against all migration cases.
- Verify tie warnings are emitted once per trigger set.
- Verify exported trigger-selection types follow existing module API
conventions.
- Verify provider-qualified, name-only, and threshold-based references
remain backward compatible.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Test <[email protected]>

* feat(updates): gate admission through the action policy resolver (#756)

* feat(updates): gate admission through the action policy resolver

resolveUpdateTrigger now selects the update trigger via
selectActionTrigger's hybrid specificity walk instead of the plain
agent/compose lookup, so a not-included candidate is no longer picked
as the resolved trigger. prepareContainerUpdateRequest also adds a
defense-in-depth guard: automatic (watcher-driven) admission is
rejected with 409 unless the resolved action-policy state is 'auto' β€”
needed because trigger-excluded/trigger-not-included stay soft-severity
blockers until the DEPRECATIONS.md hard flip lands. Manual/API admission
is unaffected and keeps admitting both 'manual' and 'auto' states.

Test mocks across request-update/webhook/container-actions specs gained
getId() now that trigger resolution and policy checks require it.

* fix(updates): harden trigger resolution per review

Three CodeRabbit review fixes on PR #756 (action policy admission):

- Require getId on resolved update triggers: isResolvedUpdateTrigger now
  checks typeof trigger.getId === 'function' in addition to type, so a
  malformed explicit options.trigger fails resolution with the existing
  500 'Invalid update trigger' instead of throwing a TypeError later in
  resolveForTrigger's automatic-source guard.
- Honor options.triggerTypes: selectActionTrigger now accepts a
  triggerTypes option that filters candidates by type before ranking, so
  a caller-scoped type (e.g. docker-only) can never lose to an excluded,
  higher-specificity candidate (e.g. a compose file match). Threaded
  through from resolveUpdateTrigger; the stale "not honored" comment is
  rewritten to describe the actual behavior.
- Add the missing automatic-source admission test: an explicit trigger
  (with getId) resolving to configuration.auto:'none' under
  source:'automatic' now has direct coverage asserting the 409
  ACTION_POLICY_NOT_AUTO_REJECTION_MESSAGE, trigger() never called, and
  no operation inserted.

* fix(updates): widen trigger type guard to unknown for CodeQL

CodeQL js/comparison-between-inconvertible-types flagged the null check:
with the parameter typed UpdateTriggerLike the comparison was statically
dead. A type guard should accept unknown; the runtime checks are unchanged
and now all statically meaningful.

---------

Co-authored-by: Test <[email protected]>

* feat(triggers): dispatch automatic actions through the policy winner (#758)

spec-6.0.1-action-policy.md slice 4. Update-action (docker/dockercompose)
triggers now gate every automatic dispatch decision point on
selectActionTrigger(..., {requireAuto: true}): getMustTriggerDecision is
extended so a trigger only proceeds when the resolver's hybrid specificity
walk picks it, by getId, with a resolved state of 'auto'. Since simple
(runUpdateAvailableSimpleTrigger), batch (shouldDispatchUpdateAvailableContainer)
and digest (handleContainerReportDigest) all funnel through
getMustTriggerDecision/mustTrigger, one extension point covers all three
without double-evaluating.

This closes the pre-existing latent fan-out double-dispatch: before this
slice every registered action trigger decided independently whether to
fire, so two compatible triggers could both run the same update. After
this slice only the resolver's ranked winner fires; the loser's
mustTrigger() now returns false and it never reaches enqueueContainerUpdate.

The digest buffer additionally re-checks the winner at flush time
(flushUpdateDigestBuffer), not just at buffer time, mirroring the existing
isAutomaticActionDispatchBlocked() re-check: a container can sit in the
buffer across cron ticks, and by flush time another trigger may now be the
resolver's winner (config change, or a more specific trigger registered
since). A stale entry is evicted instead of dispatched.

The action-category branch of getMustTriggerDecision replaces the plain
include/exclude check entirely for update-action triggers (rather than
gating on top of it), routed through the resolver via
getActionPolicyCandidateTriggers() (registry.getState().trigger, unioned
with `this` so a lone trigger absent from the registry snapshot β€” the shape
of nearly every existing unit test β€” still resolves itself as the winner
of a one-candidate walk). Two behavior changes fall out of this, both
already the resolver's behavior for display (slice 2) and admission
(slice 3), now made consistent for auto-dispatch too:
  - onauto + an include label only (no dd.action.auto label) now resolves
    to 'manual', not 'auto' β€” it grants admission access but no longer
    auto-fires. Before this slice the plain include/exclude check had no
    manual/auto distinction and incorrectly let it auto-fire.
  - AUTO=all now grants unconditional access for auto-dispatch purposes
    exactly like it already does for display/admission, ignoring any
    include label's own threshold suffix (matches the resolver's
    accessOpen semantics) rather than still honoring it as the old
    Trigger.ts-local check did.

Command trigger finding: command triggers are category 'action' (per
trigger-category.ts's ACTION_TRIGGER_TYPES) but are NOT in
UPDATE_ACTION_TRIGGER_TYPES (isUpdateActionTrigger() is false for them) β€”
they call this.trigger()/triggerBatch() directly to run a shell command,
never enqueueContainerUpdate/enqueueContainerUpdates, so they never entered
the admission queue this feature guards against fan-out on. They fall
through unchanged to the plain include/exclude branch of
getMustTriggerDecision, preserving today's behavior exactly.

Tests: regression-matrix cases 5, 6 (double-dispatch closure across
simple/batch/digest, asserting the loser's enqueue call is never made),
11 (updateMode=manual still suppresses the resolved winner), legacy
preservation (solo AUTO=all trigger absent from the registry snapshot,
oninclude+include), and notification triggers unaffected by the winner
gate. Full app suite (409 files, 12997 tests) passes with 100% coverage.

Co-authored-by: Test <[email protected]>

* chore(quality): drop the trivy qlty plugin in favor of Grype (#757)

Grype already owns vuln-scanning coverage (security-grype.yml). Trivy's
qlty-plugin config driver only checked Dockerfile misconfigurations
(DS002/DS-0002), which checkov already covers via the checkov:skip=CKV_DOCKER_3
comment on Dockerfile line 1. Removes the trivy plugin block and its
triage entry from .qlty/qlty.toml; trufflehog is untouched.

House audit follow-up H3.

Closes #753

* feat(api): surface the action policy resolution (#761)

* feat(api): surface the action policy resolution

Adds an actionPolicy field (state/triggerId/reason) to the
updateEligibility payload and a resolvedState field per trigger on
GET /api/v1/containers/{id}/triggers, so the UI can render the
blocked/manual/auto verdict Drydock actually resolved rather than
inferring it from blockers alone. New action-policy.ts helpers
(findOnincludeAutoMigrationGaps, findInertAutoLabelContainers) back
two startup WARNs on Trigger.init(): a trigger left on AUTO=oninclude
whose dd.action.include-matching containers have no dd.action.auto
label (would silently drop to manual-only if switched to onauto), and
a trigger on AUTO=none carrying an inert dd.action.auto label. OpenAPI
schemas and the triggers-list response shape are updated to match.

Part of spec-6.0.1-action-policy.md, slice 5.

* feat(ui): show auto-dispatch policy badges

Adds an "Auto" badge (Update Status panel, full-page Actions tab, and
side panel trigger rows) wherever a container's or an individual
trigger's resolved action-policy state is auto, backed by the new
actionPolicy/resolvedState API fields. Tooltips explain the
blocked/manual/auto verdict for each trigger row. New en locale
strings only; other locales pick up keys via Crowdin.

Part of spec-6.0.1-action-policy.md, slice 5.

* docs(actions): document dd.action.auto and onauto

Documents the new dd.action.auto container label and the onauto AUTO
value across the labels reference, triggers configuration, and
update-eligibility pages, including the resolved actionPolicy API
field and per-trigger resolvedState. Adds a callout on all three pages
making explicit that AUTO=none/AUTO=all also set the baseline access
default, not just automatic execution: AUTO=none still opens manual
access to every container, and AUTO=all opens both. Adds the
Unreleased CHANGELOG entry for this slice.

Part of spec-6.0.1-action-policy.md, slice 5.

* test(e2e): scope the QA dockercompose action to a dedicated compose file

The trigger-specificity walk introduced by the 6.0.1 admission wiring
(#756) correctly prefers a compose-file-matched trigger, which turned
DD_ACTION_DOCKERCOMPOSE_QA into the winning action for the entire
Playwright fleet: qa-compose.yml's basename suffix-matches every fixture
container's compose label. That trigger can never complete an update
against its read-only mount, so accepted dashboard updates EROFS-failed
in the background dispatch and the widget never left its pending state
(intermittent dashboard.spec.ts failures, #763).

Point the trigger at a dedicated file with a distinct basename that no
fleet container matches, restoring DD_ACTION_DOCKER_LOCAL as the
selected action for the fixtures, and guard the collision in the
workflow tests.

* ci(review): wire the greptile second-opinion summon behind a label (#762)

Closes #751, house-audit H7, both halves β€” caller + labeling_instructions.

* feat(model)!: enforce action include/exclude as hard blockers (#772)

* feat(model)!: enforce action include/exclude as hard blockers

End the v1.5.0-v1.6.x soft-severity grace period for trigger-excluded
and trigger-not-included (spec-6.0.1-action-policy.md slice 6): both
flip from soft to hard in BLOCKER_SEVERITY (app/model/update-eligibility.ts
and its UI mirror, ui/src/utils/update-eligibility.ts). A container an
action trigger's dd.action.include/dd.action.exclude labels filter out
now locks the Update button and gets a 409 on a manual update request,
matching every other hard eligibility gate, instead of only gating
automatic dispatch. AUTO=oninclude's existing meaning is unchanged: a
matching dd.action.include label still grants both manual and automatic
access under that mode.

Ships together with the per-action execution policy landed across
slices 1-5 (dd.action.auto label, AUTO=onauto trigger mode) so the
manual-only escape hatch isn't removed without a replacement path.

Updates every test that encoded the old soft behavior (severity-map
assertions, the request-update.ts admission tests that were exercising
the wrong container field and passing vacuously, and UI fixtures that
used trigger-not-included as a generic "soft blocker" example) and adds
hard-rejection coverage for both reasons at the eligibility, admission,
and UI-lock layers. Also updates DEPRECATIONS.md (moved to "Removed
compatibility behaviors"), the docs deprecation schedule and
update-eligibility pages, and the CHANGELOG.

BREAKING CHANGE: a manual update request against a container filtered
out by dd.action.include/dd.action.exclude (or the legacy
dd.trigger.include/dd.trigger.exclude) now fails with a 409 instead of
queuing after a confirm-modal warning. See DEPRECATIONS.md.

* test(model): add the 6.0.1 regression matrix

Dedicated release-gate test file for spec-6.0.1-action-policy.md's
16-case regression matrix. Every case is asserted through
selectActionTrigger/resolveForTrigger, cited by case number; cases 1
and 4 additionally exercise the real admission path
(enqueueContainerUpdate/requestContainerUpdate) since they're the
direct end-to-end proof of the soft->hard flip landing in the prior
commit, and cases 11/12 (the updateMode ceiling) are asserted purely
through admission since the resolver deliberately doesn't apply that
ceiling itself.

* fix(model): omit unset dd.action.include from the not-included message

* docs(deprecations): drop legacy dd.trigger labels from the hard-flip migration guidance

* docs(readme): align with the codeswhat readme shape (#775)

* ci(security): pin hosted runners and annotate remaining action pins (#776)

* ci(security): flip harden-runner to egress block on stage-1 jobs (#777)

* ci(security): flip harden-runner to egress block on stage-1 jobs

Migrates 11 harden-runner job instances from audit (log-only) to block
(enforced) egress policy, per the Stage-1 plan in
.planning/roadmap/h2-harden-runner-block-plan.md Β§2: ci-verify.yml's
changes/dependency-review/secrets/fuzz/test/web, e2e-playwright.yml's
changes, quality-mutation-monthly.yml's stryker/aggregate,
quality-portwing-fleet-soak.yml's fleet-soak, and security-grype.yml's
grype-deps. Each carries the plan's exact per-job allowed-endpoints list.

Also sets disable-sudo: true on every migrated job β€” none of them use
sudo (grep-confirmed across all workflow files).

harden-runner-workflow.test.ts now tracks policy per job via an
expectedPolicy map instead of asserting audit everywhere, so the test
itself becomes the migration checklist for the remaining stages.

* ci(security): allow the api and download hosts the stage-1 jobs actually hit

First block-mode run surfaced four gaps, all confirmed from harden-runner
telemetry: paths-filter calls api.github.com for the PR file list (both
changes jobs), setup-go fetches manifests from raw.githubusercontent.com
and toolchains via go.dev (dl.google.com added for its download redirect),
and the grype installer pulls its script from raw.githubusercontent.com
plus a release lookup on api.github.com. The per-datacenter
hosted-compute-watchdog githubapp.com host stays blocked deliberately:
runner-internal telemetry, unroutable to a stable name, non-fatal.

* ci(security): point the grype allowlist at its real installer and v6 db hosts

Second block-mode run: the pinned scan-action installs from
get.anchore.io (raw.githubusercontent.com is only its fallback, which
worked) and the v6 vulnerability database lives at grype.anchore.io, not
toolbox-data.anchore.io β€” that host is the legacy v5 listing and was
observed unused, so it's dropped rather than left as dead egress.

* ci(security): harden the stage-1 allowlists and policy test from run telemetry

- nodejs.org on every flipped setup-node job: the green test job showed a
  blocked setup-node fallback download that only stays harmless while the
  runner image's toolcache carries the pinned Node version.
- qlty-releases.s3.amazonaws.com and qlty.sh on the test job: the
  continue-on-error coverage publish was failing invisibly at the CLI
  download. The qlty CLI's Sentry ingest host stays blocked deliberately.
- grype's real hosts landed in the previous commit; this one also drops
  two review gaps in the workflow test: stale expectedPolicy keys now
  fail (a misspelled key silently defaulted the job to audit), and block
  jobs must carry disable-sudo: true.

* ci(security): allow the sigstore tuf roots for qlty attestation verification

The coverage publish's gh attestation verify needs the sigstore and
GitHub TUF repositories; with them blocked the continue-on-error step
silently skipped every publish. Allowing attestation infrastructure is
the supply-chain-positive direction of this migration.

* docs(readme): align tail sections and badge wall with house shape (#778)

* docs(readme): align tail sections and badge wall with house shape

- docs(readme): promote Star History, Built With, Community & Support,
  and CodesWhat Ecosystem to h2 with anchor ids per readme-shape.md
- docs(readme): move the sponsor badge into the badge wall's social-proof
  row and drop it from the footer
- docs(readme): drop the qlty test_coverage badge, keeping maintainability
  as the one Qlty signal on the wall
- docs(readme): state the Issues/Discussions/Discord routing rule in
  Community & Support per community.md
- docs(readme): mirror the badge-wall and routing-sentence changes into
  the six translated READMEs, preserving the source URL multiset
- docs(agents): note the greptile.json + greptile.yml second-opinion
  reviewer wiring in the merging section

* docs(readme): narrow the Discord line to real-time chat and early support

Review follow-up: the lead Community line routed questions to Discord
while the routing sentence below routes open-ended questions to
Discussions. Mirrored across the 6 translations.

* ci(quality): gate knip and clear the dead-code backlog (#782)

* refactor(quality): remove dead code and stray exports surfaced by knip

Ran knip across app/ and ui/ for the first time and cleared the backlog
so the gate can go in clean. Findings broke down into a few buckets:

- refactor(app): drop test/mock-factories.ts, a 60-line mock-factory
  file with zero live importers
- build(app): remove the unused express-healthcheck dependency
- build(ui): add @vue/compiler-core as an explicit devDependency (it
  was only resolving transitively through vue, despite being imported
  directly in tests/i18n/no-raw-text.spec.ts)
- refactor(app): fix ComposeFileLockManager's duplicate export (was
  both `export class` and `export default`); standardize on default
  export to match every other provider/manager in the codebase
- refactor(app,ui): remove the `export` keyword from ~190 functions,
  consts, types, and interfaces that knip's whole-program analysis
  proved have no consumer outside their own file. Unexporting several
  of these then surfaced true dead code underneath (nothing internal
  referenced them either), which biome's noUnusedVariables caught once
  export no longer hid them:
  - agent/ed25519-signer.ts: unused ED25519_AUTH_HEADER_NAMES map
    (header names are hardcoded elsewhere; this copy was never read)
  - api/container/filters.ts, api/container/sorting.ts: unused
    ContainerSortField/ContainerOrderDirection type aliases, and a
    fully orphaned duplicate parseContainerSortMode/
    resolveContainerSortMode pair in sorting.ts left over from a
    refactor that moved the real implementation into filters.ts
  - watchers/providers/docker/Docker.containers.test.helpers.ts: an
    orphaned OIDC device-flow fixture cluster (createOidcConfig,
    createDeviceFlowConfig, createDeviceCodeResponse,
    createTokenResponse, createDockerOidcStateAdapter,
    createDockerOidcContext) with no remaining callers, plus the now-
    unused imports that fed the trimmed re-export block
  - watchers/providers/docker/label.ts: ten dd.* label constants
    (ddSourceRepo, ddGroup, ddHookPre/Post/PreAbort/Timeout,
    ddUpdateMode, ddRollbackAuto/Window/Interval) that documented
    label keys the actual readers hardcode as string literals instead
    of importing
  - ui/src/services/notification.ts: unused NotificationTemplateField
    type alias
- test(app): rewrite log/warn.test.ts's logError case to destructure
  the import directly instead of going through a type-cast property
  access, which was hiding the export from knip
- test(ui): import CONTAINER_TABLE_ACTIONS_SIZE statically in
  useColumnVisibility.spec.ts instead of through a dynamic-import
  helper, for the same reason
- chore(app): move **/*.typecheck.ts from knip.json's `ignore` to
  `entry` so type-check-only consumers count as real usage instead of
  being invisible to the analysis; fixes the same blind spot for any
  future typecheck-only export, not just the two it caught here
- chore(app,ui): add ignoreBinaries/ignoreDependencies entries for
  genuine false positives (cc/openssl system binaries used in a
  healthcheck test, and two dependency-resolution quirks around
  stryker's JSDoc-only type import and vitest's custom coverage
  provider)

knip exits 0 in both workspaces. biome check is clean across both.

* ci(quality): gate knip in lefthook and ci-verify

Wire the knip dead-code/unused-dependency check into both CI and the
local pre-push gate, per the house linters standard (knip is a hard
gate, not advisory-only). It was already runnable via `npm run knip`
in app/ and ui/ but invoked nowhere.

- scripts/knip-gate.sh: runs knip in both workspaces, mirrors the
  labeled pass/fail style of pre-push-build.sh
- lefthook.yml: new `knip` pre-push step at priority 4, right after
  biome and before qlty (knip is a source-only check like biome, no
  build needed, and both workspaces run in ~1-2s so no sharding).
  Renumbers qlty (4->5) through zizmor (13->14).
- ci-verify.yml lint job: scoped app/ui `npm ci` installs (retry-
  wrapped, matching the pattern already used in the test job) plus
  Knip (app) / Knip (ui) steps, inserted after Biome check and before
  Setup Qlty. Leaves the job's existing harden-runner step untouched.
- .github/tests/ci-verify-workflow.test.ts: update the hardcoded
  workflow-tests priority assertion (7 -> 8) to match the renumbering

npm run test:workflows: 17 files / 174 tests passed.

* docs(agents): sync AGENTS.md pre-push checklist with knip lefthook step

* ci(security): allow api.deps.dev for dependency review

Fifth block-mode telemetry correction: dependency-review-action calls
api.deps.dev for changed-package metadata, exercised only by PRs that
change dependencies. First such PR since the harden-runner flip failed
closed with 'fetch failed'; the blocked domain shows in the post-step
telemetry.

* test(quality): remove vitest retry and fix the flakes it masked (#784)

House standard forbids runner-level retry: root-cause or quarantine,
never blind-retry. Both app/vitest.config.ts and ui/vitest.config.ts
set retry: 1; neither was masking an unfixable flake.

- test(app): fix store/index.test.ts's node:fs mock identity race.
  Each test swapped in a brand-new mocked fs object via
  vi.doMock('node:fs', () => createFsMock(overrides)) after
  vi.resetModules(), so correctness depended on that fresh factory
  winning a timing race against store/index.js re-resolving 'node:fs'.
  The originally diagnosed symptom (PR #417/#436): renameSync asserted
  called 0 times when a stale/base mock got captured instead. Replaced
  with one stable, hoisted fs mock object reconfigured in place per
  test, so the object identity never changes and the race is gone
  structurally. Validated with 100+ shuffled/targeted/full-coverage
  runs, zero failures.

- test(ui): fix ConfigView.spec.ts's real useUpdateMode() coupling.
  useUpdateMode.ts holds module-level singleton state (loaded,
  loadPromise); ConfigView.vue calls both its own getSettings() and
  useUpdateMode() internally, which also calls getSettings() the first
  time loaded.value is false. On a cold module both fire, so the "on
  mount" test's toHaveBeenCalledOnce() failed deterministically on the
  first mount and passed afterward once the singleton warmed - exactly
  the retry-always-fixes-it-on-attempt-2 signature. Mocked
  @/composables/useUpdateMode to match the pattern already used by
  every other real consumer's spec file (ContainerUpdateDialog,
  DashboardView, SecurityView).

- test(ui): add composable-level coverage for useUpdateMode.ts's
  skip-when-loaded branch and default-autoload/effect-scope lifecycle,
  since mocking it out of ConfigView.spec.ts removed the only place in
  the suite that exercised those paths (previously covered by
  accident, not by useUpdateMode's own test suite).

* fix(deps): update npm minor/patch (app) (#770)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update npm minor/patch () (#764)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update npm minor/patch (apps/demo) (#765)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update npm minor/patch (ui) (#767)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update npm minor/patch (e2e) (#769)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency js-yaml to v5 (#771)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* test(registry): guard provider knip visibility with entry patterns and a colocated-test check (#786)

The component registry loads registries/triggers/watchers/authentications
provider classes via a runtime-constructed import(), so knip can't trace
that dynamic import path back to the provider files. Today they only
survive knip's dead-code check because each has a colocated
<Provider>.test.ts that knip's vitest plugin treats as an entry point --
an accident of test coverage, not a structural guarantee.

Add each current provider class file to knip.json's entry array (mirroring
the Capitalize(dir).ts/dir.ts resolution convention in registry/index.ts,
excluding shared helper files so their own dead-code detection stays
intact) to close the gap for providers that exist today. Add a filesystem
test that asserts every provider directory has a colocated .test.ts for
its class file, enforcing the underlying convention structurally for
providers added in the future.

Fixes: #781

* docs(security): qualify SLSA claims as Build L2 (#785)

* docs(security): qualify SLSA claims as Build L2

* ci(security): allow google fonts hosts in the web job egress policy

* ci(security): scan the PR-built image with grype in ci-verify (#787)

* ci(security): scan the PR-built image with grype in ci-verify

* ci(security): allow raw.githubusercontent.com for the grype installer

* ci(security): add scheduled DAST for getdrydock.com and demo site (#788)

ci(security): add scheduled DAST for the deployed web surfaces

* chore(deps): update dependency jsdom to v30 (#773)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency nanoid to v6 (#774)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* ci(quality): upload coverage to codecov instead of qlty cloud (#789)

* ci(quality): upload coverage to codecov instead of qlty cloud

* docs(readme): add codecov coverage badge to the quality row

* chore(deps): update github-actions (#768)

* chore(deps): update github-actions

* test(ci): sync expected action pins with renovate bumps

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: scttbnsn <[email protected]>

* fix(deps): update npm minor/patch (apps/web) (#766)

* fix(deps): update npm minor/patch (apps/web)

* test(analytics): sync posthog-js pin assertion with renovate bump

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: scttbnsn <[email protected]>

* fix(ui): fetch settings once in ConfigView (#790)

fix(ui): drop ConfigView duplicate settings fetch

ConfigView called getSettings() directly to read internetlessMode
while also consuming useUpdateMode(), whose cold load calls
getSettings() internally for updateMode β€” two requests to the same
endpoint on every fresh mount.

useUpdateMode now loads internetlessMode alongside updateMode from
that same settings fetch and exposes it as a readonly ref, plus a
setInternetlessMode() setter so ConfigView's own updateSettings()
mutation (still owned by ConfigView, unchanged) can sync the shared
singleton without triggering a refetch. ConfigView drops its direct
getSettings() call and sources internetlessMode from the composable.
The other three useUpdateMode consumers are unaffected since they
only destructure updateMode.

Fixes: #780

* test(e2e): assert update operations reach a terminal state on the dashboard (#791)

test(e2e): assert dashboard update reaches terminal success

The dashboard Playwright spec only asserted that a triggered container
update fired (202 response + a transient in-flight UI state), not that
the resulting operation actually finished successfully. An operation
that errored out after dispatch looked green, which is how the 6.0.1
QA-fixture EROFS bug hid behind a passing suite. Capture the
operationId from the update-accepted response and poll
/api/v1/update-operations/:id until it reaches a terminal status,
then assert that status is specifically 'succeeded'.

Fixes: #763

* test(triggers): make trigger tests order-independent (#792)

test(triggers): make Trigger.test.ts order-independent

Five tests in the digest-mode and seedNotificationHistoryFromStore
suites asserted on trigger.log/log spy calls without installing their
own spies, relying on a persistent vi.spyOn(log, 'debug'/'warn')
leaked by an earlier test elsewhere in the file (pino child loggers
inherit spied methods via their prototype chain, and vi.spyOn reuses
an already-spied property instead of re-wrapping it). CI runs in file
order so this went unnoticed; --sequence.shuffle.tests=true reliably
breaks …

This branch was successfully deployed

2 active deployments
Preview – drydockdemo-website β€” df4d76bc Deployed Jul 28, 2026 by vercel[bot]
Preview – drydock-website β€” df4d76bc Deployed Jul 28, 2026 by vercel[bot]
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