agent-work-loop 0.6.33 → 0.6.34

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.
Files changed (42) hide show
  1. package/README.md +6 -0
  2. package/dist/{brief-IE2AC5XA.js → brief-2UCDBAB6.js} +4 -4
  3. package/dist/{changelog-7XV2TAVB.js → changelog-AICBEFUV.js} +4 -4
  4. package/dist/{chunk-Q34HYTEX.js → chunk-3R52QFNQ.js} +1 -1
  5. package/dist/{chunk-EW5CLZ7C.js → chunk-4Q4FDZXN.js} +3 -3
  6. package/dist/{chunk-I2F7DUOQ.js → chunk-EPVWUYXP.js} +4 -4
  7. package/dist/{chunk-XFYYCBQD.js → chunk-N5QEEXCO.js} +10 -3
  8. package/dist/{chunk-L3G3B7FT.js → chunk-O7V4DHPZ.js} +8 -8
  9. package/dist/{chunk-RQZBANFI.js → chunk-QFHXKTV6.js} +4 -4
  10. package/dist/{chunk-IQNGZFEK.js → chunk-RG6FT7I2.js} +4 -4
  11. package/dist/{chunk-HNBBLKNT.js → chunk-SDNJULFU.js} +4 -4
  12. package/dist/{chunk-RBLDM2LU.js → chunk-SZQNXMYU.js} +1 -1
  13. package/dist/{chunk-3ADAPFWK.js → chunk-TUV6NSTM.js} +5 -5
  14. package/dist/{chunk-TWL3QIQN.js → chunk-VKLSQMAW.js} +1 -1
  15. package/dist/{chunk-OA346OKL.js → chunk-VR74OBHK.js} +1 -1
  16. package/dist/{chunk-LX57XSW3.js → chunk-W2AMCPKI.js} +1 -1
  17. package/dist/{chunk-C2EWSFNH.js → chunk-WL674RWY.js} +1 -1
  18. package/dist/{chunk-NV5FE6II.js → chunk-WPZK7LJU.js} +2 -2
  19. package/dist/cli.js +120 -48
  20. package/dist/{commit-QPFG6Y6H.js → commit-PQE62KLZ.js} +5 -5
  21. package/dist/{config-7OAT6KH3.js → config-LHWI2J4M.js} +2 -2
  22. package/dist/{doctor-E56OQZZH.js → doctor-MEYI2ROW.js} +7 -7
  23. package/dist/{evolve-QJACOUJV.js → evolve-KSUWIZCY.js} +6 -6
  24. package/dist/{feedback-3K6AJBG5.js → feedback-633KAKEZ.js} +4 -4
  25. package/dist/{gotchas-LZYMD22W.js → gotchas-R236D2U2.js} +6 -6
  26. package/dist/{hold-recheck-GCQRCB5X.js → hold-recheck-7D47ITAP.js} +15 -15
  27. package/dist/{init-7BDRW6AP.js → init-U7F6ECXI.js} +1 -1
  28. package/dist/{lane-V3EFI7SW.js → lane-2OZBXFKL.js} +14 -14
  29. package/dist/{loop-summary-QNH423MW.js → loop-summary-HBADJTOZ.js} +5 -5
  30. package/dist/{metrics-HCUMZSAU.js → metrics-WI2GOPGG.js} +3 -3
  31. package/dist/{record-A35XVG5F.js → record-CEEEHNNF.js} +4 -4
  32. package/dist/{remove-SSTHJZ5G.js → remove-GWSIRW36.js} +24 -14
  33. package/dist/{review-44SX5ERY.js → review-F6Y2TD5B.js} +12 -12
  34. package/dist/{rules-GSOMM5VP.js → rules-A7YTU3HV.js} +7 -7
  35. package/dist/{state-46G4FKH3.js → state-KHZNSJRS.js} +3 -3
  36. package/dist/{status-RHIO7OI6.js → status-HU3RLDSB.js} +15 -15
  37. package/dist/{update-AKGNAL2F.js → update-7BLNEJ52.js} +4 -4
  38. package/dist/{verify-R3ISFRBC.js → verify-WJNFIF4Y.js} +9 -9
  39. package/dist/{version-check-2DSSLKUD.js → version-check-DFNWGNLY.js} +4 -4
  40. package/dist/{work-ETVZJUFX.js → work-LDPAHEPH.js} +13 -13
  41. package/engine/version.json +1 -1
  42. package/package.json +1 -1
package/README.md CHANGED
@@ -356,6 +356,12 @@ awl work switch <ID> # 보관된 워크아이템으로 전환
356
356
  **`git push`가 막힌다**
357
357
  `awl init`이 심는 pre-push 훅 때문입니다(위 5분 시작 참고). 정말 push하려면 `AWL_ALLOW_PUSH=1 git push`를 씁니다.
358
358
 
359
+ **대형 저장소에서 `awl lane new`/`awl work new --worktree`가 `Could not write new index file`로 실패한다**
360
+ `git worktree add`가 기본 180초 안에 못 끝나 강제 종료됐다는 뜻입니다(대형 모노레포는
361
+ 체크아웃이 오래 걸립니다) — 디스크 문제가 아닙니다. `AWL_GIT_WORKTREE_TIMEOUT_MS=<ms>`
362
+ 환경변수로 값을 늘려 다시 시도하세요(예: `AWL_GIT_WORKTREE_TIMEOUT_MS=300000 awl lane new
363
+ <이름>`).
364
+
359
365
  **게이트에서 스킬이 안 멈추고 그냥 진행한다**
360
366
  스킬 문서가 게이트에서 반드시 도구를 호출하도록 지시돼 있습니다. 계속 안 멈추면 스킬이 최신인지 확인하세요. `awl doctor`가 `claude-skill-vs-engine` 불일치를 경고하면 `awl init --yes`로 재설치합니다.
361
367
 
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  loadProjectName,
3
3
  readRecords
4
- } from "./chunk-NV5FE6II.js";
4
+ } from "./chunk-WPZK7LJU.js";
5
5
  import {
6
6
  loadState
7
- } from "./chunk-TWL3QIQN.js";
7
+ } from "./chunk-VKLSQMAW.js";
8
8
  import {
9
9
  resolveProjectRoot,
10
10
  run
11
- } from "./chunk-RBLDM2LU.js";
12
- import "./chunk-XFYYCBQD.js";
11
+ } from "./chunk-SZQNXMYU.js";
12
+ import "./chunk-N5QEEXCO.js";
13
13
  import "./chunk-SUF5ISJM.js";
14
14
 
15
15
  // src/commands/brief.ts
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  readRecords
3
- } from "./chunk-NV5FE6II.js";
3
+ } from "./chunk-WPZK7LJU.js";
4
4
  import {
5
5
  loadState
6
- } from "./chunk-TWL3QIQN.js";
6
+ } from "./chunk-VKLSQMAW.js";
7
7
  import {
8
8
  resolveProjectRoot
9
- } from "./chunk-RBLDM2LU.js";
10
- import "./chunk-XFYYCBQD.js";
9
+ } from "./chunk-SZQNXMYU.js";
10
+ import "./chunk-N5QEEXCO.js";
11
11
  import {
12
12
  caps,
13
13
  signal
@@ -4,7 +4,7 @@ import {
4
4
 
5
5
  // package.json
6
6
  var name = "agent-work-loop";
7
- var version = "0.6.33";
7
+ var version = "0.6.34";
8
8
 
9
9
  // src/core/npm-registry.ts
10
10
  import fs from "fs";
@@ -3,14 +3,14 @@ import {
3
3
  getLatestVersionCached,
4
4
  name,
5
5
  version
6
- } from "./chunk-Q34HYTEX.js";
6
+ } from "./chunk-3R52QFNQ.js";
7
7
  import {
8
8
  resolveProjectRoot
9
- } from "./chunk-RBLDM2LU.js";
9
+ } from "./chunk-SZQNXMYU.js";
10
10
  import {
11
11
  packageEngineDir,
12
12
  skillsVersionPath
13
- } from "./chunk-XFYYCBQD.js";
13
+ } from "./chunk-N5QEEXCO.js";
14
14
  import {
15
15
  caps,
16
16
  installedEngineVersion,
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  WORKTREES_DIR
3
- } from "./chunk-HNBBLKNT.js";
3
+ } from "./chunk-SDNJULFU.js";
4
4
  import {
5
5
  readRecords
6
- } from "./chunk-NV5FE6II.js";
6
+ } from "./chunk-WPZK7LJU.js";
7
7
  import {
8
8
  loadState
9
- } from "./chunk-TWL3QIQN.js";
9
+ } from "./chunk-VKLSQMAW.js";
10
10
  import {
11
11
  resolveProjectRoot,
12
12
  run
13
- } from "./chunk-RBLDM2LU.js";
13
+ } from "./chunk-SZQNXMYU.js";
14
14
  import {
15
15
  caps,
16
16
  makeColors,
@@ -625,7 +625,7 @@ function writeSkillsVersionStamp(projectRoot, installed, engineVersion) {
625
625
  fs.writeFileSync(p, `${JSON.stringify(next, null, 2)}
626
626
  `);
627
627
  }
628
- function syncExistingInstall(projectRoot, engineVersion) {
628
+ function syncExistingInstall(projectRoot, engineVersion, now) {
629
629
  let configUpdated = false;
630
630
  const configPath = path.join(projectRoot, ".awl", "config.json");
631
631
  const raw = readJson(configPath);
@@ -634,6 +634,13 @@ function syncExistingInstall(projectRoot, engineVersion) {
634
634
  `);
635
635
  configUpdated = true;
636
636
  }
637
+ registerProject({
638
+ name: typeof raw?.project === "string" ? raw.project : path.basename(projectRoot),
639
+ path: projectRoot,
640
+ mainLanguage: Array.isArray(raw?.mainLanguage) ? raw.mainLanguage : [],
641
+ character: typeof raw?.character === "string" ? raw.character : "",
642
+ registeredAt: now
643
+ });
637
644
  const skills = [];
638
645
  const claudeInUse = claudeSkillNames().some(
639
646
  (name) => exists(path.join(projectRoot, ".claude", "skills", name))
@@ -1132,7 +1139,7 @@ ${flowActiveNode("\uAE30\uC874 \uC124\uC815", summaryLines, c)}
1132
1139
  `
1133
1140
  );
1134
1141
  if (choice === 0) {
1135
- const synced = syncExistingInstall(projectRoot, installedVer ?? "unknown");
1142
+ const synced = syncExistingInstall(projectRoot, installedVer ?? "unknown", now);
1136
1143
  if (synced.configUpdated || synced.skills.length > 0) {
1137
1144
  process.stdout.write(
1138
1145
  `
@@ -1314,7 +1321,7 @@ async function runInit(opts) {
1314
1321
  if (configExists) {
1315
1322
  const engine = scaffoldGlobal();
1316
1323
  const hook = installSafetyHook(projectRoot);
1317
- const synced = syncExistingInstall(projectRoot, engine.engineVersion);
1324
+ const synced = syncExistingInstall(projectRoot, engine.engineVersion, now);
1318
1325
  const syncNote = synced.configUpdated || synced.skills.length > 0 ? `
1319
1326
  ${signal(c, "ok")} \uBC84\uC804 \uB9C8\uCEE4\uB97C ${engine.engineVersion} \uB85C \uB3D9\uAE30\uD654\uD588\uC2B5\uB2C8\uB2E4${synced.skills.length ? ` (\uC2A4\uD0AC: ${synced.skills.join(", ")})` : ""}.` : "";
1320
1327
  process.stdout.write(
@@ -7,32 +7,32 @@ import {
7
7
  isCheckPassed,
8
8
  runVerifyChecks,
9
9
  writeVerifyBaseline
10
- } from "./chunk-IQNGZFEK.js";
10
+ } from "./chunk-RG6FT7I2.js";
11
11
  import {
12
12
  gitBranch
13
- } from "./chunk-3ADAPFWK.js";
13
+ } from "./chunk-TUV6NSTM.js";
14
14
  import {
15
15
  parseRuleFile
16
- } from "./chunk-C2EWSFNH.js";
16
+ } from "./chunk-WL674RWY.js";
17
17
  import {
18
18
  nextGotchaId
19
- } from "./chunk-RQZBANFI.js";
19
+ } from "./chunk-QFHXKTV6.js";
20
20
  import {
21
21
  loadProjectName
22
- } from "./chunk-NV5FE6II.js";
22
+ } from "./chunk-WPZK7LJU.js";
23
23
  import {
24
24
  loadState,
25
25
  migrateState,
26
26
  writeState
27
- } from "./chunk-TWL3QIQN.js";
27
+ } from "./chunk-VKLSQMAW.js";
28
28
  import {
29
29
  loadConfig,
30
30
  resolveProjectRoot,
31
31
  run
32
- } from "./chunk-RBLDM2LU.js";
32
+ } from "./chunk-SZQNXMYU.js";
33
33
  import {
34
34
  installClaudeSkill
35
- } from "./chunk-XFYYCBQD.js";
35
+ } from "./chunk-N5QEEXCO.js";
36
36
  import {
37
37
  caps,
38
38
  feedback,
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  computeDurationMs
3
- } from "./chunk-OA346OKL.js";
3
+ } from "./chunk-VR74OBHK.js";
4
4
  import {
5
5
  computeCoverage,
6
6
  readRecords
7
- } from "./chunk-NV5FE6II.js";
7
+ } from "./chunk-WPZK7LJU.js";
8
8
  import {
9
9
  loadState
10
- } from "./chunk-TWL3QIQN.js";
10
+ } from "./chunk-VKLSQMAW.js";
11
11
  import {
12
12
  requireConfig
13
- } from "./chunk-RBLDM2LU.js";
13
+ } from "./chunk-SZQNXMYU.js";
14
14
  import {
15
15
  caps,
16
16
  generationsDir,
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  protectedFilesMessage
3
- } from "./chunk-LX57XSW3.js";
3
+ } from "./chunk-W2AMCPKI.js";
4
4
  import {
5
5
  gitDirtyFiles
6
- } from "./chunk-3ADAPFWK.js";
6
+ } from "./chunk-TUV6NSTM.js";
7
7
  import {
8
8
  applyVerificationAttempts,
9
9
  loadState,
10
10
  writeState
11
- } from "./chunk-TWL3QIQN.js";
11
+ } from "./chunk-VKLSQMAW.js";
12
12
  import {
13
13
  CommandNotFoundError,
14
14
  VERIFY_ORDER,
15
15
  requireConfig,
16
16
  run
17
- } from "./chunk-RBLDM2LU.js";
17
+ } from "./chunk-SZQNXMYU.js";
18
18
  import {
19
19
  caps,
20
20
  makeColors,
@@ -5,18 +5,18 @@ import {
5
5
  runWorkNew,
6
6
  sanitizeForGit,
7
7
  worktreeDirtyTracked
8
- } from "./chunk-L3G3B7FT.js";
8
+ } from "./chunk-O7V4DHPZ.js";
9
9
  import {
10
10
  loadProjectName
11
- } from "./chunk-NV5FE6II.js";
11
+ } from "./chunk-WPZK7LJU.js";
12
12
  import {
13
13
  loadState,
14
14
  writeState
15
- } from "./chunk-TWL3QIQN.js";
15
+ } from "./chunk-VKLSQMAW.js";
16
16
  import {
17
17
  resolveProjectRoot,
18
18
  run
19
- } from "./chunk-RBLDM2LU.js";
19
+ } from "./chunk-SZQNXMYU.js";
20
20
  import {
21
21
  caps,
22
22
  feedback,
@@ -11,7 +11,7 @@ import {
11
11
  selectMulti,
12
12
  step,
13
13
  verifyStepLines
14
- } from "./chunk-XFYYCBQD.js";
14
+ } from "./chunk-N5QEEXCO.js";
15
15
  import {
16
16
  caps,
17
17
  findProjectRoot,
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  gatherVersionInputs
3
- } from "./chunk-EW5CLZ7C.js";
3
+ } from "./chunk-4Q4FDZXN.js";
4
4
  import {
5
5
  checkVersions
6
- } from "./chunk-Q34HYTEX.js";
6
+ } from "./chunk-3R52QFNQ.js";
7
7
  import {
8
8
  loadProjectName,
9
9
  readRecords
10
- } from "./chunk-NV5FE6II.js";
10
+ } from "./chunk-WPZK7LJU.js";
11
11
  import {
12
12
  loadState,
13
13
  readStateLock
14
- } from "./chunk-TWL3QIQN.js";
14
+ } from "./chunk-VKLSQMAW.js";
15
15
  import {
16
16
  CommandNotFoundError,
17
17
  run,
18
18
  tokenize
19
- } from "./chunk-RBLDM2LU.js";
19
+ } from "./chunk-SZQNXMYU.js";
20
20
  import {
21
21
  caps,
22
22
  clipToWidth,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveProjectRoot
3
- } from "./chunk-RBLDM2LU.js";
3
+ } from "./chunk-SZQNXMYU.js";
4
4
  import {
5
5
  caps,
6
6
  makeColors,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireConfig
3
- } from "./chunk-RBLDM2LU.js";
3
+ } from "./chunk-SZQNXMYU.js";
4
4
  import {
5
5
  caps,
6
6
  generationsDir,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  run
3
- } from "./chunk-RBLDM2LU.js";
3
+ } from "./chunk-SZQNXMYU.js";
4
4
 
5
5
  // src/core/protected-files.ts
6
6
  async function changedProtectedFiles(projectRoot, protectedFiles) {
@@ -2,7 +2,7 @@ import {
2
2
  acquireLock,
3
3
  loadGotchaList,
4
4
  releaseLock
5
- } from "./chunk-RQZBANFI.js";
5
+ } from "./chunk-QFHXKTV6.js";
6
6
  import {
7
7
  caps,
8
8
  makeColors,
@@ -2,11 +2,11 @@ import {
2
2
  getCriterion,
3
3
  loadState,
4
4
  writeState
5
- } from "./chunk-TWL3QIQN.js";
5
+ } from "./chunk-VKLSQMAW.js";
6
6
  import {
7
7
  resolveProjectRoot,
8
8
  run
9
- } from "./chunk-RBLDM2LU.js";
9
+ } from "./chunk-SZQNXMYU.js";
10
10
  import {
11
11
  caps,
12
12
  makeColors,