initial commit
This commit is contained in:
commit
88c14b627e
224 files changed
+17204
No files matched your search
@@ -0,0 +1,11 @@
|
||||
# Development workflow
|
||||
|
||||
Start by reading the task scope, AGENTS.md, AGENTS_ROUTING.md, and the source files named by the selected route. Check the working tree and current generated state before editing.
|
||||
|
||||
Write down which parts are implemented and which are only planned when the distinction could affect the change. Make the smallest change that satisfies the authorized request. Keep contract, code, and documentation updates together when they describe the same decision.
|
||||
|
||||
Preserve concurrent edits. If ownership is unclear or a collision appears, stop writing the affected paths and coordinate with the task owner.
|
||||
|
||||
Use Make targets instead of maintaining duplicate shell command lists. Generate derived output from its source. Validate the affected boundary, then hand off the exact files changed and evidence collected.
|
||||
|
||||
Keep ignore rules in the component that owns the artifacts. Each service has its own .gitignore; the root .gitignore covers only files at the repository root. Do not collect service caches and build outputs in one root ignore file.
|
||||
@@ -0,0 +1,11 @@
|
||||
# Release workflow
|
||||
|
||||
Release work begins with a defined target environment and the artifact to be released. A local Compose config check does not authorize deployment.
|
||||
|
||||
Before release, build and validate the same versioned artifact that will be deployed. Record its version or digest, the relevant check results, and the target environment. Keep secrets outside the repository.
|
||||
|
||||
For database changes, plan a backup and a compatible migration path. Do not assume that rolling back an application image reverses data changes. Avoid destructive down migrations in an automatic release path.
|
||||
|
||||
Deploy, publish, alter live infrastructure, or delete persistent data only when the user's task authorizes that external action. Routine local validation already within scope does not require a second confirmation.
|
||||
|
||||
After an authorized release, check the service health and the user-visible behavior affected by the release. Report the exact target and observed result. Do not claim production readiness from a local scaffold.
|
||||
@@ -0,0 +1,9 @@
|
||||
# Parallel work
|
||||
|
||||
Use parallel agents only when the user requests delegation or applicable instructions require it. Tool availability by itself is not a reason to delegate.
|
||||
|
||||
Before delegating, assign a bounded file or responsibility scope, state the shared checkout and concurrent ownership constraints, and name the expected evidence in the handoff. Do not give multiple workers ownership of the same generated output or shared contract.
|
||||
|
||||
Keep implementation with the assigned owner. A reviewer can read and report findings without editing owned files unless the task owner changes the assignment.
|
||||
|
||||
Collect an evidence-first handoff: objective, files changed, decisions, checks and exact outcomes, unresolved issues, and any ownership collisions. Verify the integrated result in the shared checkout.
|
||||
@@ -0,0 +1,11 @@
|
||||
# Validation workflow
|
||||
|
||||
Select validation from the route and the actual change. Local formatting and documentation checks are appropriate for documentation edits. Code changes should run the relevant unit, type, build, lint, integration, or contract checks that exercise the changed behavior.
|
||||
|
||||
For shared contracts, validate source specifications, generated output, and each affected consumer. For database work, use an isolated database and check both migration and query behavior. For deployment changes, render the exact Compose project and validate changed service configuration.
|
||||
|
||||
Prefer evidence from commands that just ran in the current checkout. Do not substitute an earlier run, a source inspection, or a planned CI workflow for a test result.
|
||||
|
||||
Report checks as passed, failed, skipped, or unavailable. Give the command for failures or skips and state what the result does not prove. A smoke check of health routes is not a business-flow test.
|
||||
|
||||
Do not add tests that merely mirror implementation details. Add a small test when it covers a real failure mode that the existing checks cannot detect.
|
||||
Reference in new issue
Block a user