@codetreker/daynight 0.8.17 → 0.9.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/dist/api/client.d.ts +4 -1
- package/dist/api/client.js +7 -1
- package/dist/api/client.js.map +1 -1
- package/dist/api/types.d.ts +4 -2
- package/dist/cli/commands.js +1 -0
- package/dist/cli/commands.js.map +1 -1
- package/dist/commands/completion/bash.js +1 -1
- package/dist/commands/completion/bash.js.map +1 -1
- package/dist/commands/completion/zsh.js +1 -1
- package/dist/commands/completion/zsh.js.map +1 -1
- package/dist/commands/review/adapters/copilot.js +1 -0
- package/dist/commands/review/adapters/copilot.js.map +1 -1
- package/dist/commands/review/skills/daynight-review/SKILL.md +69 -4
- package/dist/commands/skill/skills/using-daynight/SKILL.md +34 -20
- package/dist/commands/skill/skills/using-daynight/references/autopilot.md +52 -33
- package/dist/commands/skill/skills/using-daynight/references/create-task.md +132 -77
- package/dist/commands/skill/skills/using-daynight/references/goal.md +170 -0
- package/dist/commands/skill/skills/using-daynight/references/handbook.md +65 -34
- package/dist/commands/skill/skills/using-daynight/references/run-task.md +95 -59
- package/dist/commands/task/command.js +13 -7
- package/dist/commands/task/command.js.map +1 -1
- package/dist/commands/task/definition.js +18 -6
- package/dist/commands/task/definition.js.map +1 -1
- package/package.json +4 -3
|
@@ -2,22 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
Use the installed `daynight` CLI. Discover command groups with `daynight --help`
|
|
4
4
|
and read the relevant command's `--help` for arguments, options, and output
|
|
5
|
-
formats. This reference indexes project/task commands and explains the context
|
|
5
|
+
formats. The installed `dn` alias accepts the same commands. This reference indexes project/task commands and explains the context
|
|
6
6
|
needed to use them correctly.
|
|
7
7
|
|
|
8
8
|
## Command index
|
|
9
9
|
|
|
10
10
|
| Command | Purpose |
|
|
11
11
|
|---|---|
|
|
12
|
-
| `setup` | Configure access to the
|
|
12
|
+
| `setup` | Configure access to the service origin and optional personal token. |
|
|
13
13
|
| `project create` | Register a repository as a project or find its existing project. |
|
|
14
14
|
| `project list` | Find projects on the configured service. |
|
|
15
15
|
| `project show` | Inspect a project's details. |
|
|
16
|
-
| `task create` | Register a
|
|
17
|
-
| `task ready` |
|
|
16
|
+
| `task create` | Register a proposed task with its metadata and dependencies. |
|
|
17
|
+
| `task ready` | Read a bounded candidate page of approved todo tasks with completed prerequisites. |
|
|
18
18
|
| `task list` | Read every matching page; defaults to unfinished tasks. |
|
|
19
|
-
| `task show` | Read one task's complete details and version. |
|
|
20
|
-
| `task update` | Change
|
|
19
|
+
| `task show` | Read one task's complete details and exact version. |
|
|
20
|
+
| `task update` | Change metadata, dependencies, or PR references; status is not writable. |
|
|
21
|
+
| `task approve` | Change proposed to todo using an observed version and explicit approval authorization. |
|
|
22
|
+
| `task claim` | Change ready todo to in_progress using an observed version. |
|
|
23
|
+
| `task complete` | Change in_progress to done after acceptance and required authorized delivery. |
|
|
21
24
|
| `task graph` | Inspect the project's dependency graph and summary. |
|
|
22
25
|
| `task attachment put` | Upload or replace one attachment file. |
|
|
23
26
|
| `task attachment list` | Read a task's attachment inventory and metadata. |
|
|
@@ -32,10 +35,11 @@ stdin option; never put a token in command arguments, chat, task descriptions,
|
|
|
32
35
|
checkpoints or attachments. A configured token is bound to the normalized service
|
|
33
36
|
origin: changing the origin removes the previous token. Tokens require HTTPS
|
|
34
37
|
except for literal localhost or loopback HTTP addresses. Project discovery and
|
|
35
|
-
explicit project IDs grant no access; the service decides from current
|
|
36
|
-
|
|
37
|
-
blind repeat of a mutation. Reconcile an unconfirmed write
|
|
38
|
-
mutation. Setup
|
|
38
|
+
explicit project IDs grant no access; the service decides from current membership
|
|
39
|
+
when authorization is enabled. A 401 points to setup and does not permit an
|
|
40
|
+
anonymous retry or a blind repeat of a mutation. Reconcile an unconfirmed write
|
|
41
|
+
before another mutation. Setup saves configuration and performs no login or
|
|
42
|
+
network check.
|
|
39
43
|
|
|
40
44
|
**Project discovery.** Inside a Git worktree, task commands can omit `--project`:
|
|
41
45
|
the CLI matches the origin repository URL to a project on the configured
|
|
@@ -43,29 +47,53 @@ service. An explicit project overrides discovery for that invocation. Resolve
|
|
|
43
47
|
missing or ambiguous matches rather than guessing an ID or creating a project
|
|
44
48
|
to make a query succeed.
|
|
45
49
|
|
|
46
|
-
**Read scope.** Ready is a candidate page, ordered by
|
|
47
|
-
relevance. An empty page does not rule out
|
|
48
|
-
work. List traverses every matching page but
|
|
49
|
-
completed tasks explicitly when checking the
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
bounded candidate and
|
|
50
|
+
**Read scope.** Ready is a candidate page of approved todo tasks, ordered by
|
|
51
|
+
creation rather than relevance. An empty page does not rule out proposed,
|
|
52
|
+
in-progress or dependency-blocked work. List traverses every matching page but
|
|
53
|
+
excludes `done` by default; include completed tasks explicitly when checking the
|
|
54
|
+
full backlog or prior registrations. Its grouping is in-progress, ready todo,
|
|
55
|
+
blocked todo, proposed, then done when included; this does not rank relevance.
|
|
56
|
+
Human lists are summaries; JSON lists omit only `description` and preserve every
|
|
57
|
+
other task field. Use show when a description is needed; ready, details and write
|
|
58
|
+
results retain full tasks. Graph provides compact dependency context without
|
|
59
|
+
full descriptions, PR properties, or versions. Read the selected task's details
|
|
60
|
+
before acting. A graph-limit error still permits bounded candidate and
|
|
61
|
+
individual task reads.
|
|
57
62
|
|
|
58
|
-
**
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
**Lifecycle and approval.** Creation starts in `proposed`. Explicit approval
|
|
64
|
+
moves proposed to todo; claim moves todo to in_progress; complete moves
|
|
65
|
+
in_progress to done. Approval allows unfinished prerequisites. Claim and
|
|
66
|
+
completion require every direct prerequisite to be done. Proposed is never
|
|
67
|
+
ready, even with no prerequisites. Repeated actions and wrong predecessor states
|
|
68
|
+
fail; there is no reset, reopen, release, or direct todo-to-done transition.
|
|
69
|
+
Metadata, attachments and PR references cannot approve or claim work. Approve
|
|
70
|
+
only when the user explicitly authorizes approval of the task or stated scope;
|
|
71
|
+
creation, execution requests, `run-task` and autopilot grant none. A deliberate
|
|
72
|
+
Web approval click is the user's approval instruction. Task approval itself
|
|
73
|
+
grants no implementation, publication, deployment or merge permission.
|
|
74
|
+
|
|
75
|
+
**Task concurrency.** Bind each metadata update, approve, claim and complete to
|
|
76
|
+
the exact version read for that decision using `--if-version`; the CLI's default
|
|
77
|
+
pre-submit read cannot protect an earlier decision. Preserve full int64 decimal
|
|
78
|
+
digits without numeric rounding. A claim is a versioned transition, not an
|
|
79
|
+
assignee lock, renewable lease or proof that existing work belongs to this
|
|
80
|
+
session. On a conflict, reread and reconsider; a new action needs a fresh
|
|
81
|
+
decision, not merely a newer version. Never retry a mutation automatically.
|
|
64
82
|
|
|
65
83
|
**Replacement fields.** Descriptions, dependency sets, and PR reference lists
|
|
66
84
|
replace the whole supplied field. Preserve every still-needed value. Omitted
|
|
67
85
|
fields stay unchanged; clearing and option-pairing syntax is in command help.
|
|
68
86
|
|
|
87
|
+
**Markdown descriptions.** Write self-contained task briefs in Markdown following
|
|
88
|
+
[create-task](create-task.md). The Web displays CommonMark/GFM, while API and CLI
|
|
89
|
+
reads preserve the original string, including line breaks and fenced code. There
|
|
90
|
+
is no format flag. Relative description links and images start at the current
|
|
91
|
+
task's attachment root; Markdown attachment internals start at their containing
|
|
92
|
+
file's directory. Keep real case-sensitive paths inside the task root, confirm
|
|
93
|
+
uploaded contents before linking them, and preserve Markdown and valid references
|
|
94
|
+
when replacing a description. Shared inputs retain their source task ID and path
|
|
95
|
+
or verified immutable repository URL; they are not cross-task relative links.
|
|
96
|
+
|
|
69
97
|
**Attachment independence.** Task reads contain no attachment inventory.
|
|
70
98
|
Attachments use case-sensitive relative paths; uploads to the same path replace
|
|
71
99
|
that file, so keep mock UI resources at their referenced relative locations.
|
|
@@ -74,12 +102,15 @@ Task versions therefore cannot protect attachment writes. Multiple file
|
|
|
74
102
|
operations are independent, and file bytes and metadata can change partially;
|
|
75
103
|
confirm actual contents as well as metadata when reconciling a write.
|
|
76
104
|
|
|
77
|
-
**Unconfirmed writes.** A timeout or lost response may follow an
|
|
78
|
-
Read back task fields or attachment contents before
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
resending a write.
|
|
105
|
+
**Unconfirmed writes.** A timeout, cancellation or lost response may follow an
|
|
106
|
+
applied change. Read back current task fields or attachment contents before
|
|
107
|
+
another mutation; cancellation does not prove rollback. For an unconfirmed
|
|
108
|
+
create, establish identity from complete fields and operation context; a matching
|
|
109
|
+
title or an empty lookup alone is insufficient. Preserve actual errors and
|
|
110
|
+
resource IDs rather than reporting success or blindly resending a write.
|
|
83
111
|
|
|
84
112
|
Task registration, execution, and selection follow [create-task](create-task.md),
|
|
85
|
-
[run-task](run-task.md), and [autopilot](autopilot.md), respectively.
|
|
113
|
+
[run-task](run-task.md), and [autopilot](autopilot.md), respectively. For a chain
|
|
114
|
+
of independently tracked delivery stages, use [the Goal protocol](goal.md).
|
|
115
|
+
Goal scope grants no implicit approval: every stage and delivery task follows the
|
|
116
|
+
same proposed/approve/claim/complete lifecycle.
|
|
@@ -5,76 +5,112 @@ Execute exactly one specified task ID within the user's authorized scope. Read
|
|
|
5
5
|
This mode owns execution and completion; it returns without choosing a successor
|
|
6
6
|
or activating autopilot.
|
|
7
7
|
|
|
8
|
-
## Establish the task
|
|
9
|
-
|
|
10
|
-
Read the complete task with `daynight task show <task-id> --json`.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
8
|
+
## Establish the task and stage
|
|
9
|
+
|
|
10
|
+
Read the complete task with `daynight task show <task-id> --json`. Its Markdown
|
|
11
|
+
description must make the problem, current actions, scope, deliverables,
|
|
12
|
+
constraints, and observable completion summary understandable. Read its own primary
|
|
13
|
+
Markdown's Solution and Acceptance criteria; equivalent headings in the task's
|
|
14
|
+
language are valid.
|
|
15
|
+
Resolve description-relative links and images from the current task's attachment
|
|
16
|
+
root; links inside a Markdown attachment use its own directory. Resolve real
|
|
17
|
+
shared input references using the source task ID and attachment path or a verified
|
|
18
|
+
immutable repository reference. Read required contents rather than assuming a
|
|
19
|
+
task read loads attachment inventory or bytes.
|
|
20
|
+
|
|
21
|
+
For a Goal stage or delivery task, read [the Goal protocol](goal.md) and identify
|
|
22
|
+
its role from the actual task content and context. Apply that stage's input and
|
|
23
|
+
output requirements. Goal description and design start from their stage briefs;
|
|
24
|
+
the completed requirements, applicable UI prototype, and architecture are outputs
|
|
25
|
+
of the stages that produce them. Delivery tasks require the delivered design and
|
|
26
|
+
applicable prototype. When a prototype is a required input, view and exercise it
|
|
27
|
+
with its resources. An unfinished output of the current stage is not a missing
|
|
28
|
+
input.
|
|
29
|
+
|
|
30
|
+
Check state, direct prerequisites, authorized scope, and required stage inputs.
|
|
31
|
+
A missing or unreadable primary Markdown, missing Solution or Acceptance criteria,
|
|
32
|
+
or absent required input leaves execution unready. Resolve it within the
|
|
33
|
+
existing authorization or return the concrete issue. Do not infer requirements
|
|
34
|
+
from a title, silently invent acceptance criteria, or move detailed plans into
|
|
35
|
+
the description. Do not execute prerequisites as an implicit expansion of the
|
|
36
|
+
requested task.
|
|
37
|
+
|
|
38
|
+
For `proposed`, keep execution pending approval. A run request or autopilot
|
|
39
|
+
activation does not authorize approval. Only if the user explicitly authorized
|
|
40
|
+
approval of this task or stated scope, review its current content and use
|
|
41
|
+
`task approve` with that exact observed version, then confirm the resulting todo
|
|
42
|
+
state. The user can also approve directly through the CLI or Web. Approval does
|
|
43
|
+
not expand implementation or delivery authorization.
|
|
44
|
+
|
|
45
|
+
For ready `todo`, begin only when dependencies are done, required stage inputs are complete
|
|
46
|
+
and the work is authorized. Use `task claim` with the exact version observed for
|
|
47
|
+
that decision and confirm in_progress before starting. A stale version or
|
|
48
|
+
changed prerequisite requires rereading and reconsidering, with no automatic
|
|
49
|
+
claim retry. For `in_progress`, recover existing work and coordinate using the
|
|
50
|
+
project's established mechanisms; the state is not an assignee lock or lease.
|
|
51
|
+
A task already `done` is reported as such; there is no reopening operation.
|
|
52
|
+
Preserve the requested task ID through recovery and waiting.
|
|
30
53
|
|
|
31
54
|
## Execute and maintain continuity
|
|
32
55
|
|
|
33
56
|
Follow the target repository's instructions for worktrees, implementation,
|
|
34
|
-
review, validation, and delivery. Use the
|
|
35
|
-
criteria
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
57
|
+
review, validation, and delivery. Use the task's stage-appropriate solution and
|
|
58
|
+
acceptance criteria, including applicable final-style prototype interactions.
|
|
59
|
+
Goal description defines the problem without architecture decisions or production
|
|
60
|
+
implementation. Design completes architecture and actually registers and verifies
|
|
61
|
+
the entire delivery breakdown before design PR handover. Do not start a successor
|
|
62
|
+
while running either stage.
|
|
63
|
+
|
|
64
|
+
Resolve material changes to the agreed solution or acceptance within the current
|
|
65
|
+
authorization. Rewrite the owning artifact and affected task summaries and input
|
|
66
|
+
references coherently. Preserve requirements; do not silently weaken acceptance.
|
|
67
|
+
Descriptions remain self-contained Markdown task summaries. Preserve valid
|
|
68
|
+
syntax, original content, and actual resource references during full-field
|
|
69
|
+
updates; confirm new or replaced resources before linking them. Each primary
|
|
70
|
+
Markdown owns its detailed plan and evidence; shared inputs remain at their
|
|
71
|
+
verified source.
|
|
39
72
|
|
|
40
73
|
Advance only this task. Subagents collaborate on it, and waiting for CI, review,
|
|
41
74
|
approval, or merge remains part of it. Keep all required delivery PR URLs and
|
|
42
|
-
titles in the complete `properties.pullRequests` list
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
log. Keep operational progress, blockers, waiting items, and the next action in
|
|
50
|
-
the conversation or the project's existing execution checkpoint, retaining the
|
|
51
|
-
task ID and any necessary PR and workspace references.
|
|
75
|
+
titles in the complete `properties.pullRequests` list, preserving existing
|
|
76
|
+
entries. Record acceptance results and necessary delivery evidence, including
|
|
77
|
+
merge commits, with the primary Markdown's corresponding acceptance criteria.
|
|
78
|
+
Rewrite current evidence coherently rather than accumulating an execution log.
|
|
79
|
+
Keep operational progress, blockers, waiting items, and next action in the
|
|
80
|
+
conversation or existing execution checkpoint, retaining the task ID and needed
|
|
81
|
+
PR and workspace references.
|
|
52
82
|
|
|
53
83
|
## Confirm completion or return waiting
|
|
54
84
|
|
|
55
85
|
Development tasks and design or documentation tasks delivered through PRs remain
|
|
56
86
|
`in_progress` until the hosting platform confirms **every necessary delivery PR
|
|
57
|
-
is merged** and all acceptance criteria are satisfied. Code completion,
|
|
58
|
-
CI, approved review, and an open PR do not satisfy this condition. Verify
|
|
59
|
-
merge state through the
|
|
60
|
-
|
|
87
|
+
is merged** and all stage acceptance criteria are satisfied. Code completion,
|
|
88
|
+
passing CI, approved review, and an open PR do not satisfy this condition. Verify
|
|
89
|
+
actual merge state through the host's native client or API; do not assume a
|
|
90
|
+
particular host.
|
|
61
91
|
|
|
62
92
|
Completion rules grant no merge, deployment, external communication, or mainline
|
|
63
|
-
push permission. Follow
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
For tasks
|
|
71
|
-
|
|
72
|
-
then reread the complete task and
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
93
|
+
push permission. Follow existing authorization without asking again for actions
|
|
94
|
+
it covers. If the user requests an open PR for review or forbids merging, deliver
|
|
95
|
+
the reviewable PR, preserve `in_progress` and the waiting checkpoint, and return
|
|
96
|
+
its URL and required user action. Do not enable auto-merge. Missing permission,
|
|
97
|
+
unavailable merge visibility, or an unmet merge check likewise keeps completion
|
|
98
|
+
pending and successors blocked.
|
|
99
|
+
|
|
100
|
+
For tasks without a development or PR delivery path, use their stated stage
|
|
101
|
+
acceptance. In every case, confirm required evidence is recorded and readable,
|
|
102
|
+
then reread the complete in-progress task and use `task complete` with its exact
|
|
103
|
+
observed version. This applies to Goal description, design and every delivery
|
|
104
|
+
task, using their own stage acceptance and required authorized PR merges.
|
|
105
|
+
Only service confirmation establishes the status update; reconcile uncertain
|
|
106
|
+
results before reporting success. A Goal description task's completion means
|
|
107
|
+
problem definition is complete; design completion means architecture and actual
|
|
108
|
+
breakdown are delivered. Neither establishes whole-Goal completion.
|
|
109
|
+
|
|
110
|
+
Continue ordinary CI and review waits as this task. When progress requires
|
|
111
|
+
external intervention, preserve the target, actual state, concrete blocker,
|
|
112
|
+
existing work, and next action in the checkpoint, then return the waiting result.
|
|
113
|
+
Unapproved work stays `proposed`; approved unstarted work stays `todo`; claimed
|
|
114
|
+
work stays `in_progress`. Do not declare
|
|
115
|
+
completion or select other work to bypass a wait. After completion, return
|
|
116
|
+
without selecting a successor. Whole-Goal acceptance follows the Goal protocol.
|
|
@@ -19,6 +19,8 @@ export const runTaskCommand = async (args, context, dependencies = defaultDepend
|
|
|
19
19
|
return;
|
|
20
20
|
}
|
|
21
21
|
const help = `${command.path.join(" ")} --help`;
|
|
22
|
+
const name = command.command.name;
|
|
23
|
+
const action = name === "approve" || name === "claim" || name === "complete" ? name : undefined;
|
|
22
24
|
const title = command.options.get("--title");
|
|
23
25
|
const description = command.options.get("--description");
|
|
24
26
|
const status = command.options.get("--status");
|
|
@@ -43,31 +45,28 @@ export const runTaskCommand = async (args, context, dependencies = defaultDepend
|
|
|
43
45
|
throw new UsageError("Task title must be nonempty UTF-8 text without NUL characters.", help);
|
|
44
46
|
if (description !== undefined && !isText(description))
|
|
45
47
|
throw new UsageError("Task description must be UTF-8 text without NUL characters.", help);
|
|
46
|
-
if (status !== undefined && !["todo", "in_progress", "done"].includes(status))
|
|
47
|
-
throw new UsageError("Task status must be todo, in_progress, or done.", help);
|
|
48
48
|
if (dependsOn !== undefined && clearDependencies)
|
|
49
49
|
throw new UsageError("Specify --depends-on or --clear-dependencies, not both.", help);
|
|
50
50
|
const changes = {
|
|
51
51
|
...(title === undefined ? {} : { title }),
|
|
52
52
|
...(description === undefined ? {} : { description }),
|
|
53
|
-
...(status === undefined ? {} : { status }),
|
|
54
53
|
...(dependsOn === undefined ? {} : { dependsOn }),
|
|
55
54
|
...(clearDependencies ? { dependsOn: [] } : {}),
|
|
56
55
|
...(properties === undefined ? {} : { properties }),
|
|
57
56
|
};
|
|
58
|
-
if (
|
|
59
|
-
throw new UsageError("Task update requires a title, description,
|
|
57
|
+
if (name === "update" && Object.keys(changes).length === 0)
|
|
58
|
+
throw new UsageError("Task update requires a title, description, dependency, or PR reference change.", help);
|
|
60
59
|
const rawProjectId = command.options.get("--project");
|
|
61
60
|
let projectId;
|
|
62
61
|
let taskId;
|
|
63
|
-
if (rawProjectId !== undefined ||
|
|
62
|
+
if (rawProjectId !== undefined || name === "show" || name === "update" || action !== undefined) {
|
|
64
63
|
const { canonicalId } = await import("../../api/parse.js");
|
|
65
64
|
if (rawProjectId !== undefined) {
|
|
66
65
|
projectId = canonicalId(rawProjectId) ?? undefined;
|
|
67
66
|
if (projectId === undefined)
|
|
68
67
|
throw new UsageError("project-id must be a hyphenated UUID.", help);
|
|
69
68
|
}
|
|
70
|
-
if (
|
|
69
|
+
if (name === "show" || name === "update" || action !== undefined) {
|
|
71
70
|
taskId = canonicalId(command.values[0]) ?? undefined;
|
|
72
71
|
if (taskId === undefined)
|
|
73
72
|
throw new UsageError("task-id must be a hyphenated UUID.", help);
|
|
@@ -127,6 +126,13 @@ export const runTaskCommand = async (args, context, dependencies = defaultDepend
|
|
|
127
126
|
}
|
|
128
127
|
const version = expectedVersion === undefined ? (await api.getTask(project.id, taskId)).version : expectedVersion;
|
|
129
128
|
operation.check();
|
|
129
|
+
if (action !== undefined) {
|
|
130
|
+
const mutate = action === "approve" ? api.approveTask : action === "claim" ? api.claimTask : api.completeTask;
|
|
131
|
+
const task = await mutate(project.id, taskId, { version });
|
|
132
|
+
operation.check();
|
|
133
|
+
const result = { approve: "approved", claim: "claimed", complete: "completed" }[action];
|
|
134
|
+
return `Task ${result}.\n${renderTask(task)}`;
|
|
135
|
+
}
|
|
130
136
|
const task = await api.updateTask(project.id, taskId, { ...changes, version });
|
|
131
137
|
operation.check();
|
|
132
138
|
return `Task updated.\n${renderTask(task)}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../../src/commands/task/command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAGhE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAOjD,MAAM,mBAAmB,GAA4B;IACnD,gBAAgB,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IACrG,cAAc,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,2BAA2B,CAAC,CAAC,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;CACvG,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,IAAU,EAAU,EAAE,CAAC,IAAI,CAAC,MAAM,KAAK,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,KAAK,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,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AAE,CAAC;QAClB,OAAO,kBAAkB,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;IAC9C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -5,7 +5,8 @@ const listJsonOption = { names: ["--json"], description: "Print task fields exce
|
|
|
5
5
|
const titleOption = { names: ["--title"], description: "Task title", value: { name: "title", kind: "text" } };
|
|
6
6
|
const descriptionOption = { names: ["--description"], description: "Task description; an empty value clears it", value: { name: "description", kind: "text", allowEmpty: true } };
|
|
7
7
|
const dependencyOption = { names: ["--depends-on"], description: "Direct dependency task UUID; repeat to supply the full set", value: { name: "task-id", kind: "text" }, repeatable: true };
|
|
8
|
-
const statusOption = { names: ["--status"], description: "Task status", value: { name: "status", kind: "text", choices: ["todo", "in_progress", "done"] } };
|
|
8
|
+
const statusOption = { names: ["--status"], description: "Task status", value: { name: "status", kind: "text", choices: ["proposed", "todo", "in_progress", "done"] } };
|
|
9
|
+
const versionOption = { names: ["--if-version"], description: "Use this expected task version without reading a newer version", value: { name: "version", kind: "text" } };
|
|
9
10
|
const pullRequestOptions = [
|
|
10
11
|
{ names: ["--pull-request-url"], description: "PR URL text; repeat for the complete list", value: { name: "text", kind: "text", allowEmpty: true }, repeatable: true },
|
|
11
12
|
{ names: ["--pull-request-title"], description: "PR title text; pair by position with each URL", value: { name: "text", kind: "text", allowEmpty: true }, repeatable: true },
|
|
@@ -17,9 +18,9 @@ export const taskDefinition = {
|
|
|
17
18
|
commands: [
|
|
18
19
|
{
|
|
19
20
|
name: "create",
|
|
20
|
-
description: "Create a
|
|
21
|
+
description: "Create a proposed task with optional dependencies and PR references",
|
|
21
22
|
options: [{ ...titleOption, required: true }, descriptionOption, dependencyOption, ...pullRequestOptions, projectOption, helpOption],
|
|
22
|
-
details: "New tasks start in
|
|
23
|
+
details: "New tasks start in proposed and require approval before they can be claimed. Repeated --depends-on values preserve the supplied dependency set.\nPR URL and title counts must match; the nth URL pairs with the nth title. Empty values are accepted, and all text is stored as supplied.",
|
|
23
24
|
},
|
|
24
25
|
{
|
|
25
26
|
name: "list",
|
|
@@ -43,14 +44,25 @@ export const taskDefinition = {
|
|
|
43
44
|
name: "update",
|
|
44
45
|
description: "Atomically update task fields, dependencies, and PR references",
|
|
45
46
|
arguments: [taskArgument],
|
|
46
|
-
options: [titleOption, descriptionOption,
|
|
47
|
+
options: [titleOption, descriptionOption, dependencyOption,
|
|
47
48
|
{ names: ["--clear-dependencies"], description: "Clear the complete dependency set" },
|
|
48
49
|
...pullRequestOptions,
|
|
49
50
|
{ names: ["--clear-pull-requests"], description: "Clear the complete PR reference list" },
|
|
50
|
-
|
|
51
|
+
versionOption,
|
|
51
52
|
projectOption, helpOption],
|
|
52
|
-
details: "Provide at least one changed field. --depends-on replaces all dependencies; it conflicts with --clear-dependencies.\nPR URL and title counts must match; the nth URL pairs with the nth title. Pairs replace the complete list; empty values are accepted. --clear-pull-requests conflicts with either PR option. Omitted PR options preserve the current list.\nWithout --if-version, read the current version before submitting the update. Conflicts are not retried.",
|
|
53
|
+
details: "Provide at least one changed field. Use daynight task approve, claim, or complete to change status.\n--depends-on replaces all dependencies; it conflicts with --clear-dependencies.\nPR URL and title counts must match; the nth URL pairs with the nth title. Pairs replace the complete list; empty values are accepted. --clear-pull-requests conflicts with either PR option. Omitted PR options preserve the current list.\nWithout --if-version, read the current version before submitting the update. Conflicts are not retried.",
|
|
53
54
|
},
|
|
55
|
+
...[
|
|
56
|
+
{ name: "approve", description: "Approve a proposed task, moving it to todo", rule: "Unfinished prerequisites are allowed." },
|
|
57
|
+
{ name: "claim", description: "Claim an approved todo task, moving it to in_progress", rule: "Every direct prerequisite must be done." },
|
|
58
|
+
{ name: "complete", description: "Complete an in_progress task, moving it to done", rule: "Every direct prerequisite must be done." },
|
|
59
|
+
].map(({ name, description, rule }) => ({
|
|
60
|
+
name,
|
|
61
|
+
description,
|
|
62
|
+
arguments: [taskArgument],
|
|
63
|
+
options: [versionOption, projectOption, helpOption],
|
|
64
|
+
details: `${rule}\nWithout --if-version, read the current version immediately before submitting the action.\nWith --if-version, submit exactly that version without reading the task. Conflicts and mutations are not retried.`,
|
|
65
|
+
})),
|
|
54
66
|
{
|
|
55
67
|
name: "graph",
|
|
56
68
|
description: "Show the complete task graph and summary",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../src/commands/task/definition.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,GAAkB,EAAE,KAAK,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAC7G,MAAM,aAAa,GAAkB,EAAE,KAAK,EAAE,CAAC,WAAW,CAAC,EAAE,WAAW,EAAE,2CAA2C,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC;AACrK,MAAM,UAAU,GAAkB,EAAE,KAAK,EAAE,CAAC,QAAQ,CAAC,EAAE,WAAW,EAAE,8CAA8C,EAAE,CAAC;AACrH,MAAM,cAAc,GAAkB,EAAE,KAAK,EAAE,CAAC,QAAQ,CAAC,EAAE,WAAW,EAAE,8CAA8C,EAAE,CAAC;AACzH,MAAM,WAAW,GAAkB,EAAE,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE,WAAW,EAAE,YAAY,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC;AAC7H,MAAM,iBAAiB,GAAkB,EAAE,KAAK,EAAE,CAAC,eAAe,CAAC,EAAE,WAAW,EAAE,4CAA4C,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,CAAC;AACjM,MAAM,gBAAgB,GAAkB,EAAE,KAAK,EAAE,CAAC,cAAc,CAAC,EAAE,WAAW,EAAE,4DAA4D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@codetreker/daynight",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "A client command toolkit for development workflows",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
},
|
|
10
10
|
"type": "module",
|
|
11
11
|
"bin": {
|
|
12
|
-
"daynight": "dist/main.js"
|
|
12
|
+
"daynight": "dist/main.js",
|
|
13
|
+
"dn": "dist/main.js"
|
|
13
14
|
},
|
|
14
15
|
"files": [
|
|
15
16
|
"dist"
|
|
@@ -45,5 +46,5 @@
|
|
|
45
46
|
"vite": "8.3.4",
|
|
46
47
|
"vitest": "5.0.5"
|
|
47
48
|
},
|
|
48
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "c6839fc71a5c5cb8798dd023343772be7a975a07"
|
|
49
50
|
}
|