Skip to content

Commit a7f842e

Browse files
authored
Merge pull request #27 from Forward-Future/codex/recent-feedback-audit-loop
[codex] Add recent-feedback sweep loop
2 parents 1127295 + 01ce9ba commit a7f842e

71 files changed

Lines changed: 624 additions & 129 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

scripts/check.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ const requestedConceptSlugs = [
157157
"codex-completion-contract-loop",
158158
"revolve-self-improvement-loop",
159159
"five-minute-repository-maintainer-loop",
160+
"recent-feedback-sweep",
160161
];
161162
const submissionPromptAnchors = new Map([
162163
["ticket-to-pr-ready-loop", ["bug report", "customer complaint"]],
@@ -194,7 +195,7 @@ assert.deepEqual(agentLoopTerm.sameAs, [
194195
"https://code.claude.com/docs/en/agent-sdk/agent-loop",
195196
"https://arxiv.org/abs/2210.03629",
196197
]);
197-
assert.equal(loops.length, 30);
198+
assert.equal(loops.length, 31);
198199
assert.equal(slugs.size, loops.length);
199200
assert.equal(titles.size, loops.length);
200201
assert.equal(prompts.size, loops.length);

scripts/loop-data.mjs

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const site = {
55
description:
66
"Practical AI agent workflows for engineering, research, editorial work, evaluation, and operations.",
77
updated: "2026-06-19",
8-
socialImageVersion: "20260619-7",
8+
socialImageVersion: "20260619-8",
99
socialImageExtension: "png",
1010
socialImageMimeType: "image/png",
1111
};
@@ -1226,4 +1226,44 @@ export const loops = [
12261226
],
12271227
related: ["ticket-to-pr-ready-loop", "stale-safe-batch-release-loop"],
12281228
},
1229+
{
1230+
number: "031",
1231+
slug: "recent-feedback-sweep",
1232+
title: "The recent-feedback sweep",
1233+
summary:
1234+
"Turns recent user corrections into a project-wide audit and verified fixes.",
1235+
seoTitle: "Recent-Feedback Project Audit | Loop Library",
1236+
description:
1237+
"A project audit that turns recent user-reported problems into reusable failure patterns, fixes every confirmed match, and verifies a clean final sweep.",
1238+
categoryLabel: "AI coding agent workflow",
1239+
author: "Matthew Berman",
1240+
published: "2026-06-19",
1241+
modified: "2026-06-19",
1242+
prompt:
1243+
"Review all available threads from [lookback window] where I reported something wrong with [project] and asked for a fix. Build a deduplicated issue list, group it into failure patterns, and verify current state. Audit the complete project for every pattern, fix each confirmed instance, and add regression coverage where practical. Repeat the full audit until it finds no remaining instance or [iteration budget] ends. Stop on blocked or approval-gated work. Return the issues, fixes, evidence, and blockers.",
1244+
verifyTitle:
1245+
"The issue inventory is closed and a fresh pattern audit is clean.",
1246+
verifyDetail:
1247+
"Every reported issue and newly found match has current proof of resolution; blocked, approval-gated, or budget-exhausted items remain explicitly open.",
1248+
useWhen:
1249+
"Use this after several days of project feedback when repeated mistakes may point to similar issues elsewhere and the agent can inspect both the conversation history and the complete current project.",
1250+
steps: [
1251+
"Define the lookback window and complete project surface, then collect every accessible thread in which the user reported a problem and requested a fix.",
1252+
"Deduplicate the reported issues, verify their current status, and turn the concrete examples into explicit failure patterns and audit checks.",
1253+
"Audit every in-scope project surface for each pattern, fix one confirmed instance at a time, and add regression coverage where practical.",
1254+
"Run targeted checks after each fix, then rerun the complete pattern audit and relevant full checks before declaring the sweep clean.",
1255+
],
1256+
why:
1257+
"Recent corrections are concrete examples of the quality bar the project missed. Grouping them into failure patterns turns one-off feedback into a reusable audit rubric, while a fresh full sweep catches sibling defects and verifies the current project rather than trusting old thread state.",
1258+
note:
1259+
"Thread access and a complete surface inventory are prerequisites. Do not infer defects from neutral discussion, reopen resolved issues without checking current behavior, or claim success while an inaccessible, blocked, approval-gated, or budget-exhausted item remains. Get approval before destructive, production, or external actions.",
1260+
keywords: [
1261+
"recent user feedback",
1262+
"project-wide issue audit",
1263+
"failure pattern sweep",
1264+
"regression prevention",
1265+
"AI coding agent",
1266+
],
1267+
related: ["full-product-evaluation-loop", "quality-streak-loop"],
1268+
},
12291269
];
169 KB
Loading
156 KB
Loading
171 KB
Loading
171 KB
Loading
161 KB
Loading
172 KB
Loading
159 KB
Loading
167 KB
Loading

0 commit comments

Comments
 (0)