/*
 * Copyright 2026, Jaime Terrats.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { workflow } from '../workflow-generator.js';
export function generateArchitectWorkflows(version) {
    return {
        'architecture-review.md': workflow(version, 'Architecture Review', `
## 1. Identify Scope
- Determine which components, modules, or integrations are under review.
- Collect relevant ADRs, canvas docs, and integration contracts.

## 2. Evaluate Design
- Assess alignment with established patterns (trigger handler, service layer, DynamicQueries).
- Check for single responsibility, separation of concerns, and appropriate sharing model.
- Verify scalability considerations (governor limits, bulk patterns, async boundaries).

## 3. Review Integrations
- Validate contract compatibility (field mappings, API versions, error handling).
- Check for retry/circuit-breaker patterns where applicable.

## 4. Document Findings
- Record findings as ADR updates or review comments.
- Flag blocking issues vs. recommendations.
- Propose next steps or required changes.
`),
    };
}
//# sourceMappingURL=architect.js.map