Skip to content
Back to skills

2 WORKING

ASecurity

- One operator-facing route from readiness and pickup through execution, recovery, landing, and the next eligible item. - Bounded autonomous repair is normal operation; only genuine authority, safety, spending, access, destructive-action, merge, or control-bypass boundaries escalate. - Existing skills retain their commands, locks, limits, evidence, and ownership; flywheel supplies sequencing rather than another implementation.

  • 5 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 25, 2026
businesspythongorailsgitapidocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add HiQS-Labs/XYZ-forge --skill 2-WORKING --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2 WORKING?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2 WORKING
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hiqs-labs-2-working/badge)](https://www.skillsdirectory.com/skills/hiqs-labs-2-working)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
gh_issue: 1376
source: https://github.com/HiQS-Labs/XYZ-forge/issues/1376
title: "Add flywheel skill for adaptive Jog orchestration"
status: Active — PR #1378 published; awaiting merge approval
created: 2026-11-08
updated: 2026-11-08
owner: parent orchestrator
doc_type: feedback
complexity: 2
risk: 1
effort: 2
phases: 1
branch: feat/XYZ-forge-gh1376-flywheel-skill-2026-11-08
ratings_provisional: false
non_goals:
  - No new runner, queue, scheduler, supervisor, executable, test suite, or gate.
  - No new marathon-firing authority, PR merging, deployment, or direct edits to deployed skill copies.
related:
  - skills/2-daily/jog/SKILL.md
  - skills/1-hourly/relay-xyz/SKILL.md
  - https://github.com/HiQS-Labs/XYZ-forge/issues/1328
  - https://github.com/HiQS-Labs/XYZ-forge/issues/1358
goal: >
  Deliver a reviewed flywheel skill that routes real work through existing Jog and companion skills, carries the #1358 operating modes and standing repair ladder, and lands as a documentation-only PR against development.
---

## Key concepts

- One operator-facing route from readiness and pickup through execution, recovery, landing, and the next eligible item.
- Bounded autonomous repair is normal operation; only genuine authority, safety, spending, access, destructive-action, merge, or control-bypass boundaries escalate.
- Existing skills retain their commands, locks, limits, evidence, and ownership; flywheel supplies sequencing rather than another implementation.

> **Note for plan writers:** apply the `/ponytail` lens — favor the laziest approach that actually
> works over new infrastructure, and question whether new surface needs to exist at all.

# Add flywheel skill for adaptive Jog orchestration

## Status

| What was just completed | What's next |
|---|---|
| Compatibility source QA Approved; development b01b621e1 integrated at 404579d6, full normal hook GREEN539s and GitHub mergeable=true. Both skill files unchanged by the base merge; receipts committed. | Inspect exact-head hosted checks and scoped published-checkout retirement; await separate per-PR merge approval. No deployment. |

## Idea

## Objective

Author a new `flywheel` skill from a fresh full clone cut from `origin/development`. It should give an operator one reliable entry point that chains the existing Jog and companion skills, applies the current #1358 rubrics, and keeps authorized work moving through routine failures.

This is an orchestration skill over existing workflows, not a new runner, queue, scheduler, supervisor, or gate.

## Policy to carry

Use the three rubrics and work modes currently defined in #1358:

- Rubric 1A: Formal Unattended Work.
- Rubric 1B: Setup and Repair Work.
- Rubric 2: Discriminating real-world test.
- Rubric 3: Decision value for cost.
- **Autonomous bounded repairs allowed and recorded; human assistance disclosed; no silent cap, permission, safety, or gate changes.**

Carry the standing authorization ladder: recover through a supported path; make the smallest authorized routine repair and verify it; keep independent eligible work moving; escalate only actual authority, safety, spending, access, destructive-action, merge, or control-bypass boundaries. Do not reopen routine authorization separately in each session.

The skill is the operational projection of these rules; link the canonical policy issues rather than copying their history or rehearsing unsupported outcomes.

## Existing skills to chain, subject to final recon

- `start-task` for issue governance, fresh full clones, surgical planning, and double-relay QA when a task needs that lifecycle.
- `jog` for serial pickup, admission, execution, recovery verbs, and receipt-backed landing.
- `relay-xyz` for locating the harness and performing independent plan/final review.
- `start-marathon` only for genuinely marathon-shaped work; preparation does not authorize firing.
- `handsfree` for bounded same-conversation continuation while external work finishes.
- `unstuck` for no-movement, repeated planning, passive waiting, or premature handoffs; re-drive the primary engine after the correction.
- `merge-cleanup` for approved landing/reconciliation and safe checkout retirement within its existing authority.
- `skills-army-hq` only when installation or deployment is explicitly requested; never edit deployed copies directly.

Keep this as a small decision/routing layer. Reuse each owned skill's commands, limits, locks, and evidence contracts rather than duplicating them.

## Acceptance

- [ ] A new `flywheel/SKILL.md` is authored in the appropriate existing skill tier and added to the Skills Index.
- [ ] It contains the current rubric modes and standing repair/authorization rules in a concise operational form.
- [ ] It gives one ordered flow from readiness and pickup through execution, recovery, review, landing, and the next eligible item.
- [ ] It chains the named existing skills by trigger and responsibility, with no parallel queue, supervisor, runner, or write path.
- [ ] It distinguishes setup/repair from formal unattended work without prohibiting bounded autonomous repairs in either mode.
- [ ] It preserves per-PR merge approval and all existing caps, locks, containment, and authority boundaries.
- [ ] Plan QA and final independent Codex QA are recorded under `relay-system/`.
- [ ] The classified documentation gate passes, plus a consumer-entry-point smoke read for the new skill; no new test suite or registry entry.
- [ ] A reviewed PR targets `development`. Deployment is a separate explicit action after the source is ready.

## Non-goals

- No new executable, daemon, queue, scheduler, test suite, or gate machinery.
- No new marathon-firing authority or PR merging.
- No dependency on draft PR #1024; its weekly-intake scope is separate.
- No direct edits to deployed skill collections or app symlinks.

## Rating proposal

PRS `pri/sev/appeal/effort`: **80/45/50/80**. Priority reflects the operator's explicit request and the observed stop-and-go cost in #1356/#1358; severity reflects recurring workflow friction rather than data loss; appeal is neutral 50; effort is high-cheapness because the expected deliverable is a documentation-only routing skill using existing machinery. Recurrence evidence is the concentrated 2026-11-07/08 orchestration and handoff failures in those issues; no broader trend is claimed.

Refs #1328 and #1358. Leaves both open for their existing execution scope.

## Why

The #1356/#1358 sessions showed that the individual tools can produce reviewed PRs while the operator still sees stop-and-go behavior between them. Existing skills already own intake, queueing, execution, review, recovery, landing and continuation. The missing operator-facing piece is one concise route that selects those skills, carries the agreed repair policy, and resumes the primary engine after a correction.

## Recon and current-state map

- **Base:** fresh full clone at `bb4e16871b230696dc82881f196fa313b755d920`, branch `feat/XYZ-forge-gh1376-flywheel-skill-2026-11-08`; canonical GitHub origin and per-clone hook verified. Refresh from `origin/development` before implementation and again before final publication.
- **No existing flywheel skill:** `skills/*/*/SKILL.md` has no flywheel entry. Prior-art recon found flywheel campaigns and policies but no open flywheel-skill PR. This request is therefore a new composition skill, not a duplicate of #1356/#1358 execution.
- **Existing execution owner:** `skills/2-daily/jog/SKILL.md` owns serial pickup, preflight, Marathon-backed execution, `resume` → `retry-gate` → `retry-build`, evidence and landing. Flywheel must not copy its CLI details beyond stable routing references.
- **Existing review owner:** `skills/1-hourly/relay-xyz/SKILL.md` owns harness location, independent review, containment and relay receipts. Flywheel invokes it rather than creating a review path.
- **Existing planning owner:** `start-task` handles governed issue/clone/plan/double-QA delivery; `start-marathon` prepares genuinely marathon-shaped arcs and does not fire them by default.
- **Existing continuation/recovery owners:** `handsfree` supplies bounded same-conversation wakes; `unstuck` interrupts no-movement behavior and re-drives the primary engine. Neither is a deployed scheduler or a replacement for Jog recovery.
- **Existing landing/deployment owners:** `merge-cleanup` owns authorized PR landing, reconciliation and safe retirement; `skills-army-hq` owns source-to-collection deployment only when explicitly requested.
- **Policy source:** #1358 currently defines Rubrics 1A/1B, 2 and 3 and the standing authorization ladder. Flywheel is an operational projection for runs that explicitly select this policy; it does not rewrite other campaigns' policies or #1328.
- **Dependencies:** draft #1024 is weekly intake, conflicted and explicitly not merge-authorized; it is not needed. The external #1316/#1318 landing task is not a flywheel dependency. Fetch their eventual integration updates normally and reread any referenced contract they change.
- **Skill tier:** `2-daily`, matching its role in queueing and driving work and its neighbor `jog`. The required Skills Index row lives in `ARCHITECTURE.md`.
- **Initial authoring observation:** Skills Army HQ status/list could not start because its resolved collection root was unavailable. This did not block source authoring. This task performs no deployment; any separately managed deployment is outside its claims.

## Smallest viable bet

Add one concise `skills/2-daily/flywheel/SKILL.md` and its Skills Index row. The skill selects a work mode, applies the rubrics and standing authorization ladder, then routes to the existing skills in execution order.

**Assumption:** a single explicit composition and continuation contract will reduce repeated planning and premature handoffs without changing runtime code. **Failure mode:** duplicating detailed CLI/policy text would drift or contradict the owned skills. The mitigation is stable links and decision rules, not copied implementation detail.

**Reversibility: Easy.** Revert the Flywheel skill/index, GP/AGENTS pointers and optional 10days coordination/recovery instructions together so no dangling references remain. Retain the independent dirty-worktree preservation correction. No runtime, schema, deployed collection, credential or remote-service change is in scope.

**Alternative considered:** add a flywheel section to `jog`. Rejected because the requested unit spans intake, Jog, Marathon, review, continuation, landing and deployment; Jog cannot own those other skills' contracts. `start-task` likewise cannot own recurring queue execution. A thin top-level skill is the smallest shape that covers the whole route.

## Non-goals

- No new executable, queue, scheduler, supervisor, daemon, test suite, gate, or second state writer.
- No new marathon-firing authority, PR merging, deployment, or expanded permissions.
- No implication that `handsfree` supplies a durable scheduler, or that a skill alone proves unattended reliability.
- No repetition of the full #1356/#1358 run history or detailed command reference already owned by other skills.

## Ordered implementation and verification

1. **Author the skill.** Create `skills/2-daily/flywheel/SKILL.md` with frontmatter, explicit triggers/non-triggers, the two work modes, three rubrics, the exact repair sentence, the four-rung standing authorization ladder, and one ordered operating flow. Route to `start-task` → `jog` (or `start-marathon` only for qualifying arcs) → `relay-xyz` verification → authorized `merge-cleanup` landing → next eligible item, with `handsfree` and `unstuck` as continuation/interrupt routes. -> Expect a consumer read to identify the next owner for readiness, execution, recovery, review, landing and deployment without inventing commands.
2. **Register the source.** Add one `flywheel` row to `ARCHITECTURE.md` → Skills Index → `2-daily`. -> Expect the relative link to resolve and the row to describe routing rather than a new engine.
3. **Smoke the consumer path.** Read the finished skill from `skills/2-daily/flywheel/SKILL.md`, follow each named skill link, and check the exact repair sentence and all four ladder rungs are present and non-empty. Record the read and any corrections under `TESTS-RESULTS/2026-11-08+GH-1376/` with `provenance.jsonl`. This is a manual documentation check, not a new suite or gate.
4. **Run the classified final gate.** Use `utils/ci-route.sh` on the actual changed paths, including the project doc, skill, index and receipts. The expected route is documentation/PDDA; run the resulting existing gate in the required isolated full-clone arrangement and verify repository identity before/after. -> Expect zero deterministic errors. No full runtime suite for a docs-only route and no new tests.
5. **Final independent review and publication.** Run Codex final QA through `relay-xyz` against the committed skill, plan, acceptance map and smoke/gate evidence; adjudicate findings within the existing three-round cap. Push through the installed pre-push hook, open a PR against `development`, verify its base/head/scope/checks, and post the start-task closeout on #1376. -> Expect a reviewed ready PR or a precise remaining blocker. Deployment stays separate.

## Acceptance falsification

The plan fails if the new file is absent, its frontmatter or index link is invalid, any required rubric/ladder segment is empty, a referenced owner cannot be resolved, the flow requires a new queue/runner/scheduler, bounded supervisor/config repairs remain prohibited, merge/deployment authority is silently expanded, or the classified gate/final independent QA does not pass. These are direct content and consumer checks; no decorative new gate is added.

## Plan-review questions

1. Does the proposed skill fill a real gap that `jog` or `start-task` cannot carry without mixing ownership?
2. Does the flow preserve each existing skill's authority, locks, caps, recovery order, merge boundary and evidence contract?
3. Does it carry the current #1358 modes and standing authorization ladder without reintroducing a no-repair freeze or a per-session authorization debate?
4. Is the scope limited to the minimum documentation files and existing manual/classified verification, with no new tests or machinery?
5. Are any required companion skills, non-goals, dependencies, rollback considerations or consumer smoke checks missing?


## Scope addendum — operator-requested GP/AGENTS text

After the hosted-green flywheel delivery, the operator explicitly requested inclusion in the same PR of a short `GUIDING-PRINCIPLES.md` section on adaptive work and continuous handoff, plus an `AGENTS.md` pointer to it. The operational rubrics and ladder remain only in the flywheel skill; no code or full-rubric duplicate is added. The operator will override approval for this text-only extension.


## Compatibility extension — 2026-11-08

Operator requested start-task execution of the 10days gap and explicit Daily support in PR #1378. Reuse GH-1376, its one branch/clone/PR and canonical plan; no second intake for the same routing seam. PR #1351 is intake cutover, not this owner/handoff gap (broad prior-art match rejected after scope inspection).

### Recon map (instruction consumer paths)

- `skills/2-daily/flywheel/SKILL.md` selects Jog or start-marathon, with ready PRs going to landing; it currently names neither Daily nor 10days. Step 3 requires exact-plan confirmation for the start-marathon route.
- `skills/3-weekly/10days/SKILL.md` introduction and Guardrails explicitly authorize one requested sweep to plan/preflight/fire without a second pause. Step 7 owns batch/lane execution and stops wave advancement on a red gate; Step 8 retains the partial result. Re-running its scan/dispatch through Jog would duplicate execution. This skill's driver lock, claims, attempts, workload and gates remain authoritative.
- Daily is installed separately, not authored in this Forge tree. Its `Guardrails & Principles` and Steps 1–6 read prompt/work/Git signals and write local synthesis logs. It explicitly prohibits repository or external-store mutations. This task adds only a portable skill-name reference and no guessed repository link, installed-copy edit or deployment. Its availability and configured data sources are optional; source text was read through installed discovery. Local synthesis is observation, not dispatch authority.
- Existing owner precedence in flywheel permits the more specific requested skill to govern. 10days support must make that precedence explicit at selection AND dispatch; no blanket relaxation of red-gate or safety boundaries. A text-level consumer check can verify routing; it cannot establish a successful unattended batch.

### Bet, limits and rating

Outcome: a requested 10days run keeps one batch owner, can hand off bounded repair and delivery without duplicate execution, while Daily observes without launching work. Smallest viable bet: a short compatibility section in flywheel, a reciprocal 10days handoff section, and a narrow red-gate wording clarification. Alternatives: just adding names would leave contradictory dispatch/stop instructions; a new runner or observer adapter is unnecessary. Easy reversibility: revert these Markdown edits. Blast radius is agent instructions for the selected skills, not runtime code or queue schemas. Existing 80/45/50/80 rating is retained: concentrated November 7–8 handoff evidence in #1358/#1376 supports priority; no new incident or growing trend is inferred. Recent 14-day vs preceding-14-day recurrence is not independently enumerated here; trend remains unknown. No operator override changes.

### Acceptance and ordered work

1. Add Daily as an optional observation-only companion by skill name: it may surface evidence for Flywheel to assess but cannot dispatch, merge, repair or create authority; missing Daily never blocks execution. -> Consumer read distinguishes observing from acting.
2. Add explicit 10days selection and dispatch ownership in Flywheel, preserving its named firing exception only when explicitly invoked and keeping start-marathon's exact-plan confirmation. Add reciprocal 10days handoff guidance, without requiring Flywheel for standalone sweeps. -> Requested 10days does not fall into Jog or a redundant firing approval; standalone behavior stays available.
3. Define bounded recovery: a red wave gate halts advancement; within the recorded budget, repair only the affected work through its owner, verify the correction with the existing failed/relevant checks, preserve attempts/history and recheck readiness before continuation. Safety/ownership/containment failures and unknown causes remain held. Independent work advances only when dependency/lock rules permit; no failed wave is skipped. No automatic restart, count reset, cap/gate change or merge. -> Failed-gate scenario preserves halt and next owner; approved PR scenario goes to landing without rebuild.
4. Record mode, objective, plan/window, clone/revision, claims/lock state, budgets/attempt history, halt/gate evidence and next owner in the existing plan/results for handoffs. Use existing start-task/relay and merge-cleanup only as needed, honoring per-PR approval. -> Cold resume reconciles existing state instead of launching a fresh sweep.
5. Verify nonempty source/link/branch boundaries and manually walk requested sweep, red-gate recovery, ready PR, Daily missing/stale cases. Use existing deterministic PDDA gate in a separate full clone and independent plan/final Codex relay QA, at most three rounds each. No new test, gate, executable, scheduler, deployment, real sweep dispatch, merge or promotion. Record provenance and explicitly limit claims to instruction-level compatibility.

## Extension QA

Plan QA Approved in round 1 at b5d956a25; receipt relay-system/2026-11-08/gh1376-compat-plan.codex.md. Nit implemented: blanket firing non-goals now prohibit new authority while preserving explicitly invoked 10days. Original receipts remain historical. Final extension QA Approved in round 2 at bc04fc63f, receipt relay-system/2026-11-08/gh1376-compat-final.codex.md.

### Final-QA correction

Round 1 found a pre-existing 10days forced-removal fallback on uncommitted/stray lane state. Accepted as a concrete whole-file safety finding: preserve refused/dirty worktrees and report the path/state, using normal native removal only for a proven clean integrated lane. No expanded subsystem or new test. Manual native Git refusal and clean-path evidence is recorded separately.

### CodeRabbit follow-up dispositions

At 06bf5c98, valid narrow findings: explicitly select 10days before generic preparation (step1 now defers selection/clone preparation to that owner); record dirty-worktree preservation and native refusal/clean-removal verification in CHANGELOG; include dependent GP/AGENTS/10days pointers in rollback; remove the machine-specific collection path from the active plan. The old ready-PR and marathon-dispatch findings are already corrected. The missing-independent-review claim based on the takeover note is superseded by gh1376-compat-final.codex.md round2, which swept the corrected full skill at bc04fc63f. These later small comment corrections were directly reviewed and consumer-checked; independent review did not run for this narrow follow-up. Earlier approvals remain scoped to their recorded heads.


### E844 refresh handoff — 2026-11-09

Operator window 05:23:41–07:23:41Z, with closeout reserve from 07:03:41Z: parent owns final independent review, separate-full-clone proof, qualified publication, merge/HQ and subsequent GH-1386 work. Composition started from published development e8440708347018320b0f1d6da3b5880153f0e022 and fetched/verified live PR #1378 head f65d366e656e65e2ba9407b086f7555b78cc2425. Actual merge is open; source skills and all prior receipts/logs are preserved. Original policy hash 375ac61e7589b6a7ae6da78da2a696dd1c95f193a512bd5b25ac3af58b2cf259 remains the authorization reference; no policy reset is authorized.

Ledger conflict resolution retained E844 artifacts, then replayed GH-1376 registration via the existing locked roadmap-add writer with its original GID rmi-01M6Z5N9SJCR63YNJY17N0W0RC, original first-seen timestamp and rating 80/45/50/80. The existing accepted-start writer refused its native issue lookup with GitHub HTTP 403 API rate-limit exceeded. This is a partial merge, not a completed refresh: the replayed row is currently queued and original accepted-start semantics still require resolution. No source feature, tests/gates, remote publication, merge, deployment, cleanup or new dispatch occurred. Parent must resolve that admission blocker before committing; do not treat the queued intermediate row as a lifecycle decision. Historical QA caps/attempts and failed logs remain authoritative: plan QA round1, compatibility final QA round2, at most three rounds; the Python3.9 failure remains recorded. No budget reset or fresh-run claim.


Bounded E844 refresh: accepted-start UPDATE-only succeeded after corequota reset at05:44:26Z; existing row/GID/rating retained, no second roadmapadd. Actual F65 merge preserved, both skill files byte-identical to F65. Current03-policy unchanged. Original403refusal remains in temp/1378-e844-refresh; normal current qualification and final remainingreview round next. Window05:23:41–07:23:41Z, closeout07:03:41.

Normal current refresh push passed408/408 at78dd98ee6561dfcf75181902b040c53f78320fd5, hook544s, independentclone identityunchanged; receipt e844-current-full-result.json. This is currentqualification, distinctfromhistorical547/539s. Evidence-only normalpublication andfreshhostedexactheadverification next.

## Merge evidence

- PR #1378 merged 2026-11-09 — linked issue still OPEN; doc stays active by design (GH-202: promotion requires the issue to be closed).

Files in this skill

  • 2026-09-01-xyz-harness-quickwins/MARATHON.yaml5.5 KB
  • 2026-09-01-xyz-harness-quickwins/README.md3 KB
  • 2026-09-01-xyz-harness-quickwins/phases-briefs/p1-routing-validation.md4.4 KB
  • 2026-09-01-xyz-harness-quickwins/phases-briefs/p2-turn-supervision.md2.8 KB
  • 2026-09-01-xyz-harness-quickwins/phases-briefs/p3-incident-records.md2.7 KB
  • 2026-09-01-xyz-harness-quickwins/phases-briefs/p4-drift-filter.md1.9 KB
  • GH-141-FUZZ-ATE-UTILITY.md12.1 KB
  • GH-193-AGENTCHORUS-GEN2.md2.7 KB
  • GH-201-GEN35-FOLLOWUPS.md1.3 KB
  • GH-259-JOG-SERIAL-QUEUE.md13.3 KB
  • GH-275-WRITE-OPS-LOGGING.md3.8 KB
  • GH-299-GEN4-FUZZING-ATE.md17.2 KB
  • GH-325-CANONICAL-SKILLS-HOME.md2.9 KB
  • GH-355-UPDATED-AT-MIGRATION.md5.8 KB
  • GH-384-AGENTCHORUS-CLOUDFLARE-BRIDGE.md7.6 KB
  • GH-396-HARNESS-ROOT-RESOLVER.md39.8 KB
  • GH-399-PROFILE-CARRIES-THE-ROUTE.md13.3 KB
  • GH-402-BOARD-SYNC.md5.3 KB
  • GH-418-MARATHON-ADOPT-RELEASES-DB.md5.3 KB
  • GH-421-AUTO-WAVE-RECONCILE.md18 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.