Agent Skillstzachbon/smart-ralph › interview-framework-codex

interview-framework-codex

GitHub

Codex面试框架技能,用于在开发各阶段执行严格的用户决策访谈与授权检查。通过算法和领域模型验证状态一致性,确保仅在满足所有条件时进行委托,防止未经批准的自动化操作。

plugins/ralph-specum-codex/skills/interview-framework-codex/SKILL.md tzachbon/smart-ralph

Trigger Scenarios

需要执行关键用户决策确认时 触发阶段转换或子任务分发前

Install

npx skills add tzachbon/smart-ralph --skill interview-framework-codex -g -y
More Options

Non-standard path

npx skills add https://github.com/tzachbon/smart-ralph/tree/main/plugins/ralph-specum-codex/skills/interview-framework-codex -g -y

Use without installing

npx skills use tzachbon/smart-ralph@interview-framework-codex

指定 Agent (Claude Code)

npx skills add tzachbon/smart-ralph --skill interview-framework-codex -a claude-code -g -y

安装 repo 全部 skill

npx skills add tzachbon/smart-ralph --all -g -y

预览 repo 内 skill

npx skills add tzachbon/smart-ralph --list

SKILL.md

Frontmatter
{
    "name": "interview-framework-codex",
    "metadata": {
        "surface": "internal"
    },
    "description": "Internal Ralph Specum contract for Codex phase interviews, skill manifests, approval, and delegation gates. Phase coordinators load this skill directly; users do not invoke it as a workflow phase."
}

Codex interview framework

Run every normal-mode start, triage, research, requirements, design, and tasks phase through references/algorithm.md and references/domain-modeling.md.

Completion criterion

Delegate only after all of these conditions hold for one identity tuple:

  • phase, interviewId, discoveryRevision, and contextDigest match in state and in the delegation packet.
  • The selected skill manifest has status complete or partial_warned.
  • The phase interview has status complete or skipped after explicit final approval.
  • phase_gate.py check-delegation succeeds.

Hard-transition invariant

Run the current check-delegation immediately before each affected phase transition or child dispatch. A failed check-delegation in either mode stops this invocation before state transition, child dispatch, or target-artifact write. After a normal-mode failure, the next explicit invocation uses a fresh manifest/interview identity. After an exact --quick delegation failure, the next explicit invocation reruns discovery, records a fresh phaseSkillLoad and interview identity, and does not reuse a terminal bypassed_quick interview or its discovery revision. Only a matching in-progress collecting or awaiting_confirmation interview is resumable. A matching in-progress interview that has not reached a failed delegation boundary remains valid for resume.

Exact --quick preserves discovery, manifest, parent-delegation provenance, check-delegation, receipt recording, and check-agent-write. Quick mode bypasses interview questions only. Exact --quick separately bypasses final approval. It still runs check-delegation immediately before dispatch, uses the same identity tuple, requires a current complete or partial_warned manifest plus an interview receipt with status bypassed_quick and quickAuthorization.source: "--quick", and has no other bypass.

Hard boundaries

  • Ask only critical user decisions that can change phase scope, externally visible behavior, acceptance, architecture, sequencing, or material risk.
  • Inspect code, configuration, state, prior artifacts, and selected skill contracts for facts. Do not ask the user for discoverable facts or setup and administration choices.
  • Ask the whole currently unblocked critical frontier. Split a frontier only when Codex's native user-input tool limit requires another batch. The current limit is three questions per call.
  • Put the recommended option first and state its tradeoff. Offer only viable alternatives.
  • Persist each partial answer before asking the next frontier.
  • Treat control-only replies such as apply the changes, continue, proceed, and go ahead as no answer to an active interview question.
  • Treat bare skip during an active question as an instruction to finish the remaining interview with stated defaults and assumptions. Present the final approval gate before delegation.
  • Delegate in the same turn after the user explicitly chooses approve and delegate.
  • During artifact review, treat apply the changes as a revision request. Delegate the revision and remain at the artifact approval gate.
  • Apply domain-language modeling during the grill. Challenge conflicting or vague terms, use concrete boundary scenarios, and record resolved domain terms without creating an ADR.

Preload boundary

Load selected skill bodies and required current-work references as contracts. During preload, collect constraints, vocabulary, checks, and conflicts. Start no task action prescribed by a loaded domain skill until the phase interview is approved and the delegation gate passes.

If this core skill, its algorithm reference, or its domain-modeling reference cannot be read and hashed, record phaseSkillLoad.status: "core_failed", report the failure, and stop. Record domain-skill load failures in warnings and failures, use partial_warned, and continue. Turn unresolved material conflicts between loaded contracts into first-layer interview decisions.

Version History

  • ac7251a Current 2026-09-08 21:26

    重构快速模式逻辑,增加对硬过渡不变量的支持,明确失败后的身份重置与恢复规则,增强委托前的安全检查机制。

  • 183c1be 2026-09-02 23:24

Same Skill Collection

.agents/skills/Command Development/SKILL.md
.agents/skills/MCP Integration/SKILL.md
.agents/skills/Plugin Settings/SKILL.md
.agents/skills/Plugin Structure/SKILL.md
.agents/skills/Skill Development/SKILL.md
plugins/ralph-speckit/skills/communication-style/SKILL.md
plugins/ralph-speckit/skills/delegation-principle/SKILL.md
plugins/ralph-speckit/skills/smart-ralph/SKILL.md
plugins/ralph-speckit/skills/speckit-workflow/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-cancel/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-design/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-feedback/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-help/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-implement/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-index/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-prototype/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-refactor/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-requirements/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-research/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-start/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-status/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-switch/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-tasks/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum-triage/SKILL.md
plugins/ralph-specum-codex/skills/ralph-specum/SKILL.md
plugins/ralph-specum/skills/communication-style/SKILL.md
plugins/ralph-specum/skills/interview-framework/SKILL.md
plugins/ralph-specum/skills/reality-verification/SKILL.md
plugins/ralph-specum/skills/smart-ralph/SKILL.md
plugins/ralph-specum/skills/spec-workflow/SKILL.md
.agents/skills/Hook Development/SKILL.md

Metadata

Files
0
Version
ac7251a
Hash
4313be70
Indexed
2026-09-02 23:24

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-10 22:11
浙ICP备14020137号-1 $mapa de visitantes$