Skip to content

chore(agentic): align AGENTS.md navigation + minimal .claude settings - #357

Merged
BeArchiTek merged 5 commits into
developfrom
chore/agents-files-alignment
Jun 30, 2026
Merged

chore(agentic): align AGENTS.md navigation + minimal .claude settings#357
BeArchiTek merged 5 commits into
developfrom
chore/agents-files-alignment

Conversation

@BeArchiTek

@BeArchiTek BeArchiTek commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Align agents files toward the peer repos

Aligns AGENTS.md and the .claude/ adapter toward the conventions in styrmin and infrahub-mcp, without touching the Spec Kit / dev-skills work (#356 / #355).

AGENTS.md (additive only — all existing sections intact)

  • Router-framing sentence near the top.
  • Navigation section indexing the dev/ docs (knowledge / guides / guidelines / adr), the constitution, and .agents/commands/ — every path verified to exist.
  • File Structure section (real directories only).

.claude/

  • Minimal .claude/settings.json: enables the pyright-lsp plugin + a SessionStart hook (adapted from styrmin's shape; Node/TypeScript/Playwright stripped — Python-only repo).
  • .claude/hooks/session-start.sh: ensures a .venv via uv and exports it into the session. Deliberately no uv sync — the dev and integration dependency groups have incompatible transitive pins, so an unconditional sync would be fragile; the hook only guarantees the venv exists.
  • .gitignore: ignore runtime .claude/ artifacts (quality-gates/, scheduled_tasks.lock, settings.local.json); settings.json and commands stay tracked.

Root agent-alias symlinks (mirror infrahub-mcp)

  • GEMINI.mdAGENTS.md, GPT.mdAGENTS.md, .github/copilot-instructions.md../AGENTS.md (committed symlinks, mode 120000) — so Gemini, GPT, and Copilot CLIs read the same portable instructions. Matches infrahub-mcp's set exactly (styrmin ships none).

CLAUDE.md

Unchanged — stays the canonical @AGENTS.md router.

Notes

🤖 Generated with Claude Code

Add a router-framing sentence + Navigation (and File Structure) section
to AGENTS.md indexing dev/ docs and .agents/commands; add a minimal
.claude/settings.json (+ uv session-start hook) adapted from peer repos
(Node/TS bits stripped); gitignore runtime .claude/ artifacts. CLAUDE.md
unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 29, 2026

Copy link
Copy Markdown

Deploying infrahub-ansible with  Cloudflare Pages  Cloudflare Pages

Latest commit: 471041a
Status: ✅  Deploy successful!
Preview URL: https://056cf1eb.infrahub-ansible.pages.dev
Branch Preview URL: https://chore-agents-files-alignment.infrahub-ansible.pages.dev

View logs

@BeArchiTek
BeArchiTek requested a review from a team as a code owner June 29, 2026 19:48
@BeArchiTek BeArchiTek added the agentic-drift Repo agentic-structure drift, managed by detecting-repo-drift label Jun 29, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 4 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="AGENTS.md">

<violation number="1" location="AGENTS.md:19">
P3: The new File Structure section substantially duplicates the existing Key Source Locations mapping, creating documentation drift risk.</violation>
</file>

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread AGENTS.md Outdated
@BeArchiTek
BeArchiTek force-pushed the chore/agents-files-alignment branch from f3aa0d5 to 566f40d Compare June 29, 2026 22:46
Mirror infrahub-mcp: root GEMINI.md and GPT.md plus
.github/copilot-instructions.md symlink to AGENTS.md, so Gemini, GPT,
and Copilot CLIs read the same portable instructions. CLAUDE.md stays
the @AGENTS.md router.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 3 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread GEMINI.md Outdated
@BeArchiTek
BeArchiTek merged commit acc3ffe into develop Jun 30, 2026
3 of 6 checks passed
@BeArchiTek
BeArchiTek deleted the chore/agents-files-alignment branch June 30, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agentic-drift Repo agentic-structure drift, managed by detecting-repo-drift

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant