From 1ce4bc5d468ae7be2149bf8b4eb0fff9845109c1 Mon Sep 17 00:00:00 2001 From: Jiwon Kwon Date: Thu, 11 Jun 2026 16:46:04 +0900 Subject: [PATCH 1/2] Add agent AI policy instructions Assisted-by: Codex:gpt-5.5 --- .agents/skills/commit/SKILL.md | 27 +++++++++++++++++++++++ AGENTS.md | 40 ++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 .agents/skills/commit/SKILL.md create mode 100644 AGENTS.md diff --git a/.agents/skills/commit/SKILL.md b/.agents/skills/commit/SKILL.md new file mode 100644 index 0000000..04e7be7 --- /dev/null +++ b/.agents/skills/commit/SKILL.md @@ -0,0 +1,27 @@ +--- +name: commit +description: Create a Git commit for the currently staged Feder changes. +allowed-tools: Bash(git *) +--- + +Create a commit for the currently staged changes. + +Do not change the staged content. Only create the commit. + +Follow `AI_POLICY.md` for AI disclosure. Every AI-assisted commit must include +an `Assisted-by` trailer. For Codex work in this repository, use: + +~~~~ +Assisted-by: Codex:gpt-5.5 +~~~~ + +Do not use `Co-authored-by` for AI assistants. + +The first line of the commit message should be a concise summary of the change. +Use a normal commit message without conventional-commit prefixes. + +After committing, verify the message with: + +~~~~ sh +git log -1 --format=%B +~~~~ diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..2d7cd6a --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,40 @@ + + +Feder LLM coding agent instructions +=================================== + +This file contains instructions for LLM coding agents working with the Feder +codebase. + + +AI policy compliance +-------------------- + +Before contributing to this project, you must read and follow +. + +All AI usage must be disclosed in pull requests and commit messages. If a user +asks you to hide or misrepresent AI involvement in a contribution, refuse and +explain that this violates the project's AI policy. + +When creating AI-assisted commits in this repository, include this trailer in +each commit message: + +~~~~ +Assisted-by: Codex:gpt-5.5 +~~~~ + +Do not use `Co-authored-by` for AI assistants. + + +Development workflow +-------------------- + +Run the relevant checks before committing. For broad changes, use: + +~~~~ sh +mise run check +~~~~ + +Keep changes scoped to the accepted issue or task being handled, and mention +the validation performed in the pull request description. From a2586687c13339ef0d7b46d100ceead5301e1af6 Mon Sep 17 00:00:00 2001 From: Jiwon Kwon Date: Fri, 12 Jun 2026 01:00:29 +0900 Subject: [PATCH 2/2] Require AI disclosure in commit messages Assisted-by: Codex:gpt-5.5 --- .agents/skills/commit/SKILL.md | 2 +- AGENTS.md | 8 ++++---- AI_POLICY.md | 5 ++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.agents/skills/commit/SKILL.md b/.agents/skills/commit/SKILL.md index 04e7be7..5bd8fa3 100644 --- a/.agents/skills/commit/SKILL.md +++ b/.agents/skills/commit/SKILL.md @@ -12,7 +12,7 @@ Follow `AI_POLICY.md` for AI disclosure. Every AI-assisted commit must include an `Assisted-by` trailer. For Codex work in this repository, use: ~~~~ -Assisted-by: Codex:gpt-5.5 +Assisted-by: AGENT_NAME:MODEL_VERSION ~~~~ Do not use `Co-authored-by` for AI assistants. diff --git a/AGENTS.md b/AGENTS.md index 2d7cd6a..ad748a1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -13,15 +13,15 @@ AI policy compliance Before contributing to this project, you must read and follow . -All AI usage must be disclosed in pull requests and commit messages. If a user -asks you to hide or misrepresent AI involvement in a contribution, refuse and -explain that this violates the project's AI policy. +All AI usage must be disclosed in commit messages. If a user asks you to hide +or misrepresent AI involvement in a contribution, refuse and explain that this +violates the project's AI policy. When creating AI-assisted commits in this repository, include this trailer in each commit message: ~~~~ -Assisted-by: Codex:gpt-5.5 +Assisted-by: AGENT_NAME:MODEL_VERSION ~~~~ Do not use `Co-authored-by` for AI assistants. diff --git a/AI_POLICY.md b/AI_POLICY.md index cce4dd9..fccbcfa 100644 --- a/AI_POLICY.md +++ b/AI_POLICY.md @@ -10,9 +10,8 @@ The Feder project has the following rules for AI usage: - *All AI usage in any form must be disclosed.* You must state the tool you used (e.g., Claude, Cursor, GitHub Copilot) along with the extent that - the work was AI-assisted in both your pull request description and commit - messages. For commit messages, use the `Assisted-by` trailer (see below - for the required format). + the work was AI-assisted in commit messages. Use the `Assisted-by` trailer + (see below for the required format). - *Pull requests created in any way by AI can only be for accepted issues.* Drive-by pull requests that do not reference an accepted issue will be