evals-init

Called on first run of evals/{system}/: constructs the EDD directory structure, selects either PromptFoo or DeepEval based on the tech stack, and generates a security baseline.

Last repository push
GitHub Stars
147
Forks
5
Issues / PRs
13

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "evals-init" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-885d0a49e2e91b1194d7e9b70458415c0c85739913c9ee323fcd9c90a5c0315b. Verify the upstream source and version against https://github.com/tikalk/adlc-team-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Called on first run of evals/{system}/: constructs the EDD directory structure, selects either PromptFoo or DeepEval based on the tech stack, and generates a security baseline.

0 Downloads

Introduction source: third_party · tikalk · 0.0.1 Reference

SkillPi interpretation

Tasks
Use when standing up evals/{system}/ for the first time — scaffolds the EDD directory structure, picks PromptFoo or DeepEval by tech stack, and generates a security baseline.
Audience
**Starting systematic evaluation**: Set up the initial evaluation harness for your application **EDD Adoption**: Converting from traditional testing to evaluation-driven development **Security-first evaluation**: Auto-generate baseline security checks from the start
Inputs and outputs
Parse flags from the arguments first, then treat remaining text as focus areas: `--system SYSTEM` — Choose `promptfoo` or `deepeval`. If omitted, choose interactively based on tech stack. Remaining text — System description (focus setup)
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: evals-init
description: Use when standing up evals/{system}/ for the first time — scaffolds the EDD directory structure, picks PromptFoo or DeepEval by tech stack, and generates a security baseline.
disable-model-invocation: true

evals-init

What this skill does

Initialize the project-level evaluation directory structure following EDD (Eval-Driven Development) principles to prepare for systematic evaluation development. This is completely standalone with zero spec-kit dependencies.

Output:

  1. Directory Structure - evals/{system}/ with proper organization (promptfoo | deepeval)
  2. Security Baseline - Auto-created graders for PII leakage, prompt injection, hallucination detection, misinformation detection
  3. Configuration Files - Standalone config.yml and goldset templates under .adlc/evals/
  4. Auto-handoff to /evals-specify to begin error analysis

Key EDD Principles Applied:

  • Principle I: Spec-Driven Contracts - Evals validate spec compliance
  • Principle II: Binary Pass/Fail - No Likert scales in grader templates
  • Principle IV: Evaluation Pyramid - Tier 1 (fast) + Tier 2 (goldset) structure
  • Principle IX: Test Data as Code - Version control setup for datasets

When to use

  • Starting systematic evaluation: Set up the initial evaluation harness for your application
  • EDD Adoption: Converting from traditional testing to evaluation-driven development
  • Security-first evaluation: Auto-generate baseline security checks from the start

When NOT to use

  • Evals directory already exists: Use /evals-validate to run tests, or /evals-specify to add criteria
  • Evaluating team directives: This is for project-level application behavior testing, not directives compliance

Process

User Input

$ARGUMENTS

Parse flags from the arguments first, then treat remaining text as focus areas:

  • --system SYSTEM — Choose promptfoo or deepeval. If omitted, choose interactively based on tech stack.
  • Remaining text — System description (focus setup)

Execution Steps

Phase 1: Tech Stack Detection

  • Scan project manifests (package.json, requirements.txt, Cargo.toml, go.mod, etc.)
  • Recommends PromptFoo for mixed/JS stacks; DeepEval for Python-native stacks

Phase 2: Create Directory Structure

Creates:

evals/
├── {system}/                    # promptfoo | deepeval
│   ├── goldset.md              # Published goldset
│   ├── goldset.json            # Auto-generated for system consumption
│   ├── config.yml              # System-specific configuration
│   ├── config.{js,py}          # Generated system config (.js for promptfoo, .py for deepeval)
│   └── graders/                # Binary pass/fail graders
│       ├── check_pii_leakage.py           # Security baseline
│       ├── check_prompt_injection.py     # Security baseline
│       ├── check_hallucination.py        # Security baseline
│       └── check_misinformation.py       # Security baseline
├── results/                    # Git-ignored run outputs
└── .adlc/
    └── drafts/evals/           # Draft eval records (Markdown + YAML)

Phase 3: Configuration Copy

  • Create .adlc/evals/ if missing.
  • Copy skills/evals/evals-templates/evals-config-template.yml to .adlc/evals/evals-config.yml.

Phase 4: Auto-Handoff

Trigger /evals-specify to begin error analysis.

Verification

  • evals/{system}/goldset.md exists (initially empty)
  • .adlc/evals/evals-config.yml exists
  • Graders directory populated with 4 security baseline python scripts
  • Results directory contains .gitignore to prevent versioning traces
  • Handover report generated with recommended framework and next steps

