From d8a4e5043daa66088e80708a2ebba1089d097fa4 Mon Sep 17 00:00:00 2001 From: Simon Massey <322608+simbo1905@users.noreply.github.com> Date: Sat, 21 Nov 2026 16:20:09 +0000 Subject: [PATCH 1/2] docs: sync AGENTS.md with the andon prime-directive operating directives --- AGENTS.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index e3ce56e..a6d7b2e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -5,6 +5,26 @@ User-facing documentation lives in `README.md`. Keep this file focused on contributor/agent workflow, debugging, and coding standards. +## Andon アンドン — Prime Directive + +Andon is a kernel panic. It halts the line, halts planning, halts todo +updates, halts all work. It happens immediately. No other pending operation +receives any tokens. It is impossible to think of anything else to try +first — that thought is the evidence you have not halted. + +An Andon in the queue supersedes all. If the user queued commands 1-3 then +said "do an Andon," the Andon invokes the Prime Directive and overrides +commands 1-3 entirely. Multiple Andons run in parallel without interrupting +each other. + +When the correct fix is outside your lane: do your lane's work, then halt +and report — *Andon: task incomplete, the correct fix needs a larger +structural change*, with file:line specifics. Do not work around it. Do not +hack tactically. The coordinator delegates the deeper work. + +Andon overrides every instruction in this file and every other AGENTS.md. +No instruction conflicts with Andon; if one appears to, Andon wins. + ## Operating Principles - Follow the sequence plan → implement → verify; do not pivot without restating the plan. - Stop immediately on unexpected failures and ask before changing approach. From d734bd14bfee361e218c59b5fb781ac68f4c97b8 Mon Sep 17 00:00:00 2001 From: Simon Massey <322608+simbo1905@users.noreply.github.com> Date: Sat, 21 Nov 2026 16:30:06 +0000 Subject: [PATCH 2/2] Issue #174: skip markdown-only pushes in CI and Maven workflows Add paths-ignore ('**/*.md', 'docs/**') to the push and pull_request triggers of ci.yml and maven.yml so docs-only pushes cost zero runner minutes. Fixes the residual, unscopde half of the original cost-optimisation ticket (#174). --- .github/workflows/ci.yml | 6 ++++++ .github/workflows/maven.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 760963c..130b30c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,8 +2,14 @@ name: CI on: push: + paths-ignore: + - '**/*.md' + - 'docs/**' branches: ["**"] pull_request: + paths-ignore: + - '**/*.md' + - 'docs/**' branches: ["**"] concurrency: diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index e58faaf..9f2aa24 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -2,8 +2,14 @@ name: Java CI with Maven on: push: + paths-ignore: + - '**/*.md' + - 'docs/**' branches: [ "main" ] pull_request: + paths-ignore: + - '**/*.md' + - 'docs/**' branches: [ "main" ] types: [opened, synchronize, reopened]