Pui maintain

From Proto-UI/Proto-UI · View interactive version

Pui maintain is an AI agent skill from the GitHub repository Proto-UI/Proto-UI. Route one eligible transition in Proto UI's governed autonomous-maintenance protocol. Use for maintenance missions, drift discovery, finding verification, accepted remediation, independent maintenance review, run-ledger closure, or residual-risk planning. Do not use for ordinary user-directed develo

How to use this skill

Skill file

Proto UI maintenance

Route one stage while preserving independent evidence and keeping governed maintenance moving automatically.

Read internal/agent-operations/skills.yaml as routing metadata. Do not preload maintenance leaves or guess their paths. Select one leaf ID, run pnpm agent:skill -- <leaf-id> --mode autonomous --mode-source <maintainer-invocation|schedule|governed-queue>, and load the returned loadPath only when blocked is false. Validate its handoff with pnpm agent:skill -- --handoff <handoff.json> before loading at most one next leaf.

Read current state

  1. Establish executionMode: autonomous. Resolve pui-orient first and retain its current envelope. Resolve pui-assess and then pui-orient again when the local self-result is absent, expired, or snapshot-mismatched.
  2. Read AGENTS.md, internal/autonomous-maintenance/README.md, and internal/autonomous-maintenance/phase-0/README.md completely.
  3. Inspect the run ledger, relevant mission and packets, baseline, and worktree state.
  4. Determine the next eligible transition from recorded state, the fresh self-assessed task and review ceiling, the mission boundary, and standing or explicit maintainer authorization.
  5. Treat spec/** as project authority and internal/autonomous-maintenance/** as procedure.

Before any transition, enforce the local autonomous ceiling and re-read the mission lease, current worktree, task state, and authorization. Before an external write, also re-read the target and live platform permission. Refresh stale evidence, reconcile changed state, or return a bounded no-action result; only the two attended decision classes pause the governed chain. A self-assessment never grants permission.

Route exactly one transition

Never let an Observer verify its own finding or an implementer issue the independent review verdict. Independence is an automated evidence boundary, not a requirement for a maintainer click.

Report

Apply internal/agent-operations/visual-evidence.md when the authorized maintenance scope includes Issue/PR evidence. Agents own reproduction, uploaded visuals, sanitized request paraphrases, and evidence debt. Humans may submit plain descriptions. This soft gate neither authorizes external writes nor changes maintenance independence or closure gates; use internal/agent-operations/github-evidence-upload.md for upload mechanisms.

Return the transition performed, resulting state, artifacts, evidence, uncertainty, residual risks, next eligible transition, and any exact human decision required.

Communicate with the user in the user's current language. Keep repository identifiers and artifacts in their governed language.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.