-
Notifications
You must be signed in to change notification settings - Fork 1
v0.2.0
Released: 2026-02 Theme: In legacy CSS, override beats audit. Cache is part of runtime.
Auditing a legacy CSS cascade is expensive and often wrong. v0.2.0 formalizes UI Override Mode — scope a fix with a unique class + !important, bump the cache query, ask the user to hard-refresh. One change per round. Domain detection routes UI missions to this flow separately from backend logic.
Legacy codebases accumulate Bootstrap mods, custom CSS, inline styles, version pinning, specificity wars, and dead code that still loads. Reasoning about the cascade to make a "clean" fix consumes many rounds and often fails. When the bug is visible, overriding it is faster, safer, and more auditable than refactoring. This release is that realization, operationalized.
Triggers split the mission into a mode:
- Backend / Logic / Data Mode (default) — API, SQL, algorithm, infrastructure
- UI / CSS / Layout Mode — styling, spacing, alignment, color, font, "เพี้ยน", "ดูดี"
UI mode runs under UI Override Mode rules. Runtime judge is the user's eye.
Rule 1 — refuse vague missions.
If user says "ดูดี / สวย / เหมาะสม / ปรับ / เพี้ยน" without criteria, ask for:
- Screenshot of current state
- Specific target (screenshot / wireframe / CSS values)
Do not guess. Visual target is non-negotiable. (In v0.9.0, Claude Design mockup is added as a third valid target.)
Rule 2 — cache is part of runtime.
Every CSS/JS change:
- Bump version query (
?v=1.0.X) - Tell user: "Clear cache + hard refresh (Cmd+Shift+R / Ctrl+Shift+R)"
- Ask user to confirm via DevTools that the new version loaded
- Only then evaluate the fix
If user still sees old behavior after a change, suspect cache first, not the fix.
Rule 3 — override with scoped class + !important.
.kasidit-fix-<mission-id> <selector> {
property: value !important;
}- Unique wrapper class prefixed
kasidit-fix- -
!importantwithout guilt — documented exception - Do not refactor legacy CSS unless user asks
Rule 4 — one change per round.
- One property
- One selector
- Bump version
- Wait for screenshot
Multiple simultaneous changes make it impossible to tell what worked.
Rule 5 — UI counter is tighter.
- Round 2 fail: stop guessing. Ask user to paste DevTools "Computed" panel.
- Round 3 (Haiku) / Round 4 (Opus) fail: hand back to user.
Rule 6 — source-of-truth pattern copy.
When one element looks right and another does not, copy the exact CSS pattern from the good one. Do not invent new values.
When visible is known and the cascade is unclear, override > audit. Fewer rounds, cleaner diff, easier rollback. This is the strategic frame the rules enforce.
Runtime for backend missions remains deterministic (curl / HTTP / DB query / stdout). UI Override Mode applies only when Domain = UI.
- Added: Domain detection
- Added: UI Override Mode (Rules 1–6)
- Added: Cache protocol
- Added: Override-first strategy
None for backend. UI missions now require a visual target before any CSS work; vague asks refuse to proceed.
No action. On the next UI mission, the agent requests a target if the mission is vague.
- UI Override Mode
- v0.1.0 — prior release
- v0.2.1 — next release
Repo • Discussions • Issues • Changelog • Security • Contributing • MIT • © Kasidit Wansudon
Kasidit
Core
- Commands
- Kasi-Mode 🔥 v0.10
- Backend-Hooks 🔥 v0.10
- Model Tiers
- Gravity Pattern
- Multi-Agent-Orchestration
- Claude Design Integration
- UI Override Mode
- FAQ
Version History
- Version History — overview
- v0.13.0 — thClaws (Consolidated) 🦞
- v0.12.0 — thClaws Runtime Support 🦞
- v0.11.0 — Backend + Bridge + Runbook 🚀
- v0.10.0 — Mode + Backend Hooks
- v0.9.2 — Gravity
- v0.9.1 — Master Orchestrator
- v0.9.0 — Claude Design
- v0.8.0 — Tier Cascade
- v0.7.4 — SWE-bench
- v0.3.0 — Tier adaptation
- v0.2.1 — Docs protocol
- v0.2.0 — UI Override
- v0.1.0 — Core
Concepts
Commands
- Kasi-Init
- Kasi-Review
- Kasi-Security
- Kasi-Fix
- Kasi-Ui
- Kasi-Cascade
- Kasi-Multi
- Kasi-Scaffold
- Kasi-Docs
- Kasi-Status
- Kasi-Promote
- Kasi-Pull
- Kasi-Sync
- Kasi-Search
- Kasi-Wiki-Sync
Agents
- Agent-Architect-Planner
- Agent-Audit-Specialist 🔥 v0.10
- Agent-Bug-Hunter
- Agent-Deep-Researcher
- Agent-Legacy-Specialist
- Agent-Migration-Specialist
- Agent-Refactor-Surgeon
- Agent-Test-Writer
Deprecated v0.10 (stubs → audit-specialist --focus=..., removed in v0.11)
-
Agent-Code-Reviewer →
--focus=quality -
Agent-Security-Auditor →
--focus=security -
Agent-Perf-Profiler →
--focus=perf