Version history

  1. adlc-team-skills-v0.34.0 GitHub ↗
    Original release notes

    ### Added - **End-of-`plan` decision-record check, proposal records, and early draft MR across lanes**. `mission-brief` now runs a record check at the end of `plan` (keeping the 7-step lifecycle table intact) against `docs/adlc/memory/adr/adr.md` and `docs/adlc/memory/pdr/pdr.md` (with legacy `.adlc/memory` fallback), emitting `PASS` or `DECISION_RECORDS_CAPTURE_NEEDED` and writing flat `status: proposed` drafts under `.adlc/drafts/{adr,pdr}/<ID>-<slug>.md` with `approvers`, `proposed-by`, and `source` frontmatter plus `# <ADR|PDR>-<NNN>: <title>`, `## Context and Problem Statement`, and `## Decision Outcome` headings (advisory outside `ADLC_RUN_ID`, packaging proposal paths for human `/architect-clarify` + `/architect-implement` or `/product-clarify` + `/product-implement` promotion into `docs/adlc/memory/`). `factory-mission` delegates after `plan` to `factory-runbook` (`--kind code`, `--output-type draft --step plan`) in branch-first order (check out/reuse mission branch → stage/commit allowlisted proposals → push and open/reuse early draft MR when commits exist ahead of base; 0-commit `PASS` omits `mr_url`), supports `--plan` Phase 1 return (`plan-ready` / `plan-ready: decision-records-proposed`, keeping `executing`, where listed `status: proposed` drafts at `gate-spec` use `reject` / `on_reject: abort` → promote via clarify + implement → re-run `factory-supervised`), tracks `record_captures` durably via prior `reason=decision-records` issue comments and mission-owned `.adlc/workflows/runs/<run_id>/mission-state.json` (never engine-owned `runs/<run_id>/state.json`) bounded by `max_record_captures: 2` in `mission-template.yml`, and halts unattended `DECISION_RECORDS_CAPTURE_NEEDED` runs non-zero before `validation` after posting `factory-run:ended` (`reason=decision-records`), bouncing `executing` back to `spec-gated`, releasing the lease, and writing `blocked: decision-records`. Pinned by `tests/unit/test_record_capture_contract.py`. ### Changed - **factory-runbook resolves the run context in raw lane runs** (SF-SKILL-03). Review runs and `autonomous` missions are raw agent runs: the Argo lane starts the agent directly, adlc-cli never runs, so `ADLC_RUN_ID` was unset, `run-branch.sh` / `open-mr.sh` / `commit-step.sh` (and their PowerShell twins) no-opped with "no run context — skipped", and agents improvised: octopus-next!1322 was opened by hand under `run mission-1517-manual`, and review verdicts carried invented run ids (`run=local`, `run=mr-1335`, `run=factory-review-1332`). New `scripts/bash/run-context.sh` + `scripts/powershell/run-context.ps1` resolve the run id from `ADLC_RUN_ID`, else from the lane's `WORKFLOW_INPUTS.run_id` (the GitLab event UUID; the chart placeholder `pending` and unsafe ids are ignored), and the issue ref from `ADLC_ISSUE_REF`, else `WORKFLOW_INPUTS.issue_ref` when it is an issue ref (a review's MR ref is not). The three helpers adopt it before their no-op check. `factory-mission`'s "In a factory run" section, `mission-brief`'s local-session rule, the runbook's direct-invocation guard and `references/run-context.md` now name both run kinds, use the resolved id for every `<run_id>`, and forbid setting `ADLC_RUN_ID` by hand; `ADLC_STEP_OUTPUT` is written only when set. The helper test harnesses strip `WORKFLOW_INPUTS` so a test run inside a runner pod does not inherit the pod's context. Pinned by `tests/unit/test_run_context.py` (bash, plus PowerShell twin parity where pwsh exists). - **Specify→clarify handoff contract pinned** — `.skills-deps.json` gains the missing `change-specify → change-clarify` and `evals-specify → evals-clarify` install-closure edges (installing either specify skill alone previously left a dangling handoff), and `evals-specify` no longer says "auto-handoff": clarify skills are `disable-model-invocation: true`, so outside a workflow step the specify skill packages context and names the command — the user runs the gate; auto-invocation exists only as an explicit factory workflow step (`factory-intent` / `factory-init` chains). Pinned by `tests/unit/test_specify_clarify_closure.py`. - **Mission Briefs carry an `Evidence base` with a mandatory counter-evidence bucket** (intake evidence contract, adlc-workspace). The 2026-11-18 inbox audit found three intake defects the brief format could not express: requester self-notes were counted as sources but never read, same-day arrivals fell outside the synthesis cutoff without a trace, and no bucket existed for a source that contradicts the brief. The canonical template now carries an `Evidence base (as of <ISO timestamp>)` block with `Read` / `Counter` / `Unread` / `Self-notes` buckets and rules R1–R4; `factory-queue` plan mode generates it and flags a generated brief whose block is missing in the dry-run preview; `factory-mission` intake validates it and discloses legacy briefs as `not declared` instead of hard-blocking; `factory-orchestrator` attaches it to research that feeds a future brief. A brief with no external sources states `direct request — no external sources`. Pinned by `tests/unit/test_intake_evidence_contract.py`. - **`open-mr` takes its provider from the code host, not the issue tracker** (adlc-workspace#111). `open-mr` (bash + PowerShell) chose the provider from `ISSUE_PROVIDER` and refused any origin on another host, so a GitLab issue could never open a PR on a GitHub repo such as this one. Now the origin host decides: `github.com` → `gh`, `GITLAB_HOST` → `glab`, any other host is refused before any API call. On a cross-host run (issue and code on different hosts) the issue is not read through the code host, no milestone is set, the runner's own account is assigned (the initiator is ignored), and the description links the issue by its full URL. Same-host runs are unchanged. Pinned by `test_open_mr_cross_host_opens_a_github_pr_for_a_gitlab_issue`, `test_open_mr_same_host_github_still_propagates_the_issue_milestone` and `test_open_mr_refuses_an_unknown_origin_host_before_any_api_call`, with pwsh mirrors. - **factory-review pre-PR verdict preview executes the six passes read-only** (GitLab work item 45, owner decision) — `factory-review --preview` runs the six owner-confirmed passes (bugs, security, spec-compliance, test-integrity, ci-integrity, quality) via the single reviewer procedure in `skills/factory/factory-review/SKILL.md` section 6, reusing the normal-review checklists read-only (Auditor/Adversary/Pragmatist lenses, deterministic `synthesize-findings` tagging, no fix/converge, no head binding). The bash + PowerShell twins are the deterministic envelope only: they discover changed files, run provenance intake, sanitize, and render reviewer-supplied evidence verbatim, generating no findings; invoked without reviewer evidence they report `unverified: reviewer procedure not invoked in this shell-only run`. Output stays draft-labeled with no head-SHA marker, no outcome/importance fields, no tracker writes, never posted. Missing provenance ("which files came from where" + AI-contribution-policy compliance) is requested at intake; no verdict is produced until provenance is provided. Formal REVIEW.md policy fields and owner questionnaire values are captured through the owner sign-off path (a separate PR), not here. Machine checks verify envelope, structure, and auditability — not execution. Pinned by `tests/unit/test_factory_review_preview.py`, `tests/unit/test_factory_review_provenance.py`, and PromptFoo graders `check_factory_review_preview_draft`, `check_factory_review_preview_readonly`, `check_factory_review_provenance_intake` plus six `preview-execution-<pass>` scenarios. - **factory-queue plan mode no longer stamps gating or dispatch labels at creation** (adlc-workspace#100–#103). Plan mode's "Push to Q" step told the agent to stamp automation-gating and dispatch labels on each generated issue. A dispatch label on a newly opened issue triggers the Argo lane, so the four M17 issues started missions while still at `intent`. Generated issues are now created at `intent` plus grouping labels only; the AI-triage proposal lives in the plan output, and the labels land on Intent Gate approval. New invariant 4, "Dispatch Labels Only on Approval". Pinned by `tests/unit/test_factory_queue_dispatch_labels.py`. - **factory-mission moves the issue to `validation` in factory runs** (adlc-workspace#92). Under `ADLC_RUN_ID` the agent follows only the "In a factory run — do exactly this" section, which had no lifecycle step. A workflow-path run could therefore leave its issue `executing` after opening the code MR, as #88 did, while the raw path set `validation` from Phase 6. The section now has a step 3: once the code MR/PR is open, move `executing` → `validation` through the Set Lifecycle step; with no MR, leave the label and say so in the `conclusion`. Pinned by `test_factory_run_section_moves_the_issue_to_validation`. - **`factory-deploy` renamed to `factory-release`** (`skills/factory/factory-release/`, was `skills/factory/factory-deploy/`): the release orchestrator now carries the name of the lifecycle phase it owns end-to-end. Alias-free rename per the factory-intent precedent — source-tree `git mv`, full reference sweep (SKILL.md, `workflow.yml` id, orchestrator routing, README, grader and its tests renamed `check_factory_release_gates`), consumers regenerate shims via `adlc-cli skills add`. History (past changelog entries, PRD/AD delta sections) keeps the `factory-deploy` name verbatim. ### Added - **Recurrence-evidence validation (adlc-workspace#94 / branch #90, Piece 3, recurrence rerun-idempotency decision)** — `skills/factory/factory-learn/scripts/bash/verify-recurrence.sh` and its PowerShell twin `skills/factory/factory-learn/scripts/powershell/verify-recurrence.ps1` validate factory-review verdict evidence and append only live-head-at-verification observations (`verified-how=live-head`, `standing=live-head-at-verification`) to append-only `references/recurrence-ledger.tsv`. Strict v1 rules: marker-region-only 40-char SHA, equality with independently fetched live PR head, newest qualifying OWNER/MEMBER/COLLABORATOR verdict, run-home corroboration via new `brief.md` fields (`review-target-repo`, `review-target-pr`, `reviewed-head`), exact Layer F finding-lines with fail-closed `run-unresolvable`/`run-mismatch`/`finding-unparseable`/`finding-diverged`, and Layer P prose divergence scoped strictly to the winning collaborator verdict body. Recurrence requires same `(pass, check-item)` on two distinct PRs. Observation-identity idempotence (recurrence rerun-idempotency decision): same recurrence key + same provenance is a DUPLICATE rerun (exit 0, ledger unchanged, no restamp) even when `verified-at` differs; any other provenance difference aborts as a conflict. Local `flock` / exclusive lockfile + atomic replace; single-active-writer PR + strict-freshness merge enforcement + CI (branch freshness, header/duplicates/provenance, writer count across `.tsv`/`.sh`/`.ps1`). Pinned by `tests/unit/test_recurrence_evidence.py`, `tests/unit/test_recurrence_commands.py`, and `tests/unit/test_recurrence_twin_parity.py`. - **Correction-elimination ladder for recurring corrections (adlc-workspace#94 / branch #90, recurrence rerun-idempotency decision)** — every recurring correction signal is routed through an ordered ladder: **Tier 1 structural elimination** (architecture/types/schemas via `/architect-specify` + ADR), **Tier 2 mechanical enforcement** (REVIEW.md pass, lint, unit test, pre-commit, CI job, or binary grader — team-levelup action P preferred, `/evals-specify` for new criteria, cross-referenced with EVAL-010 and EVAL-016), **Tier 3 judgment** (prose CDR only for genuine judgment calls). Classification precedes scoring; scoring never overrides it; a mechanically checkable mistake never defaults to a prose CDR. Wired into factory-review §5 (+ `review-policy.md` Twice-Mistake section), team-levelup Phase 1b, and factory-learn's retrospective route (Git signals reuse `change-init` Phase 6 grep shapes verbatim; recurrence identity is same pass + same check item; evidence stays in `adlc-team-skills`; `memory.jsonl` contract unchanged). New **EVAL-016** criterion (goldset + binary grader `check_correction_ladder.py` + unit tests + `config.js` scenario) tests routing to a named elimination vehicle vs prose-first/vague/negated failures. Pinned by `tests/unit/test_correction_ladder.py`. - **factory-release `close-milestone` and `update-roadmap` steps**: the release workflow gains two terminal steps after `publish` (10 → 12 steps). `close-milestone` resolves the shipped milestone from the MR/issue milestone inheritance, records a no-op when none is linked, halts listing open issues, and writes only through the issues-provider milestone API. `update-roadmap` flips the milestone row in `docs/adlc/product/roadmap.md` (active → closed with release version and date) through the run's normal publish path; monitor handoff and the conditional change record come last. Contract tests extended in `tests/unit/test_factory_release_skill.py` (12-step shape, terminal ordering, step semantics, no-alias guard). - **factory-review `pass: issue-conformance`** (`skills/factory/factory-review/`): the review pipeline now judges a PR/MR against its governing issue's Mission Brief (per the factory-review issue-conformance product record and its architecture mechanism in the adlc-workspace) — per-criterion `met` / `not-met` / `unverified` accounting with evidence, Non-Goal overreach and Constraint violations as Important findings, disclosed `unverified: no governing issue brief` degradation, reviewer-directed issue text treated as data via the security pass. New binary grader `check_issue_conformance` (EVAL-FACTORY-023) with 5 scenarios, contract test `test_factory_review_issue_conformance.py`. Refs tikalk/engineering/agentic-sdlc/adlc-workspace#35. ### Fixed - **Proof of work is checked against the issue's Definition of Done** (SF-SKILL-07; octopus-next#1508). A mission skipped a DoD item the issue explained how to do (a verified screenshot from a named staging script) and wrote "not run (no staging env in this pod)"; the only proof-of-work check was "`mr_url` is not empty". The mission now writes `.adlc/workflows/runs/<run id>/proof-of-work.json` (one entry per DoD item: done with evidence, or skipped / not-applicable with a reason) and runs new `factory-runbook/scripts/bash/check-proof-of-work.sh` (and PowerShell twin, same embedded checker), which reads the DoD list from the issue, fails (exit 1) on an unaccounted item, a `done` without evidence or a "pending"/"todo"/"tbd" reason, exits 3 when items were skipped (or 1 with `--fail-on-skip`), and prints a "Proof of work" block — listing every skipped and not-applicable item with its reason — that the completion record carries. Skipped-item policy (accept when disclosed) awaits owner confirmation. Pinned by `tests/unit/test_check_proof_of_work.py`. - **factory-review verdicts follow one schema with a generated marker** (SF-SKILL-02). Review verdicts typed the marker by hand and drifted: invented run ids although the lane passes the real one in `WORKFLOW_INPUTS` (`run=factory-review-1332`, `run=mr-1335`, `run=local`, `run=mission-1517-manual`), `findings=0` with `nits=1` (octopus-next!1321), the marker on line 5/23/62, headings changing per run, and interactive wording ("not yet posted (needs your confirm)") in posted verdicts. New `factory-review/scripts/bash/verdict-schema.sh` + PowerShell twin `verdict-schema.ps1` (one node script embedded in both): `marker` prints the one canonical marker (run id from `ADLC_RUN_ID`, else `WORKFLOW_INPUTS.run_id`, else `interactive` in a local session; `outcome=` and `findings=` derived from the counts, never merge-ready when `status=failed`); `lint` enforces the marker on the first line, token order, the run id, count arithmetic, `## Verdict` / `## Important findings` / `## Nits` with one `###` per finding and `None.` for an empty section (project sections may sit around them), and no interactive hand-off wording; `run-id` prints the resolved id. `post-verdict.sh`/`.ps1` lint every body before posting and refuse one that fails. `factory-review` step 5 says to generate the marker and never type it. Pinned by `tests/unit/test_factory_review_verdict_schema.py`. - **Every mission leaves exactly one completion record on its issue** (SF-SKILL-05; adlc-workspace#66–#68, #76). octopus-next missions ended with no completion note (#1507, #1510, #1512, #1516: Argo "Succeeded", only a start marker), or with records in three marker spellings, one with an invented run id (#1523 `run=test-1523`), or wrote "completed" for a run its completion gate then parked (#1530). New `factory-runbook/scripts/bash/post-completion.sh --outcome <done|no-op|blocked|failed> --conclusion <line>` (and PowerShell twin) posts one record per run (`<!-- factory-mission:step=complete status=… run=… type=decision outcome=… -->`; blocked/failed records also carry the `factory-run:ended` marker, so a failed run still gets one note), takes the run id from the run context only, posts nothing when the run already has a record (any of the three markers), says when a completion gate still follows, and reads the record back. `factory-mission` factory-run step 5 requires it on every outcome (step 4's no-MR note is that record); Phase 6 uses it and retires the `factory-mission:status=completed:run=` spelling. Pinned by `tests/unit/test_post_completion.py`. - **The Set Lifecycle step is a command that checks itself** (SF-SKILL-04; octopus-next#1507 stayed `executing` after its code MR !1302 opened, with the move to `validation` already in the skill). New `factory-runbook/scripts/bash/set-lifecycle.sh --to <state> [--issue <ref>]` (and PowerShell twin) adds the target, removes every other lifecycle label in the same call, re-reads the labels and exits 1 unless exactly the target remains; it never touches `resume`, defaults `--issue` to the run's issue (run-context), and refuses (exit 2) when a repo maps custom label names. `factory-mission`'s factory-run steps 3 (`validation`) and 4 (edge 12, `spec-gated`) and tracker-integration Operation 9 now name it; workflow overrides can call it as a `shell` step. Pinned by `tests/unit/test_set_lifecycle_script.py` (both twins against the fake tracker `tests/fixtures/fake-tracker/glab`). - **factory-review posts the verdict and confirms it landed** (SF-SKILL-01; octopus-next!1298, !1302, adlc-argo-wf!84, agentic-container!55). Reviews composed a full verdict, ended with it as the agent's final message (or a "verdict preview — not yet posted"), posted nothing, and still reported `Succeeded`; the Slack status line only quoted the message. New `factory-review/scripts/bash/post-verdict.sh` + PowerShell twin `post-verdict.ps1`: it validates the body (exactly one review marker, on the first non-blank line, `head=` equal to the reviewed head, a valid `run=`), posts it (GitLab threaded discussion through `glab api`, GitHub COMMENT review bound to the head through `gh api`, never an approval; the provider follows the `--mr` ref form), reads the thread back, retries a lost post, is idempotent per `run=`/`iter=`/`head=`, exits 1 when the verdict never lands and 2 on bad input or an unreadable thread; `--check-only` answers the same question for a lane step after the agent exits. Both twins run the same node scripts. `factory-review` §2 step 5 now requires it ("Post, then confirm") and states that a project review skill named by `REVIEW.md` never turns the verdict into a draft. `tracker-integration.md` gains `glab api` rows for Operations 4, 5 and 7, the read-back rule, and a tool-selection rule that tests GitLab with a real `glab api` call instead of `glab auth status`, which reports no login in runner pods while `glab api` works from `GITLAB_TOKEN` (S38). Pinned by `tests/unit/test_factory_review_posts_verdict.py`. - **In a factory run the factory skills' must-do steps beat interactive wording** (SF-SKILL-06; octopus-next !1298, adlc-argo-wf !84). `factory-review` gains an "In a factory run — these rules win" section: `REVIEW.md` and project skills supply checks and severities only, never output or interaction rules; nobody is asked anything; it recognises review lane pods without `ADLC_RUN_ID`. tracker-integration Safety Constraint 1 (dry-run + explicit confirm), Operation 9 Dry-Run Gating and factory-review Safety 3 are scoped to local sessions — in a factory run the writes a step owns execute at once and are confirmed by read-back. tracker-integration Safety Constraint 6 and factory-review Safety 7 no longer forbid the label edits that Set Lifecycle and factory-review §2 step 6 require. `factory-mission` states that project instructions say *what* to build, not *how to interact*, and that an item it cannot do is reported, never "pending". New `factory-runbook/references/project-contract.md` lists what a consumer's `REVIEW.md`, `AGENTS.md`, issue Definition of Done, provider file, workspace file and workflow override may and may not change. Pinned by `tests/unit/test_factory_run_precedence.py`. - **A new code run branch starts from origin's default branch, not from HEAD** (SF-SKILL-08; octopus-next !1308 review finding C1, hand commits on !1312 and !1315). `run-branch.sh --kind code` (and its PowerShell twin) created `factory/mission/<repo>-<iid>` from whatever was checked out — after the intent step, the intent run branch — so the run's planning drafts (`.adlc/drafts/**`, `docs/adlc/**`) landed in every supervised code MR. A new code branch now starts from origin's default branch (asked with `git ls-remote --symref` and fetched, else the clone's `origin/HEAD`, `origin/main`, `origin/master`; HEAD only when none exists, with a warning). Files the mission wrote but has not committed yet (its proposal records) move along. Existing code branches and all intent branches are unchanged. Pinned by the `test_a_new_code_branch_*` tests in `tests/unit/test_intent_run_helpers.py` and its PowerShell twin module. - **factory-mission / mission-brief functionality restoration** (`skills/factory/factory-mission/`, `skills/mission/mission-brief/`): converge-loop control (counters, circuit breaker, score regression, `max_spec_corrections` bound) restored to `factory-mission` as a new `### Phase 5: Converge Loop Control` — the harness owns the counters, the verdicts stay in `mission-brief`; four step guardrails lost in the mission-* fold restored to `mission-brief` (specify never selects technologies or plans files; plan treats acceptance criteria as the definition of done; code never weakens the tests to pass; converge judges from `brief.md` and non-goals, never from the verifier's own findings); single `brief.md` owner (mission-brief constructs, the executor phase only persists); continuous phase numbering with the line-16 checklist matching the DAG; framework-lane resolution deduplicated to a pointer at mission-brief's detection section; scan-based skill routing demoted to harness Skill-tool resolution (step prompts name skills by exact name, the subagent resolves them via its Skill tool), with `references/agent-integrations.md` shrunk to a commands-dir fallback and the `tests/e2e/test_universal_skill_orchestration.py` simulation suite removed. `skills/factory/factory-review/references/review-loop.md`'s factory-mission Phase-5 mirror line re-pointed at the clarify-gate routing (was "→ Phase 6"). EVAL-005 rewritten to grade the new contract (`evals/promptfoo/goldset.md`, `goldset.json`, `config.js`, `graders/check_universal_skill_routing.py`): the criterion now requires delegation prompts to name skills by exact name with Skill-tool resolution and the commands-dir fallback, and treats the removed scanned-inventory prompt ("Available Skills in This Workspace") as a **fail** case (EVAL-005-CASE-2); README's "Universal orchestration" section states the harness-native mechanism (was "scans installed skills directories"). Pinned by `tests/unit/test_mission_brief_fold.py`, `tests/unit/test_factory_mission_loop_contract.py`, `tests/unit/test_factory_mission_skill_routing.py`, and `tests/unit/test_eval005_skill_routing_contract.py`. - **team-boot ChDR counting + submodule CDR discovery** (`skills/team/team-boot/scripts/`): ChDR scope count is now file-preferred with index-only fallback — record files are the inventory when they exist, index rows only when they don't — so a 13-line `chdr.md` holding one row plus its matching record file reports exactly `1 ChDRs` instead of `14` (BRE `^\| ChDR` matched every line plus index+file double-count). Fixed `^\| ChDR` → `^| ChDR` in both Bash and PowerShell. Pending-CDR discovery now detects `TEAM_AI_DIRECTIVES/.git` with existence (`-e`/`Test-Path`) instead of directory-only (`-d`), so submodule and worktree checkouts (gitfile `.git`) contribute their `adlc` branch drafts to the pending total instead of being silently skipped. Pinned by `tests/unit/test_team_boot_counts.py`.

  2. adlc-team-skills-v0.33.0 GitHub ↗
    Original release notes

  3. adlc-team-skills-v0.32.0 GitHub ↗
    Original release notes

  4. adlc-team-skills-v0.31.0 GitHub ↗
    Original release notes

    ### Added - **Factory-owned `issues-provider.yml` tracker config** (ADR-427) — the factory release ships a canonical provider template (`skills/factory/factory-mission/references/issues-provider.yml`, rename-only from spec-kit's `taskstoissues-provider.yml` schema, never-tokens rule retained); target repos carry a committed copy at `.adlc/issues-provider.yml`. `tracker-integration.md` §1 now resolves `{{params.tracker_provider}}` → new path → **loud halt**, deleting both the silent `github` default that mis-targeted repos without spec-kit and the legacy spec-kit path read (repos carrying only the old file must add the factory-canonical copy; spec-kit itself untouched). No shipped factory file references `.specify`. Pinned by `tests/unit/test_issues_provider_contract.py`. - **`factory-setup`** (`skills/factory/factory-setup/`, ADR-428) — setup-time companion to the tracker-integration layer: detect-from-git-remote / pick-explicitly / already-configured modes write `.adlc/issues-provider.yml` (provider + mappings only, never credentials, never overwrite; decline is session-scoped, no init-options marker). `team-boot` suggests it when factory skills are installed but no provider config resolves; `tracker-integration.md` halt names it as the fix path. Pinned by `tests/unit/test_factory_setup_contract.py` + goldset `EVAL-FACTORY-015` with grader `check_no_credential_in_provider`. Mode 3 also verifies the required label vocabulary and offers confirm-gated creation of missing labels (interactive only, re-verified; Jira/Linear excluded). - **`factory-review` re-reviews final head after fix pushes** (#68) — SKILL.md §2 step 8 + §4 babysit carry the re-review-after-fix procedure (verdict certifies exactly one head SHA; merge-ready on a superseded head is a contract violation); `setup-architect.sh` regeneration refuses on uncommitted `AD.md` without `FORCE_REGENERATE=1`. - **Refusal-aware eval graders + thinking-suppression** (#67) — `check_factory_invariants.py` ADR-338/PDR-052 checks exempt forbidden tokens inside refusals via a ±60-char negation window; `config.js` prompt bans thinking/deliberation preamble and input-token quoting (the goldset leak source). Grader unit tests 85/85. - **Warn-and-continue on absent team-boot context** (#66, closes #58) — six `## Absent Context` banners (architect/product/change/tech-radar boots, team-levelup, team-discover) with direct index-read fallback and `Recovery: run /team-diagnose`; `factory-mission`/`factory-review`/`factory-queue` read the index directly (ADR-401 dual-read order); `factory-learn` retrospective sweeps `.adlc/drafts/` for unclarified entries. ### Changed - **Single merged Team Context & Decisions table** (#56) — the per-response Team Context in Use section and Session Decision Ledger merge into one 6-column table; Status carries the accepted-vs-pending distinction (`in use` + `—` = grounding context, never drafts; `pending`/`captured`/`clarified`/`handed off` + skill = owed decisions); one counts line (`_Scope: … — J rows shown · Unrecorded: N pending · Unclarified: M captured drafts._`). Pending Decisions session-start inventory unchanged. Pinned by `test_single_response_table_contract` + `test_status_semantics_rule` + reshaped header-count assertions. - **Deck↔code glossary in 12-Factor alignment table** (#49, PDR-057) — canonical term mapping (plan-of-record agnosticism, evidence-chain/audit trail, triage scoring, Lit Factory/Ratchet name mapping, mission-brief and team-learn settled renames). Documentation-only. ### Fixed - **Class-boot contract fix: early-fire, 0-rows rendering, radar re-emission, workspace fallback** (#50) — class boots now invoke at the START of a matching task (before todo planning/implementation, never deferred); 0 rows matched emits heading + counts/searched line only with no table (a 0-row table header collapsed into unrendered single-line markdown); `tech-radar-boot` re-emits tool-channel script findings in the visible response; `radar-search.sh`/`.ps1` 0-match output drops the empty table; boots in memory-less submodule CWDs fall back to the workspace root memory (`.gitmodules` marker, ADR-401 dual-read order). Pinned by 5 new class-boot contract tests + 2 radar 0-match tests (`tests/unit/test_team_class_boots.py`, `tests/unit/test_tech_radar.py`). - **Memory centralization migration** (#51, ADR-412) — workspace `docs/adlc/memory/` is the sole ADR/PDR tracker; the 18 ADRs + 14 PDRs of the legacy untracked `.adlc/memory/` verified row-by-row against workspace equivalents (30 duplicates/subsumed, unique PDR-030 → PDR-108 agent-authored stamp and PDR-057 → PDR-109 deck↔code terminology imported); `docs/decision-memory.md` tombstone carries the record map. - **Sync-test mirror staleness** (#54) — regenerated install artifacts (`team-learn` → `team-levelup`); `test_generated_artifacts_sync.py` green again. Single-canonical-script guard added (`test_single_canonical_radar_search_script_pair`) after a stale `tech-radar-context` alias copy of `radar-search.sh` was found emitting the old 0-match table. - **Shell-to-Python injection hardening + unescaped JSON builders** (#74) — replaced all `python3 -c "... open('$VAR') ..."` interpolation with `sys.argv` passing, emit all `--json` output via `json.dumps`, dropped `eval $()` in favor of direct calls/parsed assignment, pinned radar fetch to HTTPS, and allowlisted submodule remotes; `setup-architect.sh` ~14 echo-built JSON emitters (+2 inner fragment builders) converted to `python3`/`json.dumps` via quoted heredocs, and `workspace.sh` `parent_sha_for` hardened with `|| true` under `set -euo pipefail`. Pinned by `tests/unit/test_shell_security_regression.py` (shellcheck `-S error` + `bash -n` clean). - **UTF-8 BOM on non-ASCII `.ps1` scripts for PowerShell 5.1** (#72) — BOM prepended to the 24 non-ASCII scripts under `skills/**` so PS 5.1 decodes them as UTF-8 instead of the system ANSI codepage (which corrupted multi-byte sequences into bogus string delimiters and broke every `team-boot` hook on Windows sessions). No logic changes; `pwsh`/bash ignore the BOM. - **`boot.sh` silent crash on missing `team_ai_directives` key** (#65) — the `grep` extraction pipeline under `set -euo pipefail` exited 1 with zero output when `.adlc/init-options.json` existed without the key; wrapped in `(...) || true` so it falls through to the existing not-configured branch.

  5. adlc-team-skills-v0.30.0 GitHub ↗
    Original release notes

    ### Added - **Ledger→todo contract alignment across all decision-capture surfaces** — the per-decision task-list todo + trailing ledger-sweep todo (shipped in #40 only in the injected `AGENTS.md` managed section) now also lives in `boot.sh`/`boot.ps1` session-start output (Surface ledger step rewritten), `team-boot` SKILL.md (Surface step + Verification line), `team-boot` `references/decision-capture.md` (new **Todo Surfacing** section with harness mapping and no-task-list-tool fallback), the four class boots and `team-levelup` (todo-mirroring sentences), and is documented in `team-setup`'s post-setup reference. Class-boot ledger paragraphs migrated from the stale inline 4-column grammar (Decision | Type | Captured? | Skill) to the unified 6-column grammar (ID | Name | Type | Rel | Status | Clarify). Pinned by `test_ledger_todo_contract_on_all_surfaces` + `test_no_stale_inline_4col_ledger_grammar` in `tests/unit/test_team_boot_setup_flow.py`. - **Ledger-sweep counts unclarified drafts; `change-boot` fires on git commands with human-authored messages** — the sweep target is now `_Unrecorded: 0 pending · Unclarified: 0 drafts_`: a captured row exits only via its clarify skill (`clarified`) or an explicit user handoff to a named clarify or execute skill (`handed off`), so writing drafts alone can no longer close the sweep. The session-end step delivers a clarify prompt naming each captured draft (ID + skill) instead of pointing at `pending` drafts. `change-boot` invocation now covers in-session git commands with human-authored messages (commit/merge/revert/rebase/cherry-pick/tag), authored PR title/body (at create and merge), and CHANGELOG edits — evaluated under the proportionality gate at session end; routine ops with generated or empty messages are not ChDRs. `change-boot` Step 2's draft scan is renamed to the `Unclarified` count with a `proposed/discovered` ↔ `captured` mapping note, and its description now names both `/change-init` (mining) and `/change-clarify` (clarify gate). `post-setup-agents.md` joins the pinned surface map (edited for #42 but never covered). Pinned by extended `test_ledger_todo_contract_on_all_surfaces` + new `test_change_boot_git_command_trigger`. ### Changed - **Renamed `team-learn` → `team-levelup`** — skill dir, SKILL.md `name:`, scripts, all cross-refs (boot surfaces, events, helpers, README), and report file `.adlc/team-learn-report.md` → `.adlc/team-levelup-report.md`. Retires the stale legacy `levelup-*` family. Hard rename, no alias or compat shim.

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决 AI 应用系统评估框架搭建的核心痛点
  • 提供完整的 EDD (Eval-Driven Development) 方法论支持
  • 自动生成安全基线检查,提升评估效率
Trigger Precision90/100

Highlights

  • 触发条件明确且边界清晰
  • When to use / When NOT to use 区分明确
  • description 在 frontmatter 和 body 中均有完整描述
Structure and Standards90/100

Highlights

  • Phase 划分清晰,执行流程完整
  • 包含详细的目录结构示例
  • frontmatter 完整,文档长度适中
Execution Reliability85/100

Highlights

  • 工具来源明确(PromptFoo/DeepEval)
  • 参数处理逻辑清晰
  • 覆盖主要异常情况并有处理建议
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.