evals-implement
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "evals-implement":https://skillpi.com/zh/skills/deepskill-25730b812cc6c95fdd7e0a93babef498291fc92dd2c60c301b7d36f507614872。安装前核对上游来源和版本:https://github.com/tikalk/adlc-team-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
在已发布的黄金数据集准备就绪且可转换为可执行评分器与配置时使用:将数据集转为包含自动运行单元测试的 Python 评分器和指标,并用于验证评分器的正确性。
介绍来源: third_party · tikalk · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: evals-implement
description: Use when a published goldset is ready to become executable graders and configs — Python graders and metrics with auto-run unit tests verifying grader correctness.
disable-model-invocation: trueevals-implement
What this skill does
Generates the complete executable evaluation implementation following EDD Principle VIII (Close Production Loop) from the published goldset, with automated unit testing to verify evaluator correctness.
Output:
- Grader/Metric Implementation - Python evaluators for each goldset criterion with binary pass/fail
- PromptFoo: Python grader functions with JSON output in
evals/{system}/graders/ - DeepEval: Custom metric classes inheriting from
BaseMetric
- PromptFoo: Python grader functions with JSON output in
- Evaluator Unit Tests - Automated tests (
evals/{system}/tests/test_check_*.py) that run the goldset pass/fail examples against the generated graders to ensure the evaluator itself is accurate - Evaluation Configuration - Complete config file (
config.jsorconfig.py) with Tier 1 + Tier 2 evaluation structure - Auto-handoff to
/evals-validateto run validation
Key EDD Principles Applied:
- Principle VIII: Close Production Loop - Failure type gates route to appropriate actions
- Principle II: Binary Pass/Fail - Ensure graders return strictly 1.0 (pass) or 0.0 (fail)
- Principle IX: Test Data as Code - Unit test generated code against dataset examples
When to use
- After
/evals-clarify: Convert accepted goldset criteria into executable code - Regenerating configs: Re-build evaluator suite after adding new goldset criteria
- Adding unit tests: Hardening the evaluator itself against regression or bugs
When NOT to use
- Goldset not published: Run
/evals-clarifyto generategoldset.jsonfirst - Running evaluations: Use
/evals-validateto run the suite against application outputs
Process
User Input
$ARGUMENTS
--system SYSTEM— Override active evaluation framework (promptfooordeepeval)--no-tests— Skip automated unit test generation for graders (not recommended)
Execution Steps
Phase 1: Trace-to-Grader Synthesis (Automated Eval Engineering)
- Reads
evals/{system}/goldset.json. - Maps rich evidence fields from the goldset criteria into grader logic (Trace-to-Grader Synthesis):
- Uses
pass_conditionandfail_conditionas the grader's core rubric. - Extracts pass/fail examples to act as raw data anchors and few-shot classification anchors inside the grader logic.
- Injects
Root Cause Analysisandaxial_codingnotes as contextual prompt guidelines or regex patterns to catch exact failure manifestations.
- Uses
- For PromptFoo: Generates Python grader functions (
evals/{system}/graders/check_*.py) containing specialized, dynamic LLM-judge templates or regex checks compiled from these goldset inputs. - For DeepEval: Generates Custom Metric classes inheriting from
BaseMetriccompiled from these goldset inputs. - All graders conform strictly to the binary pass/fail standard (returning only
1.0or0.0, with zero Likert scale leakage).
Phase 2: Unit Test Generation
- Generates matching unit tests (
evals/{system}/tests/test_check_*.py) for each grader. - Unit tests verify the grader correctly identifies the goldset's training pass and fail examples.
Phase 2b: Closed-Loop Grader Self-Tuning
- Executes generated unit tests (
pytest evals/{system}/tests/) to verify evaluator accuracy. - Grader Calibration Loop:
- Inspects test results to detect any misclassifications (false positives/negatives) on the training cases.
- If any test fails, triggers a feedback edit step that parses the failure reasons and automatically adjusts the grader's internal prompt rubric, regex stubs, or score thresholds.
- Re-runs pytest to check accuracy.
- Repeats for up to 3 iterations (the hard circuit-breaker limit).
- Holdout Locking: Ensure the holdout validation set (
holdout.json) remains completely isolated and is never loaded or exposed to the self-tuning loop (to prevent overfitting). - Failure Escalation: If the grader does not converge to 100% training accuracy within 3 iterations, the loop halts, surfaces the failing test case details, and raises an error rather than passing silently.
Phase 3: Config Generation
- Generates the unified framework configuration file (
config.jsorconfig.py). - Configures separate Tier 1 (fast checks, <30s, deterministic) and Tier 2 (semantic checks, <5min, LLM-judge) pipelines.
Phase 4: Auto-Handoff
Trigger /evals-validate to run validation.
Verification
evals/{system}/graders/contains Python grader scripts for each criterion compiled dynamically from goldset pass/fail examples and root-cause analysesevals/{system}/tests/contains matching unit test files- Framework config (
config.jsorconfig.py) successfully generated - Grader calibration self-tuning loop ran and converged to 100% training accuracy within the 3-iteration cap (or raised explicit non-convergence errors)
- Holdout dataset protection confirmed (validation
holdout.jsonremained completely isolated and untouched during tuning) - All grader unit tests pass locally (
pytest evals/{system}/tests/) - Handover summary lists generated graders, self-tuning iterations, and test results
版本历史
-
adlc-team-skills-v0.34.0
GitHub ↗
原版更新说明
### 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`.
-
adlc-team-skills-v0.33.0
GitHub ↗
原版更新说明
-
adlc-team-skills-v0.32.0
GitHub ↗
原版更新说明
-
adlc-team-skills-v0.31.0
GitHub ↗
原版更新说明
### 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.
-
adlc-team-skills-v0.30.0
GitHub ↗
原版更新说明
### 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.
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 针对 AI 评估工程领域的专业需求,将黄金数据集转换为可执行评分器
- 实现了完整的评估闭环,包含自动单元测试和自我调优机制
亮点
- 触发条件描述清晰,明确指定了前置条件(goldset published)和使用时机
- 参数定义完整,包含系统框架选择和测试生成控制选项
待提升项
-
缺少端到端示例代码 原报告严重程度:轻微
文档中提到了输出文件结构和内容,但缺少具体的示例代码片段来展示生成的 grader 或配置文件样例
改进建议:建议添加一个完整的端到端示例,展示从 goldset.json 到生成的 Python grader 文件和配置文件的转换结果
亮点
- 文档结构完整,包含清晰的阶段划分(Phase 1-4)和执行流程
- frontmatter 信息完整,包含了必要的元数据和禁用模型调用设置
亮点
- 详细描述了异常处理机制,包括 3 次迭代的硬性限制和失败时的显式错误抛出
- 实现了 holdout 数据集的完全隔离保护,防止过拟合
- 包含完整的验证清单,确保所有组件正确生成和功能正常
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。