Release he-maintainer v1

This commit is contained in:
2026-05-03 22:18:00 +08:00
parent ee4171e530
commit e35c6088d2
3 changed files with 95 additions and 32 deletions

View File

@@ -7,17 +7,33 @@ Use this reference when the repository contains multiple apps, packages, crates,
- workspace root vs package roots
- shared libraries vs deployable apps
- root-level commands vs package-level commands
- ownership boundaries between packages
- ownership or responsibility boundaries between packages
- which decisions are global vs package-local
## Common risks
- commands at the root may not validate a specific package well
- agents may edit shared packages when a local override is safer
- build, lint, and test commands may vary by package manager and workspace tool
- root-level commands may not validate a specific package well
- agents may edit shared packages when a package-local change is safer
- build, lint, and test commands may vary by package manager, workspace tool, or package type
- one package may require a spec, ADR, or risk note even when the rest of the repo does not
- status can become ambiguous when several packages move in parallel
## Good harness patterns
- include a short workspace map
- show how to run commands for one package
- show how to run commands for one package or crate
- define allowed scope for a task
- prefer targeted validation for the touched package first
- record cross-package rules in a durable place
- use specs or status docs for multi-package migrations or coordinated refactors
## Artifact guidance
In monorepos, keep the top-level working guide short. Push detail into focused supporting artifacts when needed:
- project map for workspace layout and boundaries
- task contracts for per-package scope
- ADRs for cross-cutting decisions
- status docs for migrations spanning several packages
Do not duplicate every package's README into the harness.