aicommunicator 0.0.0-stage → 0.2.0
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/LICENSE +55 -0
- package/README.md +93 -2
- package/bin/aic.js +20427 -0
- package/host-ui/host.js +5151 -0
- package/host-ui/index.html +483 -0
- package/host-ui/lang-en.js +631 -0
- package/package.json +30 -4
- package/plugin-guide.md +997 -0
- package/plugins/plugin-animation/LICENSE +55 -0
- package/plugins/plugin-animation/dist/logic.js +2225 -0
- package/plugins/plugin-animation/docs/manual.md +217 -0
- package/plugins/plugin-animation/manifest.json +31 -0
- package/plugins/plugin-animation/ui/icon.svg +6 -0
- package/plugins/plugin-animation/ui/index.html +2266 -0
- package/plugins/plugin-html-design/LICENSE +55 -0
- package/plugins/plugin-html-design/dist/logic.js +972 -0
- package/plugins/plugin-html-design/docs/manual.md +100 -0
- package/plugins/plugin-html-design/manifest.json +39 -0
- package/plugins/plugin-html-design/samples/exhibition-page.json +570 -0
- package/plugins/plugin-html-design/ui/icon.svg +5 -0
- package/plugins/plugin-html-design/ui/index.html +1241 -0
- package/plugins/plugin-html-slides/LICENSE +55 -0
- package/plugins/plugin-html-slides/dist/logic.js +1323 -0
- package/plugins/plugin-html-slides/docs/manual.md +121 -0
- package/plugins/plugin-html-slides/manifest.json +39 -0
- package/plugins/plugin-html-slides/samples/first-week-lecture.json +1129 -0
- package/plugins/plugin-html-slides/ui/icon.svg +5 -0
- package/plugins/plugin-html-slides/ui/index.html +1349 -0
- package/plugins/plugin-mindmap/LICENSE +55 -0
- package/plugins/plugin-mindmap/dist/logic.js +966 -0
- package/plugins/plugin-mindmap/docs/manual.md +145 -0
- package/plugins/plugin-mindmap/manifest.json +39 -0
- package/plugins/plugin-mindmap/samples/book-club.json +480 -0
- package/plugins/plugin-mindmap/ui/icon.svg +5 -0
- package/plugins/plugin-mindmap/ui/index.html +1774 -0
- package/plugins/plugin-plan/LICENSE +55 -0
- package/plugins/plugin-plan/dist/logic.js +1029 -0
- package/plugins/plugin-plan/docs/manual.md +261 -0
- package/plugins/plugin-plan/manifest.json +51 -0
- package/plugins/plugin-plan/samples/kimchi-day.json +1514 -0
- package/plugins/plugin-plan/samples/meeting-outline.json +653 -0
- package/plugins/plugin-plan/samples/reading-class.json +1577 -0
- package/plugins/plugin-plan/ui/icon.svg +7 -0
- package/plugins/plugin-plan/ui/index.html +1523 -0
- package/plugins/plugin-png/LICENSE +55 -0
- package/plugins/plugin-png/dist/logic.js +1758 -0
- package/plugins/plugin-png/docs/manual.md +344 -0
- package/plugins/plugin-png/manifest.json +35 -0
- package/plugins/plugin-png/ui/icon.svg +5 -0
- package/plugins/plugin-png/ui/index.html +2885 -0
- package/plugins/plugin-process-log/LICENSE +55 -0
- package/plugins/plugin-process-log/dist/logic.js +406 -0
- package/plugins/plugin-process-log/docs/manual.md +131 -0
- package/plugins/plugin-process-log/manifest.json +43 -0
- package/plugins/plugin-process-log/samples/design-decisions.json +241 -0
- package/plugins/plugin-process-log/ui/icon.svg +7 -0
- package/plugins/plugin-process-log/ui/index.html +721 -0
- package/plugins/plugin-story/LICENSE +55 -0
- package/plugins/plugin-story/dist/logic.js +2201 -0
- package/plugins/plugin-story/docs/manual.md +428 -0
- package/plugins/plugin-story/manifest.json +49 -0
- package/plugins/plugin-story/samples/scene-body.json +758 -0
- package/plugins/plugin-story/samples/time-and-groups.json +989 -0
- package/plugins/plugin-story/ui/icon.svg +4 -0
- package/plugins/plugin-story/ui/index.html +2783 -0
- package/plugins/plugin-svg/LICENSE +55 -0
- package/plugins/plugin-svg/dist/logic.js +2150 -0
- package/plugins/plugin-svg/docs/manual.md +314 -0
- package/plugins/plugin-svg/manifest.json +45 -0
- package/plugins/plugin-svg/samples/rocket-icon.json +1305 -0
- package/plugins/plugin-svg/samples/yard-cat.json +7796 -0
- package/plugins/plugin-svg/ui/icon.svg +4 -0
- package/plugins/plugin-svg/ui/index.html +2017 -0
- package/plugins/plugin-tree/LICENSE +55 -0
- package/plugins/plugin-tree/dist/logic.js +505 -0
- package/plugins/plugin-tree/docs/manual.md +140 -0
- package/plugins/plugin-tree/manifest.json +45 -0
- package/plugins/plugin-tree/samples/book-club.json +473 -0
- package/plugins/plugin-tree/samples/sort-memos.json +604 -0
- package/plugins/plugin-tree/ui/icon.svg +7 -0
- package/plugins/plugin-tree/ui/index.html +1305 -0
- package/schema/aic_describe.input.json +11 -0
- package/schema/aic_describe.output.json +67 -0
- package/schema/aic_observe.input.json +14 -0
- package/schema/aic_observe.output.json +47 -0
- package/schema/aic_send.input.json +15 -0
- package/schema/aic_send.output.json +38 -0
- package/schema/aic_update.input.json +19 -0
- package/schema/aic_update.output.json +39 -0
- package/schema/common.json +127 -0
- package/template/plugin/LICENSE +55 -0
- package/template/plugin/README.md +27 -0
- package/template/plugin/docs/manual.md +31 -0
- package/template/plugin/logic.js +337 -0
- package/template/plugin/manifest.json +27 -0
- package/template/plugin/ui/icon.svg +4 -0
- package/template/plugin/ui/index.html +269 -0
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
# Task Tree manual
|
|
2
|
+
|
|
3
|
+
This is the full manual for the Task Tree (`aic.plan`) screen. Both you and AI read it. You open it with [설명서] (Manual) in the plugin window of the AIC screen, and AI reads it with `read_plugin_manual`.
|
|
4
|
+
|
|
5
|
+
## What this screen is for
|
|
6
|
+
|
|
7
|
+
You give a rough outline in your own words, AI breaks it down into branches of an action plan, and AI attaches questions only where you need to decide. At the top is the result you want (the goal) and the conditions to keep. Below it, sub-goals and tasks continue as branches.
|
|
8
|
+
|
|
9
|
+
This screen solves two problems. First, when AI asks you about every detail, you end up writing the action plan yourself. Second, when questions pile up in the chat one after another, you have to remember which work each question is about and what the answer changes. In Task Tree, AI writes down the method and a short reason for the details it can decide itself and goes ahead. Only what you alone can decide becomes a question on that branch. Answers stay on the question cards, so a new AI conversation does not ask the same question again.
|
|
10
|
+
|
|
11
|
+
If you only want to split ideas lightly, the Tree (`aic.tree`) screen fits better. Use Task Tree for a plan with task status, questions and answers, dependencies, and result checks.
|
|
12
|
+
|
|
13
|
+
## What is on the screen
|
|
14
|
+
|
|
15
|
+
The screen starts simple so the work gets most of the space. Things that do not always need to be visible sit behind icons or in folded panels. Hover over an icon to see its name.
|
|
16
|
+
|
|
17
|
+
- **Goal panel**: The goal name is at the top. Press ▸ before the name to show the aim and conditions. If there are questions waiting for an answer, questions for AI to decide, or branches in progress, small chips gather in one line below it: "Waiting for answer: (question)", "AI to decide: (question)" and "In progress: (branch)". Press one to unfold the tree to that place.
|
|
18
|
+
- **Icons at the right of the goal line**: Expand all, Collapse all, What the marks mean (?, only shown when there are changes not settled yet), and the change history panel. While the panel is closed, a dot appears on the change history icon when another participant adds a new entry, and a count appears when there are items removed by AI or hidden notices. So you know something new arrived without opening the panel.
|
|
19
|
+
- **Always shown above the tree**: Things you need to see at a glance are never hidden. "Read-only" appears when this is not the screen being edited, conflicts appear when you need to pick a side, and notices appear when the core has any. You can hide notices with [Hide]. Hidden notices are in the change history panel, and [Show above the tree] brings them back.
|
|
20
|
+
- **Tree panel**: Each branch line has a fold toggle, a drag handle (⠿), the name, a status selector, marks, and a ⋯ menu. The branch id (like `t3`) shows next to ⋯ when you hover, and it is also at the top of [Details] as "Id t3". Questions are yellow cards under their branch, and an answered question is folded into one line with the question and the answer.
|
|
21
|
+
- **Box for telling AI**: When you select a branch or a question, a box appears right below the goal panel, above the tree. When you scroll down the tree, it stays at the top of the screen. It disappears when nothing is selected. See "Pointing AI to a branch or question" below.
|
|
22
|
+
- **Change history panel**: It starts hidden and opens on the right when you press the change history icon. It holds the change history, items removed by AI, and hidden notices.
|
|
23
|
+
- When the window is narrow, the change history panel moves below the tree. On screens without a mouse, the ⋯ menu is always visible and you see the branch id in [Details].
|
|
24
|
+
|
|
25
|
+
When you first open the screen, only the first level under the goal is unfolded, plus branches that are in progress or have a question waiting for an answer. What you fold, unfold and open stays only on your screen and is not saved. AI reads everything, whatever is folded.
|
|
26
|
+
|
|
27
|
+
### Marks next to a branch
|
|
28
|
+
|
|
29
|
+
| Mark | Meaning |
|
|
30
|
+
| --- | --- |
|
|
31
|
+
| Blue background | The status is "In progress" |
|
|
32
|
+
| Line through the name | The status is "Done" |
|
|
33
|
+
| Waiting for answer | A question without an answer is making this branch wait |
|
|
34
|
+
| AI to decide | A question you left to AI with "AI may decide" is making this branch wait |
|
|
35
|
+
| ⇠ N | This branch needs the results of N branches first (dependency). Hover to see their names |
|
|
36
|
+
| N question(s) folded | N questions waiting for an answer are in the folded part below |
|
|
37
|
+
| Yellow dot (Folded part changed) | A branch or question folded below has a change by another participant that is not settled yet |
|
|
38
|
+
| Blue dot (Details changed) | A result, dependency or link to another screen of this branch has a change that is not settled yet |
|
|
39
|
+
| Blue outline | You selected it to tell AI about it |
|
|
40
|
+
| New, Edited, Moved | Another participant changed it and it is not settled yet. Press [Edited] to see the text before the change |
|
|
41
|
+
|
|
42
|
+
## Working with the goal
|
|
43
|
+
|
|
44
|
+
| Feature | What you do | What AI does |
|
|
45
|
+
| --- | --- | --- |
|
|
46
|
+
| Create the goal | In empty work, press [Write the goal], write the goal and conditions, then press [Create]. You can also just tell AI | Leave out `parent` in `task.add` and give `title`, `aim`, `conditions`. Write them as you understood the person. There is only one goal |
|
|
47
|
+
| Rename the goal | Press the goal name to open an input. Edit it, then press Enter or click outside to save | Give the goal id and a new `title` to `task.update` |
|
|
48
|
+
| Edit the aim and conditions | Press ▸ before the goal name to unfold, press [Edit], change the two fields and press [Save]. In these two fields Enter adds a new line | Give `aim` and `conditions` to `task.update` |
|
|
49
|
+
|
|
50
|
+
When the goal changes, AI checks the branches below again and tells you which branches it changed and which it kept. The goal cannot be removed or moved. For a different goal, add another Task Tree instance.
|
|
51
|
+
|
|
52
|
+
## Working with branches
|
|
53
|
+
|
|
54
|
+
| Feature | What you do | What AI does |
|
|
55
|
+
| --- | --- | --- |
|
|
56
|
+
| Add a branch below | In the branch's ⋯ menu, press [+ Branch below], write a name and press Enter | Give `parent` and `title` to `task.add`. It can also give `method` (the chosen method and a short reason), `aim`, `conditions` and `status`. To add under a branch made in the same request, use the `$name` given with `as` as `parent` |
|
|
57
|
+
| Rename | Press the name to open an input. Enter or clicking outside saves, Esc cancels | Give `task` and a new `title` to `task.update`. The id stays the same |
|
|
58
|
+
| Change the status | Choose To do, In progress or Done in the selector next to the name | Give `todo`, `doing` or `done` as `status` in `task.update` |
|
|
59
|
+
| Edit the aim, conditions and method | Press [Details] in the ⋯ menu, press [Edit], change the three fields and press [Save] | Give only the fields to change to `task.update`. Empty text clears the field |
|
|
60
|
+
| Move under another branch | Drag ⠿ and drop it on the middle of another branch | Give `task` and a new `parent` to `task.move` |
|
|
61
|
+
| Change the order among siblings | Drag ⠿ and drop it on the top or bottom edge of another branch, or press [↑ Move up] or [↓ Move down] in the ⋯ menu | Give the same `parent` and `after` (the id of the sibling before, `null` for the front) to `task.move` |
|
|
62
|
+
| Move out one level | Press [← Move out one level] in the ⋯ menu. The branch goes right after its parent | Give the grandparent branch as `parent` and the parent as `after` to `task.move` |
|
|
63
|
+
| Remove a branch | Press [× Remove branch] in the ⋯ menu. It changes to "Remove?", and you must press it again within 3 seconds | Ask the person first, then send `task.remove` |
|
|
64
|
+
| Fold and unfold | Press ▾ or ▸ before a branch. The Expand all and Collapse all icons at the right of the goal line change everything at once. Press the line of an answered question to unfold it, and ▾ before the card folds it again | This only changes your screen, so AI has nothing to do |
|
|
65
|
+
| See details | Press [Details] in the ⋯ menu to show the aim, conditions, method, dependencies, results and links to other screens | All of it is in the text of `read_concept` |
|
|
66
|
+
|
|
67
|
+
When you remove a branch, the branches below it, their questions, options, results and links to other screens, and the dependencies connected to those branches are removed with it. If another question was waiting on that branch, the branch is taken out of its waiting list.
|
|
68
|
+
|
|
69
|
+
Being higher in the tree does not mean doing it first. Nesting (which branch something is under) and the order of work are different things. Only dependencies, described below, show the order of work. The order among siblings is just the order they are shown in.
|
|
70
|
+
|
|
71
|
+
## Working with dependencies
|
|
72
|
+
|
|
73
|
+
A dependency is a connection that says "this branch needs the result of that branch".
|
|
74
|
+
|
|
75
|
+
| Feature | What you do | What AI does |
|
|
76
|
+
| --- | --- | --- |
|
|
77
|
+
| Add a dependency | Under "Needs first" in [Details], choose a branch in the "+ Branch needed first" selector | Give `from` (the waiting branch), `to` (the branch needed first) and `note` (why it is needed) to `dep.add` |
|
|
78
|
+
| Edit the note | Not on the screen. Tell AI | Give `dep` and `note` to `dep.update`. If the ends change, it is a different dependency, so use `dep.remove` and `dep.add` |
|
|
79
|
+
| Remove a dependency | Press [×] on that line twice | Send `dep.remove` |
|
|
80
|
+
|
|
81
|
+
[Details] also shows "Waited on by". Dependencies are not added between an ancestor and a descendant, because the parent already includes the child's result. A dependency that would go round in a loop (a cycle) is rejected.
|
|
82
|
+
|
|
83
|
+
## Working with questions and options
|
|
84
|
+
|
|
85
|
+
A question is a card attached to a branch. The card has the question, why (the reason AI cannot decide it itself), the impact, the waiting branches, and the options with AI's recommendation. Unlike a branch, a question is not work to do, and options are not sub-tasks to do at the same time.
|
|
86
|
+
|
|
87
|
+
| Feature | What you do | What AI does |
|
|
88
|
+
| --- | --- | --- |
|
|
89
|
+
| Attach a question | In a branch's ⋯ menu, press [+ Question], write the question, why, impact and options (one per line), then press [Attach]. The waiting branch is that branch | Give `task`, `text`, `why`, `impact`, `options` (`[{ title, detail }]`), `recommend` (the position of the option, from 0) and `blocks` (a list of waiting branch ids; the attached branch if left out) to `question.add` |
|
|
90
|
+
| Answer by choosing an option | Press [Choose this] on the option you want | When the person answers in the conversation, put it into the tree by giving `choice` (the option id) to `question.answer` |
|
|
91
|
+
| Write your own answer | Press [Write your own answer], write it, then press [Answer] or Enter. Shift+Enter adds a new line | Write it in `text` of `question.answer`. If the person chose an option and added words, give both `choice` and `text` |
|
|
92
|
+
| Leave it to AI | Press [AI may decide]. The card turns purple and shows "AI to decide" | For a question left to it, AI writes `delegated: true`, the chosen `choice` and the reason `text` with `question.answer`. The card then shows "AI decided, you left it to AI" |
|
|
93
|
+
| Change the answer | Press [Switch to this] on another option, or edit your words with [Edit answer] | Send `question.answer` again |
|
|
94
|
+
| Ask again | Press [Ask again], write what changed, then press [Ask again] | Give `reason` to `question.reopen`. The answer is cleared and the old answer stays in the history |
|
|
95
|
+
| Edit a question | Not on the screen. Tell AI | Edit `text`, `why`, `impact`, `recommend` (an option position or option id) and `blocks` with `question.update` |
|
|
96
|
+
| Add an option | Press [+ Option] on the card, write the name and details, then press [Add] | Give `question`, `title` and `detail` to `option.add` |
|
|
97
|
+
| Edit an option | Not on the screen | Send `option.update` |
|
|
98
|
+
| Remove an option | Press [×] on the option twice. The option chosen as the answer cannot be removed | Send `option.remove`. Removing the chosen option is rejected until the question is asked again |
|
|
99
|
+
| Remove a question | Press [×] on the card twice | Send `question.remove`. As a rule, answered questions are kept |
|
|
100
|
+
|
|
101
|
+
An answered question is folded into one line with the question and the answer. Press it to show the reason, options, [Edit answer] and [Ask again]. It stays unfolded while you are editing it or while it has a conflict. The card of an answered question does not show "Waiting branches". That information stays in [Details] of the attached branch as "Waits for the answer to". When a question is asked again, the card shows "Asked again because".
|
|
102
|
+
|
|
103
|
+
A question about a fact only you know (where the room is, what you have at home) has no options. Answer it with [Write your own answer].
|
|
104
|
+
|
|
105
|
+
## Working with results
|
|
106
|
+
|
|
107
|
+
A result is the outcome of the work, connected to a branch. Write what was done and where it is, and check whether it matches the intent.
|
|
108
|
+
|
|
109
|
+
| Feature | What you do | What AI does |
|
|
110
|
+
| --- | --- | --- |
|
|
111
|
+
| Add a result | Press [+ Result] in [Details], write the result and a note, then press [Add] | Give `task`, `text`, `check`, `note`, and `artifact` if there is an output, to `result.add` |
|
|
112
|
+
| Choose whether it matches the intent | Choose Not checked, Meets, Partly or Differs in the selector before the result line. Meets is green, Partly is blue and Differs is red | Give `unchecked`, `meets`, `partial` or `differs` as `check` in `result.update`. For partial, write what is left in `note` |
|
|
113
|
+
| Edit the result text | Not on the screen | Edit `text` and `note` with `result.update` |
|
|
114
|
+
| Remove a result | Press [×] on the result line twice | Send `result.remove` |
|
|
115
|
+
|
|
116
|
+
A branch does not become done by itself when all the branches below it are done. AI sees the line "All sub-branches are done. Check whether the aim is met" at the top of the read, checks whether the aim of the branch above is met, and only then sets it to done. Status and result checks are progress information, not approval.
|
|
117
|
+
|
|
118
|
+
## Pointing AI to a branch or question
|
|
119
|
+
|
|
120
|
+
You can point to a branch or a question and tell AI about it without writing its name or id in the conversation.
|
|
121
|
+
|
|
122
|
+
| Feature | What you do | What AI does |
|
|
123
|
+
| --- | --- | --- |
|
|
124
|
+
| Select | Press an empty part of a branch line (not the name, the status selector or a button) or of a question card. It gets a blue outline, and a box with [Send] appears below the goal panel. Press with Ctrl, Shift or Cmd held down to add or remove more items. Press the same item again, press [×] in the box, press an empty part of the screen or press Esc to clear the selection | Even before you send anything, `read_selection` shows what you selected now. AI checks with you if it is not sure that "this one" in the conversation means it |
|
|
125
|
+
| Send with your words | Write what you want in the box, then press Enter or [Send]. The selection and your words go to AI together, and the box is cleared | `read_selection` shows the selected branches and questions with their path, status, aim, conditions, method, questions, options and waiting branches as they are now, and your words. If something was removed after you sent it, AI sees that it was removed |
|
|
126
|
+
|
|
127
|
+
The box does not appear while you drag a branch, on a screen that is read-only, or on a core that does not take selections.
|
|
128
|
+
|
|
129
|
+
## Using it with other screens
|
|
130
|
+
|
|
131
|
+
One piece of work can hold Task Tree together with other plugins (Tree, Story List, HTML Design and so on). Task Tree points to content in other screens by id instead of copying it.
|
|
132
|
+
|
|
133
|
+
| Feature | What you do | What AI does |
|
|
134
|
+
| --- | --- | --- |
|
|
135
|
+
| Link to an item in another screen | Not on the screen. Tell AI | Give `task`, `record` (a record id in another instance, for example `n3`), `label` (the current name of that item) and `note` to `link.add` |
|
|
136
|
+
| See it | "Links to other screens" in [Details] shows the id, name and note | To read the current content of the item, read that instance with `instance` in `read_concept` |
|
|
137
|
+
| Remove it | Press [×] on that line twice | Send `link.remove` |
|
|
138
|
+
|
|
139
|
+
The name (`label`) is the name written when the link was made, so it does not follow later changes to the item's name. When the item is removed, the core shows a notice.
|
|
140
|
+
|
|
141
|
+
AI can only edit the one instance being edited at the time. To edit another screen, switch screens. You propose a switch by pressing an instance name in "이 작업의 화면" (Screens in this work) on the left, and AI answers with `answer_switch`. AI switches with `propose_switch` and writes a `reason`; the switch happens right away without waiting for your agreement. AI switches only when the work you asked for needs that screen. After the switch, your screen shows the "AI 가 고치는 중" (AI is editing) bar with [가져오기] (Take back), and the status line says "AI 가 이 화면으로 옮김(이유)" (AI switched to this screen (reason)). After you take the cursor back with [가져오기] (Take back), AI's switch is rejected; if `switched` in the response is false, the switch did not happen. On a core with the cursor turned off (`AIC_CURSOR=off`), the old behavior applies: [옮기기] (Switch) and [그대로 두기] (Keep) appear at the top of your screen, and the switch happens only when you agree. [보기] (View) only shows the content in the right panel.
|
|
142
|
+
|
|
143
|
+
If AI notices while working in another screen that the plan needs to change, it leaves a core memo that points to the branch (for example a memo containing `[](t4)`) and edits the plan after coming back to Task Tree. The sample `meeting-outline` shows this flow.
|
|
144
|
+
|
|
145
|
+
## How you work together
|
|
146
|
+
|
|
147
|
+
1. You say what you want to achieve and the conditions that matter. AI writes the goal, aim and conditions as it understood them. You check on the screen whether AI understood correctly.
|
|
148
|
+
2. AI breaks down the first action plan into branches in one request. For details it can decide itself, it writes the method and a short reason in `method`, and it makes research branches for what it can learn by reading material or testing. It attaches questions only where you need to decide, and lists the waiting branches.
|
|
149
|
+
3. You answer on the question cards: choose an option, write your own answer, or leave it to AI. You can also move, remove and rename branches at any time.
|
|
150
|
+
4. AI reads your changes with `read_changes` and fixes the branches affected by your answers in the same request. For questions left to it, AI chooses and writes its reason. AI does not go ahead on branches waiting for an answer; it works on other branches meanwhile.
|
|
151
|
+
5. Finished work is connected to its branch as a result and checked. Text to keep, such as a draft or a calculation, goes into the core memo box; when the result points to it, you can read it in the memo box.
|
|
152
|
+
6. When the goal or conditions change, AI checks the plan below again. If an answer needs to be given again because the grounds changed, AI writes what changed with `question.reopen` and asks again.
|
|
153
|
+
|
|
154
|
+
## What to ask the person first
|
|
155
|
+
|
|
156
|
+
- Anything where the plan depends on the person's taste, goal or limits (budget, what counts as fair, things the family decides). Ask with a question card.
|
|
157
|
+
- Facts only the person knows (places, things they have, dates). Ask without options.
|
|
158
|
+
- Removing a branch, because the branches, questions and results below it are removed too.
|
|
159
|
+
- Asking an answered question again. Ask only when you can write why you are asking again.
|
|
160
|
+
|
|
161
|
+
Some things AI decides without asking: the detailed method within a settled goal, what can be learned by looking it up, and what can be calculated. AI decides them and leaves the reason in `method`. A question that only says "What should I do?" is not attached.
|
|
162
|
+
|
|
163
|
+
## The text AI reads
|
|
164
|
+
|
|
165
|
+
`read_concept` writes summary lines at the top and the tree, indented, below them.
|
|
166
|
+
|
|
167
|
+
```text
|
|
168
|
+
Questions waiting for an answer: (q2) Which room is it, and from what time can we use it? (branch t6, waiting branches t7, t8)
|
|
169
|
+
AI to decide (the person left it to AI): (q3) Should the four books mix genres? (branch t2, waiting branches t5)
|
|
170
|
+
In progress: (t3) Make a list of candidate books for grades 3 and 4
|
|
171
|
+
All sub-branches are done. Check whether the aim is met: (t9) Take sign-ups
|
|
172
|
+
|
|
173
|
+
Goal (t1) Run four children's reading classes in the summer break [to do]
|
|
174
|
+
Aim: ...
|
|
175
|
+
Conditions: ...
|
|
176
|
+
- (t2) Choose a book for each class [to do]
|
|
177
|
+
Method: ...
|
|
178
|
+
Question (q3) Should the four books mix genres? [left to AI, AI to decide]
|
|
179
|
+
Option (o4) Two story books and two nonfiction books [recommended]: ...
|
|
180
|
+
- (t3) Make a list of candidate books for grades 3 and 4 [done]
|
|
181
|
+
Result (rs1) [partly] Wrote a draft list of candidates in a memo
|
|
182
|
+
Note: Only the topics of the nonfiction books are decided
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
After a branch line, the brackets hold the status and "waiting for answer" or "AI to decide". A dependency appears as "Needs first (dp1): (t5) Choose four books [to do]", and a link to another screen as "Link to another screen (lk1): n1 \"name\"". Your own changes that are not in the shared history yet carry ` *`.
|
|
186
|
+
|
|
187
|
+
To read just one branch of a large plan, give a branch id as `scope` in `read_concept`. You then read that branch and everything below it, the names, aims and conditions of the branches above it up to the root, the questions on them, and one line for each branch connected by dependencies.
|
|
188
|
+
|
|
189
|
+
The result summary of `apply_operation` and `read_changes` show the ids of new branches and questions (for example `Branch added (under t9): Draw lots and announce the results`). The ids of options or results the person made on the screen appear under the new records in `read_changes`.
|
|
190
|
+
|
|
191
|
+
The plugin writes these labels and summaries in English. What AI writes into the work (names, questions, options, results) follows the language the person uses.
|
|
192
|
+
|
|
193
|
+
## Operations at a glance
|
|
194
|
+
|
|
195
|
+
| Operation | Input | What it does |
|
|
196
|
+
| --- | --- | --- |
|
|
197
|
+
| `task.add` | `parent` (leave out for the goal), `after`, `title`, `aim`, `conditions`, `method`, `status` | Makes a branch |
|
|
198
|
+
| `task.update` | `task`, `title`, `aim`, `conditions`, `method`, `status` | Edits only the given fields |
|
|
199
|
+
| `task.move` | `task`, `parent`, `after` | Moves a branch. It cannot move under itself |
|
|
200
|
+
| `task.remove` | `task` | Removes a branch and everything below it. The goal cannot be removed |
|
|
201
|
+
| `dep.add`, `dep.update`, `dep.remove` | `from`, `to`, `note` / `dep`, `note` / `dep` | Adds a dependency, edits its note, removes it |
|
|
202
|
+
| `question.add` | `task`, `text`, `why`, `impact`, `options`, `recommend`, `blocks` | Attaches a question with its options at once |
|
|
203
|
+
| `question.update` | `question`, `text`, `why`, `impact`, `recommend`, `blocks` | Edits a question |
|
|
204
|
+
| `question.answer` | `question`, `choice`, `text`, `delegated` | Writes the answer. At least one of the three is required |
|
|
205
|
+
| `question.reopen` | `question`, `reason` | Asks again |
|
|
206
|
+
| `question.remove` | `question` | Removes a question and its options |
|
|
207
|
+
| `option.add`, `option.update`, `option.remove` | `question`, `after`, `title`, `detail` / `option` | Handles options |
|
|
208
|
+
| `result.add`, `result.update`, `result.remove` | `task`, `text`, `artifact`, `check`, `note` / `result` | Handles results |
|
|
209
|
+
| `link.add`, `link.remove` | `task`, `record`, `label`, `note` / `link` | Links to an item in another screen |
|
|
210
|
+
|
|
211
|
+
This example breaks down a first plan in one request.
|
|
212
|
+
|
|
213
|
+
```json
|
|
214
|
+
[
|
|
215
|
+
{ "op": "task.add", "as": "$goal", "input": { "title": "Run four children's reading classes in the summer break", "conditions": "90 minutes each, four in total" } },
|
|
216
|
+
{ "op": "task.add", "as": "$signup", "input": { "parent": "$goal", "title": "Take sign-ups" } },
|
|
217
|
+
{ "op": "task.add", "as": "$flyer", "input": { "parent": "$signup", "title": "Make a flyer", "method": "One page, written for parents" } },
|
|
218
|
+
{ "op": "question.add", "input": { "task": "$signup", "text": "If more than 15 children sign up, how should we choose?", "why": "It is the library's policy, so AI cannot decide it", "impact": "The sign-up period and announcement date on the flyer", "options": [{ "title": "First come, first served" }, { "title": "Draw lots" }], "recommend": 0, "blocks": ["$flyer"] } }
|
|
219
|
+
]
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
This example shows AI answering a question the person left to it.
|
|
223
|
+
|
|
224
|
+
```json
|
|
225
|
+
[
|
|
226
|
+
{ "op": "question.answer", "input": { "question": "q3", "choice": "o4", "delegated": true, "text": "Chose the recommended option because nonfiction classes connect easily to craft activities" } }
|
|
227
|
+
]
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
## Change history and changes not settled yet
|
|
231
|
+
|
|
232
|
+
- The change history panel (open it with the change history icon at the right of the goal line) shows one summary line per revision (how many of what, and what was done). Press a line to see each change, and press [Show older] to see earlier entries. "Not settled" means the change is not in the shared history yet.
|
|
233
|
+
- AI's changes are settled up to what you have seen when you do your next action. Until then they carry a "New", "Edited" or "Moved" mark, and pressing [Edited] shows the text before the change. Pressing the What the marks mean icon (?) shows this explanation above the tree. Items removed by AI gather under "Removed by AI" in the change history panel, and when the panel is closed the icon shows their count.
|
|
234
|
+
- When you and AI change the same thing in different ways, a conflict card appears. Look at both texts and press [Keep mine] or [Keep (their name)]. The change on the side you did not pick is cancelled as a whole, and the card says what will be cancelled.
|
|
235
|
+
- Your changes are not merged into AI's tree until AI sends its next request either; they are in the changes by other participants at the end of `read_concept` and in `read_changes`. If your answer is there, that is the current answer.
|
|
236
|
+
- When this is not the screen being edited, a read-only line appears at the top and the edit buttons are hidden. While AI is editing and holds the cursor, "Read-only for now." appears and the edit buttons are hidden too. You can edit again after pressing [가져오기] (Take back) at the top of the host screen or when AI finishes.
|
|
237
|
+
|
|
238
|
+
## Common problems
|
|
239
|
+
|
|
240
|
+
- **Tried to make a second goal.** There is only one goal. If it already exists, give `parent` to `task.add`. For a different goal, add another Task Tree instance.
|
|
241
|
+
- **Put an option id in `recommend` of `question.add`.** Options have no ids yet at that point, so give the position in `options` (from 0). `question.update` accepts both the position and the option id. A question without options takes no `recommend`.
|
|
242
|
+
- **The person answered, but AI's read still shows "no answer".** The person's changes are merged when AI sends its next request. If there is nothing else to do, merge them with an `apply_operation` with empty `steps`. Do not ask again.
|
|
243
|
+
- **Guessed the base revision.** Changes the person made in between are not merged and stay pending. Get the base with `read_concept` before an operation, and use the revision from the previous response as the next base.
|
|
244
|
+
- **Pointed to a branch made in the same request with `[](t13)` in a memo.** Marks in a memo can only point to items that already exist, so the whole request is rejected. Make the branch first and write the memo in the next request, or write the branch name as text.
|
|
245
|
+
- **Connected a dependency the wrong way round.** `from` is the waiting branch and `to` is the branch needed first. The summary reads "first (to), then (from)".
|
|
246
|
+
- **A branch chosen in "+ Branch needed first" on the screen was rejected.** The selector also lists branches that already wait for this branch. Choosing one of them would make the dependencies go round in a loop, so it is rejected and the reason shows briefly at the bottom of the screen.
|
|
247
|
+
- **Tried to add a dependency between an ancestor and a descendant.** It is rejected, because they are already nested.
|
|
248
|
+
- **Tried to remove the option chosen as the answer.** It is rejected. Ask again with `question.reopen` first.
|
|
249
|
+
- **Made branches for both options.** Options are not sub-tasks. Make branches only for the work of the chosen option.
|
|
250
|
+
- **Set a branch to done because all the branches below it are done.** Check that its aim is met before changing it.
|
|
251
|
+
- **An operation on another screen was rejected.** It is not the instance being edited. Switch screens first, then send it.
|
|
252
|
+
- **Pressed Enter in the aim or conditions field and it did not save.** In multi-line fields Enter adds a new line. Press [Save]. Name and answer fields save with Enter.
|
|
253
|
+
- **Tried to edit question text, option text, result text or a dependency note on the screen.** The screen has no button for these. Ask AI to edit them.
|
|
254
|
+
|
|
255
|
+
## Samples
|
|
256
|
+
|
|
257
|
+
The samples listed under `samples` in the manifest are records of real work done with this screen. You read them with [예제 읽기] (Read sample) in the plugin window, and AI reads them by giving `sample` to `read_plugin_manual`. All three were made on a separate temporary core, and AI also played the person by pressing the real screen. The records themselves are in Korean, the language used in that work.
|
|
258
|
+
|
|
259
|
+
- `reading-class`: A full round from a rough outline to a plan, three ways of answering (choosing an option, writing your own answer, leaving it to AI), results and checks, and asking a question again after a goal condition changed. It also keeps the moment when AI guessed the base, so the person's answer was not merged, and then merged it with an empty request.
|
|
260
|
+
- `kimchi-day`: The person drags branches on the screen, moves them out a level, edits names and the goal, adds and chooses an option, adds and removes branches, and connects a dependency. AI follows that shape, and asks a new question about a shortage it found (kimchi containers) while applying an answer.
|
|
261
|
+
- `meeting-outline`: Uses Task Tree and Tree (`aic.tree`) in one piece of work. AI switches screens to write an outline in Tree, leaves a core memo about what to change in the plan, comes back to apply it, and points to an outline node with `link.add`.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "aic.plan",
|
|
3
|
+
"version": "0.1.6",
|
|
4
|
+
"dataVersion": 1,
|
|
5
|
+
"title": "Task Tree",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"protocol": "0.1",
|
|
8
|
+
"logic": "dist/logic.js",
|
|
9
|
+
"ui": "ui/index.html",
|
|
10
|
+
"icon": "ui/icon.svg",
|
|
11
|
+
"manual": "docs/manual.md",
|
|
12
|
+
"samples": [
|
|
13
|
+
{
|
|
14
|
+
"id": "reading-class",
|
|
15
|
+
"title": "Break down a children's reading class plan and adjust it to a changed condition",
|
|
16
|
+
"about": "AI breaks the person's outline into branches and three questions. The person answers by choosing an option, writing an answer and leaving one to AI. When the person adds a class for parents, AI asks the room question again and fixes the plan. AI played the person on the real screen. Record in Korean",
|
|
17
|
+
"file": "samples/reading-class.json"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": "kimchi-day",
|
|
21
|
+
"title": "The person reshapes a family kimchi-making plan on the screen",
|
|
22
|
+
"about": "On the screen, the person drags, moves out, renames and removes branches, edits the goal, adds and chooses an option, and connects a dependency. AI follows that shape and asks a new question about a shortage it found. AI played the person on the real screen. Record in Korean",
|
|
23
|
+
"file": "samples/kimchi-day.json"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "meeting-outline",
|
|
27
|
+
"title": "Use a presentation plan together with an outline tree",
|
|
28
|
+
"about": "Task Tree and Tree (aic.tree) in one piece of work. While writing an outline in Tree, AI leaves a core memo about a plan change, comes back to apply it, and links an outline node with link.add. AI played the person on the real screen. Record in Korean",
|
|
29
|
+
"file": "samples/meeting-outline.json"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"about": "A screen that breaks a goal and its conditions, written by you in plain text, into a tree. The result you want and the conditions to keep are at the top, and the AI spreads sub-goals and action plans below them as branches. For details it can decide by itself, the AI writes the method and a short reason and moves on. Only where it needs to know your taste or what you will accept does it attach a question and options to that branch. You look at the whole outline, pick branches, answer questions or leave them to the AI, move branches, and edit the goal at the top. The AI fills in the remaining branches to fit your answers and the edited goal, links the result of the work to its branch, and checks that it fits the purpose. It suits setting only the direction of a large job and leaving the action plan to the AI, and keeping each question next to the task it belongs to.",
|
|
33
|
+
"requires": {
|
|
34
|
+
"os": "any",
|
|
35
|
+
"external": []
|
|
36
|
+
},
|
|
37
|
+
"examples": [
|
|
38
|
+
{
|
|
39
|
+
"ask": "I want to give only the broad direction of a development job and have the AI write the action plan",
|
|
40
|
+
"does": "Write the goal and conditions at the top. The AI spreads sub-goals and tasks as branches, and you check that the whole matches what you had in mind."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"ask": "The AI asks many questions and I lose track of which task each one is about",
|
|
44
|
+
"does": "Each question is attached to its branch with the reason, the options, a recommendation and what would change. Answers stay in the tree, so the same question is not asked again."
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"ask": "The goal changed midway and the plan needs to be redone",
|
|
48
|
+
"does": "Edit the goal at the top. The AI rechecks and fixes the affected branches and questions, and records what changed."
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|