01 What Kloker Does

What Kloker Does

Kloker is the AI-assisted integration agent in the Klok ecosystem. It helps users analyze context, plan changes, ask clarifying questions, and build the small parts of a change as merge requests.

Kloker is not a replacement for ownership, review, or access control. It works inside the same tenant, domain, and role boundaries as users.

Typical Kloker Tasks

  • Analyze a plain-language solution description.
  • Search existing systems, data models, solutions, projects, docs, and context.
  • Identify reusable route legs or topics.
  • Suggest missing information models.
  • Draft HLD, DDD, or implementation steps.
  • Generate or refine route code suggestions.
  • Create clarifying questions.
  • Plan a change request: the solution document in its new state and a plan of issues.
  • Split an implementation issue into beads, and implement a bead as a merge request.
  • Repair a failing pipeline or a merge conflict on its own and klok.dev's merge requests.
  • Analyze a failed or hung transaction from its logs.

What Kloker Should Not Do Alone

Kloker should not independently publish production changes, create cross-tenant access, store secrets, bypass Git review, or accept its own generated code as correct.

Kloker must also not reason from a stale copy of a repository. Fresh main is fetched before analysis or change, and a project created or changed manually outside klok.dev is treated as just as valid as one created through the GUI. See Git Is The Truth: Everything Must Be Possible By Hand.

Human-In-The-Loop Principle

AI can accelerate analysis and drafting. Humans remain responsible for business semantics, security, operational risk, production approval, and final code review.