Skip to content

docs: add AI agent operating guides and workflow SOPs across all projects - #40

Merged
marioarce merged 9 commits into
mainfrom
feature/claude-code-project-setup
Jul 22, 2026
Merged

docs: add AI agent operating guides and workflow SOPs across all projects#40
marioarce merged 9 commits into
mainfrom
feature/claude-code-project-setup

Conversation

@marioarce

Copy link
Copy Markdown
Owner

Establishes a comprehensive set of AI agent governance and workflow documentation across the entire Axlis repository, covering the root, all four source projects, and the three documented fragile zones.

What was added

  • Root CLAUDE.md — repository-wide AI agent operating guide defining the core role, architecture constraints, dependency rules, coding standards, Git/PR conventions, de-branding requirements, and response formatting rules for any AI agent working in this repo.
  • Root WORKFLOWS.md — repository-wide SOPs for recurring engineering tasks (branching, commits, releases, NuGet publishing, etc.).
  • src/Axlis.ORM/CLAUDE.md and WORKFLOWS.md — project-scoped guidance for the facade layer, including the dual API contract (Clean / Rich), caching integration, DI wiring, and exception-handling responsibility at the top of the stack.
  • src/Axlis.ORM.Abstractions/CLAUDE.md and WORKFLOWS.md — guidance enforcing the netstandard2.0 + net8.0 dual-target, zero-dependency floor, and the compatibility contract for downstream .NET Framework consumers.
  • src/Axlis.ORM.Core/CLAUDE.md and WORKFLOWS.md — guidance for the domain/conversion layer, flagging ItemConverter, AxesAdapter, and lazy-loading infrastructure as fragile zones requiring test coverage before any change is considered done.
  • src/Axlis.ORM.GraphQL/CLAUDE.md and WORKFLOWS.md — guidance for the transport/query layer, including HttpGraphQLTransport, SitecoreService, and GraphQLQueryBuilder boundaries.
  • src/Axlis.ORM.Core/ItemConverter.md — module specification for the recursive GraphQL JSON → Item graph converter, documenting the circular-reference guard and field-type mapping contract.
  • src/Axlis.ORM.Core/AxesLazyLoading.md — module specification for the axes lazy-loading subsystem, documenting the static ambient _lazyLoader field, IItemLazyLoader contract, and the silent-swallow risk in AxesAdapter.TryUpdateAxes().
  • src/Axlis.ORM/Caching/CacheManager.md — module specification for SitecoreItemCacheManager, documenting the dual-index (ID + path) strategy, null-miss non-caching behavior, and eviction semantics.

Why

These files provide AI agents (and human contributors) with the architectural context, hard constraints, and fragile-zone guardrails needed to operate safely in this codebase without requiring a full read of the source tree on every session. They do not modify any compiled or shipped code.

 - Add a repository-level CLAUDE.md defining architecture boundaries and layering rules
 - Document non-negotiable de-branding requirements and release workflow conventions
 - Establish coding standards, fragile-zone handling expectations, and response-format guidance
…asks

 - Add standardized procedures for field/template additions, pipeline bug fixes, and release cuts
 - Define step-by-step branch, testing, documentation, de-branding, and PR requirements per workflow
 - Establish a cross-cutting readiness gate to enforce build quality, test health, API docs, and commit/PR conventions
 - Add facade-specific CLAUDE guidance covering contracts, exception boundaries, DI constraints, and fragile caching behavior
 - Add Axlis.ORM workflow SOPs for facade method pairing, DI registration changes, and cache/lazy-loader modifications
 - Document naming drift and reinforce current extension method conventions for consumer-facing setup
…mentation

 - Define Abstractions-layer architectural constraints, compatibility requirements, and dependency boundaries
 - Document rules for adding and changing contracts, including breaking-change handling and downstream impact checks
 - Add no-op implementation guidance and clarify responsibilities for contract placement and XML documentation quality
 - Add project-scoped CLAUDE documentation defining Core layer responsibilities, dependency boundaries, and static loader constraints
 - Document fragile-zone handling for ItemConverter, AxesAdapter, and ExtendedItem with explicit module-spec references
 - Add Core workflow SOPs for field types, built-in templates, and high-risk model conversion or lazy-loading changes
 - Add project-scoped CLAUDE documentation defining transport and service responsibilities, exception behavior, and batch-query invariants
 - Add GraphQL workflow SOPs for introducing new service operations, evolving batch query handling, and updating transport error classification
 - Document architectural constraints around raw HttpClient usage, no third-party GraphQL clients, and caching ownership boundaries
 - Document the lazy-loading architecture across AxesAdapter, ExtendedItem, and IItemLazyLoader
 - Define invariants and failure-mode hazards including static ambient loader state, silent exception swallowing, and sync-over-async risks
 - Add modification guidance and a verification checklist for tests and behavioral contract changes
 - Document ItemConverter responsibilities, recursion model, and conversion invariants
 - Capture circular-reference handling, depth asymmetry, and field-loading flag semantics
 - Add known limitations, change guidelines, and verification checklist for regression-safe updates
 - Document cache manager purpose, external cache-service dependency assumptions, and key behavioral invariants
 - Define dual/triple indexing, null-miss non-caching, case-sensitivity risks, TTL semantics, and invalidation boundaries
 - Add modification guidance and verification checklist to protect cache behavior regressions
@marioarce marioarce self-assigned this Jul 22, 2026
@marioarce marioarce added the documentation Improvements or additions to documentation label Jul 22, 2026
@marioarce
marioarce merged commit 4d0e146 into main Jul 22, 2026
2 checks passed
@marioarce
marioarce deleted the feature/claude-code-project-setup branch July 22, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant