Skip to content
Back to skills

Guru Maintain Architecture Baseline

ASecurity

Maintain and assess the repository Architecture Baseline, including 审核任务架构影响, through existing bootstrap, task-impact, promotion and repair profiles. Backend overview/detail document review uses applicable specialist standards; retain this owner's profile prerequisites.

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 20, 2026
researchgogitapibackend

Works with

  • terminal
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add castbox/guru-trellis --skill guru-maintain-architecture-baseline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Guru Maintain Architecture Baseline?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Guru Maintain Architecture Baseline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/castbox-guru-maintain-architecture-baseline/badge)](https://www.skillsdirectory.com/skills/castbox-guru-maintain-architecture-baseline)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: guru-maintain-architecture-baseline
description: Maintain and assess the repository Architecture Baseline, including 审核任务架构影响, through existing bootstrap, task-impact, promotion and repair profiles. Backend overview/detail document review uses applicable specialist standards; retain this owner's profile prerequisites.
---

# Guru Maintain Architecture Baseline

## Common review sufficiency

Before reviewing this owner's object, read `review-sufficiency.md` in full from
the complete Guru provider that supplies this Skill. Its workflow-spec root is
`trellis/presets/guru-team/spec/workflow` in source, or `.trellis/spec/workflow`
after installation. Resolve target-project authority separately; the target
need not install Trellis to receive review from another provider. Apply the
common rules within this owner's original scope, order and stage conditions.

Before substantive output, read `.trellis/spec/workflow/clear-technical-writing.md`
in full and apply it within this entry's existing scope. Until that read succeeds,
use only short progress messages or concrete missing-dependency diagnostics.
State the current action or missing item; make no unverified claim. If the file
cannot be read, pause substantive output, then read it and resume the same
request when available. No additional approval is needed for that recovery.

Apply `.trellis/spec/workflow/quality-guidelines.md#specialist-review-standards`
within this owner's authority-first independent assessment order. When the
project adopts backend overview or detailed-design standards and the current
object requires their review, load the corresponding specialist methods and
same-source standards. Judge their current evidence within the existing
Architecture concerns and project checks; a specialist pass neither replaces
this stage's assessment nor changes authority, promotion or route ownership.

Read and apply `.trellis/spec/workflow/workflow-contract.md#candidate-applicability-and-coverage`
for shared candidate coverage, engineering facts and recovery. This package
retains its own current judgment, formal result and action boundary.

Read `.trellis/spec/workflow/workflow-contract.md#interaction-budget` before
any confirmation, choice or clarification. This Skill retains its own action
plan, confirmation boundary and execution/recovery contract.

`judgment_mode=semantic`. This Skill is the reusable Architecture Baseline
owner for repository `bootstrap_foundation`, `promotion`, `repair`, and
whole-Task `task_impact_sync(stage=acceptance_finish)`, plus the corresponding
`delivery_bootstrap_foundation`, `delivery_promotion`, `delivery_repair`, and
`delivery_task_impact_sync` profiles with explicit public Delivery identity.

Load [references/contract.md](references/contract.md) completely before acting.
Also read the shared current-knowledge contract in full at
`.trellis/guru-team/skills/packages/guru-maintain-requirements-design-test-ssot/references/current-knowledge.md`.
The matching canonical source is
`trellis/skills/guru-team/packages/guru-maintain-requirements-design-test-ssot/references/current-knowledge.md`.
Use the installed path for repository execution; source maintenance may read
the canonical source. A missing required contract uses the existing incomplete
installation/blocked route; do not copy it into this package or invent a fallback.
The contract selects the executor: the first assessment uses a fresh independent
subagent; later candidates and stages follow its independent continuation and
applicability rules. Downstream eligibility and baseline maintenance retain
their existing owners. Follow the contract's Independent assessment entry
before reading task narratives or authoring a first result. The caller only
coordinates and consumes the actual output; it never fills a reviewer pass.

Before large authority reads, apply the contract's execution-condition check
with the actual purpose and prelude. This supplies no semantic judgment and
preserves the final_plan read-only exception. After authority-first reads,
a receiving Delivery reviewer applies the
contract's purpose-specific entry. Planning `final_plan` validates the complete
explicit object read-only without creating a Task binding or Delivery selection.
Other purposes and stages execute the installed workflow's `Explicit
receiving-session continuation` through the original Identity/Ensure/Bind and
Selection owners when required. Their ordinary execution recovery may write
only its owned session runtime. Reuse matching facts; preserve different
selection, terminal state and actual errors for their original owners.
Workflow and standalone use the same entry. Preserve the interrupted purpose
and applicable producer output. Neither entry preloads task narratives,
inherits the caller's binding or manufactures an assessment pass.

Execute one profile in this order:

1. validate the caller/profile and read the exact public input;
2. apply the selected assessment or eligibility entry and its read order;
3. determine the complete scope, risks, consumers and applicable check set before
   inspecting prior results; perform current semantic project checks and apply
   the contract's Engineering execution facts rules to supporting commands;
   judge applicability, blocking effect and before/after meaning;
4. make the applicable judgments as the contract-selected AI owner;
5. author one complete result matching the selected Planning 3.0, nonplanning 6.0, or matching Delivery schema;
6. submit `public_input` plus that `owner_result` once through the formal
   `scripts/invoke.sh --invocation -` boundary; and
7. consume exactly one declared typed exit.

`owner_not_yet_executed` is an internal prompt to finish steps 2-6, not a typed
stop and not a reason to ask for routine confirmation. Map genuinely missing
authority or project-check facts to the existing incomplete or blocked routes.
On deterministic schema, identity, freshness, consumer, or route validation
failure, report the exact error and stop the current invocation. Any correction
requires fresh Skill re-entry with reread facts and a newly authored envelope;
it is not a retry within the same semantic round. Report execution capability
as missing only when the platform truly cannot provide the contract-required
AI review, reads, result authoring, or formal invocation. User confirmation is
required only for a real choice or side effect; it never supplies the semantic
result and is never recorded in the owner result or another authorization
artifact.

Every Delivery, including D1, enters `delivery_task_impact_sync` twice at Planning:
first `candidate_assessment` on actual prewrite facts, then `final_plan` on current Author
design. Read the purpose-specific contract below before either invocation. The AI rereads the
project Architecture Baseline, design-constitution authority, project
change-contract identity, task scope, and applicable project-check protocol.
It returns either a reviewed `no_architecture_impact` result or exactly one of
`target_native`, `legacy_boundary_convergence`, and
`dedicated_refactor_slice`.

Implementation discovery invalidates the prior result when scope, risk,
authority, persistence, SDK, external, owner, or architecture boundaries
expand. Planning retains its independent candidate and final assessments.
After implementation, the new independent committed reviewer performs the
Architecture before/after judgment once at `branch_review`, before reading
Task narratives and completing the merged quality review. No independent
Phase 2 Architecture assessment or candidate Check precedes integration.
Publication and Acceptance/Finish consume only applicable no-change or
reviewed-promoted authority through their existing eligibility entries.

The project authority owns all architecture and constitution prose. This
package consumes only authority status, locators, verifiable identities, the
five stable principle identities/short names, and task-local change/evidence
contracts. It does not turn principles into a scorecard and does not encode
language, framework, or business-specific checks.

At `delivery_promotion(stage=final_integration)`, the original maintenance
owner consumes approved Planning, the complete implementation, genuine
engineering results and full proposed targets. It rereads actual targets,
reconciles intervening changes, writes the complete definitions and reads
back every write. `baseline_current` with
`promotion_state=integrated_pending_review` records that integration only.
The current router retains before authority and the actual after candidate for
implementation and committed Review, and routes the integrated content to
TaskCommit. The commit includes every body, relationship and navigation write.
The same independent committed reviewer later judges the actual fixed B..H
before/after and may return `reviewed_promoted`. Integration alone cannot
establish independent quality pass or readiness.

The AI owns applicability, sufficiency, conflict, regression, contribution,
ADR, promotion, and route judgment. The deterministic runtime validates only
purpose-bound Planning 3.0 semantics and current nonplanning 6.0 / Delivery 4.0 contracts, exact identity/freshness binding,
project-check shape, unique consumer, and minimal typed projection. Missing or
1.0 input is rejected; it is never upgraded or dual-read.

Author the smallest result valid for the selected branch. In particular, a
`no_architecture_impact` owner result uses `promotion_state=no_change` and omits
`change_path`, contribution fields, project-check descriptor/result fields,
and `review`; optional schema properties are not universally valid across
semantic branches.

The public input carries only caller route and live authority identities, plus
the exact committed range when the stage needs one. The AI rereads the project
Architecture change-contract authority and records its current project-check
descriptors together with descriptor-identity-bound results in the owner
result. A no-impact current output projects its concise reviewed reason but no
contribution, descriptor, check, or ADR fields.

Bootstrap may project `baseline_current` only from an active successor at the
same locator with a distinct identity. Repair always starts from an active
baseline. Branch Review binds the caller-supplied committed range. Promotion binds the
actual worktree candidate and the complete reviewed target contents.

Every `baseline_current` requires `authority_status=current`, an existing
regular repository file at the constitution locator, and carries its exact
`source_profile`. Only the matching `task_impact_sync` or `delivery_task_impact_sync` profile
may resume its corresponding stage. Bootstrap and repair current results rerun that affected
`task_impact_sync` stage, except the final-integration maintenance continuation
defined below; promotion current results return the actual integrated candidate for TaskCommit,
then fixed-candidate independent committed Review.

Public exits are `baseline_current`, `sync_required`, `baseline_incomplete`,
`architecture_conflict`, `contract_incomplete`, `fitness_regression`, and
`blocked`. Unknown, multiple, stale, or unmapped exits fail closed.

Archived read-only callers still invoke this owner independently at each stage:
`review_refresh_required` selects `branch_review`, `archived_review_passed`
selects `publication`, and `archived_ready` selects `acceptance_finish` through
the existing `source_exit` input. For these exact sources, judge within the
read-only scope and return only `baseline_current` with current/no-change or
already-promoted authority, or `blocked` with the actual missing prerequisite.
Do not write a contribution, promote, repair, or start implementation to make
this invocation pass. Runtime rejects an incompatible stage or writing route;
it never changes an AI-selected route. Ordinary sources retain all seven exits.

Read `.trellis/spec/workflow/companion-scripts.md#intermediate-command-stdout-10` for receipts and `result` projection.
Only the declared public invocation emits a formal exit; follow its consumer and positive-exit conditions.

## Purpose-specific Planning 3.0 migration

Planning task impact retains purpose-bound Planning 3.0 semantics and requires
planning_purpose. Current Delivery Planning selects delivery_task_impact_sync
with schema_version=delivery-1.0, the exact public DeliveryKey and planning_root.
Read [Delivery Architecture projection](#delivery-architecture-projection) and
references/contract.md's Planning 3.0 section before assembling either purpose.
Historical schema_version=3.0 Task Planning examples are validation assets,
not inputs for current Delivery Planning. Candidate assessment consumes
current call-local design_facts/constraint_refs or the current design_locator;
it never requires an unwritten contribution, projects promotion_state, or
claims reviewed_candidate. Its current router returns only to Author
solution_planning. Final assessment consumes current Author design_locator
and actual task-local contribution/necessary ADR; current returns directly to
Approval. The first result is never reused as the second result.

All seven planning exits bind the same purpose. Sync goes through the thin
sync router back to this original owner and preserves the original purpose;
bootstrap/repair current reruns fresh task impact for that purpose. Conflict or
contract gap returns through the planning router to Author's corresponding
conflict profile; fitness regression and blocked retain their original meaning.
No new Architecture owner or lifecycle stage is introduced.

Old task-impact planning 2.0 input fails closed; interrupted old planning fresh
re-enters Author. Bootstrap and repair retain their fixed contracts. Nonplanning task impact and
promotion select 6.0 / Delivery 4.0 under MIGRATION-638. Historical schemas are validation assets only, never a planning
fallback. MIGRATION-292 defines the matching workflow/preset update boundary.

## Delivery Architecture projection

Nonplanning development stages select delivery_task_impact_sync (schema_version
delivery-4.0; Planning retains delivery-1.0 and purpose-bound 3.0 semantics), carrying the exact opaque DeliveryKey and public planning_root
in addition to this owner's original stage authorities. Read the selected
Delivery's three planning documents and the Task's overall scope separately.
The installed public API validates key/relationship and planning_root; the
semantic owner result binds both fields and its exact public input. Independent
assessment, required concerns, contribution, ADR, project checks and promotion
remain under this original Architecture owner and contract. No second judgment
or public Planning writer is added. Whole-task acceptance_finish may have no
current Delivery and retains task_impact_sync; other development invocations
without an explicit key are rejected. Delivery exits carry key/root to the
original route; source_profile=delivery_task_impact_sync distinguishes them.
Old Task development inputs require the pinned old complete installation.

Delivery stage recovery uses `delivery_promotion`, `delivery_repair`, or
`delivery_bootstrap_foundation` with the explicit original DeliveryKey and
planning_root. These profiles execute the same baseline owner algorithms and
return the original stage identity; promotion specifically selects final_integration.
Whole-task/global bootstrap, promotion and
repair retain their existing profiles and never infer a Delivery from private state.

`sync_required` has the sole workflow consumer
`guru-architecture-baseline-sync-router`. It uses only the closed DTO shape and
sync_kind to project the exact Task or Delivery promotion/repair/impact entry
to this same owner. It performs no second semantic assessment and infers no identity.

For maintenance requested by `promotion|delivery_promotion(stage=final_integration)`,
retain the original promotion profile, stage, Task/DeliveryKey and planning_root
only in the current call-local continuation. Project the maintenance call to
the existing `repair|bootstrap_foundation(stage=phase2)` profile, or its
Delivery equivalent. Bootstrap accepts `planning|phase2`; phase2 serves this
final-integration maintenance return. Select its existing 2.0 / delivery-1.0 schema and
`guru-maintain-architecture-baseline:2.0` contract identity; preserve the actual
project authority identities and same key/root. After maintenance, return to
the original 6.0 / delivery-4.0 final-integration promotion. Reread its authority,
targets and complete candidate and author the current result. A maintenance
current result is not a promotion result. Do not pass final_integration to the
old maintenance schema or relabel its output as reviewed_promoted. Missing
call-local continuation requires fresh original-owner entry, not a guessed
route or a new persistent handoff.

## Final-integration promotion 6.0 / Delivery 4.0

Read the matching section in references/contract.md. Current promotion is
final_integration/promotion_required only. Other stale authority uses fresh impact sync;
project-contract repair retains repair. Current selectors reject old inputs;
no future committed Review is a promotion prerequisite.

The public `baseline`, `expected_current_identity` and `current_identity` bind
the before authority. The owner result and output `baseline_identity` name the
actual active authority after the reviewed write. Ordinary leaf-only promotion
retains that identity and does not write the root entry or another shared
per-unit index. Follow current-knowledge.md for directory/identity discovery
and isolated navigation. A real root identity, scope, status, location,
discovery-contract or necessary-relationship migration may write the baseline
entry among its reviewed targets;
the owner reads its complete after content and returns the actual after
identity. A different after identity requires an actual changed baseline target
with before/after content, completed readback and current applicability. The
validator checks those facts without interpreting identity prose in Markdown.

The original Architecture owner writes and recovers complete proposed targets with
ordinary file tools. The wrapper is a recorder/validator and writes no target
or persistent intent. Read back the same call-local intent after partial write
or output loss. Continue only uniquely recoverable, conflict-free pending
writes; never repeat a completed write or overwrite a conflict.

For current nonplanning `before_authority`, declare `absent_locators` only when
one or more of its three authority files are truly absent in the fixed before
Git revision. Omitted or empty means all three files exist. Read each existing
before file and the full new current authority/candidate. Retain fixed B and
current H for committed Review; absence does not waive the normal gates.

Files in this skill

  • SKILL.md6.5 KB
  • commands.json1.1 KB
  • consumers/stop/blocked.schema.json348 B
  • consumers/workflow/bootstrap.schema.json510 B
  • consumers/workflow/check.schema.json576 B
  • consumers/workflow/current.schema.json1.6 KB
  • consumers/workflow/planning.schema.json1.1 KB
  • evals/evals.json10.9 KB
  • evals/files/bootstrap-foundation-current-facts.json380 B
  • evals/files/bootstrap-foundation-input.json1.6 KB
  • evals/files/dedicated-refactor-slice-facts.json761 B
  • evals/files/fitness-regression-facts.json286 B
  • evals/files/impact-architecture-input.json1.4 KB
  • evals/files/impact-current-input.json1.4 KB
  • evals/files/impact-scope-expansion-input.json1.5 KB
  • evals/files/impact-unpromoted-input.json1.5 KB
  • evals/files/legacy-boundary-convergence-facts.json764 B
  • evals/files/missing-external-evidence-facts.json310 B
  • evals/files/next-task-consumption-facts.json290 B
  • evals/files/no-impact-facts.json283 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in research →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.