Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

docs(ci): align Windows hook job guidance with label gate

natansalvadorligabo18b3c3cfd3f5
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 41da1507..8161d7a5 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -31,9 +31,9 @@ name: windows
# nightly, on demand, and MANDATORILY right before a release (dispatch it
# on the release-candidate SHA and wait for green — see AGENTS.md).
#
-# The `hooks` job is the exception and runs on every pull request. It is a
-# checkout plus seconds of `sh`, so the cost argument above — which is about
-# the Rust job's toolchain, linking and cache restore — does not apply to it.
+# The `hooks` job is separate so a Rust failure cannot stop the hook suite from
+# reporting, but it follows the same `windows` label gate on pull requests.
+# Both jobs also run nightly and on manual dispatch.
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
diff --git a/AGENTS.md b/AGENTS.md
index b19c11eb..14f5bc07 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -315,11 +315,10 @@ no tiers.
Linux — keeping it out of `ci.yml`
is what holds PR feedback near the eight minutes the gating jobs take.
**Add the `windows` label** to a PR touching path handling, file
- locking, or git plumbing, so the check runs before the merge rather
- than after it. Its `hooks` job is the one exception: `tests/hooks/test_lib.sh`
- drives `hooks/lib/ai-memory-hook.ps1`, which only executes where PowerShell
- is native, so that job runs on every pull request. It needs no toolchain and
- costs seconds, so it does not move PR feedback time.
+ locking, git plumbing, or the hook bundle, so the corresponding Windows
+ jobs run before the merge rather than only on the nightly schedule. Both
+ the Rust test job and the hook-bundle job use this label gate on pull
+ requests; they also run on manual dispatch.
## Code style guidelines