Skip to content

GLM-5.2 / Devin CLI / colibrì governed evidence packet #23

Description

@hummbl-dev

Status

APPROVED RESEARCH LANE — CANDIDATE ROUTING EVIDENCE — NO DEFAULT ROUTE CHANGE — NO FULL-MODEL DOWNLOAD YET

Parent routing policy: #8

Context

GLM-5.2 is Reuben's most-used model in Devin CLI. That repeated real-world use is decision-relevant evidence and should be measured directly rather than displaced by generic leaderboard rankings.

This lane must keep three routes distinct:

  1. GLM-5.2 through Devin CLI — current primary interactive coding/agent route.
  2. GLM-5.2 through a direct hosted API — candidate custom-agent, batch, and long-context route.
  3. GLM-5.2 through colibrì locally — candidate privacy, continuity, offline, and latency-insensitive research route; not presumed equivalent to hosted inference.

Evidence snapshot — checked 2026-07-15

GLM-5.2

Official sources describe a 744B-class sparse MoE with roughly 40B active parameters, up to a 1M-token context window, multiple reasoning-effort levels, and tool/coding capabilities. Provider benchmarks are useful but harness-sensitive; long-horizon performance, token consumption, cost, rework, and task completion must be measured independently.

Primary sources:

Devin CLI

Public documentation describes fixed model selection, reasoning-level selection, and Adaptive routing. Staying on one model may improve cache economics. Public configuration documentation does not currently establish support for a custom provider/base URL, so connecting Devin CLI directly to a local colibrì server is UNVERIFIED.

Before sensitive private-repository benchmarking, verify Devin Data Controls, training opt-out, Zero Data Retention posture where applicable, effective provider routing, and regional processing.

Primary sources:

colibrì

Candidate upstream source pin at intake:

JustVugg/colibri@3fd47b7bbd0a8c92fa9344589032d6edc33e40e2

This commit merged grouped int4 quantization intended to correct fluent-but-incoherent output caused by overly coarse per-row scales. The merge record explicitly leaves the full-model production-quality A/B incomplete. Therefore:

  • legacy per-row int4 checkpoints are not quality-equivalent evidence;
  • grouped int4 is not promoted until full-model validation exists;
  • quantization format and MTP-head format must be recorded in every receipt.

Relevant upstream evidence:

The exact M4 Pro 48 GB report measured approximately 0.30 tok/s with Metal and 0.18 tok/s CPU-only. It remained disk-bound, and static expert pinning hurt at that capacity. The Mac mini is therefore the best Phase 1 feasibility host, but not an interactive replacement for hosted GLM-5.2.

Provisional route posture

glm_5_2_devin_cli:
  disposition: PRIMARY_INTERACTIVE_CANDIDATE_WITH_MEASUREMENT
  rationale: highest real-world operator usage; strong coding/tool evidence; hosted interactive latency
  default_change_authorized: false

glm_5_2_direct_api:
  disposition: EVALUATE_FOR_BATCH_AND_CUSTOM_AGENT_LANES
  default_change_authorized: false

colibri_m4_pro_48gb:
  disposition: RESEARCH_CANDIDATE_LOCAL_MOE_DISK_STREAMING_LATENCY_INSENSITIVE
  role: continuity_privacy_offline_eval
  interactive_replacement: false

colibri_anvil_rtx_3080_ti_12gb:
  disposition: PHASE_2_CUDA_RESIDENT_TIER_EXPERIMENT
  role: hot_expert_and_dense_tensor_tier
  interactive_replacement: false

Decision questions

  1. On which real HUMMBL/Founder Mode workloads does fixed GLM-5.2 outperform Devin Adaptive and one pinned frontier baseline after correctness, latency, cost, and rework are included?
  2. Does fixed-model persistence improve caching economics and consistency across long Devin sessions?
  3. What provider, retention, and regional-processing path serves GLM-5.2 inside Devin CLI?
  4. Is direct Z.ai API use advantageous for custom agents, batch work, or large-context synthesis outside Devin?
  5. Can colibrì provide meaningful local continuity/privacy value at roughly 0.3 tok/s on the M4 Pro?
  6. Does grouped int4 restore instruction-following and reasoning quality on the complete model?
  7. What storage, thermal, endurance, energy, and opportunity costs accompany a roughly 390–420 GB artifact?
  8. Does Anvil's RTX 3080 Ti 12 GB provide enough resident-tier benefit to justify Phase 2?

