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] 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.