References:
The Impact of AI on Developer Productivity:
Evidence from GitHub Copilot
LLMs for Software Engineering Survey
(2023)
const res = await fetch("/api/tasks");
const data = await res.json();
render(data);
let req = URLRequest(url: url)
let (d, _) = try await URLSession.shared.data(for: req)
print(String(data: d, encoding: .utf8)!)
val r = client.get("/api/tasks")
val data = json.decodeFromString(r.bodyAsText())
println(data)
| Agent | Task | Sample Files |
|---|---|---|
| Requirements Agent | Stories + AC |
requirements/REQ-12.yamlbacklog/user-stories.md
|
| Architecture Agent | Design + ADR |
architecture/component-diagram.svgadr/ADR-003-clean-arch.md
|
| Module Agent | Module boundaries |
modules/domain/README.mdmodules/ui/module.rules.json
|
| Build Agent | Implementation |
app/src/main.ktapp/FeatureView.swiftweb/src/App.tsx
|
| Test Agent | Unit + Component |
tests/unit/domain.test.tstests/component/api_harness.kt
|
| Integration Agent | Contracts |
contracts/schema-v2.jsontests/integration/flow.test.ts
|
| Release Agent | CI/CD + SBOM |
.github/workflows/build.ymlsbom/sbom.json
|
| Triage Agent | Observability |
ops/crash-report-2025-02.jsonissues/ISSUE-104.md
|
const plan = await agent.plan(goal);
const pr = await agent.run(plan);
await agent.verify(pr);
let plan = try await agent.plan(goal)
let pr = try await agent.run(plan)
try await agent.verify(pr)
val plan = agent.plan(goal)
val pr = agent.run(plan)
agent.verify(pr)
if (!policy.ok(change)) throw Error("gate");
await ci.run(["lint", "tests"]);
await audit.log(change);
guard policy.ok(change) else { throw GateError() }
try await ci.run(["lint","test"])
try await audit.log(change)
require(policy.ok(change)) { "gate" }
ci.run(listOf("lint","test"))
audit.log(change)
const story = { id:"REQ-12", ac:["Given..When..Then.."] };
validate(story);
save(story);
let story = ["id":"REQ-12","ac":["Given..When..Then.."]]
try validate(story)
try save(story)
val story = mapOf("id" to "REQ-12", "ac" to listOf("Given..When..Then.."))
validate(story)
save(story)
const adr = { id:"ADR-3", decision:"MVVM + clean boundaries" };
verifyInterfaces(contracts);
commit(adr);
let adr = ["id":"ADR-3","decision":"MVVM + boundaries"]
try verifyInterfaces(contracts)
try commit(adr)
val adr = mapOf("id" to "ADR-3", "decision" to "MVVM + boundaries")
verifyInterfaces(contracts)
commit(adr)
assertNoCycles(graph);
enforceImports(rules);
publishApi("domain");
try assertNoCycles(graph)
try enforceImports(rules)
try publishApi("domain")
checkNoCycles(graph)
enforceImports(rules)
publishApi("domain")
run("lint"); run("typecheck");
assertNoSecrets(diff);
linkTrace("REQ-12");
try await run("lint"); try await run("test")
try assertNoSecrets(diff)
try linkTrace("REQ-12")
ci.run(listOf("lint","test"))
assertNoSecrets(diff)
linkTrace("REQ-12")
mockNetwork();
expect(fn()).toBe(expected);
assertRuntimeUnder(ms=2000);
let stub = NetworkStub()
XCTAssertEqual(fn(), expected)
XCTAssertLessThan(ms, 2000)
stubNetwork()
assertEquals(expected, fn())
assertTrue(ms < 2000)
seedFixtures(42);
runComponentHarness();
assertFlakeRateBelow(0.01);
try seedFixtures(42)
try runHarness()
try assertFlakeRate(below: 0.01)
seedFixtures(42)
runHarness()
assertFlakeRateBelow(0.01)
verifyContract(schemaV);
runScenarios(["happy","fail"]);
recordArtifacts();
try verifyContract(schemaV)
try runScenarios(["happy","fail"])
try recordArtifacts()
verifyContract(schemaV)
runScenarios(listOf("happy","fail"))
recordArtifacts()
sign(build); generateSbom();
rollout.staged(0.05);
triage.fromTelemetry();
try sign(build); try generateSbom()
try rollout.staged(0.05)
try triage.fromTelemetry()
sign(build); generateSbom()
rollout.staged(0.05)
triage.fromTelemetry()
require(trace.ok());
require(separationOfDuties.ok());
require(ciPolicies.ok());
try require(trace.ok())
try require(duties.ok())
try require(ciPolicies.ok())
require(trace.ok())
require(duties.ok())
require(ciPolicies.ok())