@sabaiway/agent-workflow-kit 14.3.0 → 14.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/SKILL.md +1 -1
- package/capability.json +1 -1
- package/package.json +1 -1
- package/references/modes/procedures.md +1 -1
- package/references/modes/review-state.md +1 -1
- package/tools/procedures.mjs +6 -11
- package/tools/review-state-await.mjs +77 -0
- package/tools/review-state-build.mjs +163 -0
- package/tools/review-state-flow.mjs +110 -0
- package/tools/review-state-judge.mjs +331 -0
- package/tools/review-state-render.mjs +67 -0
- package/tools/review-state.mjs +34 -734
- package/tools/task-brief.mjs +2 -1
package/tools/task-brief.mjs
CHANGED
|
@@ -167,7 +167,8 @@ const checkRow = (context, brief, row) => {
|
|
|
167
167
|
const allowed = isSweep(row.path) ? expandSweepPaths(context.top, [row.path])[row.path] : [row.path];
|
|
168
168
|
if (implementations.some((path) => !allowed.includes(path))) reject(NAMES.row, row.id);
|
|
169
169
|
const tests = files.filter(({ tag }) => tag === TEST);
|
|
170
|
-
|
|
170
|
+
const bases = implementations.length > START ? implementations : allowed;
|
|
171
|
+
if (tests.some(({ path }) => TEST_RE.test(row.path) ? path !== row.path : !bases.some((impl) => {
|
|
171
172
|
const stem = impl.replace(EXTENSION_RE, EMPTY);
|
|
172
173
|
return path === `${stem}${TEST_SUFFIX}` || path.startsWith(`${stem}${TEST_DIRECTORY}`);
|
|
173
174
|
}))) reject(NAMES.row, row.id);
|