<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kishorekumar on Medium]]></title>
        <description><![CDATA[Stories by Kishorekumar on Medium]]></description>
        <link>https://medium.com/@indykish?source=rss-c3466543ba13------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*uAJyUt3nLlX4WWSu.jpg</url>
            <title>Stories by Kishorekumar on Medium</title>
            <link>https://medium.com/@indykish?source=rss-c3466543ba13------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 19:56:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@indykish/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Adios Medium, follow us https://x.com/indykish]]></title>
            <link>https://medium.com/@indykish/adios-medium-follow-us-https-x-com-indykish-08a2eca63a91?source=rss-c3466543ba13------2</link>
            <guid isPermaLink="false">https://medium.com/p/08a2eca63a91</guid>
            <dc:creator><![CDATA[Kishorekumar]]></dc:creator>
            <pubDate>Fri, 13 Feb 2026 03:38:06 GMT</pubDate>
            <atom:updated>2026-02-13T03:38:06.677Z</atom:updated>
            <content:encoded><![CDATA[<p>Follow us on <a href="https://x.com/indykish">https://x.com/indykish</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=08a2eca63a91" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Moving away from Agile — ADLC — For years, Amazon’s Two-Pizza Team symbolized how modern software…]]></title>
            <link>https://medium.com/@indykish/for-years-amazons-two-pizza-team-symbolized-how-modern-software-should-be-built-small-ccdbb08c25bb?source=rss-c3466543ba13------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccdbb08c25bb</guid>
            <category><![CDATA[product-lifecycle]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[cursor]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[claude]]></category>
            <dc:creator><![CDATA[Kishorekumar]]></dc:creator>
            <pubDate>Mon, 05 Jan 2026 06:23:27 GMT</pubDate>
            <atom:updated>2026-01-06T02:45:39.583Z</atom:updated>
            <content:encoded><![CDATA[<h3>Moving away from Agile — ADLC — For years, Amazon’s <em>Two-Pizza Team</em> symbolized how modern software should be built: small, autonomous teams, fast feedback loops, and clear ownership.</h3><p>That model is breaking.</p><p>Not because small teams failed — but because <strong>software itself has changed</strong>.</p><p>We are entering an <strong>AI-Native era</strong>, where systems don’t just execute code; they <strong>reason, plan, act, and adapt</strong>. In this world, teams are no longer just groups of humans writing code. They are <strong>humans + agents</strong>, operating across a new lifecycle.</p><p>This post brings together:</p><ul><li>Insights from an Amazon-inspired talk on AI-native teams</li><li>IBM’s <strong>Agent Development Lifecycle (ADLC)</strong> and <strong>Model Context Protocol (MCP)</strong> architecture</li><li>Real-world lessons from shipping agentic systems</li></ul><p>The conclusion is clear:<br>👉 <strong>The Two-Pizza Team is evolving into an Agent-Augmented Product Cell.</strong></p><h3>From PRDs to Specs to Executable Intent</h3><p>In the Amazon talk (linked below), one idea stands out:</p><blockquote>Product Managers will no longer write PRDs. They will write executable specs — consumed by coding agents.</blockquote><p>The emerging team structure looks like this:</p><p>Role Responsibility <strong>Product Manager </strong>Defines <em>intent, constraints, outcomes</em> — not UI flows.</p><p><strong>Lead Builder </strong>Owns architecture, system boundaries, and agent design. <strong>Senior Builders </strong>Translate intent into specs, tests, guardrails<br><strong>Junior Builders (Human + AI) </strong>Generate code, tests, migrations, docs</p><p>Coding agents now:</p><ul><li>Scaffold services</li><li>Generate tests</li><li>Implement APIs</li><li>Refactor aggressively</li></ul><p>Humans focus on <strong>correctness, security, system shape, and judgment</strong>.</p><p>This shift <strong>demands a new lifecycle</strong>. Traditional SDLC or DevSecOps is not enough.</p><h3>Enter ADLC: Agent Development Lifecycle</h3><p>IBM formalizes this shift with <strong>ADLC — Agent Development Lifecycle</strong>.</p><p>ADLC acknowledges a hard truth:</p><blockquote><em>AI agents are </em><strong><em>non-deterministic systems</em></strong><em> that must be governed continuously — not “shipped and forgotten”.</em></blockquote><p>IBM’s ADLC consists of <strong>six phases</strong>, with two continuous feedback loops.</p><h3>The ADLC Phases (IBM)</h3><h3>1. Plan</h3><ul><li>Define agent goals, behaviors, and constraints</li><li>Specify <em>what tools the agent may use</em></li><li>Decide data boundaries and security posture</li><li>Treat prompts, tools, and policies as first-class artifacts</li></ul><blockquote><em>This is where “PRDs” die and </em><strong><em>Specs are born</em></strong><em>.</em></blockquote><h3>2. Build</h3><ul><li>Implement tools as <strong>MCP servers</strong> (typed, auditable)</li><li>Define agent instructions, personas, fallback logic</li><li>Package agents as reproducible artifacts (containers, configs)</li></ul><p>Agents are <em>assembled</em>, not hand-coded.</p><h3>3. Test &amp; Release</h3><ul><li>Regression tests for reasoning, not just outputs</li><li>Hallucination &amp; abuse testing</li><li>Champion / Challenger evaluations</li><li>Human-in-the-loop gates</li></ul><p>This phase replaces “QA” with <strong>behavioral validation</strong>.</p><h3>4. Deploy</h3><ul><li>Agents run behind an <strong>MCP Gateway</strong></li><li>Centralized:</li><li>AuthN / AuthZ</li><li>Policy-as-code</li><li>Rate limits &amp; kill-switches</li><li>Least-privilege access to tools</li><li>Sandboxed execution (gVisor / Firecracker / seccomp)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zqjn0kokXMSbKnTv.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cNMnEjwxhihNX0NG.png" /></figure><h3>5. Monitor</h3><p>Traditional metrics are insufficient.</p><p>You now monitor:</p><ul><li>Token cost per workflow</li><li>Tool invocation patterns</li><li>Drift in agent behavior</li><li>Safety signals</li><li>Reasoning traces</li></ul><p><strong>Observability becomes a governance primitive.</strong></p><h3>6. Operate</h3><ul><li>Re-certify agents as environments change</li><li>Rotate credentials and permissions</li><li>Retire agents safely</li><li>Maintain <strong>agent catalogs</strong> with ownership &amp; evidence<br>This is where enterprises prevent <em>Shadow AI</em>.</li></ul><h3>Why MCP Matters</h3><p>IBM’s architecture leans heavily on <strong>Model Context Protocol (MCP)</strong>.</p><p>MCP turns tools into:</p><ul><li>Typed interfaces</li><li>Auditable contracts</li><li>Policy-enforceable endpoints</li></ul><p>Instead of agents calling random APIs, they operate inside a <strong>controlled capability graph</strong>.</p><p>This is how enterprises avoid:</p><ul><li>Prompt-based data exfiltration</li><li>Privilege escalation</li><li>Tool misuse amplification</li></ul><h3>Security Is Not Optional</h3><p>IBM identifies four primary risks in enterprise AI agents:</p><ol><li><strong>Privilege Escalation</strong></li><li><strong>Data Leakage</strong></li><li><strong>Attack Amplification</strong></li><li><strong>Behavioral Drift</strong></li></ol><p>ADLC addresses these via:</p><ul><li>Identity-aware agents</li><li>Just-in-time permissions</li><li>Sandboxed execution</li><li>Continuous evaluation</li></ul><p>Security shifts <strong>left and right</strong> — into planning <em>and</em> runtime.</p><h3>What This Means for Teams</h3><p>The implication is profound:</p><blockquote><em>Teams are no longer sized by pizzas.<br>They are sized by </em><strong><em>decision bandwidth</em></strong><em>.</em></blockquote><p>A small group of senior builders, armed with agents, can:</p><ul><li>Replace entire layers of manual delivery</li><li>Ship faster <em>without sacrificing safety</em></li><li>Continuously evolve systems post-deployment</li></ul><p>The bottleneck is no longer coding.<br>It is <strong>judgment, architecture, and intent clarity</strong>.</p><h3>AI-Native Is Not About Speed — It’s About Shape</h3><p>AI-native development is not:</p><ul><li>“Vibe coding”</li><li>“Let the LLM handle it”</li><li>“Fewer engineers”</li></ul><p>It <em>is</em>:</p><ul><li>Spec-driven development</li><li>Lifecycle-aware governance</li><li>Agents as production systems</li><li>Humans as system designers</li></ul><blockquote>The Two-Pizza Team isn’t dead.</blockquote><blockquote>It has <strong>mutated</strong>.<br>Agents are great at producing plans.<br>Shipping requires selectively saying “yes” to correctness, clarity, and DX — <br>and “not now” to everything else.</blockquote><h3>References &amp; Further Reading</h3><h3>🎥 Video</h3><ul><li>AWS AI-Driven Development talks (ADLC) <a href="https://www.youtube.com/watch?v=SZStlIhyTCY">https://www.youtube.com/watch?v=SZStlIhyTCY</a></li><li><a href="https://www.youtube.com/watch?v=SZStlIhyTCY&amp;pp=ugUEEgJlbg%3D%3D">McKinsey SoftwareX on Moving away from agile — AI-native teams</a></li><li>Kilo Spec-Driven Development<br><a href="https://kilo.ai/docs/contributing/specs/">https://kilo.ai/docs/contributing/specs/</a></li></ul><h3>📘 IBM</h3><ul><li><strong>Architecting Secure Enterprise AI Agents with MCP (Oct 2025)</strong><br><a href="https://www.aigl.blog/architecting-secure-enterprise-ai-agents-with-mcp-ibm-oct-2025/">https://www.aigl.blog/architecting-secure-enterprise-ai-agents-with-mcp-ibm-oct-2025/</a></li><li><strong>IBM watsonx.ai — Agent Development</strong><br><a href="https://www.ibm.com/products/watsonx-ai/ai-agent-development">https://www.ibm.com/products/watsonx-ai/ai-agent-development</a></li></ul><h3>📐 Links</h3><ul><li><a href="https://ampcode.com/@sqs">https://ampcode.com/@sqs</a> — <strong>GitHub acts as the system of record</strong>, while coding agents capture execution history and persist prompts for traceability.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccdbb08c25bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shipping a Production-Grade Rust Crate with Claude Code, Cursor, Amp, KiloCode + ChatGPT…]]></title>
            <link>https://medium.com/@indykish/shipping-a-production-grade-rust-crate-with-claude-code-cursor-amp-kilocode-chatgpt-1ef7f1abde24?source=rss-c3466543ba13------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ef7f1abde24</guid>
            <category><![CDATA[kilo-code]]></category>
            <category><![CDATA[rust]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[amp]]></category>
            <category><![CDATA[cursor]]></category>
            <dc:creator><![CDATA[Kishorekumar]]></dc:creator>
            <pubDate>Sat, 03 Jan 2026 16:44:03 GMT</pubDate>
            <atom:updated>2026-02-08T06:54:35.546Z</atom:updated>
            <content:encoded><![CDATA[<h3>We built CacheKit using agentic programming — here’s what changed</h3><p>Shipping a <a href="https://cachekit.org/">Production-Grade Rust Crate</a> with Claude Code, Cursor, Amp, KiloCode + ChatGPT Prompts</p><p>There’s a very specific kind of engineering joy in finding the seam between <em>your database access</em> and <em>your application logic</em> — and then turning that seam into a clean boundary you can reason about.</p><p>That seam is caching.</p><p>Not “sprinkle some get-or-set calls and hope for the best” caching, but the kind where your system has <strong>explicit cache ownership</strong>, <strong>predictable behavior</strong>, and a design that doesn’t silently entangle itself with your ORM, framework, or transport layer.</p><p>That’s the motivation behind <strong>cache-kit</strong>: <em>an async, ORM-agnostic caching library for Rust that helps you place clear cache boundaries between your database and application logic.</em> (<a href="https://cachekit.org/">cache-kit</a>)</p><p>And over the 2025 holidays, in the small pockets of part-time work, I took something we were already running in production and shipped it as a real crate with docs, design philosophy, and a public API that could survive first contact with other Rust engineers.</p><p>You can find the docs here: <a href="https://cachekit.org/"><strong>https://cachekit.org</strong></a> (<a href="https://cachekit.org/">cache-kit</a>)</p><h3>Why build this now?</h3><p>This was a “TODO for 3 years.”</p><p>We already had a working cache layer in production — sitting between the DB and the app — but it wasn’t abstracted into a crate. It lived as “internal glue,” which is exactly where good library ideas go to die: useful, proven, but trapped inside one codebase.</p><p>Then the holidays happened, and two things changed my pace:</p><ul><li><strong>Claude Code</strong> doubled usage for a short promo window.</li><li><strong>Amp</strong> became surprisingly generous for free/credits-based iteration.</li></ul><p>That combination made it practical to do something that usually takes a month of evenings: iterate on API shape, refactor with confidence, and document enough that it’s not just “code,” it’s a library.</p><p>So I decided to run an experiment:</p><h3>The lineup (4 agents + ChatGPT)</h3><ul><li><strong>Claude Code Pro</strong></li><li><strong>Cursor Pro</strong></li><li><strong>Amp (Credits/Free)</strong></li><li><strong>KiloCode (Credits/Free)</strong></li><li><strong>ChatGPT</strong> (prompt builder + arbitration prompts)</li></ul><p>The key idea: use agents for <em>analysis and refactor planning</em>, but keep the decision-making human-in-the-loop — especially when the topic is <strong>public API design</strong>.</p><h3>What cache-kit is trying to be (and what it refuses to be)</h3><p>From the start, cache-kit is opinionated about <em>where it sits</em>:</p><ul><li>It’s designed for async Rust services (Tokio-centric). (<a href="https://cachekit.org/">cache-kit</a>)</li><li>It’s <strong>ORM-agnostic</strong> and <strong>backend-agnostic</strong> (Redis/Memcached/InMemory). (<a href="https://cachekit.org/">cache-kit</a>)</li><li>It avoids “framework lock-in” and doesn’t bury caching behind implicit magic. (<a href="https://cachekit.org/">cache-kit</a>)</li></ul><p>That last point matters more than it sounds.</p><p>A lot of caching libraries either:</p><ol><li>become a mini framework, or</li><li>become a bag of utilities that leave architecture decisions entirely to you.</li></ol><p>cache-kit tries to sit in the middle: <strong>clear boundaries</strong>, composable primitives, and explicit trade-offs.</p><h3>The problem I hit: public API inconsistency (builder vs service vs expander)</h3><p>Even with a solid internal implementation, I hit a classic Rust crate moment:</p><blockquote><em>The </em>code works<em>, but the </em>public API reads like the crate was written by three different people on three different days<em>.</em></blockquote><p>Specifically, I had three files that created a confusing mental model:</p><ul><li><a href="https://github.com/megamsys/cache-kit.rs/blob/44f7f3dbcf73adddf5ecff91577e6cd5eb298514/src/service.rs">src/service.rs</a></li><li><a href="https://github.com/megamsys/cache-kit.rs/blob/44f7f3dbcf73adddf5ecff91577e6cd5eb298514/src/builder.rs">src/builder.rs</a></li><li><a href="https://github.com/megamsys/cache-kit.rs/blob/44f7f3dbcf73adddf5ecff91577e6cd5eb298514/src/expander.rs">src/expander.rs</a></li></ul><p>And the issue wasn’t correctness — it was <strong>API shape</strong>:</p><ul><li><a href="https://github.com/megamsys/cache-kit.rs/blob/44f7f3dbcf73adddf5ecff91577e6cd5eb298514/src/builder.rs">src/builder.rs</a> had configuration-ish with_* methods and also drove execution.</li><li><a href="https://github.com/megamsys/cache-kit.rs/blob/44f7f3dbcf73adddf5ecff91577e6cd5eb298514/src/service.rs">src/service.rs</a> felt thin and oddly disconnected from the main flow.</li><li><a href="https://github.com/megamsys/cache-kit.rs/blob/44f7f3dbcf73adddf5ecff91577e6cd5eb298514/src/expander.rs">src/expander.rs</a> existed, but didn’t feel like a first-class interface.</li></ul><p>This is the kind of thing that doesn’t break tests, but <em>does</em> break adoption.</p><p>So I wrote one very deliberate prompt (with ChatGPT), and ran it through three agents as a spec-driven architectural review.</p><h3>The review prompt</h3><p>Below is the exact prompt I used (verbatim):</p><pre>You are acting as a **Rust library architect and API designer**.<br><br>I am both:<br><br>* a **user** of the Rust crate `cachekit`<br>* and an **implementor/maintainer** of the crate<br><br>Your task is to **review and reason about the internal design and public API shape** of the following files in this repository:<br><br>* `@src/builder.rs`<br>* `@src/expander.rs`<br>* `@src/service.rs`<br><br>---<br><br>## Context &amp; Current Observation<br><br>Today, the structure looks roughly like this:<br><br>1. **`service.rs`**<br><br>   * Exposes a `with_metrics` method<br>   * Does **not** call `builder.execute()`<br>   * Feels thin and not very composable<br><br>2. **`builder.rs`**<br><br>   * Has multiple configuration-style methods:<br><br>     * `with_ttl`<br>     * `with_retry`<br>     * `with_strategy`<br>     * etc.<br>   * These methods eventually call `execute()`<br>   * This is where most of the execution flow lives<br><br>3. **`expander.rs`**<br><br>   * Exists, but **appears underused or bypassed**<br>   * Its role in the overall flow is unclear<br>   * It does not feel like a first-class API surface<br><br>---<br><br>## My Hypothesis / Design Idea<br><br>I believe the current design can be improved by **promoting `expander.rs` to be the primary user-facing configuration layer**, and simplifying responsibilities:<br><br>### Proposed Direction<br><br>* Move **stateful `with_*` configuration methods** (TTL, retry, strategy, metrics, etc.) **out of `builder.rs`**<br><br>* Place them into `expander.rs`, where:<br><br>  * `with_*` methods **store configuration state**<br>  * No execution happens immediately<br><br>* Introduce a clear execution boundary:<br><br>  * `Expander::with(...)` (or similar terminal method)<br>  * This method internally calls the equivalent of `execute()` (currently in `builder.rs`)<br><br>* As a result:<br><br>  * `builder.rs` becomes a **lower-level internal execution construct**<br>  * `expander.rs` becomes the **composable, fluent API exposed to users**<br>  * `service.rs` becomes either:<br><br>    * a thin integration layer, or<br>    * a specialization (e.g. metrics / tracing / transport concerns)<br><br>---<br><br>## What I Want From You<br><br>Please respond with **clear, structured reasoning**, not just opinions.<br><br>Specifically:<br><br>1. **Validate or challenge the hypothesis**<br><br>   * Is the concern about `expander` being underused valid?<br>   * Is it a code smell that `service.rs` does not participate in execution?<br><br>2. **API Design Review**<br><br>   * Should users interact with:<br><br>     * `builder` directly?<br>     * `expander` directly?<br>     * `service` at all?<br>   * What is the cleanest mental model for a Rust async caching library?<br><br>3. **Responsibility Boundaries**<br><br>   * What should *each* file be responsible for?<br><br>     * `builder.rs`<br>     * `expander.rs`<br>     * `service.rs`<br><br>4. **Proposed Refactor Plan**<br><br>   * Step-by-step changes (high level, no need for full code)<br>   * What moves where<br>   * What becomes `pub` vs internal<br>   * Any breaking-change risks<br><br>5. **Rust Idiomatic Considerations**<br><br>   * Ownership &amp; lifetimes<br>   * Fluent builders vs stateful expanders<br>   * Async ergonomics<br>   * Testability<br><br>6. **Final Recommendation**<br><br>   * Either confirm this direction **or**<br>   * Propose a better alternative design with rationale<br><br>---<br><br>## Important Constraints<br><br>* This is a **library crate**, not an application<br>* API stability and clarity matter<br>* The design should scale to:<br><br>  * multiple backends<br>  * multiple execution strategies<br>  * observability layers (metrics, tracing)<br>* Avoid unnecessary abstraction layers<br><br>Please assume the audience is an **experienced Rust engineer** reading this crate for the first time.<br><br>Be opinionated, but justify your opinions.</pre><h3>The outputs (3 agents), then the arbitration prompt</h3><p>…and got three long-form reviews.</p><ul><li>[Claude Code](<a href="https://github.com/megamsys/cache-kit.rs/blob/main/prompts/MEDIUM_CLAUDE_CODE_FULL_REVIEW.md">https://github.com/megamsys/cache-kit.rs/blob/main/prompts/MEDIUM_CLAUDE_CODE_FULL_REVIEW.md</a>)</li><li>[Cursor](<a href="https://github.com/megamsys/cache-kit.rs/blob/main/prompts/MEDIUM_CURSOR_FULL_REVIEW.md">https://github.com/megamsys/cache-kit.rs/blob/main/prompts/MEDIUM_CURSOR_FULL_REVIEW.md</a>)</li><li>[Amp](<a href="https://github.com/megamsys/cache-kit.rs/blob/main/prompts/MEDIUM_AMP_FULL_REVIEW.md">https://github.com/megamsys/cache-kit.rs/blob/main/prompts/MEDIUM_AMP_FULL_REVIEW.md</a>)</li></ul><p>Then I used a second prompt (again, verbatim) to “pit them against each other” and force a maintainer-style decision:</p><pre>You are acting as a **Rust library architect performing a second-pass design arbitration**.<br><br>I already ran the **same architectural review prompt** through multiple tools/agents, and I now have **three independent opinions** captured as markdown files:<br><br>* `@ARCHITECTURE_REVIEW_CURSOR.md`<br>* `@ARCHITECTURE_REVIEW_AMP.md`<br>* `@ARCHITECHTURE_REVIEW_CC.md`<br><br>All three review **the same design problem** (builder vs expander vs service responsibilities in `cachekit`), but from different perspectives.<br><br>---<br><br>## Your Task<br><br>### 1. Read and Cross-Reference All Three Files<br><br>* Treat **all three documents as first-class inputs**<br>* Identify:<br><br>  * Areas of **strong agreement**<br>  * Areas of **partial overlap**<br>  * Areas of **direct disagreement or tension**<br>* Do **not** summarize each file independently - reason *across* them.<br><br>---<br><br>### 2. Resolve Conflicts Like a Maintainer Would<br><br>When opinions differ:<br><br>* Prefer **API clarity, long-term maintainability, and Rust idioms**<br>* De-prioritize:<br><br>  * Over-engineering<br>  * Internal convenience over user ergonomics<br>* Explicitly choose a side where needed - **do not hedge**<br><br>---<br><br>### 3. Produce a Single Unified Verdict<br><br>You must:<br><br>* Synthesize the three viewpoints into **one coherent architectural position**<br>* Treat this as the **maintainer&#39;s final decision**, not an exploration<br>* Assume this decision may drive a real refactor and possible breaking change<br><br>---<br><br>### 4. Update Only One File<br><br>👉 **Modify only** `@ARCHITECTURE_REVIEW_CURSOR.md`<br><br>At the **very bottom of the file**, append a new section exactly titled:<br><br>```<br>## FINAL RECOMMENDATION<br>```<br><br>Under this heading, write:<br><br>* A clear, opinionated final recommendation covering:<br><br>  * Whether `expander` should be the primary user-facing API<br>  * The final role of `builder.rs`<br>  * The final role of `service.rs`<br>* A short rationale (why this is the right call *after* reviewing all opinions)<br>* Optional: a brief note on migration / breaking-change impact<br><br>Do **not** rewrite earlier content in the file.<br>Do **not** add this section anywhere else.<br><br>---<br><br>## Constraints &amp; Tone<br><br>* Write for an **experienced Rust engineer**<br>* Be decisive and explicit<br>* No generic advice, no &quot;it depends&quot;<br>* This is a **final arbitration**, not a brainstorm<br><br>If you believe **none** of the three opinions are fully correct, you may propose a corrected synthesis - but you must still commit to a single direction.<br><br>Proceed as if this decision will be implemented.</pre><p>The fun part: All three landed near the same “final shape”:</p><ul><li><strong>CacheService</strong> as the primary ergonomic entry point for most users.</li><li><strong>CacheExpander</strong> for advanced composition and library embedding.</li><li><strong>builder — *remove*</strong>treated as the internal execution/config assembly mechanism, not the thing users “live in.”</li></ul><p>That actually maps to how the docs are now positioned:</p><blockquote><em>cache-kit provides two APIs for cache operations… for most use cases, use </em><em>CacheService. (</em><a href="https://cachekit.org/installation/"><em>cache-kit</em></a><em>)</em></blockquote><p>…and even gives a simple decision heuristic:</p><ul><li>Web service? CacheService</li><li>Building a library? CacheExpander (<a href="https://cachekit.org/installation/">cache-kit</a>)</li></ul><p>That alignment between “agent review” and “doc narrative” was a strong signal: the crate had a coherent direction — I just needed to tighten the public surface so it <em>felt</em> coherent in code as well.</p><h3>Why I ultimately chose Claude Code’s recommendation</h3><p>All three were close, but Claude Code’s output was the one that read most like a maintainer’s playbook:</p><ul><li>It separated:</li><li>configuration state, execution mechanics</li></ul><p>So I took Claude Code’s recommendation as the final call and implemented along that path.</p><h3>KiloCode: the late entrant that helped where it matters</h3><p>After the API arbitration, I brought <strong>KiloCode</strong> in for a broader architectural review. It produced a comprehensive code review and an error-planning doc.</p><p>Two things happened:</p><ul><li>The <a href="https://github.com/megamsys/cache-kit.rs/blob/main/plans/comprehensive-code-review.md">architectural review</a> helped me spot and fix issues using its <em>/mode Architect -&gt; </em><a href="https://github.com/megamsys/cache-kit.rs/blob/main/plans/comprehensive-code-review.md"><em>Link</em></a></li><li>The <a href="https://github.com/megamsys/cache-kit.rs/blob/main/plans/error-codes-improvement.md">error-planning</a> was useful, but <strong>was not implemented</strong> (yet). It became a backlog artifact, not shipped behavior. <a href="https://github.com/megamsys/cache-kit.rs/blob/main/plans/error-codes-improvement.md"><em>Link</em></a></li></ul><p>That was an important reminder:</p><p>Agents are great at producing <em>plans</em>. Shipping requires selectively saying “yes” to the work that improves correctness, clarity, and Developer Experience — and “not now” to everything else.</p><h3>Lessons from building with multiple coding agents</h3><h3>1) Agents are multiplicative when you use them like reviewers, not authors</h3><p>The highest leverage for me was:</p><ul><li>one good prompt,</li><li>multiple independent reviews,</li><li>one arbitration step,</li><li>then a human maintainer decision.</li></ul><p>That pattern is surprisingly effective for public API design, because it surfaces:</p><ul><li>inconsistent naming,</li><li>ambiguous boundaries,</li><li>and hidden coupling that “works” but doesn’t scale.</li></ul><h3>2) A crate ships when the docs and the API tell the same story</h3><p>I kept coming back to a single question:</p><blockquote><em>If an experienced Rust engineer reads the docs, will the code feel inevitable?</em></blockquote><p>cache-kit’s docs are explicit about what it is and isn’t — async-first, ORM-agnostic, backend-agnostic, explicit boundaries. (<a href="https://cachekit.org/">cache-kit</a>)<br>The public API needed to match that same clarity.</p><h3>3) Human-in-the-loop isn’t optional — because trade-offs aren’t computable</h3><p>Agents can suggest good designs, but they can’t own your compatibility promises, your migration story, or your crate’s philosophy.</p><p>That’s on us.</p><h3>Try cache-kit (subtle pitch, honest pitch)</h3><p>If you’re building an async Rust service and you want caching that’s:</p><ul><li>explicit,</li><li>composable,</li><li>not tied to your ORM/framework,</li><li>and designed to sit cleanly between “DB access” and “application logic”… (<a href="https://cachekit.org/">cache-kit</a>)</li></ul><p>…then you might want to take <strong>cache-kit</strong> for a spin.</p><blockquote>Start here: <a href="https://cachekit.org/"><strong>https://cachekit.org</strong></a> (<a href="https://cachekit.org/">cache-kit</a>)<br>Install guide here (Rust 1.75+, Tokio 1.41+): <a href="https://cachekit.org/installation/"><strong>https://cachekit.org/installation/</strong></a> (<a href="https://cachekit.org/installation/">cache-kit</a>)</blockquote><p>If you do try it, I’d love feedback — especially on ergonomics and API clarity, because that’s the part I obsessed over the most.</p><p>Feel free to open any issues you see in here <a href="https://github.com/megamsys/cache-kit.rs/issues">https://github.com/megamsys/cache-kit.rs/issues</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ef7f1abde24" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ How to Integrate GitLab CE with Zoho Cliq]]></title>
            <link>https://medium.com/@indykish/how-to-integrate-gitlab-ce-with-zoho-cliq-e5c37b462129?source=rss-c3466543ba13------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5c37b462129</guid>
            <category><![CDATA[zoho-development]]></category>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[deluge]]></category>
            <category><![CDATA[slack]]></category>
            <category><![CDATA[ci-cd-devops]]></category>
            <dc:creator><![CDATA[Kishorekumar]]></dc:creator>
            <pubDate>Tue, 09 Sep 2025 09:14:20 GMT</pubDate>
            <atom:updated>2025-09-09T09:14:20.508Z</atom:updated>
            <content:encoded><![CDATA[<h3>Goal</h3><p>This project became a great example of <a href="https://www.youtube.com/watch?v=BJjsfNO5JTo&amp;pp=ygUKdmliZWNvZGluZw%3D%3D"><strong>Vibecoding</strong></a> — using AI tools not just as helpers, but as active collaborators.</p><ul><li>🧠 <strong>Cursor.sh</strong> — lightning-fast error detection and syntax fixes</li><li>🛠️ <strong>Claude Code</strong> — logic flow corrections and Deluge-specific adjustments</li><li>💬 <strong>ChatGPT</strong> — architectural planning, debugging strategy, and documentation refinement</li></ul><p>These tools worked like <strong>virtual pair programmers</strong>, each complementing the other — and made the integration process far more productive (and enjoyable).</p><p>The goal of this integration was to <strong>eliminate manual nudges in engineering</strong> — specifically those Slack-like messages that go:</p><blockquote><em>“Hey, can you review my PR?”</em></blockquote><p>Instead, we wanted GitLab and Zoho Cliq — our source control and team communication tools — to work together seamlessly. The idea: let GitLab automatically notify the team (especially reviewers) when key events occur, like MR submissions, pipeline failures, or production deployments.</p><h3>Starting Point: The Problem</h3><p>Zoho Cliq supports webhook integrations via a scripting language called <strong>Deluge</strong>. GitLab CE supports outbound webhooks. But there’s no out-of-the-box integration for GitLab + Cliq.</p><p>So we started by writing a Deluge script to consume GitLab webhook payloads and forward formatted messages to Zoho Cliq.</p><h3>Why Even Bother?</h3><p>In Slack, adding GitLab integration takes 3–5 minutes via <a href="https://docs.gitlab.com/user/project/integrations/gitlab_slack_application/">their app directory</a>. With Zoho Cliq, this took me <strong>~1.5 hours</strong>. Why?</p><p>Because:</p><p>Zoho uses <a href="https://www.zoho.com/deluge/"><strong>Deluge</strong></a>, a proprietary DSL that’s frustratingly JavaScript-like, but <em>not really JS</em>.</p><ul><li>There are <strong>almost good docs</strong> or not much community examples for GitLab + Zoho.</li><li>GitLab’s payloads are detailed and diverse (14+ event types).</li></ul><p>Despite the overhead, we decided to invest in a proper integration.</p><h3>The Script (Deluge) — GitLab Webhook Handler for Zoho Cliq</h3><p>This script:</p><ul><li>Supports <strong>all major GitLab webhook types</strong></li><li>Parses and formats data into <strong>polished messages</strong></li><li>Uses <strong>emojis</strong>, <strong>markdown</strong>, and <strong>links</strong> for better readability</li></ul><h3>Supported GitLab Events:</h3><ul><li>Pushes (branch/tag)</li><li>Comments (MRs, Issues, Commits)</li><li>Merge Requests (open, close, merge)</li><li>Issues</li><li>Pipelines &amp; Jobs (with status and duration)</li><li>Deployments</li><li>Wiki pages</li><li>Releases, Feature Flags, Emojis</li><li>Access Tokens</li></ul><h3>Timeline &amp; Debugging Journey</h3><h3>Phase 1: Feature Gaps</h3><ul><li>We needed support for <strong>pipeline</strong>, <strong>MR</strong>, and <strong>comment</strong> events.</li></ul><p><strong>ChatGPT</strong> helped plan event coverage and structure the if-else logic for all events.</p><h3>Phase 2: Deluge Errors &amp; Fixes (via Cursor.sh &amp; Claude)</h3><p>Here’s your content converted into <strong>Medium-friendly format</strong> — clean typography, rich emoji use, smart headings, and lightly refined tone for better readability:</p><h4>❌ split() Function Not Supported</h4><p><strong>Problem</strong>: Deluge doesn’t support .split()<br> <strong>Fix</strong>: Use lastIndexOf(&quot;/&quot;) and substring()</p><pre>// Before<br>branch = ref.toString().split(&quot;/&quot;).get(-1);</pre><pre>// After<br>branch = if(ref.toString().lastIndexOf(&quot;/&quot;) &gt;= 0,<br>            ref.toString().substring(ref.toString().lastIndexOf(&quot;/&quot;) + 1),<br>            ref.toString());</pre><h4>❌ round() Requires a Parameter</h4><p><strong>Problem</strong>: Deluge needs an explicit precision parameter<br> <strong>Fix</strong>: Add .round(0)</p><pre>// Before<br>message = message + &quot; (Duration: &quot; + round(job_duration / 60) + &quot;m)&quot;;</pre><pre>// After<br>message = message + &quot; (Duration: &quot; + (job_duration / 60).round(0) + &quot;m)&quot;;</pre><h4>❌ Data Type Mismatch in JSON Access</h4><p><strong>Problem</strong>: body.toJSONMap() caused internal type errors<br> <strong>Fix</strong>: Use body.get(&quot;key&quot;) directly</p><pre>// Before<br>data = body.toJSONMap();<br>object_kind = data.get(&quot;object_kind&quot;);</pre><pre>// After<br>object_kind = body.get(&quot;object_kind&quot;);</pre><h4>❌ Syntax Typo in lastIndexOf</h4><p><strong>Problem</strong>: Manual edit error: lastIndexOf(\&quot;/)vac<br> <strong>Fix</strong>: Corrected to &gt;= 0</p><pre>// Before<br>tag = if(ref != null, if(ref.toString().lastIndexOf(\&quot;/)vac &gt;= 0, ...)</pre><pre>// After<br>tag = if(ref != null, if(ref.toString().lastIndexOf(\&quot;/) &gt;= 0, ...)</pre><h3>Phase 3: Refactoring for Stability</h3><p><strong>Action</strong>: Replaced all data.get() with body.get() across the script<br> <strong>Result</strong>: Unified parsing approach and no more type-related crashes ✅</p><h3>Key Takeaways for Working with Deluge</h3><h3>❗ Deluge-Specific Constraints</h3><ol><li>No .split() – Use substring() and lastIndexOf()</li><li>.round() needs a precision arg</li><li>Avoid .toJSONList() unless handling arrays</li><li>Always sanitize null values</li></ol><h3>Reasoning: Why Reinvent a Language Like Deluge?</h3><p>Deluge is:</p><ul><li>Unfamiliar to modern devs</li><li>Not properly documented</li><li>Lacks standard string or array methods</li></ul><p>If Zoho intends to expose programmable bots and webhooks:</p><ul><li>Use common languages (JS, Python)</li><li>Or provide <strong>a powerful no-code/low-code builder</strong></li><li>Or <strong>AI-assisted editor</strong> with auto-complete and fix suggestions</li></ul><p>Without tools like Cursor.sh or Claude, debugging Deluge would have been a painful experience.</p><h3>Final Result</h3><p>With everything in place:</p><ul><li>We deployed the Deluge script to the Zoho Cliq bot handler</li><li>We set up GitLab CE webhooks:</li></ul><pre>- Notifications now show up in Cliq in real-time:<br>  - ✅ MR Created: By whom, from→to branch<br>  - ❌ Pipeline Failed: What, where, by whom<br>  - 💬 New Comment: On what, by whom, and the comment</pre><h3>Conclusion</h3><p>This integration — while more complex than expected — turned out to be worth every minute.</p><p>It replaced noisy manual follow-ups with structured, real-time messages in Zoho Cliq.</p><p>More importantly, it showcased what modern development looks like when powered by <strong>AI-enhanced workflows</strong> — or what I now like to call:</p><blockquote><strong><em>Vibecoding</em></strong><em>: Using AI tools not just as assistants, but as debugging companions and learning accelerators.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5c37b462129" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>