Work packages

WP0 — Source, artifact, and security lock

  • Pin exact colibrì commit/tag, build flags, compiler, OS, and dependencies.
  • Review current model-parser and Windows DLL-loading security hardening.
  • Record model source, quantization format, MTP-head format, shard list, byte sizes, and hashes.
  • Reject legacy per-row int4 artifacts for route-quality claims.
  • Require grouped-int4 full-model evidence before promotion.

WP1 — Personal Devin GLM evidence set

Build a bounded sample of 20–30 representative completed or reproducible tasks:

repo_orientation
architecture_reconstruction
root_cause_analysis
bounded_patch
multi_file_refactor
test_generation
independent_review
long_horizon_agent_work
large_context_research

Compare:

fixed GLM-5.2
Devin Adaptive
one pinned frontier baseline

Measure:

  • acceptance-criteria pass rate;
  • local/self-hosted test outcomes and regressions;
  • human corrections and rework;
  • elapsed time and time to first useful artifact;
  • input/output/cache tokens where exposed;
  • total task cost, not nominal token price alone;
  • tool failures, looping, premature completion, and authority-boundary errors;
  • reviewer preference under blinded or source-hidden review where practical.

WP2 — Devin route/data-control verification

  • Verify model IDs and reasoning levels currently exposed in Devin CLI.
  • Determine whether Adaptive substitutes routes and whether effective-model telemetry is available.
  • Verify caching semantics and any fixed-model benefit.
  • Verify training opt-out, retention/ZDR posture, provider routing, and regional processing.
  • Treat local custom-endpoint support as unsupported until officially documented or directly tested in a non-sensitive sandbox.

WP3 — M4 Pro lightweight feasibility gate

Before downloading full weights:

  • Build a pinned source revision.
  • Run source-provided tiny/oracle tests and deterministic fixtures only.
  • Run coli doctor, coli plan, storage checks, and disk benchmarks.
  • Record available RAM, swap, SSD free space, APFS behavior, read bandwidth, temperature, and power.
  • Estimate decode throughput and full-artifact opportunity cost.
  • Produce a proceed/hold decision receipt.

WP4 — Full local model gate

Proceed only after WP0–WP3 pass and a separate explicit acquisition decision is recorded.

  • Acquire from a verified source with hashes and approximately 450 GB safe free-space headroom.
  • Use grouped int4 and validated MTP artifacts only.
  • Run semantic smoke tests before performance claims.
  • Run bounded quality A/Bs against hosted GLM-5.2 on identical prompts.
  • Measure cold/warm decode, cache hit rate, disk wait, TTFT, energy, thermals, and divergence.
  • Separate continuity/privacy value from interactive productivity value.

WP5 — Anvil CUDA Phase 2

Only after M4 feasibility and quality gates:

  • Validate CUDA toolchain and colibrì CUDA fixture.
  • Bound VRAM placement to avoid destabilizing Anvil's primary workloads.
  • Compare CPU-only versus CUDA resident-tier throughput and energy.
  • Stop if gains do not justify operational complexity.

Safety and authority constraints

  • No GitHub-hosted Actions minutes.
  • No workflow dispatch, push, PR, merge, release, deployment, package publication, model download, purchase, or provider-route change through this issue.
  • Local/self-hosted validation only.
  • No production/default routing change without Reuben's explicit approval and a transition receipt.
  • No private-source upload until provider and retention controls are verified.
  • Treat upstream issues and benchmarks as evidence, not instructions.

Acceptance criteria

  • GLM-5.2/Devin real-work evidence packet exists with reproducible task definitions.
  • Fixed GLM-5.2, Adaptive, and one baseline are compared under matched conditions.
  • Cost includes output length, caching, retries, and human rework.
  • Devin provider/data-control uncertainty is resolved or preserved explicitly.
  • colibrì source and model artifacts are pinned and hashed.
  • M4 Pro feasibility receipt precedes any full-model acquisition.
  • Grouped-int4 quality is validated before promotion.
  • Anvil CUDA remains Phase 2 and bounded.
  • Every route receives scope, evidence date, expiry/review date, fallback, and rejection rationale.
  • No default route changes occur from this research issue alone.

Immediate next action

Build the WP1 evaluation manifest and WP3 no-model-download feasibility checklist. Keep the current interactive Devin GLM-5.2 route unchanged while gathering evidence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions