<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-coding-agent-changed-the-engineering-method-stayed-in-the-repository--4kvr7n4ae" -->

---
title: The Coding Agent Changed. The Engineering Method Stayed...
description: An author demonstrates a self-built tool called RepoMethod, designed to keep engineering discipline (scope control, verification, delivery gates) inside the...
canonical: https://daily.dev/posts/the-coding-agent-changed-the-engineering-method-stayed-in-the-repository--4kvr7n4ae
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Coding Agent Changed. The Engineering Method Stayed in the Repository. | daily.dev
og:description: An author demonstrates a self-built tool called RepoMethod, designed to keep engineering discipline (scope control, verification, delivery gates) inside the...
og:url: https://daily.dev/posts/the-coding-agent-changed-the-engineering-method-stayed-in-the-repository--4kvr7n4ae
og:image: https://api.daily.dev/og/posts/4KvR7n4AE.png
og:image:alt: The Coding Agent Changed. The Engineering Method Stayed in the Repository.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The Coding Agent Changed. The Engineering Method Stayed in the Repository.

**[Medium](https://daily.dev/sources/medium_js)** · 7 min read · 1 upvotes · 1 comments

## Summary

An author demonstrates a self-built tool called RepoMethod, designed to keep engineering discipline (scope control, verification, delivery gates) inside the repository rather than in a model-specific prompt, so it stays stable as coding agents evolve. Testing it with ChatGPT against a Fastify TypeScript service, the workflow required establishing a real local Git working copy since direct GitHub clone access failed in the sandbox. The agent implemented pagination for a GET /items endpoint matching an existing GET /tasks pattern, passed repository verification, and published only after RepoMethod's delivery gate returned DELIVERY: done. A follow-up test asked the agent to add an out-of-scope README change; even though tests stayed green, RepoMethod blocked delivery because the change violated the committed feature contract, illustrating that passing tests alone doesn't guarantee a compliant delivery.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/@frederik.schmittel/the-coding-agent-changed-the-engineering-method-stayed-in-the-repository-2c0b15f9656f>

## Questions this post answers

### Can passing tests alone confirm that an AI coding agent stayed within the requested scope of a task?

No. In one experiment, a coding agent was asked to add a README change outside an agreed feature scope, and while lint, typecheck, tests, and build all passed, a repository-owned delivery contract (RepoMethod) rejected the change with a scope violation and blocked publication, leaving the remote branch on its last accepted commit. Green tests were necessary but not sufficient evidence that the agent respected task boundaries.

_Anyone gating agent output on more than green tests can compare notes on scope enforcement patterns via daily.dev._

### Why did a coding agent fail to run a local git clone when connected to a GitHub repository through ChatGPT?

Direct GitHub network access and a normal git clone were unavailable in the sandbox environment, even though ChatGPT could access the connected repository through its connector. The workaround was to treat the GitHub connector as the authoritative remote state and materialize a local working copy from the current main snapshot, initializing git fresh rather than preserving original commit history.

_daily.dev surfaces workflow fixes like this for developers wiring coding agents into real git repositories._

## Community discussion

Top comments from developers on daily.dev.

**@leonidbugaev** · 0 upvotes

> The first fail was more interesting than the README one. Implementation already passed lint, typecheck, test, and build. RepoMethod still bounced it because the evidence report didn't name items-pagination.md.

## Similar posts on daily.dev

- [Coding agents rediscover your codebase on every single run.](https://daily.dev/posts/coding-agents-rediscover-your-codebase-on-every-single-run--fvuu1qfcu) · Trendyol Tech · 4 upvotes · 1 comments
- [Multi-Agent and Multi-Repository Orchestration Patterns](https://daily.dev/posts/multi-agent-and-multi-repository-orchestration-patterns-5zzjjhndy) · Telerik · 1 upvotes · 0 comments
- [Harness engineering: leveraging Codex in an agent-first world](https://daily.dev/posts/harness-engineering-leveraging-codex-in-an-agent-first-world-py6m8jwm4) · OpenAI · 1 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#typescript](https://daily.dev/tags/typescript), [#chatgpt](https://daily.dev/tags/chatgpt)

[View this post on daily.dev](https://daily.dev/posts/the-coding-agent-changed-the-engineering-method-stayed-in-the-repository--4kvr7n4ae)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The Coding Agent Changed. The Engineering Method Stayed in the Repository.","url":"https://daily.dev/posts/the-coding-agent-changed-the-engineering-method-stayed-in-the-repository--4kvr7n4ae","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-coding-agent-changed-the-engineering-method-stayed-in-the-repository--4kvr7n4ae"},"datePublished":"2026-09-09T18:59:01.246Z","dateModified":"2026-09-14T06:58:14.630Z","description":"An author demonstrates a self-built tool called RepoMethod, designed to keep engineering discipline (scope control, verification, delivery gates) inside the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/82c2ae2a465851321ece7ce0849c8b6f?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/82c2ae2a465851321ece7ce0849c8b6f?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Medium","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Medium","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium","url":"https://daily.dev/sources/medium_js"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/the-coding-agent-changed-the-engineering-method-stayed-in-the-repository--4kvr7n4ae","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"ai-agents,typescript,chatgpt","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Medium","item":"https://daily.dev/sources/medium_js"},{"@type":"ListItem","position":3,"name":"The Coding Agent Changed. The Engineering Method Stayed in the Repository."}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/the-coding-agent-changed-the-engineering-method-stayed-in-the-repository--4kvr7n4ae","comment":[{"@type":"Comment","text":"The first fail was more interesting than the README one. Implementation already passed lint, typecheck, test, and build. RepoMethod still bounced it because the evidence report didn’t name items-pagination.md.","datePublished":"2026-09-10T11:01:02.700Z","url":"https://daily.dev/posts/4KvR7n4AE#c-9UdLlaw4l","author":{"@type":"Person","name":"Leonid Bugaev","url":"https://daily.dev/leonidbugaev","image":"https://lh3.googleusercontent.com/a/ACg8ocLhMgurwTmJElWaH9A8Ju8cHvZxgMCDt009jEYkmFCyUGAoaGSw=s96-c"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/the-coding-agent-changed-the-engineering-method-stayed-in-the-repository--4kvr7n4ae#faq","mainEntity":[{"@type":"Question","name":"Can passing tests alone confirm that an AI coding agent stayed within the requested scope of a task?","acceptedAnswer":{"@type":"Answer","text":"No. In one experiment, a coding agent was asked to add a README change outside an agreed feature scope, and while lint, typecheck, tests, and build all passed, a repository-owned delivery contract (RepoMethod) rejected the change with a scope violation and blocked publication, leaving the remote branch on its last accepted commit. Green tests were necessary but not sufficient evidence that the agent respected task boundaries. Anyone gating agent output on more than green tests can compare notes on scope enforcement patterns via daily.dev."}},{"@type":"Question","name":"Why did a coding agent fail to run a local git clone when connected to a GitHub repository through ChatGPT?","acceptedAnswer":{"@type":"Answer","text":"Direct GitHub network access and a normal git clone were unavailable in the sandbox environment, even though ChatGPT could access the connected repository through its connector. The workaround was to treat the GitHub connector as the authoritative remote state and materialize a local working copy from the current main snapshot, initializing git fresh rather than preserving original commit history. daily.dev surfaces workflow fixes like this for developers wiring coding agents into real git repositories."}}]}
```

