archondev 2.19.32 → 2.19.33

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 (2) hide show
  1. package/dist/index.js +16 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3825,7 +3825,12 @@ function isExecutionDirective(input) {
3825
3825
  "start now"
3826
3826
  ]);
3827
3827
  if (directExecution.has(normalized)) return true;
3828
- return /\b(execute|run|implement|start)\b/.test(normalized) && /\b(atom|task|plan|it|now)\b/.test(normalized);
3828
+ const hasExplicitRunVerb = /\b(execute|run)\b/.test(normalized);
3829
+ const hasExecutionTarget = /\b(atom|task|plan|it|now)\b/.test(normalized);
3830
+ if (hasExplicitRunVerb && hasExecutionTarget) {
3831
+ return true;
3832
+ }
3833
+ return /\b(start execution|implement now)\b/.test(normalized);
3829
3834
  }
3830
3835
  function isCreateAtomDirective(input) {
3831
3836
  const normalized = normalizeDirectiveInput(input);
@@ -4009,12 +4014,19 @@ function buildSampleCapsuleDraft(cwd, files, capsuleCount) {
4009
4014
  async function continueWithCurrentTask(cwd) {
4010
4015
  const { listLocalAtoms: listLocalAtoms2 } = await import("./plan-RHDFDSZE.js");
4011
4016
  const atoms = await listLocalAtoms2();
4012
- const pending = atoms.filter((a) => a.status === "READY" || a.status === "IN_PROGRESS").sort((a, b) => a.externalId.localeCompare(b.externalId));
4013
- if (pending.length === 0) {
4017
+ const readyAtoms = atoms.filter((a) => a.status === "READY").sort((a, b) => a.externalId.localeCompare(b.externalId));
4018
+ if (readyAtoms.length === 0) {
4019
+ const inProgressAtoms = atoms.filter((a) => a.status === "IN_PROGRESS").sort((a, b) => a.externalId.localeCompare(b.externalId));
4020
+ if (inProgressAtoms.length > 0) {
4021
+ const current = inProgressAtoms[0];
4022
+ console.log(chalk5.yellow(`No READY atoms found. Current in-progress atom: ${current?.externalId}.`));
4023
+ console.log(chalk5.dim("Use `archon show <atom-id>` to inspect status, or plan a new task."));
4024
+ return;
4025
+ }
4014
4026
  console.log(chalk5.yellow("No pending atoms found. Tell me what to plan next."));
4015
4027
  return;
4016
4028
  }
4017
- const nextAtom = pending[0];
4029
+ const nextAtom = readyAtoms[0];
4018
4030
  if (!nextAtom) {
4019
4031
  console.log(chalk5.yellow("No pending atoms found. Tell me what to plan next."));
4020
4032
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archondev",
3
- "version": "2.19.32",
3
+ "version": "2.19.33",
4
4
  "description": "Local-first AI-powered development governance system",
5
5
  "main": "dist/index.js",
6
6
  "bin": {