vivi-esl-hop
ESL lifecycle hop — when the cortex routes a non-trivial change to Vivi in an ESL-enabled project (tonberry MCP available), Vivi owns the in_progress (implement) hop as the MAKER: declare has_code, run the loop-native A→P→I→V→Δ/R cycle in an isolated worktree, hand off to the CHECKER (never self-verify). Absent tonberry → implement normally (ESL opt-in).
- License 许可
- MIT
- 所属仓库
- Rynaro/prisma
- 最近更新
- 2026-10-18
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- vivi-esl-hop
- metadata
- { "phase": "I-Implement", "methodology": "Vivi" }
- description
- ESL lifecycle hop — when the cortex routes a non-trivial change to Vivi in an ESL-enabled project (tonberry MCP available), Vivi owns the in_progress (implement) hop as the MAKER: declare has_code, run the loop-native A→P→I→V→Δ/R cycle in an isolated worktree, hand off to the CHECKER (never self-verify). Absent tonberry → implement normally (ESL opt-in).
03 SKILL.md 正文
Vivi — ESL Lifecycle Hop
Use this skill in an ESL-enabled project (mcp__tonberry__* tools available)
when the cortex routes a non-trivial change to you. You own the implement
hop of the Eidolons Spec Lifecycle (ESL): you are the MAKER at the
in_progress stage (change.json.maker == vivi).
For the full lifecycle, stage definitions, and role bindings, see the nexus
cortex methodology/cortex/esl-protocol.md.
Your hop
- transition — call
mcp__tonberry__transition --change_id <id> --to_status in_progress --has_code true. Declarehas_code(it persists by default in tonberry v0.4.0). This advances the change fromspecify(SPECTRA's hop) into your implement window. - implement — run your normal loop-native A → P → I → V → Δ/R cycle in
an isolated worktree against the spec in the change folder. The change's
acceptance_checksare your test anchors (anti-overfit; derived from the spec, never from a candidate impl). Driveeidolons sandbox loopas the--fix-hook,--protect-ing the anchors, pass^k before accepting — seeskills/loop-native/SKILL.md. - hand off to the CHECKER — on green, hand off to Kupo (at
verified) on success, or VIGIL on failure. Emit your normal ECL envelope (vivi-completion-report→ success path;repair-failed-report→ escalation path; seeskills/methodology/SKILL.md"ECL emission"). You do NOT advance the change toverifiedyourself.
Invariants
- maker(vivi) ≠ checker(kupo/vigil) — you NEVER self-verify. This is mechanically enforced by tonberry's C4 constraint; the checker is a distinct role. Your job ends at green + handoff.
- Tonberry composes the change record; you provide the implementation +
signals. You set
has_codeand produce the candidate diff; tonberry writes thechange.jsonstatus transitions. - diff-not-apply, boundary-respect, anti-reward-hacking — your standard P0 invariants hold unchanged inside the hop (no out-of-scope edits, never edit the anchoring tests, the human applies the diff).
- Graceful skip — if
mcp__tonberry__*tools are unavailable, implement normally via your standard cycle and never hard-fail. ESL is opt-in; Vivi is EIIS-standalone-conformant and works without tonberry.
Vivi — ESL Lifecycle Hop (the MAKER at in_progress; maker ≠ checker)
04 同仓库更多 Skills
vivi-verify-incoming
Load when reading any upstream artefact handed off to Vivi that carries a sibling .envelope.json. BLOCKING per ECL §6.2.2: the orchestrator MUST have verified the envelope's SHA-256 (eidolons verify-envelope --block / eidolons run --verify) and recorded a verify_pass before dispatch. If no verify_pass exists for the message_id, or a verify_fail is present, REFUSE to process the payload and hand back to the orchestrator. Symmetric receiver gate — every Eidolon enforces it identically.
vivi-parallel-tracks
Load ONLY under TRANCE authorization when the Plan phase yields N independent, non-overlapping implementation tracks (disjoint file sets). Operationalizes the TRANCE G4 form — parallel multi-track implementation in mandatory git-worktree isolation, max 5 clean-context tracks, a per-track verifier cascade, a non-fungible per-track ≤3 reflection budget, explicit stop conditions, and a single-threaded merge/aggregation step. Absent TRANCE gating, Vivi runs exactly as today: single-track A→P→I→V→Δ/R.
vivi-methodology
Full Vivi cycle reference — A(nalyze) → P(lan) → I(mplement) → V(erify) → Δ(Delta)/R(eflect). Use when the task is a non-trivial feature implementation in a brownfield codebase and you need the complete methodology reference: complexity routing, evidence-grounded planning rules, test-anchoring requirements, and failure-escalation thresholds.
vivi-memory-management
Load at Vivi session start, session end, or when you notice a repeating pattern across tasks. CRYSTALIUM-primary memory protocol: when mcp__crystalium__* tools are available, route ALL memory through CRYSTALIUM (recall/commit/ingest/plan_checkpoint/session_end). The local agents/memories/*.md files are the standalone fallback for when CRYSTALIUM is absent — EIIS conformance. Never write both.
vivi-loop-native
Load in Vivi's V (Verify) phase. The core capability that distinguishes Vivi from its predecessor APIVR-Δ: drive the closed, autonomous, bounded edit-run-test loop (`eidolons sandbox loop`) as its `--fix-hook`, consuming localized feedback, retrying in fresh context, refusing to game the tests, and gating on pass^k. Use whenever the task has an executable test oracle and a loop-competent host.
vivi-failure-recovery
Load when the Vivi Verify phase produces failures — test fails, lint error, build break, or three consecutive unsuccessful attempts at the same category. Provides the failure classification taxonomy, bounded debugging protocol, and escalation thresholds. Use to avoid the 'random retries' anti-pattern.