Skip to content

docs: add architecture map rule (module ownership + life of a run)#816

Merged
Chemaclass merged 1 commit into
mainfrom
docs/architecture-map
Jul 16, 2026
Merged

docs: add architecture map rule (module ownership + life of a run)#816
Chemaclass merged 1 commit into
mainfrom
docs/architecture-map

Conversation

@Chemaclass

Copy link
Copy Markdown
Member

🤔 Background

The rules cover style, TDD, testing and (recently) the fork budget, but nothing orients a contributor or agent in src/ itself — this session repeatedly re-derived the same call flow from scratch.

💡 Changes

  • New path-scoped rule .claude/rules/architecture-map.md: the life of ./bashunit tests/ (entry → discovery → per-test subshell → encoded payload → aggregation → render), a module-ownership table, and the cross-cutting invariants with pointers to the rules enforcing them.
  • Auto-loads when editing src/** or the entrypoint.

Path-scoped orientation for anyone (human or agent) editing src/: the exact
call flow of a test run — including the subshell-payload inversion that
explains how state crosses process boundaries — a module-ownership table, and
the cross-cutting invariants (Bash 3.0 floor, return-slot pattern, fork
budget, pinned binaries, snapshot width) with pointers to the rules that
enforce them.
@Chemaclass Chemaclass added the documentation Improvements or additions to documentation label Jul 16, 2026
@Chemaclass Chemaclass self-assigned this Jul 16, 2026
@Chemaclass
Chemaclass merged commit a3c82ce into main Jul 16, 2026
6 checks passed
@Chemaclass
Chemaclass deleted the docs/architecture-map branch July 16, 2026 04:27
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