Skip to content

Concepts · VISION

onedot-devkit — Vision and User Flows ​

Target experience and supported workflows: maintainers use them for scope; developers follow the routes without memorizing them.

Goal ​

Deliver current coding best practice without a command to learn: install → sync → devkit init → /index, then work normally. Measure loops, elapsed time, tokens and errors at equal quality; routing, quality and security arrive by default.

The 6 Pillars ​

#PillarMeaning
1AutopilotBenefits work without knowing every skill, rule, or hook.
2SecuritySecrets, sandbox boundaries, destructive actions, and push gates are safe by default.
3Quality by defaultReuse, verification, tests, and review are part of the routed workflow.
4Self-skepticismLoad-bearing decisions receive an independent counter-check.
5Token efficiencyDeterministic tools and scoped context do work that does not need an LLM.
6Stack fitThe setup serves Laravel, Nuxt, Shopify Liquid, Shopware/Twig, and Python. A stack is added when representative work needs its conventions and verification; a stack leaves when no maintained flow uses it.

User Flows ​

Each flow ends in executable evidence.

FlowWhen and route
0 — OnboardingInstall → devkit sync → devkit init → /index. Evidence: generated .agents/context/ and green drift check; later sessions check updates automatically.
1 — Reversible daily workIf rollback is free and deterministic verification exists: describe the outcome → work inline → targeted /test → /review → /commit. Deliberately no spec overhead; file count affects effort, not routing.
2 — Planned workFor a requested plan, larger handoff or open user decision: /spec → /spec-work → /commit → pull request. The plan carries exact files, assertions and small tasks. Execution verifies every task; deferred review risk requires independent review, with one fix/delta round.
3 — InitiativeFor work spanning several slices: /grill-me → optionally /wayfinder for decisions spanning sessions → define the next smallest slice with /spec → /spec-work → only then plan the next slice. Use /delegate for an independent view on a load-bearing provider or slice decision. /wave schedules approved specs behind preflight, cost, and acceptance gates; it does not choose the slice.
4 — Knowledge and contextGotcha, convention, or decision → /capture → .agents/context/. Past questions use memory recall. Check drift with devkit context-drift-check. Evidence: the updated context file plus a green drift check.
5 — MaintenanceSessionStart activates verified updates and fetches the next. devkit sync updates now; devkit doctor diagnoses; devkit rollback restores a version. Evidence: green doctor or verified rollback.

Product Decision Principles ​

A capability must support a flow and pillar without regressing autopilot or token efficiency. Measure that against a baseline. Observable safety and quality duties become executable checks.

PrincipleDecision rule
Standards firstPrefer native runtime behavior. Add only routing, shared policy, or verification the host lacks instead of hiding a built-in behind another layer.
Reference firstTreat external projects as candidates. Compare and test promising approaches on representative work; familiarity is not evidence.
Results decideMeasure fewer loops, less elapsed time, fewer tokens and errors, and better output. Package size alone is not a verdict: a larger dependency may help, while a tiny always-on rule may cost more than it returns. Name baseline, instrument and threshold before adoption.

Adoption and Ownership ​

Adopt a maintained capability when it performs better; building a substitute is the exception. Assess behavior collisions as migration costs.

  • Evidence: Treat README claims and upstream benchmarks as hypotheses. Trial real payloads and representative tasks; evaluate library, proxy, service, or other surfaces separately.
  • Reversibility: Pin versions, inspect install effects, capture mutable configuration and verify rollback. Name missing measurements.
  • Simplification: Name what leaves. An overlapping route is accretion; if nothing leaves, keep that cost visible.

Three ownership forms fit:

  1. A version-pinned external tool with explicit upgrade review.
  2. External ideas adapted into owned text and behavior, with attribution.
  3. A verbatim snapshot pinned to an upstream commit and treated as reference data until adapted.

Foreign instructions need version boundaries and local ownership. They remain untrusted until reviewed, pinned and adapted.

Representative evidence can overturn policy: adopt a pinned external canon if it gives better quality at lower lifecycle cost.

Architecture Boundary ​

Updater, signatures, atomic activation, collision protection and rollback form one supply-chain contract. Replacements need equivalent ownership and verification.

Rules, skills, and agents can be adopted more selectively because each is measured against a flow and token budget. One source payload serves all runtimes; adapters cannot become separate policy canons.

Replace repeated prose duties with deterministic mechanics wherever behavior is observable. This advances autopilot, quality, and token efficiency while prose retains intent and tradeoffs.

Self-Skepticism in the Product ​

  • /spec checks coverage, interfaces and boundary tests before approval and requests an independent second opinion.
  • /spec-work binds independent review evidence to the scoped change it reviewed.
  • Quality and debugging rules require a counter-hypothesis and stop condition for load-bearing investigations.
  • /delegate provides a cross-model second opinion when an independent model is useful.

Internal docs — onedot-devkit · devkit

devkitdevkit syncdevkit statusdevkit doctordevkit helpInternal docs · ONEDOT digital crew