diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..d3c9f6a --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,9 @@ +# MDX操作の禁止事項 + +プロジェクト情報の変更を伴う申請系操作と、MDX運営・管理者・サポート担当の +審査・承認・手動対応を発生させる操作はすべて禁止する。 +申請の作成・送信・変更・再申請・取下げ・取消、問い合わせ送信・チケット起票も含む。 +CLI・直接API・Web画面・スクリプト・メールなど、経路を問わず適用し、通常の実行確認では解除しない。 +運営側の対応が発生するか不明な操作は、送信して試さず読み取り調査までにとどめる。 + +詳細と通常操作の安全ルールは [mdx-cliスキル](skills/mdx-cli/SKILL.md#prohibited-operations) を参照する。 diff --git a/CLAUDE.md b/CLAUDE.md index 9284859..1d3a63a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,6 +1,12 @@ 日本語で回答してください。 t-wadaのTDDを実践してください。 +## MDX操作の禁止事項 + +プロジェクト情報の変更を伴う申請系操作と、MDX運営側の対応を発生させる操作はすべて禁止する。 +申請の取消や問い合わせ送信も含む。経路や通常の実行確認によって解除しない。 +詳細は [AGENTS.md](AGENTS.md) と [mdx-cliスキル](skills/mdx-cli/SKILL.md#prohibited-operations) を参照する。 + ## プロジェクト概要 MDX 1 クラウドインフラのCLIツール。Shibboleth SSO経由でログインし、VM・ネットワーク・テンプレート等をコマンドラインから操作する。 diff --git a/README.md b/README.md index ab707bf..34cb3c3 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,9 @@ mdx --version ## Skill としてインストール +AIエージェントによる、プロジェクト情報の変更を伴う申請系操作とMDX運営側の対応を発生させる操作はすべて禁止です。 +詳細は [スキルの禁止事項](skills/mdx-cli/SKILL.md#prohibited-operations) を参照してください。 + Codex / Claude Code の skill として使う場合: ```bash diff --git a/pages/content/agent.md b/pages/content/agent.md index a64c6fd..00b1e73 100644 --- a/pages/content/agent.md +++ b/pages/content/agent.md @@ -1,5 +1,15 @@ # AIエージェントから使う +## 禁止事項 + +- プロジェクト情報の変更を伴う申請系操作はすべて禁止。申請の作成・送信・変更・再申請・取下げ・取消も含む。 +- MDX運営・管理者・サポート担当の審査・承認・手動対応を発生させる操作はすべて禁止。資源・クォータの増量申請、利用期間の延長申請、問い合わせ送信・サポートチケット起票も含む。 +- CLI・直接API・Web画面・スクリプト・メールなど、経路を問わず適用する。CLIに機能がないことを理由に別経路で代行しない。 +- 通常の実行確認では解除しない。運営側の対応が発生するか不明な操作は、送信して試さず読み取り調査までにとどめる。 +- 情報の閲覧、ローカルのプロジェクト選択、運営側の対応を要しない許可済みのVM・ネットワーク操作には、従来の安全ルールを適用する。 + +## スキルのインストール + Codex / Claude Code の skill として使う場合: ```bash diff --git a/pages/content/projects.md b/pages/content/projects.md index fe898b5..50df542 100644 --- a/pages/content/projects.md +++ b/pages/content/projects.md @@ -1,5 +1,9 @@ # プロジェクトと利用状況 +AIエージェントによる、プロジェクト情報の変更を伴う申請系操作とMDX運営側の対応を発生させる操作はすべて禁止です。 +申請の作成・送信・変更・再申請・取下げ・取消も含みます。詳しくは [AIエージェントの禁止事項](agent.html) を参照してください。 +以下は情報の閲覧とローカルのプロジェクト選択用のコマンドです。 + ## プロジェクトを選ぶ・情報を見る ```bash diff --git a/skills/mdx-cli/SKILL.md b/skills/mdx-cli/SKILL.md index 26f2fcb..36b6edb 100644 --- a/skills/mdx-cli/SKILL.md +++ b/skills/mdx-cli/SKILL.md @@ -11,6 +11,20 @@ Use this skill to operate the `mdx` command safely and accurately. The CLI contr For exact command syntax, options, and behavior, read [references/cli-spec.md](references/cli-spec.md). +## Prohibited Operations + +- Never perform any application/request operation that changes MDX project information. + This includes creating, submitting, modifying, resubmitting, withdrawing, or cancelling an application. +- Never initiate any operation that creates review, approval, or manual work for MDX operators, + administrators, or support staff. Examples include project changes, resource/quota increase requests, + usage-period extensions, and sending support inquiries or opening support tickets. +- This prohibition applies through every route: the CLI, direct API calls, the web portal, scripts, + email, and other tools. Do not use another route when the CLI has no corresponding command. +- Ordinary execution confirmation does not lift this prohibition. + If an operation's effect on MDX staff is unclear, investigate read-only; do not test it by submitting. +- Read-only inspection, local project selection, and authorized self-service VM/network operations + that require no MDX staff action remain subject to the normal safety rules below. + ## Safety Rules - Confirm the user is on MDX VPN or inside an MDX VM before commands that contact `oprpl.mdx.jp` or `mdxidm.mdx.jp`. diff --git a/skills/mdx-cli/references/cli-spec.md b/skills/mdx-cli/references/cli-spec.md index fd29941..f56c319 100644 --- a/skills/mdx-cli/references/cli-spec.md +++ b/skills/mdx-cli/references/cli-spec.md @@ -69,6 +69,10 @@ Tokens are auto-refreshed where possible. If token refresh fails, normal API aut ## Projects +Project information changes through applications/requests and all operations requiring MDX staff action +are prohibited; see [Prohibited Operations](../SKILL.md#prohibited-operations). +Project commands read information or save the selected project locally. + | Command | Arguments/options | Purpose | |---|---|---| | `mdx project list [--json]` | none | List assigned projects. |