architect-ba82bd — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited architect-ba82bd (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Drive software projects through a structured lifecycle that prevents the #1 AI coding failure: losing context on a big plan and missing pieces.
| Phase | What happens | Gate to pass |
|---|---|---|
| 0 | Technical spike — validate riskiest constraint | PROJECT_STATE.md with validated constraint |
| 1 | Design notes — one per domain, no code | All domains covered, user confirms |
| 1.5 | Build order — dependency graph, stage sequence | _build-order.md reviewed + approved |
| 2+Execute | Write 2-3 stages → build → repeat | All tests green, stage committed |
Full methodology: references/methodology.md · Testing obligations: references/testing.md · Stage format: references/stage-template.md
Core rule: Never work from one giant plan. Atomize into stages small enough to hold entirely in context, execute correctly, and validate before moving on.
| Input | Action |
|---|---|
Bare (/architect) | Ask: "New project or resuming an existing one?" |
| With project description | Assess scope (see Scaling Tiers), then start Phase 0 |
resume or project name | Run Resume Protocol below |
| Tier | Signal | Phases Used | Notes |
|---|---|---|---|
| Light | Single feature, 1-2 files, < 500 lines | Phase 0 (quick) → Phase 2 (1-2 stages) → Execute | Skip formal design notes. |
| Standard | Multi-component system, 3-8 stages | All phases | Full methodology. |
| Heavy | 8+ stages, multiple subsystems, external integrations | All phases + milestones | Group stages into milestones of 3-4. Milestone gate check between each. See references/methodology.md § Milestones. |
If unsure: "This feels like a [tier] project — [X] major components. Does that match your sense of scope?"
Tier escalation mid-project: If scope expands beyond original estimate by >50%, stop before the next stage. Re-assess tier, update _build-order.md, and confirm with the user before continuing.
Phase 0 → Technical Spike → Validate hardest constraint
Phase 1 → Design Notes → One note per domain, no code
Phase 1.5 → Build Order → Dependency graph, stage sequence
Phase 2 → Stage Documents → Write 2-3 stages ahead, not all upfront
Execute → Build Stage by Stage → Verify, commit, nextNever skip phases. Never move forward until the current phase's gate check passes.
Gate check: PROJECT_STATE.md exists with a validated constraint under ## Core Constraints.
If gate fails: Do not re-spike the same approach twice. If the spike produced a NO answer, the approach is blocked. Discuss alternatives with the user. If they still want to validate the same approach, ask what changed — something must have changed or the spike was invalid. Then proceed to re-spike or pivot. Do not move to Phase 1 without a validated constraint.
Mode: Planning only. Write no production code.
For each domain:
Do not dump 10 questions at once. Each note is a collaborative artifact.
If _docs/recon-summary.md exists in the project root, read it before writing any design notes — it contains domain research (pitfalls, architecture decisions, user expectations) that should inform your design. Read the detail files (_docs/architecture-notes.md, _docs/pitfalls.md) as relevant per domain.
Start with 00-project-overview.md, then identify domains:
Always write:
Write if applicable:
Write if relevant:
Finish with NN-tech-stack.md and NN-project-status.md.
Before proceeding, ALL must be true:
notebook/_index.md lists all notes00-project-overview.md + one note per domain existsNN-tech-stack.md exists with justified choices## Open Questions that block build planningIf any check fails: Keep working on notes. Identify the specific missing item and address it before re-checking.
build_plan/_build-order.md with stage list and dependency graphGate check: _build-order.md exists with numbered stages, dependencies, and key outcomes. User has reviewed and approved.
If gate fails: Return to the stage list, identify what's missing or unclear, revise before re-presenting.
The Loop:
1. Write stage docs for next 2-3 stages
2. Build those stages
3. After building: does the build order still make sense?
YES → write next 2-3 stage docs, continue
NO → update _build-order.md, adjust remaining stages, continue
4. Repeat until doneEvery stage document (build_plan/) must include:
references/testing.md)PROJECT_STATE.mdTest failure in current stage: Fix before moving on. Broken tests do not carry forward.
Plan is wrong: Stop. Update the stage document to match reality. Re-execute from the updated plan.
Prior stage bug discovered:
Scope creep: If adding something not in the stage doc, stop. Add it to a future stage or discard it.
Capture lessons: When a constraint, failure, or non-obvious gotcha is discovered, append to notebook/lessons.md. Use /save if notebook skill is installed.
PROJECT_STATE.md is the single source of truth. Update after every phase transition and completed stage.
# [Project Name]
## Current Phase
phase: [0 | 1 | 1.5 | 2 | execute]
current_stage: [N or null]
last_completed_stage: [N or null]
tier: [light | standard | heavy]
## Core Constraints
| Constraint | Validated? | Result |
|------------|-----------|--------|
| [description] | yes/no | [what we found] |
## Milestones (Heavy tier only)
- [x] M1: [name] — stages 1-3 — completed [date]
- [ ] M2: [name] — stages 4-6 — in progress
- [ ] M3: [name] — stages 7-9
## Completed
- [x] Phase 0: [constraint validated]
- [x] Stage 1: [name] — [date]
- [ ] Stage 2: [name] — in progress
## Current State
**What exists:** [one line]
**What works:** [bullet list]
**What's broken:** [bullet list or "nothing"]
**Blocked on:** [description or "nothing"]
## Next Action
[Single explicit next step — not a list of possibilities]
## Build Order Reference
[Stage list with completion status]## Next Action always contains exactly one actionable step.
PROJECT_STATE.md — parse current phase, current_stage, last_completed_stagenotebook/_index.md and notebook/lessons.mdbuild_plan/_build-order.md## Next ActionIf PROJECT_STATE.md is missing, scan for artifacts (notebook/, build_plan/, src/) and reconstruct. Ask user to confirm before proceeding.
project/
├── PROJECT_STATE.md
├── notebook/
│ ├── _index.md
│ ├── lessons.md
│ ├── 00-project-overview.md
│ └── ...
├── build_plan/
│ ├── _build-order.md
│ ├── stage-01-foundation.md
│ └── ...
├── src/
└── tests/Before creating any project directory or git repo, ask the user which identity context this project belongs to. Respect all identity separation rules from the global config.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.