engineering-process 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- engineering_process-0.1.0/.agents/skills/assess-design/SKILL.md +39 -0
- engineering_process-0.1.0/.agents/skills/build-frontend/SKILL.md +38 -0
- engineering_process-0.1.0/.agents/skills/build-frontend-foundation/SKILL.md +36 -0
- engineering_process-0.1.0/.agents/skills/change-api/SKILL.md +36 -0
- engineering_process-0.1.0/.agents/skills/cross-repo-change/SKILL.md +37 -0
- engineering_process-0.1.0/.agents/skills/define-change-contract/SKILL.md +40 -0
- engineering_process-0.1.0/.agents/skills/design-module/SKILL.md +37 -0
- engineering_process-0.1.0/.agents/skills/evolve-process/SKILL.md +37 -0
- engineering_process-0.1.0/.agents/skills/finish-change/SKILL.md +34 -0
- engineering_process-0.1.0/.agents/skills/govern-ui/SKILL.md +40 -0
- engineering_process-0.1.0/.agents/skills/implement-change/SKILL.md +41 -0
- engineering_process-0.1.0/.agents/skills/implement-module/SKILL.md +36 -0
- engineering_process-0.1.0/.agents/skills/implement-use-case/SKILL.md +36 -0
- engineering_process-0.1.0/.agents/skills/integrate-mcp/SKILL.md +37 -0
- engineering_process-0.1.0/.agents/skills/maintain-docs/SKILL.md +35 -0
- engineering_process-0.1.0/.agents/skills/plan-change/SKILL.md +37 -0
- engineering_process-0.1.0/.agents/skills/publish-change/SKILL.md +38 -0
- engineering_process-0.1.0/.agents/skills/review-change/SKILL.md +49 -0
- engineering_process-0.1.0/.agents/skills/run-change/SKILL.md +51 -0
- engineering_process-0.1.0/.agents/skills/run-change/references/execution.md +88 -0
- engineering_process-0.1.0/.agents/skills/run-project-command/SKILL.md +55 -0
- engineering_process-0.1.0/.agents/skills/specify-use-case/SKILL.md +37 -0
- engineering_process-0.1.0/.agents/skills/verify-change/SKILL.md +38 -0
- engineering_process-0.1.0/LICENSE +21 -0
- engineering_process-0.1.0/PKG-INFO +387 -0
- engineering_process-0.1.0/README.md +352 -0
- engineering_process-0.1.0/bundles.json +47 -0
- engineering_process-0.1.0/engineering_process/__init__.py +3 -0
- engineering_process-0.1.0/engineering_process/_download_worker.py +73 -0
- engineering_process-0.1.0/engineering_process/_supervisor_posix.py +162 -0
- engineering_process-0.1.0/engineering_process/_supervisor_windows.py +148 -0
- engineering_process-0.1.0/engineering_process/_windows_job.py +419 -0
- engineering_process-0.1.0/engineering_process/bootstrap.py +217 -0
- engineering_process-0.1.0/engineering_process/bundles.py +81 -0
- engineering_process-0.1.0/engineering_process/cli.py +1012 -0
- engineering_process-0.1.0/engineering_process/contracts.py +1274 -0
- engineering_process-0.1.0/engineering_process/distribution.py +90 -0
- engineering_process-0.1.0/engineering_process/environment.py +753 -0
- engineering_process-0.1.0/engineering_process/helper_launch.py +37 -0
- engineering_process-0.1.0/engineering_process/lifecycle.py +1024 -0
- engineering_process-0.1.0/engineering_process/managed.py +89 -0
- engineering_process-0.1.0/engineering_process/markdown.py +78 -0
- engineering_process-0.1.0/engineering_process/publication.py +463 -0
- engineering_process-0.1.0/engineering_process/requirements-build.txt +1 -0
- engineering_process-0.1.0/engineering_process/requirements-dev.txt +10 -0
- engineering_process-0.1.0/engineering_process/requirements-runtime.txt +3 -0
- engineering_process-0.1.0/engineering_process/runner.py +191 -0
- engineering_process-0.1.0/engineering_process/runtime.py +55 -0
- engineering_process-0.1.0/engineering_process/skills.py +118 -0
- engineering_process-0.1.0/engineering_process/supervision.py +72 -0
- engineering_process-0.1.0/engineering_process/syncing.py +398 -0
- engineering_process-0.1.0/engineering_process/tooling.py +891 -0
- engineering_process-0.1.0/engineering_process.egg-info/PKG-INFO +387 -0
- engineering_process-0.1.0/engineering_process.egg-info/SOURCES.txt +89 -0
- engineering_process-0.1.0/engineering_process.egg-info/dependency_links.txt +1 -0
- engineering_process-0.1.0/engineering_process.egg-info/entry_points.txt +2 -0
- engineering_process-0.1.0/engineering_process.egg-info/requires.txt +19 -0
- engineering_process-0.1.0/engineering_process.egg-info/top_level.txt +1 -0
- engineering_process-0.1.0/examples/change.json +26 -0
- engineering_process-0.1.0/examples/plan.json +28 -0
- engineering_process-0.1.0/examples/project.json +54 -0
- engineering_process-0.1.0/examples/review.json +31 -0
- engineering_process-0.1.0/pyproject.toml +135 -0
- engineering_process-0.1.0/schemas/change.schema.json +88 -0
- engineering_process-0.1.0/schemas/lifecycle.schema.json +122 -0
- engineering_process-0.1.0/schemas/plan.schema.json +105 -0
- engineering_process-0.1.0/schemas/process-lock.schema.json +39 -0
- engineering_process-0.1.0/schemas/project.schema.json +515 -0
- engineering_process-0.1.0/schemas/review.schema.json +140 -0
- engineering_process-0.1.0/schemas/reviewer-attestation.schema.json +30 -0
- engineering_process-0.1.0/schemas/verification.schema.json +120 -0
- engineering_process-0.1.0/setup.cfg +4 -0
- engineering_process-0.1.0/templates/AGENTS.process.md +17 -0
- engineering_process-0.1.0/templates/PULL_REQUEST_TEMPLATE.md +27 -0
- engineering_process-0.1.0/tests/test_bootstrap.py +265 -0
- engineering_process-0.1.0/tests/test_bundles.py +70 -0
- engineering_process-0.1.0/tests/test_cli.py +248 -0
- engineering_process-0.1.0/tests/test_contracts.py +306 -0
- engineering_process-0.1.0/tests/test_distribution.py +76 -0
- engineering_process-0.1.0/tests/test_environment.py +512 -0
- engineering_process-0.1.0/tests/test_evals.py +39 -0
- engineering_process-0.1.0/tests/test_lifecycle.py +541 -0
- engineering_process-0.1.0/tests/test_publication.py +303 -0
- engineering_process-0.1.0/tests/test_runner.py +154 -0
- engineering_process-0.1.0/tests/test_runtime.py +70 -0
- engineering_process-0.1.0/tests/test_schemas.py +41 -0
- engineering_process-0.1.0/tests/test_skills.py +63 -0
- engineering_process-0.1.0/tests/test_supervision.py +146 -0
- engineering_process-0.1.0/tests/test_syncing.py +352 -0
- engineering_process-0.1.0/tests/test_tooling.py +501 -0
- engineering_process-0.1.0/tests/test_windows_job.py +268 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: assess-design
|
|
3
|
+
description: Establish the owner, risk, production concerns, compatibility decision, blast radius, and required approval for a non-trivial engineering change before implementation. Use when a change affects architecture, contracts, trust boundaries, persistence, tooling, workflows, or several product surfaces.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Assess a Design
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Produce a bounded design decision that implementation can follow without inventing
|
|
11
|
+
product behavior or reopening foundational choices.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
1. Read the change contract, nearest project instructions, owning product or
|
|
16
|
+
architecture contracts, and current implementation evidence.
|
|
17
|
+
2. Identify the decision owner, affected consumers, data, trust boundaries,
|
|
18
|
+
generated artifacts, migrations, operational concerns, and rollback boundary.
|
|
19
|
+
3. Classify risk using the project policy. Treat an absent policy as a gap rather
|
|
20
|
+
than inventing a local tier.
|
|
21
|
+
4. Decide whether compatibility is required from supported consumers and data. When
|
|
22
|
+
it is not required, define a clean replacement and removal scope.
|
|
23
|
+
5. Map every applicable production concern to an owner and proof. Keep unrelated
|
|
24
|
+
future capabilities out of scope without weakening the implemented boundary.
|
|
25
|
+
6. Define implementation units, stop conditions, focused evidence, review evidence,
|
|
26
|
+
and required human decisions. Record durable decisions in their project owner.
|
|
27
|
+
7. Return ready only when blocking decisions and required approvals are resolved.
|
|
28
|
+
|
|
29
|
+
## Hard gates
|
|
30
|
+
|
|
31
|
+
- Do not edit implementation before a required design decision or approval.
|
|
32
|
+
- Do not replace a required owner, trust boundary, invariant, or evidence boundary
|
|
33
|
+
merely to bypass a failure.
|
|
34
|
+
- Do not preserve obsolete compatibility paths without a supported requirement.
|
|
35
|
+
|
|
36
|
+
## Output
|
|
37
|
+
|
|
38
|
+
Return readiness, risk, owners, governing contracts, blast radius, production
|
|
39
|
+
fitness, compatibility, implementation units, evidence, approvals, and blockers.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: build-frontend
|
|
3
|
+
description: Implement a complete client journey from a ready product contract, including routes, state, forms, API consumers, accessibility, responsive behavior, recovery, and user-visible loading, empty, error, and success states.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Build a Frontend Journey
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Deliver one coherent client outcome using the project's authoritative API and UI
|
|
11
|
+
contracts with observable, accessible, and recoverable behavior.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
1. Read the product outcome, acceptance rows, frontend architecture, active UI
|
|
16
|
+
contracts, generated API surface, and existing route and state owners.
|
|
17
|
+
2. Trace entry and exit, neighboring journeys, permissions, URL and server state,
|
|
18
|
+
cache behavior, localization, generated types, and current tests.
|
|
19
|
+
3. Define the primary and recovery paths, modes, visible state model, hierarchy,
|
|
20
|
+
content ownership, responsive behavior, keyboard behavior, and accessibility.
|
|
21
|
+
4. Implement the complete planned journey narrowly. Use generated wire types and the
|
|
22
|
+
project's enforced UI contracts; do not duplicate server-owned reference data.
|
|
23
|
+
5. Remove retired routes, state, mappings, translations, tests, and fallback behavior
|
|
24
|
+
when the approved design selected a clean replacement.
|
|
25
|
+
6. Map each acceptance outcome to focused component, integration, or browser evidence
|
|
26
|
+
and run the declared project commands.
|
|
27
|
+
|
|
28
|
+
## Hard gates
|
|
29
|
+
|
|
30
|
+
- Do not define a new shared visual convention inside a feature.
|
|
31
|
+
- Do not use fixed waits, hidden errors, or broad end-to-end tests as substitutes for
|
|
32
|
+
focused state and behavior evidence.
|
|
33
|
+
- Do not hand-write a parallel API contract when generated types are authoritative.
|
|
34
|
+
|
|
35
|
+
## Output
|
|
36
|
+
|
|
37
|
+
Return journey, states, routes, UI and API contract usage, acceptance evidence, tests,
|
|
38
|
+
accessibility and responsive proof, removals, and gaps.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: build-frontend-foundation
|
|
3
|
+
description: Define or evolve reusable product-neutral frontend foundations such as application frames, navigation, route shells, providers, collection infrastructure, and cross-route behavior. Use when several client journeys depend on one non-product-specific contract.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Build a Frontend Foundation
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Own one reusable frontend contract and its evidence without absorbing product journeys
|
|
11
|
+
or the shared visual-system authority.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
1. Locate the project-declared foundation owner and identify consumers, activation,
|
|
16
|
+
guarantees, alternate behavior, and out-of-scope product outcomes.
|
|
17
|
+
2. Define reusable accessibility, responsiveness, localization, navigation, state,
|
|
18
|
+
and extension guarantees without embedding one consumer's identifiers or copy.
|
|
19
|
+
3. Separate product-neutral mechanics from visible cross-feature UI conventions and
|
|
20
|
+
product behavior. Route those decisions to their declared owners.
|
|
21
|
+
4. Implement one coherent foundation unit with focused tests and register all active
|
|
22
|
+
consumers through the project's chosen ownership mechanism.
|
|
23
|
+
5. Maintain honest lifecycle, acceptance, and evidence state. A checker proves trace
|
|
24
|
+
integrity only; it cannot provide missing design or human acceptance.
|
|
25
|
+
6. Run project-declared foundation, frontend, accessibility, and consumer checks.
|
|
26
|
+
|
|
27
|
+
## Hard gates
|
|
28
|
+
|
|
29
|
+
- Do not move actor goals or business side effects into a foundation.
|
|
30
|
+
- Do not introduce a shared visual API without the UI governance contract.
|
|
31
|
+
- Do not mark a foundation enforced while required consumers or evidence are missing.
|
|
32
|
+
|
|
33
|
+
## Output
|
|
34
|
+
|
|
35
|
+
Return foundation owner, guarantees, consumers, extension points, implementation,
|
|
36
|
+
evidence, lifecycle state, delegated decisions, and gaps.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: change-api
|
|
3
|
+
description: Change a public or internal API contract while preserving ownership, authorization, validation, generated artifacts, compatibility decisions, and consumer parity. Use for routes, operations, request or response shapes, status behavior, schemas, or generated clients.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Change an API
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Evolve one API surface without drifting from its product owner or supported consumers.
|
|
11
|
+
|
|
12
|
+
## Workflow
|
|
13
|
+
|
|
14
|
+
1. Read the owning product and architecture contracts, current design decision, API
|
|
15
|
+
description, implementation, consumers, generated artifacts, and tests.
|
|
16
|
+
2. Trace operation identity, authorization, request and response fields, validation,
|
|
17
|
+
status behavior, error format, generated clients, and all supported callers.
|
|
18
|
+
3. Decide compatibility from explicit consumer and data evidence. Apply the approved
|
|
19
|
+
clean replacement or versioned compatibility strategy consistently.
|
|
20
|
+
4. Implement the smallest authoritative contract change. Keep server-owned derived
|
|
21
|
+
values out of caller-authored requests and preserve safe failure mapping.
|
|
22
|
+
5. Regenerate every declared artifact from its owner; never hand-maintain generated
|
|
23
|
+
parity. Update consumers in the same slice when a clean replacement was selected.
|
|
24
|
+
6. Run focused contract, authorization, validation, status, generation, and consumer
|
|
25
|
+
checks declared by the project.
|
|
26
|
+
|
|
27
|
+
## Hard gates
|
|
28
|
+
|
|
29
|
+
- Do not expose a new public or trust-boundary surface without required approval.
|
|
30
|
+
- Do not accept both retired and replacement shapes unless compatibility requires it.
|
|
31
|
+
- Do not claim parity from source inspection when generated or runtime proof is required.
|
|
32
|
+
|
|
33
|
+
## Output
|
|
34
|
+
|
|
35
|
+
Return operation and shape changes, authorization, compatibility, generated artifacts,
|
|
36
|
+
consumer updates, evidence, and unresolved decisions.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cross-repo-change
|
|
3
|
+
description: Coordinate one engineering change across independent repositories connected by public contracts or versioned dependencies. Use when two or more repositories require ordered checkpoints, compatibility decisions, release coordination, and separate verification.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Coordinate a Cross-Repository Change
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Keep cross-repository delivery explicit and reproducible without making one
|
|
11
|
+
repository depend on another repository's internal process files.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
1. Identify the owning repository for every changed contract and behavior.
|
|
16
|
+
2. Build a matrix containing repository, responsibility, dependency, base,
|
|
17
|
+
checkpoint, local change contract, and required verification profiles.
|
|
18
|
+
3. Order work by public contract dependency. Consumers depend on an immutable
|
|
19
|
+
producer contract or version, never on an uncommitted working tree.
|
|
20
|
+
4. Apply each repository's nearest AGENTS.md and project manifest independently.
|
|
21
|
+
5. Verify each checkpoint in its own repository. Cross-repository evidence supplements
|
|
22
|
+
rather than replaces local evidence.
|
|
23
|
+
6. Review compatibility and rollout at the public boundary. Record an atomic release
|
|
24
|
+
order or an explicit compatibility window when project policy requires one.
|
|
25
|
+
7. Report every repository state; do not call the aggregate change complete while one
|
|
26
|
+
required repository remains failed, stale, not run, or blocked.
|
|
27
|
+
|
|
28
|
+
## Hard gates
|
|
29
|
+
|
|
30
|
+
- Do not copy private implementation knowledge across a public contract boundary.
|
|
31
|
+
- Do not use sibling filesystem layout as a production dependency.
|
|
32
|
+
- Do not silently advance one repository beyond an unresolved owner decision in another.
|
|
33
|
+
|
|
34
|
+
## Output
|
|
35
|
+
|
|
36
|
+
Return the repository matrix, ordered checkpoints, contract and rollout decisions,
|
|
37
|
+
per-repository evidence, blockers, and next owner.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: define-change-contract
|
|
3
|
+
description: Specify and register scope, acceptance outcomes, comparison base, risk, sign-off, affected repositories, and required verification before engineering implementation begins. Use for feature, bug, architecture, contract, migration, security, or cross-project work whose completion boundary is not already explicit.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Define a Change Contract
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Establish one evidence-backed change boundary before implementation without
|
|
11
|
+
inventing product behavior or duplicating the owning specification.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
1. Read the nearest AGENTS.md and the project sources it identifies as authoritative.
|
|
16
|
+
2. Trace affected callers, consumers, contracts, tests, generated artifacts, and
|
|
17
|
+
repositories only far enough to define the real blast radius.
|
|
18
|
+
3. Record a stable change id, concise summary, source request, comparison base,
|
|
19
|
+
affected projects, measurable acceptance outcomes, risk, required verification
|
|
20
|
+
profiles, and sign-off state. Link the project-owned specification when one owns
|
|
21
|
+
product behavior; otherwise state why the change contract is sufficient.
|
|
22
|
+
4. Classify risk as low, medium, or high using project policy. When policy requires
|
|
23
|
+
sign-off, stop implementation until approval evidence exists.
|
|
24
|
+
5. Validate the document with processctl contract validate --kind change, then
|
|
25
|
+
register it with processctl change start. Registration completes specification;
|
|
26
|
+
it does not authorize implementation.
|
|
27
|
+
6. Hand the registered contract to planning. Keep durable product decisions in their
|
|
28
|
+
project-owned specification rather than in process history.
|
|
29
|
+
|
|
30
|
+
## Hard gates
|
|
31
|
+
|
|
32
|
+
- Do not replace missing product decisions with assumptions.
|
|
33
|
+
- Do not lower required security, compatibility, migration, accessibility, or
|
|
34
|
+
evidence boundaries to keep moving.
|
|
35
|
+
- Report missing or blocked evidence honestly.
|
|
36
|
+
|
|
37
|
+
## Output
|
|
38
|
+
|
|
39
|
+
Return the registered change id, validated contract, unresolved decisions, sign-off
|
|
40
|
+
state, lifecycle phase, and next owner.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design-module
|
|
3
|
+
description: Decide durable module boundaries, ownership, data, persistence, messages, integration contracts, and operational guarantees before foundational module implementation. Use for a new module or a change to established architecture.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Design a Module
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Produce a ready or blocked architecture decision that tactical implementation can
|
|
11
|
+
follow without reopening foundational ownership.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
1. Read the owning product contract, project architecture, enforcement status, and
|
|
16
|
+
current design assessment.
|
|
17
|
+
2. Define language, lifecycle and data ownership, mutation authority, upstream inputs,
|
|
18
|
+
downstream contracts, composition boundary, and forbidden dependencies.
|
|
19
|
+
3. Decide invariants, requests, validation, authorization, tenancy, idempotency,
|
|
20
|
+
concurrency, and business-failure mapping where applicable.
|
|
21
|
+
4. Decide persistence, migration, transaction, query, rollback, and operational
|
|
22
|
+
boundaries from current requirements rather than hypothetical reuse.
|
|
23
|
+
5. Define message delivery, ordering, versioning, replay, retention, and rebuild only
|
|
24
|
+
for message or event patterns actually in scope.
|
|
25
|
+
6. Name deterministic enforcement and proving evidence, then return ready or blocked.
|
|
26
|
+
|
|
27
|
+
## Hard gates
|
|
28
|
+
|
|
29
|
+
- Do not place product behavior in a shared module without an explicit contract.
|
|
30
|
+
- Do not choose event sourcing or another high-operational-cost pattern without the
|
|
31
|
+
required project approval and complete operational decisions.
|
|
32
|
+
- Do not implement a foundational module while its architecture is blocked.
|
|
33
|
+
|
|
34
|
+
## Output
|
|
35
|
+
|
|
36
|
+
Return readiness, boundary, ownership, invariants, persistence, integration, events,
|
|
37
|
+
operations, enforcement, evidence, and adopted tactical patterns.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: evolve-process
|
|
3
|
+
description: Improve or retire engineering process guidance from validated defects, escaped gates, false positives, review findings, or repeated friction. Use when evidence suggests a local fix, reusable rule, deterministic checker, schema change, or obsolete process behavior.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Evolve the Process
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Change the smallest correct owner and prove the affected class without turning
|
|
11
|
+
incident history into permanent ceremony.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
1. Start from a reproducer, escaped defect, false positive, review finding, or measured
|
|
16
|
+
workflow cost. Do not generalize from speculation alone.
|
|
17
|
+
2. Classify the evidence as a project-local defect, reusable process rule,
|
|
18
|
+
deterministic invariant, portability gap, or obsolete rule.
|
|
19
|
+
3. Fix local behavior in the project owner. Change shared skills only for portable
|
|
20
|
+
semantics. Add CLI or schema enforcement only when deterministic.
|
|
21
|
+
4. Add a regression case at the lowest reliable boundary. For skill behavior, run a
|
|
22
|
+
realistic forward test without providing the expected answer.
|
|
23
|
+
5. Validate backward compatibility, version impact, consumer locks, and migration
|
|
24
|
+
needs. Remove superseded guidance instead of preserving duplicate paths.
|
|
25
|
+
6. Measure whether the change improves task fidelity without disproportionate
|
|
26
|
+
workflow cost.
|
|
27
|
+
|
|
28
|
+
## Hard gates
|
|
29
|
+
|
|
30
|
+
- Do not promote an agent-host quirk into the portable core.
|
|
31
|
+
- Do not add a gate without an owner, failure message, and regression proof.
|
|
32
|
+
- Do not break a released schema within its major version.
|
|
33
|
+
|
|
34
|
+
## Output
|
|
35
|
+
|
|
36
|
+
Report classification, changed owner, regression evidence, version impact, affected
|
|
37
|
+
consumers, and any rule retired.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: finish-change
|
|
3
|
+
description: Complete an independently approved engineering change only when its checkpoint, verification, review, findings, and workspace remain current. Use after review approval and before any completion, merge-readiness, release-readiness, or delivery claim.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Finish a Change
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Close the lifecycle with an auditable completion record without publishing, merging,
|
|
11
|
+
or deploying implicitly.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
1. Read processctl change status and require the approved phase.
|
|
16
|
+
2. Confirm the current clean checkpoint and workspace fingerprint match the approved
|
|
17
|
+
review and every required verification report.
|
|
18
|
+
3. Confirm every acceptance criterion is covered, every required finding is resolved,
|
|
19
|
+
required sign-off is current, and project-owned status or evidence is reconciled.
|
|
20
|
+
4. Run processctl change finish. Treat any stale artifact, source change, missing
|
|
21
|
+
profile, or identity mismatch as a blocker that returns to the owning phase.
|
|
22
|
+
5. Report completion separately from publication, merge, release, or deployment.
|
|
23
|
+
Perform those operations only through an explicitly authorized project workflow.
|
|
24
|
+
|
|
25
|
+
## Hard gates
|
|
26
|
+
|
|
27
|
+
- Do not finish a changes-requested, merely verified, or review-pending change.
|
|
28
|
+
- Do not reuse approval after the source checkpoint or workspace changes.
|
|
29
|
+
- Do not infer release or deployment authorization from process completion.
|
|
30
|
+
|
|
31
|
+
## Output
|
|
32
|
+
|
|
33
|
+
Return change id, completed checkpoint, comparison base, verification reports,
|
|
34
|
+
independent-review report, completion record, and any separate publication owner.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: govern-ui
|
|
3
|
+
description: Define, review, verify, enforce, or replace shared UI contracts, semantic roles, tokens, surface archetypes, component ownership, visual evidence, and conformance policy. Use when a change affects cross-feature visual language or reusable interaction composition.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Govern a UI System
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Maintain one enforceable UI contract per shared visual or interaction decision while
|
|
11
|
+
features retain product state and content ownership.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
1. Declare one coherent review unit with one owner, contract, invalidation set, and
|
|
16
|
+
rollback boundary. Obtain the required design decision before implementation.
|
|
17
|
+
2. Inventory representative surfaces and define semantic roles across color,
|
|
18
|
+
typography, spacing, density, elevation, motion, layout, interaction, feedback,
|
|
19
|
+
responsiveness, and accessibility.
|
|
20
|
+
3. Keep reusable values in the project-declared theme or token owner and expose typed
|
|
21
|
+
semantic contracts to consumers. Avoid policy based on filenames or source text.
|
|
22
|
+
4. Define ownership, allowed composition, consumer registration, acceptance criteria,
|
|
23
|
+
evidence kinds, required modes, invalidation triggers, and retirement behavior.
|
|
24
|
+
5. Implement only the declared unit. Prove types, rendered ownership, behavior,
|
|
25
|
+
accessibility, responsive modes, and visual evidence through project commands.
|
|
26
|
+
6. Keep machine lifecycle and coverage state honest. Human acceptance cannot be
|
|
27
|
+
inferred from deterministic checks, and accepted evidence must be invalidated by
|
|
28
|
+
declared contract, theme, owner, consumer, or evidence changes.
|
|
29
|
+
|
|
30
|
+
## Hard gates
|
|
31
|
+
|
|
32
|
+
- Do not refresh a baseline merely to silence unexplained drift.
|
|
33
|
+
- Do not mark an unproved requirement covered or claim standards compliance without
|
|
34
|
+
criterion-level evidence.
|
|
35
|
+
- Do not leave a retired composition on the supported path after a clean replacement.
|
|
36
|
+
|
|
37
|
+
## Output
|
|
38
|
+
|
|
39
|
+
Lead with review-unit state and decision needed; retain owners, consumers, semantic
|
|
40
|
+
decisions, modes, coverage, evidence, acceptance, invalidation, and retirement audit.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: implement-change
|
|
3
|
+
description: Implement a registered engineering plan, preserve scope and project policy, and prepare a clean immutable checkpoint for required verification. Use after processctl reports the change as planned or after independent review requests changes.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Implement a Change
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Produce the smallest complete implementation of the registered plan and return it to
|
|
11
|
+
the canonical verification and review lifecycle.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
1. Confirm processctl change status reports planned or changes-requested, then register
|
|
16
|
+
the implementation actor and isolated context with processctl change implement.
|
|
17
|
+
2. Read the contract, plan, nearest AGENTS.md, and affected project owners. Resolve a
|
|
18
|
+
conflict through the owning contract instead of silently changing scope.
|
|
19
|
+
3. Implement work items in dependency order. Add or update proving tests at the lowest
|
|
20
|
+
reliable boundary and keep generated artifacts, migrations, callers, and docs in
|
|
21
|
+
the same accepted slice.
|
|
22
|
+
4. Run focused project checks while editing. These checks diagnose implementation but
|
|
23
|
+
do not replace lifecycle verification.
|
|
24
|
+
5. Reconcile every acceptance criterion and planned work item. Record exact blockers
|
|
25
|
+
or accepted deferrals; never convert missing evidence into completion.
|
|
26
|
+
6. Create a clean immutable checkpoint according to project policy, then hand the
|
|
27
|
+
change to verify-change. After review findings, preserve the reviewed checkpoint,
|
|
28
|
+
begin the next implementation cycle, resolve findings, and repeat verification.
|
|
29
|
+
|
|
30
|
+
## Hard gates
|
|
31
|
+
|
|
32
|
+
- Do not implement before a valid plan and required sign-off.
|
|
33
|
+
- Do not expand product behavior, compatibility, dependencies, or trust boundaries
|
|
34
|
+
without returning to specification and planning.
|
|
35
|
+
- The implementation actor cannot perform or approve independent review for a cycle
|
|
36
|
+
in which it implemented source.
|
|
37
|
+
|
|
38
|
+
## Output
|
|
39
|
+
|
|
40
|
+
Return change id, cycle, implemented work items, changed owners, focused evidence,
|
|
41
|
+
checkpoint readiness, gaps, and next owner.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: implement-module
|
|
3
|
+
description: Implement approved tactical module patterns for domain behavior, coordination, persistence, read models, concurrency, and messaging. Use only when current acceptance criteria or a ready module design requires those patterns.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Implement a Module
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Implement and prove only the tactical patterns selected by current product and
|
|
11
|
+
architecture contracts.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
1. Confirm every requested pattern is required by current acceptance criteria or a
|
|
16
|
+
ready module design. Return undecided foundational choices to design-module.
|
|
17
|
+
2. Implement domain invariants, identities, values, lifecycle, and safe failures in
|
|
18
|
+
the project-declared domain boundary.
|
|
19
|
+
3. Implement coordination, validation, transactions, repositories, queries,
|
|
20
|
+
deterministic ordering, and concurrency only as selected.
|
|
21
|
+
4. Implement messages, delivery, inbox, outbox, or replay only when their operational
|
|
22
|
+
semantics are already decided.
|
|
23
|
+
5. Prove behavior at the lowest reliable project boundary and add deterministic
|
|
24
|
+
enforcement only for reusable declared invariants.
|
|
25
|
+
6. Return the evidence and remaining architecture decisions to the caller.
|
|
26
|
+
|
|
27
|
+
## Hard gates
|
|
28
|
+
|
|
29
|
+
- Do not add tactical patterns for hypothetical future needs.
|
|
30
|
+
- Do not leak infrastructure dependencies across a forbidden architecture boundary.
|
|
31
|
+
- Do not call a rule enforced without a deterministic mechanism and regression proof.
|
|
32
|
+
|
|
33
|
+
## Output
|
|
34
|
+
|
|
35
|
+
Return the implemented pattern set, source boundaries, behavior and persistence
|
|
36
|
+
evidence, enforcement changes, and blocked decisions.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: implement-use-case
|
|
3
|
+
description: Implement a planned product slice from an approved use-case contract, preserving layer ownership, acceptance traceability, generated artifacts, and honest status. Use as a domain overlay within the shared implementation lifecycle.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Implement a Use Case
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Deliver one coherent product slice whose source and tests trace to approved behavior.
|
|
11
|
+
|
|
12
|
+
## Workflow
|
|
13
|
+
|
|
14
|
+
1. Read the registered change, plan, owning use case, applicable foundation and
|
|
15
|
+
architecture contracts, and affected project instructions.
|
|
16
|
+
2. Map each in-scope acceptance criterion to work items and its lowest reliable test
|
|
17
|
+
boundary before editing.
|
|
18
|
+
3. Implement in dependency order defined by the project architecture. Stop when a
|
|
19
|
+
required lower boundary or owner decision is unresolved.
|
|
20
|
+
4. Keep adapters thin, generated contracts authoritative, business failures explicit,
|
|
21
|
+
and compatibility aligned with the approved design decision.
|
|
22
|
+
5. Update tests, generated artifacts, acceptance evidence, and product status in the
|
|
23
|
+
same slice. Remove retired callers and guidance when overlap is not required.
|
|
24
|
+
6. Run focused project commands during implementation, then return to shared
|
|
25
|
+
verification, independent review, and completion gates.
|
|
26
|
+
|
|
27
|
+
## Hard gates
|
|
28
|
+
|
|
29
|
+
- Do not treat product evidence as a replacement for lifecycle verification.
|
|
30
|
+
- Do not mark behavior complete without current evidence for required outcomes.
|
|
31
|
+
- Do not broaden the planned product scope without updating its contract and plan.
|
|
32
|
+
|
|
33
|
+
## Output
|
|
34
|
+
|
|
35
|
+
Return implemented scope, acceptance mapping, source and generated artifacts, tests,
|
|
36
|
+
status changes, delegated decisions, deferrals, and remaining gaps.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: integrate-mcp
|
|
3
|
+
description: Design, implement, verify, and maintain a typed Model Context Protocol tool surface backed by an authoritative application API. Use for operation coverage, tool schemas, authorization, mutation safety, runtime registration, or supported-client evidence.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Integrate MCP
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Expose useful typed tools without creating a second domain authority or bypassing the
|
|
11
|
+
application's authentication, authorization, validation, tenancy, and concurrency.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
1. Read the authoritative API contract, product acceptance criteria, integration
|
|
16
|
+
architecture, current operation inventory, and supported client lifecycle.
|
|
17
|
+
2. Classify every applicable API operation as exposed, intentionally internal, or
|
|
18
|
+
blocked with an owner. Do not silently omit gaps.
|
|
19
|
+
3. Map each exposed operation to a typed semantic tool. Preserve server-owned request,
|
|
20
|
+
response, identity, authorization, idempotency, revision, and failure contracts.
|
|
21
|
+
4. Classify tools as read, write, or destructive. Do not retry mutations after an
|
|
22
|
+
ambiguous timeout or server failure; bind confirmations to authoritative state.
|
|
23
|
+
5. Prove protocol shape, operation coverage, safety, authenticated integration, tool
|
|
24
|
+
registry refresh, authorized invocation, and required read-back.
|
|
25
|
+
6. Stop at browser consent, credentials, permissions, client reload, or other
|
|
26
|
+
user-controlled boundaries. Preserve the pending operation and exact evidence.
|
|
27
|
+
|
|
28
|
+
## Hard gates
|
|
29
|
+
|
|
30
|
+
- Do not let the tool adapter call internal storage or domain implementation directly.
|
|
31
|
+
- Do not accept caller-supplied identity that must come from authentication context.
|
|
32
|
+
- A protocol harness or raw API call cannot replace supported-client runtime evidence.
|
|
33
|
+
|
|
34
|
+
## Output
|
|
35
|
+
|
|
36
|
+
Return operation coverage, tool changes, auth and mutation decisions, protocol and
|
|
37
|
+
runtime evidence, client state, read-back result, and blockers.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: maintain-docs
|
|
3
|
+
description: Maintain durable documentation, diagrams, links, status text, routing, and ownership without duplicating product or process decisions. Use when guidance changes, when renamed or retired concepts may drift, or when documentation consistency must be verified.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Maintain Documentation
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Keep one authoritative owner per fact and make every dependent document point to it.
|
|
11
|
+
|
|
12
|
+
## Workflow
|
|
13
|
+
|
|
14
|
+
1. Classify the content as product behavior, architecture, process, enforcement,
|
|
15
|
+
operations, navigation, or generated output.
|
|
16
|
+
2. Locate the project-declared owner. Preserve the domain decision supplied by that
|
|
17
|
+
owner; documentation maintenance does not invent it.
|
|
18
|
+
3. Edit the owner once, replace duplicate rules with links, and remove stale names,
|
|
19
|
+
session history, temporary status, and superseded instructions.
|
|
20
|
+
4. Update diagrams or generated documentation from their declared source rather than
|
|
21
|
+
editing derived output independently.
|
|
22
|
+
5. Run the smallest documentation checks declared by the project verification
|
|
23
|
+
profiles. Validate changed links and anchors when their targets moved.
|
|
24
|
+
6. Apply the retirement sweep and report unresolved ownership or generation gaps.
|
|
25
|
+
|
|
26
|
+
## Hard gates
|
|
27
|
+
|
|
28
|
+
- Do not move product, architecture, or release authority into a documentation skill.
|
|
29
|
+
- Do not keep approval provenance or conversational history as durable policy.
|
|
30
|
+
- Do not duplicate a reusable process rule in a consumer project.
|
|
31
|
+
|
|
32
|
+
## Output
|
|
33
|
+
|
|
34
|
+
Return the owner changed, duplicates removed, generated artifacts, retirement sweep,
|
|
35
|
+
verification evidence, and unresolved ownership decisions.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: plan-change
|
|
3
|
+
description: Build and register an executable implementation plan from a specified change contract. Use after change specification and required sign-off, before editing implementation files for any non-trivial engineering change.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Plan a Change
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Convert accepted outcomes and project policy into one bounded, reviewable execution
|
|
11
|
+
plan without changing implementation source.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
1. Read lifecycle status, the registered change contract, nearest AGENTS.md, and only
|
|
16
|
+
the project owners needed for the affected surface.
|
|
17
|
+
2. Trace callers, consumers, trust boundaries, tests, migrations, generated outputs,
|
|
18
|
+
documentation, and retirement work far enough to define complete work items.
|
|
19
|
+
3. Record ordered work items with owned paths and verification profiles. Map every
|
|
20
|
+
acceptance criterion to at least one work item and project-owned profile.
|
|
21
|
+
4. Record concrete risks and mitigations. Leave behavior-changing ambiguity as an
|
|
22
|
+
open decision; do not plan around it.
|
|
23
|
+
5. Validate the plan with processctl contract validate --kind plan, then register it
|
|
24
|
+
with processctl change plan. Implementation remains blocked while required
|
|
25
|
+
sign-off or open decisions remain.
|
|
26
|
+
|
|
27
|
+
## Hard gates
|
|
28
|
+
|
|
29
|
+
- Do not edit implementation files during planning.
|
|
30
|
+
- Do not omit required security, compatibility, data, accessibility, rollout, or
|
|
31
|
+
rollback work merely to reduce scope.
|
|
32
|
+
- Do not invent project commands; select profiles from .process/project.json.
|
|
33
|
+
|
|
34
|
+
## Output
|
|
35
|
+
|
|
36
|
+
Return change id, lifecycle phase, ordered work items, acceptance mapping, risks,
|
|
37
|
+
open decisions, required profiles, and next owner.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: publish-change
|
|
3
|
+
description: Publish or update a branch, pull request, or equivalent review object after the engineering lifecycle completes. Use only when the user authorizes a remote publication action or asks to change publication metadata.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Publish a Change
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Publish one approved immutable checkpoint through the project-owned remote workflow
|
|
11
|
+
without duplicating implementation, verification, or review.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
1. Classify the exact authorized remote action and read the project publication
|
|
16
|
+
policy and current lifecycle status.
|
|
17
|
+
2. For source publication, require a current completion record whose checkpoint and
|
|
18
|
+
workspace fingerprint match the source being published.
|
|
19
|
+
3. Populate the managed PR-description sections with project-specific facts. Run
|
|
20
|
+
processctl publication validation for branch, commit range, PR title, body, and
|
|
21
|
+
draft/ready state; then run any stronger project-declared publication checks.
|
|
22
|
+
4. Perform only the authorized remote action. Preserve draft state unless ready state
|
|
23
|
+
was explicitly requested.
|
|
24
|
+
5. Record the remote identifier and status. Treat any later source change as a new
|
|
25
|
+
lifecycle cycle with invalidated publication readiness.
|
|
26
|
+
|
|
27
|
+
## Hard gates
|
|
28
|
+
|
|
29
|
+
- Never infer authorization to commit, push, open, merge, release, or deploy.
|
|
30
|
+
- Do not publish source with stale evidence or unresolved required findings.
|
|
31
|
+
- Do not replace, omit, or weaken the managed publication sections or standard
|
|
32
|
+
requirements; projects may append stricter metadata and checklists.
|
|
33
|
+
- Metadata-only work may skip code implementation only when project policy permits it.
|
|
34
|
+
|
|
35
|
+
## Output
|
|
36
|
+
|
|
37
|
+
Return action, change id, checkpoint, completion evidence, metadata validation,
|
|
38
|
+
remote state, and blockers.
|