Repository navigation
Test catalog
Generated from docs/test-catalog.md: edit it there, changes made in the wiki are replaced. Em português: Catálogo de testes.
Every automated test scenario of Moki, one row each: 689 scenarios. The scenario is the test's title, which says the behaviour it checks. How the suites run and how tests are written: Automated tests.
Generated by
npm run test-catalogfrom the test files; do not edit by hand. Run it again after adding or renaming a test.
| Kind | Scenarios |
|---|---|
| Unit | 331 |
| Integration | 230 |
| Interface | 128 |
Run with npm test.
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | projects and project creation | Integration | desktop.test.ts:93 |
| 2 | deleting a project needs the word "delete" and removes only its folder | Integration | desktop.test.ts:104 |
| 3 | suspending moves the project out of every listing and resuming brings it back as it was | Integration | desktop.test.ts:121 |
| 4 | tree lists the project, hides dot files and shows runs only as their deliveries | Integration | desktop.test.ts:150 |
| 5 | project name and description updates preserve all other project settings | Integration | desktop.test.ts:700 |
| 6 | project settings keep the name, the description's lines, the defaults and the instructions at start; a default agent is turned on | Integration | desktop.test.ts:896 |
| 7 | an AI opened in the project starts with its defaults: one activity without files runs, anything else waits | Integration | desktop.test.ts:920 |
| 8 | project settings and the workspace settings mirror each other through the project's own tag | Integration | desktop.test.ts:947 |
| 9 | "Open in Moki": the folder in the arguments, taken once, answered like the folder dialog | Integration | desktop.test.ts:1851 |
| 10 | dragging the divider gives the height to the section it moves toward | Unit | home-sections.test.ts:5 |
| 11 | a section cannot be dragged below its minimum | Unit | home-sections.test.ts:12 |
| 12 | defaults are read as a list of kinds and ids; anything else, and repeats, are left out | Unit | project-defaults.test.ts:8 |
| 13 | nothing set asks nothing; operations are not part of the start | Unit | project-defaults.test.ts:14 |
| 14 | one agent: the AI takes its role, says what is set up and what it needs, and waits | Unit | project-defaults.test.ts:19 |
| 15 | several agents, skills, activities and the instructions all reach the start | Unit | project-defaults.test.ts:27 |
| 16 | the instructions alone start the AI too; a default that is gone is left out | Unit | project-defaults.test.ts:42 |
| 17 | the project's skills and agents start the AI by themselves: where each is and what it is for, none twice, none that are gone | Unit | project-defaults.test.ts:50 |
| 18 | the start prompt stays short: long descriptions are cut, and past 40 items only the names are listed | Unit | project-defaults.test.ts:63 |
| 19 | a skill, an agent or files: one request to type into an AI, with no shared context and no run | Unit | project-defaults.test.ts:73 |
| 20 | the "skill" activity reads the skill where it is: Moki's folder by default, the given path for a project's or a global skill | Unit | project-defaults.test.ts:87 |
| 21 | the preview lists what changes without touching either project | Integration | project-merge.test.ts:74 |
| 22 | a merge needs the receiving project name typed | Integration | project-merge.test.ts:86 |
| 23 | a failure undoes everything written to the receiving project | Integration | project-merge.test.ts:91 |
| 24 | merging copies everything, keeps titles, links and associations, and suspends the source | Integration | project-merge.test.ts:105 |
| 25 | a merge stops while something runs in either project | Integration | project-merge.test.ts:161 |
| 26 | relink leaves external, anchor-only and unchanged links alone | Integration | project-merge.test.ts:166 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | readFile renders each kind of file | Integration | desktop.test.ts:159 |
| 2 | file access never leaves the project folder | Integration | desktop.test.ts:195 |
| 3 | editing is limited to existing Markdown/text files | Integration | desktop.test.ts:202 |
| 4 | a save from the text it started from never overwrites a change made meanwhile (the AI writing the file) | Integration | desktop.test.ts:210 |
| 5 | files: exported as a byte-for-byte copy, comments included, to the place the save dialog returns | Integration | desktop.test.ts:275 |
| 6 | files dropped on the workspace are copied into the inbox and stay there | Integration | desktop.test.ts:349 |
| 7 | a file moves between folders, and a drop can land in one; execution files stay out | Integration | desktop.test.ts:367 |
| 8 | a file or folder is renamed in place, keeps its extension, tags and PDF notes; Moki’s own items keep their names | Integration | desktop.test.ts:392 |
| 9 | open folder / open with default program are confined and filtered | Integration | desktop.test.ts:458 |
| 10 | delete sends a file to the trash, empties a fixed folder and keeps project.json | Integration | desktop.test.ts:467 |
| 11 | new files and folders: Markdown, text, empty spreadsheet and Word files, safe names, never inside activities | Integration | desktop.test.ts:485 |
| 12 | where an item is on this computer: shown in its folder or its full path, inside the project only | Integration | desktop.test.ts:516 |
| 13 | fs-guard sandbox and file type rules | Unit | desktop.test.ts:3139 |
| 14 | project ids: only a plain folder name with a project.json is a project | Unit | desktop.test.ts:3541 |
| 15 | moki-file serves the whole file with its type, length and Accept-Ranges, and HEAD answers the same without a body | Unit | file-protocol.test.ts:58 |
| 16 | moki-file answers a single Range with 206 and exactly those bytes | Unit | file-protocol.test.ts:78 |
| 17 | moki-file answers an invalid or unsatisfiable Range with 416 and Content-Range */size | Unit | file-protocol.test.ts:93 |
| 18 | moki-file ignores a multiple Range or another unit and sends the whole file (a valid reply) | Unit | file-protocol.test.ts:103 |
| 19 | parseRange covers the forms of a single range and an empty file | Unit | file-protocol.test.ts:112 |
| 20 | moki-file serves an empty file whole, without a body | Unit | file-protocol.test.ts:123 |
| 21 | moki-file refuses to grant anything outside the project: .., absolute paths, symlinks out, other projects | Unit | file-protocol.test.ts:132 |
| 22 | moki-file refuses to grant what is not a PDF or image, not a file, missing or over the size limit | Unit | file-protocol.test.ts:144 |
| 23 | every request that names no servable file gets the same 404 | Unit | file-protocol.test.ts:150 |
| 24 | the path after the token is ignored: it never selects a file | Unit | file-protocol.test.ts:161 |
| 25 | only GET and HEAD are served | Unit | file-protocol.test.ts:170 |
| 26 | a symlink put in the file's place after the grant stops it being served | Unit | file-protocol.test.ts:180 |
| 27 | a file that grew past the limit, became a folder or vanished stops being served | Unit | file-protocol.test.ts:191 |
| 28 | a grant dies with its window, and does not touch another window's | Unit | file-protocol.test.ts:201 |
| 29 | a window that moves to another project loses what it was given for the others | Unit | file-protocol.test.ts:214 |
| 30 | a project that disappears, or another workspace being opened, stops every grant | Unit | file-protocol.test.ts:226 |
| 31 | the same file and stamp keep one token; a changed file gets a new one; a window holds a bounded number | Unit | file-protocol.test.ts:240 |
| 32 | tokens are 192 random bits in hex and never repeat | Unit | file-protocol.test.ts:255 |
| 33 | HTML comment service confines calls to an existing HTML page of its project | Integration | html-comments.test.ts:53 |
| 34 | HTML capabilities serve local modules and assets, reject secrets/traversal/writes and expire with scope/workspace/project | Unit | html-preview.test.ts:8 |
| 35 | a change in a nested folder is reported once per burst, and an ignored folder is not watched | Unit | project-watch.test.ts:15 |
| 36 | past maxDirs the extra folders are silently left unwatched, with no error | Unit | project-watch.test.ts:33 |
| 37 | only a rename re-scans a folder; a plain change just reports | Unit | project-watch.test.ts:51 |
| 38 | a subfolder created after the start is watched | Unit | project-watch.test.ts:75 |
| 39 | a folder created after the start still respects maxDirs | Unit | project-watch.test.ts:92 |
| 40 | continuous changes are reported within maxWaitMs instead of being postponed forever | Unit | project-watch.test.ts:110 |
| 41 | a symlinked folder is not followed | Unit | project-watch.test.ts:130 |
| 42 | a folder skipped by skipDir is neither watched nor scanned | Unit | project-watch.test.ts:147 |
| 43 | a folder moves into another folder, with the tags and comments of its files | Integration | tree-move.test.ts:33 |
| 44 | Moki folders stay, a folder never goes inside itself, and notes/ holds notes only | Integration | tree-move.test.ts:43 |
| 45 | several items move together; one inside a selected folder goes with the folder | Integration | tree-move.test.ts:52 |
| 46 | a refusal stops the batch and says which item and why; what moved stays moved | Integration | tree-move.test.ts:62 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | "open with" lists the system programs and opens only with one of them | Integration | desktop.test.ts:535 |
| 2 | gio mime output: the default program, then the recommended ones | Unit | desktop.test.ts:554 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | PDF note associations stay in the project, follow pages and reject invalid paths | Integration | desktop.test.ts:232 |
| 2 | PdfCraft scripts: open, change, save in place or to a copy, list | Integration | desktop.test.ts:563 |
| 3 | pdfcraft-cli off PATH: install folders on Windows, usual bin folders elsewhere | Unit | desktop.test.ts:591 |
| 4 | PDF changes from the UI are checked | Integration | desktop.test.ts:599 |
| 5 | the comment cards beside a PDF: each at its place, pushed down when it would overlap the one above | Unit | desktop.test.ts:618 |
| 6 | a selection on drawn pages becomes quads in points | Unit | desktop.test.ts:624 |
| 7 | PDF comments go through PdfCraft, inside the project, never changing the inbox file | Integration | desktop.test.ts:634 |
| 8 | without PdfCraft, Moki highlights, comments, replies, edits and deletes in the PDF itself | Unit | pdf-local.test.ts:32 |
| 9 | an area (a dragged rectangle) is drawn light with a border, so the text under it still reads | Unit | pdf-local.test.ts:82 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | notes: the section is always listed and new notes get unique names | Integration | desktop.test.ts:224 |
| 2 | notes: one is deleted from the start screen; nothing outside notes/ is | Integration | desktop.test.ts:258 |
| 3 | notes: a selection of a PDF becomes a note titled by file and page, with its source | Integration | desktop.test.ts:267 |
| 4 | notes: exported as md, txt and pdf to the file the save dialog returns; nothing else is exported | Integration | desktop.test.ts:298 |
| 5 | note windows: only notes/.md of a listed project or a loose note id, one window per note | Integration | desktop.test.ts:3120 |
| 6 | note-assist: the request carries the note and its task; the language falls back to the chosen one | Unit | note-assist.test.ts:6 |
| 7 | note-assist: no tool that writes or runs commands; only research searches the web | Unit | note-assist.test.ts:15 |
| 8 | note-assist: a fence around the whole answer is taken off; the answer goes where its helper puts it | Unit | note-assist.test.ts:29 |
| 9 | note-assist: the differences keep the common words and mark what was removed and added | Unit | note-assist.test.ts:39 |
| 10 | note-assist: a run reads the note on stdin and answers with Markdown | Unit | note-assist.test.ts:51 |
| 11 | note-assist: a failing run reports the tool's last error lines; a cancelled or timed-out run stops | Unit | note-assist.test.ts:57 |
| 12 | the plan counts what stays behind | Integration | note-move.test.ts:45 |
| 13 | a failure leaves both projects as they were | Integration | note-move.test.ts:53 |
| 14 | the note moves under a free name with its title and tags, and the old project lets it go | Integration | note-move.test.ts:62 |
| 15 | a slash command replaces only the typed slash | Unit | slash-apply.test.ts:8 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | a comment stays on its lines, or follows its first line when the file moved it | Unit | code-comments.test.ts:8 |
| 2 | anchors and changes are checked before they are stored | Unit | code-comments.test.ts:17 |
| 3 | a note from selected lines holds the code, fenced in its language, and where it comes from | Unit | code-comments.test.ts:27 |
| 4 | highlighting a line keeps every character and marks the words | Unit | code-highlight.test.ts:5 |
| 5 | bash colors the command, a quoted text, a comment and a symbol | Unit | code-highlight.test.ts:12 |
| 6 | sql keywords match in either case | Unit | code-highlight.test.ts:23 |
| 7 | html tags and css comments take a color and the text still joins | Unit | code-highlight.test.ts:29 |
| 8 | a string and a python comment are marked and the text still joins | Unit | code-highlight.test.ts:39 |
| 9 | a debouncer runs once, after the last call of a burst | Unit | debounce.test.ts:5 |
| 10 | flush runs the pending call at once, only once, and does nothing when nothing is pending | Unit | debounce.test.ts:22 |
| 11 | cancel drops the pending call, and a later call works again | Unit | debounce.test.ts:38 |
| 12 | flushEdits flushes every registered editor until it unregisters | Unit | debounce.test.ts:54 |
| 13 | markers: the set is written once in the language of the person and every request points the AI to it | Integration | desktop.test.ts:790 |
| 14 | source code opens read-only with its language; configuration formats stay editable text | Integration | desktop.test.ts:820 |
| 15 | code comments: on lines of a source file, kept apart from it; a marker is the prefix of the text | Integration | desktop.test.ts:836 |
| 16 | markdown tables draw merged cells (<< and ^^) as one cell | Unit | desktop.test.ts:2872 |
| 17 | markdown rendering escapes HTML and attribute injection | Unit | desktop.test.ts:2878 |
| 18 | markdown relative images are embedded from inside the project only | Unit | desktop.test.ts:2886 |
| 19 | docx extraction keeps headings, lists and tables | Unit | desktop.test.ts:2904 |
| 20 | docx extraction keeps formatting, numbered lists, links, notes, comments and images | Unit | desktop.test.ts:2915 |
| 21 | spreadsheet number formats show values as the spreadsheet programs do | Unit | desktop.test.ts:2949 |
| 22 | a stored diagram is a hit, an unknown one a miss | Unit | diagram-cache.test.ts:6 |
| 23 | language, theme and source make different keys and never share a drawing | Unit | diagram-cache.test.ts:14 |
| 24 | the entry limit drops the least recently used diagram | Unit | diagram-cache.test.ts:30 |
| 25 | the byte limit drops old diagrams, and one that cannot fit is not stored | Unit | diagram-cache.test.ts:42 |
| 26 | a hit is served under the id of the new render | Unit | diagram-cache.test.ts:60 |
| 27 | mounting the same diagrams again does not call the renderer | Unit | diagram-cache.test.ts:82 |
| 28 | another theme, an edited source and a failed render are drawn again | Unit | diagram-cache.test.ts:99 |
| 29 | a closed drawing or diagram folds out of the text and joins back | Unit | diagram-source.test.ts:5 |
| 30 | an embedded image stays a picture and joins back to the same markdown | Unit | diagram-source.test.ts:12 |
| 31 | the viewer height stays on the fence line and survives an edit | Unit | diagram-source.test.ts:19 |
| 32 | a diagram fence is taken only from the start of the text | Unit | diagram-source.test.ts:32 |
| 33 | an unfinished fence and any other code fence stay in the text | Unit | diagram-source.test.ts:42 |
| 34 | replacing one drawing leaves the other diagram alone | Unit | diagrams.test.ts:8 |
| 35 | a drawing is drawn while the diagram under it is still loading | Unit | diagrams.test.ts:21 |
| 36 | a diagram that fails to load does not hide the drawing | Unit | diagrams.test.ts:42 |
| 37 | one diagram that cannot be drawn leaves the drawing | Unit | diagrams.test.ts:56 |
| 38 | a drawing that cannot be drawn does not stop the diagram | Unit | diagrams.test.ts:70 |
| 39 | a note with only a drawing never loads Mermaid | Unit | diagrams.test.ts:84 |
| 40 | a diagram picture replaces only the block that was drawn | Unit | diagrams.test.ts:96 |
| 41 | doc-check: a clean document has no problems | Unit | doc-check.test.mjs:7 |
| 42 | doc-check: what Moki shows wrongly is an error (callouts, HTML, links to headings) | Unit | doc-check.test.mjs:17 |
| 43 | doc-check: headings skip a level or repeat the title; text inside code blocks is ignored | Unit | doc-check.test.mjs:22 |
| 44 | doc-check: tables need a separator and the same number of cells; wide tables warn | Unit | doc-check.test.mjs:27 |
| 45 | doc-check: Mermaid blocks name their type, have no HTML or click, and stay small | Unit | doc-check.test.mjs:35 |
| 46 | doc-check: Excalidraw blocks hold a scene; an unclosed block is an error | Unit | doc-check.test.mjs:43 |
| 47 | doc-check: cited sources need a bibliography row; local links and images must exist | Unit | doc-check.test.mjs:50 |
| 48 | doc-render: renders always go to the temporary folder of the document's project, never next to it | Unit | doc-render.test.mjs:10 |
| 49 | doc-render: --clean removes only the renders of that file | Unit | doc-render.test.mjs:24 |
| 50 | excalidraw: a spec becomes a scene Moki accepts (type excalidraw, elements list) | Unit | excalidraw-spec.test.mjs:19 |
| 51 | excalidraw: labels are bound to their shapes and arrows to both ends | Unit | excalidraw-spec.test.mjs:28 |
| 52 | excalidraw: ranks follow the edges; a cycle does not loop; the same spec gives the same scene | Unit | excalidraw-spec.test.mjs:46 |
| 53 | excalidraw: an invalid spec is refused with the reasons | Unit | excalidraw-spec.test.mjs:56 |
| 54 | excalidraw: the fence is an excalidraw block with the scene JSON | Unit | excalidraw-spec.test.mjs:67 |
| 55 | Markdown headings get stable, unique anchors from visible text | Unit | heading-anchors.test.ts:7 |
| 56 | heading IDs are independent of comment rendering and reset per document | Unit | heading-anchors.test.ts:12 |
| 57 | HTML comments persist independently of source, follow a folder rename and reject invalid anchors | Unit | html-comments.test.ts:11 |
| 58 | HTML comment colors, replies and edits survive reopening and moving without changing source or old comments | Unit | html-comments.test.ts:29 |
| 59 | a link relative to the document leads to the file it names | Unit | internal-links.test.ts:9 |
| 60 | a project path works from any document, rooted or not (the note @ mention) | Unit | internal-links.test.ts:15 |
| 61 | a path through this project folder, as AIs write it, is cut at the project | Unit | internal-links.test.ts:21 |
| 62 | what is not a place of this project leads nowhere | Unit | internal-links.test.ts:27 |
| 63 | a link to another project is never resolved inside this one | Unit | internal-links.test.ts:37 |
| 64 | a missing file still resolves (to say it was not found), relative to the document first | Unit | internal-links.test.ts:42 |
| 65 | anchors: a heading, a comment, a PDF page; # alone is the same document | Unit | internal-links.test.ts:46 |
| 66 | heading slugs follow GitHub: accents kept, punctuation dropped, repeats numbered | Unit | internal-links.test.ts:55 |
| 67 | hrefTo writes a link relative to the document, which resolveInternal reads back | Unit | internal-links.test.ts:62 |
| 68 | findPaths finds file-shaped words, not ordinary ones, without the closing period | Unit | internal-links.test.ts:82 |
| 69 | a lazy module runs its import once and caches the module | Unit | lazy-module.test.ts:5 |
| 70 | concurrent loads share the same import | Unit | lazy-module.test.ts:16 |
| 71 | a failed import is forgotten, so the next load tries again | Unit | lazy-module.test.ts:26 |
| 72 | warm starts the import early, does not run it again on load and swallows a failure | Unit | lazy-module.test.ts:35 |
| 73 | lazyHeavy imports at once only when the lazy switch is off (eager) | Unit | lazy-module.test.ts:51 |
| 74 | a comment carries its marker as the prefix of its text, matched by icon or name | Unit | markers.test.ts:11 |
| 75 | setting, changing and clearing a marker keeps the rest of the text | Unit | markers.test.ts:25 |
| 76 | the set: defaults until saved, cleaned on save, written once in the person's language | Unit | markers.test.ts:32 |
| 77 | the AI is told where the markers are and how they read, in plain ASCII | Unit | markers.test.ts:56 |
| 78 | a comment marks its text and goes to the block at the end; any Markdown viewer hides both | Unit | md-comments.test.ts:20 |
| 79 | replies, edits and deletes keep the file's own text | Unit | md-comments.test.ts:36 |
| 80 | comment colors persist across edits and replies, with old comments unchanged | Unit | md-comments.test.ts:53 |
| 81 | the formatted editor keeps a comment when the text around it changes | Unit | md-comments.test.ts:64 |
| 82 | reading the comments of a text with a very long run of blank lines takes linear time and gives the same body as before | Unit | md-comments.test.ts:80 |
| 83 | md-preserve: an edit rewrites only its stretch; Windows line endings and original spacing stay | Unit | md-preserve.test.ts:8 |
| 84 | md-preserve: the file is split into the drawn text, its tail (blank lines, comment block) and its line ending | Unit | md-preserve.test.ts:16 |
| 85 | md-preserve: when the editor writes the file its own way, an edit rewrites only the blocks it touched | Unit | md-preserve.test.ts:25 |
| 86 | md-preserve: blocks kept with Windows line endings; added at the end, the file stays whole | Unit | md-preserve.test.ts:35 |
| 87 | md-raw: the formatted editor writes ${name} back exactly as it was | Unit | md-raw.test.ts:30 |
| 88 | md-raw: in a table cell and a reference definition keep every word and their own text |
Unit | md-raw.test.ts:35 |
| 89 | md-raw: a block the editor would lose words of is shielded and comes back unchanged | Unit | md-raw.test.ts:42 |
| 90 | md-raw: editing one paragraph of an AI file rewrites only that paragraph | Unit | md-raw.test.ts:52 |
| 91 | Word preview keeps run fonts, sizes, colors and paragraph alignment; a text edit keeps other styles and parts | Unit | office-editor.test.ts:27 |
| 92 | Word edits preserve the text when deletions cross runs, when inserting at their boundary, and when the paragraph is empty | Unit | office-editor.test.ts:40 |
| 93 | Word comments are native package parts with an anchor and can be removed without changing the text | Unit | office-editor.test.ts:48 |
| 94 | Word selection comments keep exact native ranges across styled runs, overlapping comments and later text edits | Unit | office-editor.test.ts:60 |
| 95 | Word selection comments preserve line breaks, tabs, XML entities and non-text run content, and reject invalid ranges | Unit | office-editor.test.ts:79 |
| 96 | a paragraph can be marked and a new paragraph can be added after it | Unit | office-editor.test.ts:93 |
| 97 | Word and spreadsheet comments keep a color and replies with the native text | Unit | office-editor.test.ts:104 |
| 98 | Word fields and tracked changes cannot be flattened by an edit; XML entities never expand | Unit | office-editor.test.ts:125 |
| 99 | spreadsheet preview reads fonts and fills; editing a value preserves styles, other cells and sheets | Unit | office-editor.test.ts:132 |
| 100 | spreadsheet notes are native comments and VML, with one note per cell and no sidecar | Unit | office-editor.test.ts:142 |
| 101 | spreadsheet edits add missing cells and formulas in place and request recalculation, without changing the style part | Unit | office-editor.test.ts:155 |
| 102 | Office service refuses stale writes and paths outside the active project | Integration | office-editor.test.ts:164 |
| 103 | protected and signed Office packages cannot be changed | Unit | office-editor.test.ts:183 |
| 104 | opening a legacy document converts once and the next open uses that copy | Unit | office-editor.test.ts:198 |
| 105 | legacy conversion preserves the original and refuses to overwrite an existing destination | Integration | office-editor.test.ts:220 |
| 106 | Word and Excel open edited packages with native comments and convert real legacy copies | Integration | office-native.test.ts:17 |
| 107 | parse worker: the worker parses a Word file and a spreadsheet exactly as the inline parse does | Unit | parse-worker.test.ts:39 |
| 108 | parse worker: a corrupt file is the file's error, thrown as it is and not parsed twice | Unit | parse-worker.test.ts:52 |
| 109 | parse worker: a worker that cannot start, crashes, answers garbage or never answers falls back to the inline parse | Unit | parse-worker.test.ts:62 |
| 110 | parse worker: no answer in time ends the worker and parses inline; after repeated failures the worker is not tried again | Unit | parse-worker.test.ts:87 |
| 111 | parse worker: an idle worker is ended and the next file starts a new one | Unit | parse-worker.test.ts:98 |
| 112 | parse worker: files wait their turn and each gets its own answer | Unit | parse-worker.test.ts:110 |
| 113 | parse worker: a big file does not block the event loop (inline does) | Unit | parse-worker.test.ts:121 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | search: projects by name, files by name and text, filters by tag | Integration | desktop.test.ts:3206 |
| 2 | expanded search: prefixes distinguish projects, file names and contents | Integration | desktop.test.ts:3236 |
| 3 | extracted text is reused only for the same version of the file | Unit | search-cache.test.ts:6 |
| 4 | the least recently used text leaves first when the limit is passed | Unit | search-cache.test.ts:13 |
| 5 | expanded search: finds by name and content, reads a PDF, does not follow symlinks | Integration | search.test.ts:11 |
| 6 | search: file size limit is kept (at the limit, above it) | Integration | search.test.ts:40 |
| 7 | search: the event loop is not held while many files are read | Integration | search.test.ts:62 |
| 8 | search: the yielder gives the event loop a turn only after its slice of work | Integration | search.test.ts:85 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | workspaces: each one has its own projects; requests name a workspace outside the default | Integration | desktop.test.ts:3159 |
| 2 | an open tab is read again only when its file size or modification time changed | Unit | tab-refresh.test.ts:6 |
| 3 | a tab without a known stamp, or a file missing from the tree, is read again (the safe side) | Unit | tab-refresh.test.ts:13 |
| 4 | an image or PDF tab takes its stamp from its content, any other tab from the tree stamp it kept | Unit | tab-refresh.test.ts:20 |
| 5 | a PDF tab keeps no bytes: its stamp is the size and time of the stat taken before its URL was granted | Unit | tab-refresh.test.ts:30 |
| 6 | throttle calls at once, then collapses a burst into one call at the end of the window | Unit | tab-refresh.test.ts:39 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | each terminal opens its own group, with its own color; a file opened by hand joins the focused view's group | Unit | tab-groups.test.ts:10 |
| 2 | a deliverable opens in its terminal's group without taking the screen, marked new until seen | Unit | tab-groups.test.ts:23 |
| 3 | split: the same group in two views (terminal | file), or another group in each | Unit | tab-groups.test.ts:35 |
| 4 | dragging a terminal into a view of another group takes its group along; a file joins the view's group | Unit | tab-groups.test.ts:59 |
| 5 | groups: rename, color, move a file by hand, new group; closing tabs and dropping an empty group | Unit | tab-groups.test.ts:72 |
| 6 | closing the active tab shows its neighbour; a renamed file keeps its place | Unit | tab-groups.test.ts:91 |
| 7 | a saved board comes back checked, and loses what no longer exists | Unit | tab-groups.test.ts:103 |
| 8 | view state preserves tab order, active file and scroll without crossing workspace/project boundaries | Unit | workspace-view-state.test.ts:42 |
| 9 | malformed or newer storage and unavailable localStorage safely fall back to empty tabs | Unit | workspace-view-state.test.ts:52 |
| 10 | invalid paths and duplicate tabs are discarded, scroll is bounded and a missing active tab falls back | Unit | workspace-view-state.test.ts:63 |
| 11 | only view metadata is written: no content, drafts or stale fields are persisted | Unit | workspace-view-state.test.ts:82 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | theme settings keep the Moki palette and the CLI/document modes independent | Unit | theme.test.ts:46 |
| 2 | the old Moki theme preference is migrated and other settings use their safe defaults | Unit | theme.test.ts:54 |
| 3 | already-open windows follow theme changes from another window, including reset | Unit | theme.test.ts:60 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | confirmations wait for an explicit decision and cancellation does not run the action | Unit | dialogs.test.ts:11 |
| 2 | accepting one confirmation resolves it once, without accepting the next queued request | Unit | dialogs.test.ts:27 |
| 3 | a notice is queued like a confirmation, and its message stays plain text | Unit | dialogs.test.ts:44 |
| 4 | subscribers see queue changes and stop receiving them after unsubscribe | Unit | dialogs.test.ts:55 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | tags share context between projects; launch lists it and applies exclusions | Integration | desktop.test.ts:1027 |
| 2 | one rule: no tag = every project; the project's own tag; a shared tag | Unit | tags.test.ts:39 |
| 3 | agents: the old per-project lists become tags, each project keeps exactly what it had | Unit | tags.test.ts:46 |
| 4 | templates: the old styles become a list; each project uses its default, else the one without tags | Unit | tags.test.ts:67 |
| 5 | a base file: kept next to its template, never the look, replaced in place and removed with it | Unit | tags.test.ts:97 |
| 6 | seen from one project: how an item reaches it, and turning it on or off there through the project's own tag | Unit | tags.test.ts:123 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | no default switch is on in this release, and none may turn the GPU off | Unit | chromium-switches.test.ts:8 |
| 2 | without QA_ELECTRON_ARGS nothing is applied, so the GPU is left on | Unit | chromium-switches.test.ts:14 |
| 3 | main.ts never turns the GPU off on its own | Unit | chromium-switches.test.ts:19 |
| 4 | with the shipped (empty) defaults nothing is applied unless the user asks, exactly as QA_ELECTRON_ARGS alone | Unit | chromium-switches.test.ts:24 |
| 5 | defaults are applied, and the user adds switches with other names | Unit | chromium-switches.test.ts:38 |
| 6 | the value of the user overrides the default with the same name, one entry per name | Unit | chromium-switches.test.ts:44 |
| 7 | QA_NO_DEFAULT_SWITCHES=1, or a QA_ELECTRON_ARGS that exists but is blank, turns the defaults off | Unit | chromium-switches.test.ts:49 |
| 8 | a default that is not allowed is rejected and reported, never applied | Unit | chromium-switches.test.ts:63 |
| 9 | --in-process-gpu is allowed; --disable-gpu-compositing and --no-sandbox are not | Unit | chromium-switches.test.ts:71 |
| 10 | the QA_PERF line lists what was applied and whether the defaults were on | Unit | chromium-switches.test.ts:77 |
| 11 | launch validates every choice against fixed lists | Integration | desktop.test.ts:688 |
| 12 | calling into a terminal uses the validated launch request without launching another tool | Integration | desktop.test.ts:735 |
| 13 | launch builds the request; Word files are extracted | Integration | desktop.test.ts:1014 |
| 14 | plugins per project: caveman is saved in project.json and reaches only that project's launches | Integration | desktop.test.ts:1695 |
| 15 | workspace scratch files: a project's --mcp-config files go with its last terminal, everything goes otherwise | Integration | desktop.test.ts:2397 |
| 16 | non-ASCII prompts reach Windows tools through a UTF-8 request file | Integration | desktop.test.ts:2710 |
| 17 | app plugins load only in app sessions: Claude by folder, Codex as one line of instructions (skipped on Windows) | Integration | desktop.test.ts:2721 |
| 18 | launcher keeps user text out of any shell command line | Unit | desktop.test.ts:2752 |
| 19 | install plans: fixed vendor commands per system for every terminal AI; editors are downloaded, not installed | Integration | desktop.test.ts:2760 |
| 20 | install plans: Node.js comes from winget or Homebrew only; the tools installed through npm declare it | Integration | desktop.test.ts:2777 |
| 21 | a missing installable tool opens run-tool in the tab; the request carries the tool and one prompt argument (skipped on Windows) | Integration | desktop.test.ts:2792 |
| 22 | run-tool: a missing tool shows the instructions and asks; anything but y installs nothing (skipped on Windows) | Integration | desktop.test.ts:2818 |
| 23 | run-tool: a missing npm tool offers Node.js first, and says so when it cannot install it (skipped on Windows) | Integration | desktop.test.ts:2834 |
| 24 | terminal tabs start only the chosen tool, in the framework root, with the prompt as one argument (skipped on Windows) | Integration | desktop.test.ts:2851 |
| 25 | an activity effort level goes to the AI as its own flag; an AI without one starts with its default | Integration | desktop.test.ts:3629 |
| 26 | files mentioned with @ go as context: the project files and the linked folder code, checked like the panel ▶ | Integration | desktop.test.ts:3648 |
| 27 | QA_ELECTRON_ARGS: unset, empty or blank applies nothing | Unit | electron-args.test.ts:5 |
| 28 | QA_ELECTRON_ARGS: allowed switches are returned without the leading dashes, with extra spaces ignored | Unit | electron-args.test.ts:9 |
| 29 | QA_ELECTRON_ARGS: switches with a value keep it, including a value that has its own = (--js-flags) | Unit | electron-args.test.ts:15 |
| 30 | QA_ELECTRON_ARGS: --in-process-gpu is allowed without a value, and not with one | Unit | electron-args.test.ts:25 |
| 31 | QA_ELECTRON_ARGS: an injected unsafe switch is dropped and reported while the allowed one stays | Unit | electron-args.test.ts:30 |
| 32 | QA_ELECTRON_ARGS: a token without -- is rejected | Unit | electron-args.test.ts:38 |
| 33 | QA_ELECTRON_ARGS: a value-less or valued mismatch, an empty value and an unsafe value are rejected | Unit | electron-args.test.ts:42 |
| 34 | QA_ELECTRON_ARGS: a token over the size limit and tokens past the count limit are rejected | Unit | electron-args.test.ts:47 |
| 35 | terminal-drop: paths are typed as a terminal types dropped files, quoted when needed, with a space after | Unit | terminal-drop.test.ts:5 |
| 36 | terminal-drop: Codex receives an image path as a paste; Claude still receives it typed | Unit | terminal-drop.test.ts:13 |
| 37 | terminal-drop: only a paste with images and no text is taken as images | Unit | terminal-drop.test.ts:23 |
| 38 | terminal links span wrapped lines after a wide glyph and stay on the requested row | Unit | terminal-links.test.ts:7 |
| 39 | printed project paths include Windows, Unix and encoded Markdown destinations, not URLs | Unit | terminal-links.test.ts:25 |
| 40 | copied links escape labels and paths, retaining comment identity from any document | Unit | terminal-links.test.ts:32 |
| 41 | terminal output tail keeps only the last characters, across chunks | Unit | terminals.test.ts:6 |
| 42 | calling into an AI terminal preserves the draft and never sends Enter or terminal controls | Unit | terminals.test.ts:28 |
| 43 | calling refuses other projects, shells, editors, closed terminals and invalid text | Unit | terminals.test.ts:45 |
| 44 | terminal output tail keeps the order over many small and large chunks | Unit | terminals.test.ts:65 |
| 45 | terminal output batcher groups chunks into one send, in order | Unit | terminals.test.ts:73 |
| 46 | terminal output batcher flush sends at once and cancel drops what waits | Unit | terminals.test.ts:85 |
| 47 | terminal flow control pauses once above the high mark and resumes below the low mark | Unit | terminals.test.ts:105 |
| 48 | terminal flow control never counts below zero and ignores untrusted acks | Unit | terminals.test.ts:122 |
| 49 | terminal flow control resumes on reset, release and dispose, and stays free afterwards | Unit | terminals.test.ts:135 |
| 50 | terminal flow control resumes a window that confirms nothing, and counts again after it confirms | Unit | terminals.test.ts:151 |
| 51 | terminal flow control keeps a slow but confirming window paused without the stall timeout | Unit | terminals.test.ts:165 |
| 52 | terminal flow control survives a process that cannot pause or resume | Unit | terminals.test.ts:173 |
| 53 | every terminal gets its own id as QA_TERMINAL, on top of the environment it was prepared with | Unit | terminals.test.ts:183 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | my AIs: path and version of the installed tools, nothing run for the missing ones | Integration | desktop.test.ts:3476 |
| 2 | my AIs: the Moki extension of the app version is downloaded, verified, installed and the editor opens | Integration | desktop.test.ts:3489 |
| 3 | IDE shortcut installs once and reuses the matching companion on later opens | Integration | desktop.test.ts:3503 |
| 4 | my AIs: only installed editors that take the extension, and only a vsix GitHub vouches for | Integration | desktop.test.ts:3514 |
| 5 | my AIs: in a checkout, the vsix built in release/ is installed without downloading | Integration | desktop.test.ts:3527 |
| 6 | my AIs: tools are found through PATH, kept while it is the same, and aiTools looks again | Integration | desktop.test.ts:3572 |
| 7 | my AIs: the + menu asks for a fresh look, and integrations() without it keeps the cache | Integration | desktop.test.ts:3596 |
| 8 | my AIs: Copy diagnostic lists where each command was looked for, and copies it | Integration | desktop.test.ts:3616 |
| 9 | PATH: the fresher PATH and the usual tool folders join the current one, without repeats | Unit | tool-path.test.ts:17 |
| 10 | PATH: npm global and the installers' folders are among the usual ones | Unit | tool-path.test.ts:26 |
| 11 | which: the first executable file on PATH, resolved in JS (sync and async agree) | Unit | tool-path.test.ts:34 |
| 12 | which: Windows adds PATHEXT unless the name already has one (simulated on a POSIX folder) | Unit | tool-path.test.ts:52 |
| 13 | detectTools: sync and async find the same AI tools through PATH, without starting a process | Unit | tool-path.test.ts:66 |
| 14 | PATH: the shell is read asynchronously and the same way as the blocking read, markers and noise included | Unit | tool-path.test.ts:82 |
| 15 | PATH: every value of a registry key is read, by upper-case name | Unit | tool-path.test.ts:122 |
| 16 | PATH: the registry PATH resolves the variables it names, from the process or from the registry | Unit | tool-path.test.ts:132 |
| 17 | PATH: npm's moved global folder comes from NPM_CONFIG_PREFIX or ~/.npmrc | Unit | tool-path.test.ts:143 |
| 18 | PATH: pnpm, fnm, mise and the moved npm folder are among the usual ones | Unit | tool-path.test.ts:154 |
| 19 | PATH: the diagnostic lists the folders in order, the missing ones and each command | Unit | tool-path.test.ts:163 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | the app's actions and the activities that come with Moki: one list, the same ids as before | Unit | activities.test.ts:37 |
| 2 | the request text: {files} lines only with files, {no-files} lines only without, {project}; an empty text asks for its target | Unit | activities.test.ts:46 |
| 3 | a file is checked: what it uses, its files rule, its id and its name | Unit | activities.test.ts:56 |
| 4 | your own activities: saved in the library, reach projects by tags, never take an id of Moki; favorites | Unit | activities.test.ts:70 |
| 5 | service: Settings lists, creates, duplicates and deletes; a target that does not exist is refused | Integration | activities.test.ts:86 |
| 6 | launching: your activity's text, an agent's activity acts as it, an operation's activity opens its form instead | Integration | activities.test.ts:108 |
| 7 | launching: "talk" is a conversation with one agent, never listed where an activity is picked | Integration | activities.test.ts:126 |
| 8 | "open" stays a request (IDE agent cards, qa --activity open) but is never offered as an activity | Unit | activities.test.ts:142 |
| 9 | launching: "skill" names one usable skill and stays out of the activity list | Integration | activities.test.ts:150 |
| 10 | text-only activities need a request, round-trip without uses, and keep files and project substitutions | Unit | activities.test.ts:160 |
| 11 | several skills round-trip in uses, all reach the request even with custom text, and invalid combinations are refused | Unit | activities.test.ts:182 |
| 12 | service validates every selected skill, preserves them when copying and editing, and makes the same request for the CLI | Unit | activities.test.ts:194 |
| 13 | a planned second skill makes the whole activity unavailable in the app and terminal menu | Unit | activities.test.ts:210 |
| 14 | an agent may have no skills: validation, profile saving and activities still retain its role | Unit | activities.test.ts:221 |
| 15 | activity requests are restored honestly and correlated only by exact identifier | Unit | activity-launches.test.ts:5 |
| 16 | an activity pinned to a project lands in its project.json, in the order pinned, and only a known activity | Integration | desktop.test.ts:803 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | one list per kind, kept apart, in the order they were starred; unstarring removes one | Unit | favorites.test.ts:14 |
| 2 | only the known kinds and safe ids | Integration | favorites.test.ts:31 |
| 3 | most used: counted per kind, the top 5, ties by id, unsafe ids ignored | Unit | favorites.test.ts:41 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | run details and open activities | Integration | desktop.test.ts:681 |
| 2 | activity tracking is optional, validated and never creates a run | Integration | desktop.test.ts:722 |
| 3 | a run records the activity it came from; the requests and the tree show it, and its scenario | Integration | desktop.test.ts:764 |
| 4 | Deliveries: the tree lists only the files the runs delivered, straight under runs/, newest run first | Integration | desktop.test.ts:869 |
| 5 | npm run new-run records --activity, and refuses an activity the project does not see | Integration | desktop.test.ts:985 |
| 6 | leftovers: scratch files and finished runs' helper files are deleted for good; outputs not delivered are cleaned on request | Integration | desktop.test.ts:2408 |
| 7 | cleanup after context: a finished run's outputs go to the trash only when the project asks and every deliverable is in context/ | Integration | desktop.test.ts:2460 |
| 8 | hudson: a new name keeps the extension and holds no folder | Integration | hudson.test.ts:13 |
| 9 | hudson: the request lists every file with its run and preview, and asks for JSON only | Integration | hudson.test.ts:21 |
| 10 | hudson: only listed files with a known action are taken; what is unclear is kept | Integration | hudson.test.ts:30 |
| 11 | hudson: the service offers the files runs left, not their state, inputs or journals, and applies only offered files | Integration | hudson.test.ts:53 |
| 12 | a run from an activity is named by it and by the words of its slug | Unit | run-origin.test.ts:8 |
| 13 | a request made straight to the AI has no activity; the app's tracking slug names no scenario | Unit | run-origin.test.ts:15 |
| 14 | an activity that is gone still names its runs (its id); odd ids are left as they are | Unit | run-origin.test.ts:21 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | agent library: built-in agents are read-only, copies are editable and validated | Integration | desktop.test.ts:1073 |
| 2 | agents in operations: inputs, outputs, MCP servers and AI are read, validated and saved | Integration | desktop.test.ts:1101 |
| 3 | agents per project: enabled list in project.json gates the launch | Integration | desktop.test.ts:1675 |
| 4 | agents created from Skills & agents only use skills installed in their own folder | Integration | desktop.test.ts:1933 |
| 5 | ${agent}: activity starts discovery without a file and CLI selects the same role | Integration | specialists.test.ts:42 |
| 6 | ${agent}: selected sources stay in the active project | Integration | specialists.test.ts:54 |
| 7 | api-tester remains usable independently of Sentinela | Integration | specialists.test.ts:62 |
| 8 | explicit specialist selection respects the project agent configuration | Integration | specialists.test.ts:68 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | operations: a line of agents; arrows pass outputs, the rest goes to the initial form; saved in the library | Integration | desktop.test.ts:1171 |
| 2 | operation recipe Pente-fino: the round reviewer and Wiggins chain with no error, asking only the MF at the start | Integration | desktop.test.ts:1230 |
| 3 | operations in a project: linked, started with the initial form, run step by step through files | Integration | desktop.test.ts:1251 |
| 4 | operations branch on the result of an agent, loop back up to a limit, and ask the user when nothing fits | Integration | desktop.test.ts:1360 |
| 5 | operations: a step whose terminal closes fails until tried again, a rejected step goes back with the reasons, cancelling closes the terminal | Integration | desktop.test.ts:1460 |
| 6 | operations: the question of a step is answered from Moki, in its terminal or by reopening it when its terminal is gone | Integration | desktop.test.ts:1559 |
| 7 | operations: a step whose AI tool cannot open fails once (no retry loop) and is tried again with another AI | Integration | desktop.test.ts:1619 |
| 8 | operations: the first time, an example in the app language; deleted, it does not come back | Integration | desktop.test.ts:1659 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | skill registry: paged search, verified install per project or global, prompt names project skills | Integration | desktop.test.ts:1888 |
| 2 | create skill: the AI tool drafts a proposal in the project; installing copies the reviewed proposal | Integration | desktop.test.ts:1975 |
| 3 | global tab and start screen: lists, opens and removes (to the trash) only what is installed for all projects | Integration | desktop.test.ts:2006 |
| 4 | set up: description and global skills linked by reference; requests name them | Integration | desktop.test.ts:2053 |
| 5 | set up: ArtCraft skills of the framework can be linked; requests name them from the framework root | Integration | desktop.test.ts:2078 |
| 6 | set up: the project panel lists the skills and agents the project uses, from its own folder, the global ones it links and Moki's defaults | Integration | desktop.test.ts:2112 |
| 7 | set up: a skill or an agent is typed into the AI terminal without Enter, from the project's list only, with no shared context and no run | Integration | desktop.test.ts:2126 |
| 8 | set up: files of the project go to the AI, context first; folders, hidden names, credentials and paths outside are refused | Integration | desktop.test.ts:2149 |
| 9 | set up: an AI opened without a choice is told about the project's skills and agents; the tab says nothing when only they are there | Integration | desktop.test.ts:2180 |
| 10 | blank project: no QA context files; the AI plan is filtered and approved from Set up | Integration | desktop.test.ts:2201 |
| 11 | upload of skills and agents: preview writes nothing, blocks per item, installs only what is confirmed | Integration | desktop.test.ts:2298 |
| 12 | bring to a project: one upload finds skills, agents and activities, puts them in the workspace for all projects and links them to the project | Integration | desktop.test.ts:2491 |
| 13 | bring to a project: kept only for the project, the skill and the agent stay in the project folder, with no link, no tag and no record | Integration | desktop.test.ts:2548 |
| 14 | set up: the project panel lists a general agent brought by this project, and not one brought by another | Integration | desktop.test.ts:2579 |
| 15 | upload from a zip: layouts, limits, unsafe paths, and a failure undoes everything | Integration | desktop.test.ts:2605 |
| 16 | upload of skills and agents: agents in subfolders of .claude/agents are each offered, same names are blocked and all chosen are installed | Integration | desktop.test.ts:2642 |
| 17 | upload of skills and agents: select all and clear work per group and never mark a blocked item | Integration | desktop.test.ts:2697 |
| 18 | set up: a skill or an agent dragged from the panel is accepted only by a terminal of its own project, and only as { kind, name } | Integration | desktop.test.ts:3553 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | linked folder: linking records it and backs up its AI settings inside it | Integration | desktop.test.ts:1706 |
| 2 | open a folder: the name is yours, the folder shows live in the tree as @folder, and opens in an IDE | Integration | desktop.test.ts:1759 |
| 3 | linked folder: a project can be created from an existing folder chosen in the dialog | Integration | desktop.test.ts:1818 |
| 4 | repository tab: installs, agents and removals in a linked .claude need confirmation and a backup; writeAllowed: false refuses | Integration | desktop.test.ts:2242 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | MCPs: the last section lists the servers configured where the AI tools start | Integration | desktop.test.ts:337 |
| 2 | one catalog: ids are stable and unique, names may repeat | Unit | mcp.test.ts:55 |
| 3 | credentials are never stored: ${VARIABLE} only | Unit | mcp.test.ts:67 |
| 4 | where a server applies: global, or only the projects chosen; off reaches no project | Unit | mcp.test.ts:80 |
| 5 | an agent gets only the servers its contract names and the project has on | Unit | mcp.test.ts:95 |
| 6 | import: Claude/Cursor, VS Code and bare maps; credentials become variables | Unit | mcp.test.ts:101 |
| 7 | configurations for Claude Code and Cursor; merging keeps the person's entries | Unit | mcp.test.ts:113 |
| 8 | OAuth: an HTTP server keeps its public client for Claude Code; never a secret; nothing changes without it | Unit | mcp.test.ts:126 |
| 9 | OAuth: import keeps the client of a Claude Code configuration and leaves a client secret out | Unit | mcp.test.ts:146 |
| 10 | variables are read only when a server starts; a missing one says which, never a value | Unit | mcp.test.ts:154 |
| 11 | Claude Code started by Moki gets --mcp-config with the project servers and Moki's own | Integration | mcp.test.ts:162 |
| 12 | Codex started by Moki gets -c overrides for this project and does not write a variable as a value | Unit | mcp.test.ts:176 |
| 13 | Gemini and Antigravity started by Moki get this project's servers in /.gemini/settings.json | Unit | mcp.test.ts:188 |
| 14 | Gemini started by Moki gets this project's agents in /.gemini/agents and keeps a file the person wrote | Unit | mcp.test.ts:204 |
| 15 | a project skill already in .claude/skills is copied to .agents/skills once | Unit | mcp.test.ts:222 |
| 16 | Cursor started by Moki: the moki entries of /.cursor/mcp.json, the person's kept | Integration | mcp.test.ts:233 |
| 17 | sync with Cursor in the linked folder: asks first, honours writeAllowed, backs up | Integration | mcp.test.ts:241 |
| 18 | Codex: Moki writes its own region of .codex/config.toml; the person's tables stay; a variable is never written as a value | Unit | mcp.test.ts:256 |
| 19 | service: one catalog with where each server applies, test results kept without values | Integration | mcp.test.ts:284 |
| 20 | an operation run keeps the servers it started with | Integration | mcp.test.ts:303 |
| 21 | the IDE Companion lists the servers that are on, without command or variables | Integration | mcp.test.ts:314 |
| 22 | probe: a real stdio server (Moki's own) and an HTTP one | Integration | mcp.test.ts:320 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | UI requests run only service methods and return their errors as messages | Integration | desktop.test.ts:3109 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | installer framework sync refreshes framework files and never touches workspace/ | Integration | desktop.test.ts:2971 |
| 2 | installed copies keep the framework in QA_ROOT, the legacy folder or /Moki | Integration | desktop.test.ts:3002 |
| 3 | installer framework sync rejects Git checkouts and worktrees before touching their files | Integration | desktop.test.ts:3018 |
| 4 | installed copies sync separately from Git and keep the existing default workspace and registry | Integration | desktop.test.ts:3045 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | Claude plan windows come from limits[], with the model of a scoped limit | Unit | usage.test.ts:9 |
| 2 | Codex plan windows are labeled by their length | Unit | usage.test.ts:28 |
| 3 | a terminal counts the memory of everything it started, once | Unit | usage.test.ts:35 |
| 4 | memory is listed per project and, inside it, per terminal | Unit | usage.test.ts:42 |
| 5 | the process list is read once per ttl, not at every poll | Unit | usage.test.ts:56 |
| 6 | PSS is read from the Pss line of smaps_rollup, not from Rss or Pss_Anon | Unit | usage.test.ts:82 |
| 7 | PSS of several pids is read in parallel; a pid that cannot be read keeps its RSS | Unit | usage.test.ts:88 |
| 8 | the PSS reader is asynchronous: it waits for a reader that has not answered yet | Unit | usage.test.ts:100 |
| 9 | on Linux the bar measures PSS for Moki and for the terminals, and keeps the RSS next to it | Unit | usage.test.ts:109 |
| 10 | on macOS the numbers stay RSS from the same sources, and no smaps_rollup is read | Unit | usage.test.ts:128 |
| 11 | on Windows the bar measures private bytes, the RSS stays the working set, and no smaps_rollup is read | Unit | usage.test.ts:141 |
| 12 | the private kilobytes column is read when present and left out otherwise | Unit | usage.test.ts:155 |
| 13 | Moki is listed by role apart from the AI tools, each in the bar measure | Unit | usage.test.ts:161 |
| 14 | a plain number of bytes for Moki is still accepted | Unit | usage.test.ts:182 |
| 15 | the tree of a terminal lists its processes once, only the ones that exist | Unit | usage.test.ts:187 |
| 16 | on Linux the real smaps_rollup of this process gives a positive PSS no larger than its RSS | Unit | usage.test.ts:193 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | every text of the app has a ${lang} translation | Unit | i18n.test.ts:36 |
| 2 | ${lang} translations keep the {placeholders} of the English text | Unit | i18n.test.ts:46 |
| 3 | ${expected.lang} is selected, persisted and restored with the right conversation default | Unit | i18n.test.ts:83 |
| 4 | switching between all interface languages replaces the dictionary and preserves an explicit conversation language | Unit | i18n.test.ts:100 |
| 5 | an absent or unsupported stored language still defaults to English | Unit | i18n.test.ts:111 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | only the calls of the panel exist; the service as a whole is never reachable | Integration | companion-api.test.ts:81 |
| 2 | state: the connected project, the list to switch, the MCP servers that are on | Integration | companion-api.test.ts:88 |
| 3 | agents: only the ones the project uses | Integration | companion-api.test.ts:96 |
| 4 | context: switching a file off leaves it out of requests and of what the AI reads | Integration | companion-api.test.ts:101 |
| 5 | launch: Claude Code with the request, the exclusions and --mcp-config, for the active project only | Integration | companion-api.test.ts:117 |
| 6 | favorites and most used: stars are shared, a launch counts as a use, resuming does not | Integration | companion-api.test.ts:130 |
| 7 | copy for the chat: the same request copied, nothing started | Integration | companion-api.test.ts:141 |
| 8 | connect Claude Code: asks first, writes only Moki's entries, backs up and hides from Git | Integration | companion-api.test.ts:150 |
| 9 | connect Cursor and Codex from the same menu: each in its own file of the folder | Integration | companion-api.test.ts:169 |
| 10 | without a project the panel asks for one | Integration | companion-api.test.ts:181 |
| 11 | operations from the panel: started, each step in its own terminal, moved on by the loop | Integration | companion-api.test.ts:189 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | the open folder finds its project: linked folder first, subfolders too | Integration | companion.test.ts:47 |
| 2 | resources: own context and notes, shared context waits for the person, no secrets | Integration | companion.test.ts:56 |
| 3 | isolation: ids of other projects or paths outside are refused | Integration | companion.test.ts:75 |
| 4 | diagram sources are readable context resources while shared selection and sensitive-file rules stay in force | Integration | companion.test.ts:84 |
| 5 | manual resources are hidden until selected; modes are saved in companion.json | Integration | companion.test.ts:124 |
| 6 | context pack: selected text first within the budget, then related references | Integration | companion.test.ts:141 |
| 7 | MCP: initialize, tools/list, tools/call, and every call is logged | Integration | companion.test.ts:155 |
| 8 | MCP: the session is bound to one project, or explains why not | Integration | companion.test.ts:175 |
| 9 | MCP server over stdio | Integration | companion.test.ts:187 |
| 10 | a PDF and a file outside the standard folders stay readable, and context stays ahead of them | Integration | companion.test.ts:203 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | the status bar cat: one glyph at U+E000, in the codicon metrics | Unit | icon-font.test.mjs:24 |
| 2 | path flattening: lines, curves and arcs end where the SVG does | Unit | icon-font.test.mjs:39 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | real repository passes validation | Integration | framework.test.mjs:36 |
| 2 | fixture passes validation, including mirrors | Integration | framework.test.mjs:40 |
| 3 | validator rejects structural problems | Unit | framework.test.mjs:45 |
| 4 | validator checks workflows | Unit | framework.test.mjs:71 |
| 5 | validator accepts text-only activities and checks every skill of a combined activity | Unit | framework.test.mjs:92 |
| 6 | build drift is detected | Unit | framework.test.mjs:106 |
| 7 | frontmatter parser | Unit | framework.test.mjs:117 |
| 8 | read-only agents become Claude Code subagents without the editing tools | Unit | framework.test.mjs:125 |
| 9 | framework agents are for developing Moki only: no project can use them | Unit | framework.test.mjs:133 |
| 10 | artifact check | Unit | framework.test.mjs:140 |
| 11 | secret check | Unit | framework.test.mjs:157 |
| 12 | state schema | Unit | framework.test.mjs:170 |
| 13 | xlsx round trip and missing sheet warning | Unit | framework.test.mjs:191 |
| 14 | xlsx fill keeps the model, clears example rows and maps headers | Unit | framework.test.mjs:203 |
| 15 | docx: images, links, placeholders and example models | Unit | framework.test.mjs:217 |
| 16 | output checks | Unit | framework.test.mjs:241 |
| 17 | qa assistant: activities, prompts, paths, inbox copies | Integration | framework.test.mjs:259 |
| 18 | markdown: deep lists, setext headings, rules and autolinks | Unit | framework.test.mjs:287 |
| 19 | markdown diagrams stay escaped until the app draws them | Unit | framework.test.mjs:303 |
| 20 | markdown to html | Unit | framework.test.mjs:312 |
| 21 | memory battery: smaps_rollup gives RSS, PSS and USS (private clean + dirty) in kB | Unit | perf-proc-stats.test.ts:16 |
| 22 | memory battery: a text without a Pss line is not a reading | Unit | perf-proc-stats.test.ts:20 |
| 23 | memory battery: readProc falls back to the RSS of statm (pss and uss unknown) and to zero when nothing is readable | Unit | perf-proc-stats.test.ts:25 |
| 24 | memory battery: Electron process types map to the groups of the report, anything else is other | Unit | perf-proc-stats.test.ts:33 |
| 25 | memory battery: processes are summed per group and in total, a field nobody had stays null | Unit | perf-proc-stats.test.ts:37 |
| 26 | memory battery: the median of several readings is taken per group and field, and flattens to bt___mb | Unit | perf-proc-stats.test.ts:49 |
| 27 | memory battery: the compare breakdown lists each group and field with the change in MB and % | Unit | perf-proc-stats.test.ts:57 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | every page of docs/wiki.json is built, with Home, the sidebar and the footer | Unit | wiki.test.mjs:12 |
| 2 | the front page comes from docs/home.md in both languages, with the open-source credits; the sidebar has both languages | Unit | wiki.test.mjs:20 |
| 3 | links become wiki pages or GitHub links; a page says where it is edited and links its translation | Unit | wiki.test.mjs:33 |
| 4 | another branch gets the in-development note; a broken link stops the build | Unit | wiki.test.mjs:49 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | the plan keeps only known kinds with object data; routine and project steps need a project | Unit | configurator.test.ts:29 |
| 2 | applying uses the app checks: valid steps are made, an invalid one fails alone with its reason | Integration | configurator.test.ts:49 |
| 3 | npm run configure applies a plan file from a terminal the same way | Integration | configurator.test.ts:64 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | craft apps: fixed list with unique ids and a storytold repo | Unit | desktop.test.ts:3269 |
| 2 | craft apps: Linux package family from os-release | Unit | desktop.test.ts:3276 |
| 3 | craft apps: the files for each system, recommended first, and exact names only | Unit | desktop.test.ts:3288 |
| 4 | craft download: lists the 16 apps and shows what would be downloaded | Integration | desktop.test.ts:3343 |
| 5 | craft download: GitHub digest verifies and the folder is revealed | Integration | desktop.test.ts:3354 |
| 6 | craft download: SHA256SUMS.txt is used when there is no digest | Integration | desktop.test.ts:3365 |
| 7 | craft download: no digest and no listed checksum is refused before the dialog | Integration | desktop.test.ts:3371 |
| 8 | craft download: a hash that does not match removes the file | Integration | desktop.test.ts:3379 |
| 9 | craft download: GitHub errors and no network say what to do | Integration | desktop.test.ts:3385 |
| 10 | craft download: no file for this system, and unsafe names are ignored | Integration | desktop.test.ts:3395 |
| 11 | craft download: Fedora is offered rpm first, AppImage second, never deb or unknown names | Integration | desktop.test.ts:3401 |
| 12 | craft download: a newer release after the review, and a cancelled dialog | Integration | desktop.test.ts:3420 |
| 13 | craft download: the URL is built by Moki, the extension is added, a failed write leaves nothing | Integration | desktop.test.ts:3430 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | diagram reviews and old HTML comments reopen from one existing store without changing sources | Integration | diagram-comments.test.ts:23 |
| 2 | diagram threads preserve author, original anchor and dates through edits, replies, colors and resolving | Integration | diagram-comments.test.ts:37 |
| 3 | source changes retain every review anchor, while saved view records the current source separately | Integration | diagram-comments.test.ts:52 |
| 4 | viewport-only entries reopen, follow file and folder renames and survive the last comment removal | Integration | diagram-comments.test.ts:67 |
| 5 | HTML and diagram APIs reject each other anchors and never edit another review kind | Integration | diagram-comments.test.ts:82 |
| 6 | diagram contracts reject malformed hashes, coordinates, regions, colors, resolving values and viewport bounds | Integration | diagram-comments.test.ts:97 |
| 7 | persisted view and anchors contain only the reviewed contract, without caller-supplied source or drafts | Integration | diagram-comments.test.ts:112 |
| 8 | legacy comment and reply limits also protect diagram reviews and malformed stored data is not replaced | Integration | diagram-comments.test.ts:123 |
| 9 | diagram extensions preview as read-only source and a file read never calls a renderer | Integration | diagram-render.test.ts:37 |
| 10 | Kroki settings stay in their project and remote source transmission requires explicit HTTPS consent | Integration | diagram-render.test.ts:63 |
| 11 | Kroki POSTs only synthetic source to the four fixed SVG routes with bounded response handling | Integration | diagram-render.test.ts:83 |
| 12 | renderer redirects, non-SVG responses, large bodies, HTTP errors and timeouts fail without a fallback | Integration | diagram-render.test.ts:102 |
| 13 | source resource loaders are refused before rendering and local Mermaid makes no HTTP call | Integration | diagram-render.test.ts:125 |
| 14 | SVG export accepts drawing primitives and local references but refuses active XML, CSS and namespaces | Integration | diagram-render.test.ts:145 |
| 15 | export and copy validate PNGs and SVGs, use native destinations and preserve the source | Integration | diagram-render.test.ts:155 |
| 16 | diagram service caps simultaneous Kroki renders and releases slots after completion | Integration | diagram-render.test.ts:184 |
| 17 | an Excalidraw file opens as a drawing and only a scene can be saved back | Integration | diagram-render.test.ts:200 |
| 18 | diagram fit and manual zoom keep the supported magnification range | Unit | diagram-viewport.test.ts:5 |
| 19 | zooming around a cursor preserves its normalized diagram coordinates | Unit | diagram-viewport.test.ts:18 |
| 20 | diagram comments use normalized bounds unaffected by viewport position | Unit | diagram-viewport.test.ts:30 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | the next daily run is 08:00 in that time zone, including summer time | Unit | routines.test.ts:52 |
| 2 | a missed slot runs once; skip and next still run an on-time slot | Unit | routines.test.ts:56 |
| 3 | weekly days, month-end and intervals use their configured values | Unit | routines.test.ts:65 |
| 4 | the first snapshot is a baseline, identical content is unchanged | Unit | routines.test.ts:70 |
| 5 | a changed item starts its AI in the background and becomes reviewable only after the delivered analysis | Integration | routines.test.ts:77 |
| 6 | closing a notification removes only that one | Integration | routines.test.ts:104 |
| 7 | internal and system notification preferences are independent | Integration | routines.test.ts:116 |
| 8 | a workspace switch interrupts the check without writing into the other workspace | Integration | routines.test.ts:128 |
| 9 | an edit made during a scheduled read is preserved | Integration | routines.test.ts:144 |
| 10 | an AI limit of zero is retained and prevents AI launch without losing the change | Integration | routines.test.ts:153 |
| 11 | a conflict in the second file leaves both files untouched | Integration | routines.test.ts:164 |
| 12 | the exact reviewed changes can apply, including empty text; the journal is not another proposal | Integration | routines.test.ts:177 |
| 13 | invalid proposal ids and executable target files are refused | Integration | routines.test.ts:189 |
| 14 | a failed analysis cannot become an approvable proposal | Integration | routines.test.ts:200 |
| 15 | archiving keeps history available while removing the routine from the active list | Integration | routines.test.ts:208 |
| 16 | an interrupted file application recovers its journal without repeating writes | Integration | routines.test.ts:216 |
| 17 | an MCP tool error is a failed read and never becomes a baseline | Integration | routines.test.ts:230 |
| 18 | a query follows every record it returns: new, changed and gone, with the project name in its arguments | Integration | routines.test.ts:238 |
| 19 | a folder source reports new, edited and deleted files and refuses paths outside the project | Integration | routines.test.ts:256 |
| 20 | a files source follows only the files it names | Integration | routines.test.ts:274 |
| 21 | MCP JSON and matching Azure DevOps envelopes remain data, including instruction-like strings | Integration | routines.test.ts:288 |
| 22 | an unrecognized, mismatched or truncated MCP envelope is never extracted as JSON | Integration | routines.test.ts:298 |
| 23 | a hierarchical Azure query reads unique items and detects revisions, additions and removals | Integration | routines.test.ts:311 |
| 24 | hierarchical query endpoints are deduplicated across bounded item batches | Integration | routines.test.ts:342 |
| 25 | an incomplete or invalid item batch cannot replace the last successful baseline | Integration | routines.test.ts:357 |
| 26 | a later item batch failure never records a partial baseline | Integration | routines.test.ts:382 |
| 27 | empty trees are valid while invalid references and reached query limits stop before item reads | Integration | routines.test.ts:398 |
| 28 | flat query results and explicit advanced fields retain their existing interpretation | Integration | routines.test.ts:418 |
| 29 | a workspace switch during item hydration interrupts before the next batch | Integration | routines.test.ts:432 |
| 30 | one check, one notification and one update report: each item before and after, field by field | Integration | routines.test.ts:450 |
| 31 | routines live in the hidden .routines/ folder; an older routines/ folder is moved there as it is | Integration | routines.test.ts:499 |
Run with npm run test:ui. Each area is a block of tests/ui/app.spec.ts; its scenarios run in order on the same window.
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | Moki restores document tabs, active mode and scroll after leaving, reloading and deleting a file | Interface | ui/app.spec.ts:64 |
| 2 | Moki restores scroll after PDF pages load asynchronously | Interface | ui/app.spec.ts:137 |
| 3 | Moki quick notes stay available over a project, collapsed sidebar and settings without replacing the current view | Interface | ui/app.spec.ts:164 |
| 4 | Moki themed confirmations wait for a decision, trap focus and preserve the file when cancelled | Interface | ui/app.spec.ts:246 |
| 5 | Moki dialogs follow all palettes in both modes and update an already-open notebook | Interface | ui/app.spec.ts:310 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | Templates scrolls and its controls share one size | Interface | ui/app.spec.ts:393 |
| 2 | a chosen logo shows in the form and in the preview | Interface | ui/app.spec.ts:415 |
| 3 | a watermark text shows on the preview page | Interface | ui/app.spec.ts:424 |
| 4 | templates are a list: a new one tagged with a project applies only to it | Interface | ui/app.spec.ts:429 |
| 5 | Skills is one list like the other tabs: filter tabs, search, a detail; Add a skill has its own page | Interface | ui/app.spec.ts:452 |
| 6 | an agent shows what it needs and delivers; your copy edits it, MCPs and AI included | Interface | ui/app.spec.ts:476 |
| 7 | your agent: description and instructions in text fields, skills searched and added, one Save; tags say which projects it reaches | Interface | ui/app.spec.ts:502 |
| 8 | an operation links agents with arrows: approval, which output answers which input, saved in the list | Interface | ui/app.spec.ts:551 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | a project tag brings the other project into the activity context | Interface | ui/app.spec.ts:693 |
| 2 | ES translates the workspace picker and the rest of the app, survives reload, and keeps EN and PT-BR working | Interface | ui/app.spec.ts:719 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | the app starts on the workspace picker; a new workspace opens empty and can be switched back | Interface | ui/app.spec.ts:785 |
| 2 | a hidden project is deleted for good only after typing delete | Interface | ui/app.spec.ts:845 |
| 3 | creating a project opens directly without setup or AI planning | Interface | ui/app.spec.ts:868 |
| 4 | a loose note is created from the fixed rail; saved notes open inside the app and in the notebook tabs | Interface | ui/app.spec.ts:883 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | right click on a tree item copies its full path | Interface | ui/app.spec.ts:948 |
| 2 | the ⋯ menu creates a file that opens to be written, and a folder at the project root | Interface | ui/app.spec.ts:958 |
| 3 | the sidebar is in blocks: Moki folders, a line, then the folders made here and loose files, then Notes and the MCPs; the Operations card is in the project panel | Interface | ui/app.spec.ts:994 |
| 4 | the file sidebar resizes, collapses and remembers its width independently of the right panel | Interface | ui/app.spec.ts:1046 |
| 5 | a linked folder shows first in the tree, live, with Open in the IDE; its files open in the app | Interface | ui/app.spec.ts:1101 |
| 6 | typing / in a note lists the formatting commands; a checklist continues on Enter | Interface | ui/app.spec.ts:1129 |
| 7 | the star turns a note into a golden favorite, first in the notes folder | Interface | ui/app.spec.ts:1174 |
| 8 | a project note opens inside the app, and in its notebook with every note of the project as a tab | Interface | ui/app.spec.ts:1206 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | an operation is started from its form, and moves on as each agent delivers its files | Interface | ui/app.spec.ts:1288 |
| 2 | an operation starts from the assistant card: its steps keep their agent and each AI is changed with the same pick | Interface | ui/app.spec.ts:1391 |
| 3 | a result picks the arrow: rejected goes to the fixer and back to the review; no valid result asks the user | Interface | ui/app.spec.ts:1415 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | leaving the project does not close its terminal; opening it again brings the tab back | Interface | ui/app.spec.ts:1476 |
| 2 | the + of the tabs opens categories in place; File creates an empty spreadsheet in Inbox and shows it | Interface | ui/app.spec.ts:1499 |
| 3 | the + menu stays inside the window when the + is at its right edge, on every level | Interface | ui/app.spec.ts:1521 |
| 4 | the + menu offers the ArtCraft apps: 16 apps, launcher first, and a Download button for each | Interface | ui/app.spec.ts:1548 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | a server is made global or given to chosen projects from its row | Interface | ui/app.spec.ts:1584 |
| 2 | an HTTP server takes an optional OAuth client (id and callback port) under Headers, saved without any secret | Interface | ui/app.spec.ts:1621 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | every PDF toolbar control has the same height | Interface | ui/app.spec.ts:1720 |
| 2 | an area dragged on a page is marked without a comment: no card, its icon in the left margin of the page | Interface | ui/app.spec.ts:1733 |
| 3 | a selection is commented right on the page; the comment stays beside it, joined by a line | Interface | ui/app.spec.ts:1769 |
| 4 | notes can be inserted between PDF pages, edited and restored | Interface | ui/app.spec.ts:1829 |
| 5 | a .md file opens in its editor and is commented there; the comment is kept inside the file, invisible to other viewers | Interface | ui/app.spec.ts:1909 |
| 6 | visual Markdown editing keeps headings, bold, lists and Windows line endings | Interface | ui/app.spec.ts:1970 |
| 7 | visual editing preserves original spacing and comments when a heading touches a list | Interface | ui/app.spec.ts:1998 |
| 8 | visual editing preserves adjacent headings and list with Windows line endings | Interface | ui/app.spec.ts:2021 |
| 9 | the native viewer has an icon and PDF properties stay visible and save | Interface | ui/app.spec.ts:2033 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | a new activity is created in Settings, starred, and comes first when opening the AI tool | Interface | ui/app.spec.ts:2089 |
| 2 | text-only activities require a request and keep it through editing | Interface | ui/app.spec.ts:2116 |
| 3 | multiple skills survive saving and reopening, and the prepared request includes them all | Interface | ui/app.spec.ts:2136 |
| 4 | an agent can be created with instructions and no skills | Interface | ui/app.spec.ts:2161 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | Skills lists the skills of Moki; without a project only the upload can add (for every project) | Interface | ui/app.spec.ts:2193 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | agents, operations, templates and skills are starred from their cards and come first | Interface | ui/app.spec.ts:2239 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | the default AI is set in My AIs and an activity choosing another one keeps it | Interface | ui/app.spec.ts:2285 |
| 2 | one Call catalog lists activities, agents, skills and operations, by kind | Interface | ui/app.spec.ts:2322 |
| 3 | the Call catalog search counts what each kind finds and reports an empty result | Interface | ui/app.spec.ts:2340 |
| 4 | the panel shows the project name and description; they are edited in the project settings | Interface | ui/app.spec.ts:2355 |
| 5 | an activity request appears in executions and follows its registered run | Interface | ui/app.spec.ts:2375 |
| 6 | calling an activity retains required files, optional agent and destination choices | Interface | ui/app.spec.ts:2408 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | the Activities card shows only what is under way; the Operations card keeps its finished tab; the tree shows Deliveries | Interface | ui/app.spec.ts:2429 |
| 2 | shows only the selected activity or operation and distinguishes repeated file names | Interface | ui/app.spec.ts:2465 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | Rename types the name over the row, keeps the extension, and the open tab follows with its text | Interface | ui/app.spec.ts:2556 |
| 2 | F2 starts renaming and Esc goes back; a refused name is explained under the row and the field stays open | Interface | ui/app.spec.ts:2594 |
| 3 | a note is renamed by its title: its file, and the links to it, stay | Interface | ui/app.spec.ts:2623 |
| 4 | what keeps its name shows Rename disabled, with the reason under it; F2 there says why | Interface | ui/app.spec.ts:2637 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | a loose note is renamed from its right-click menu, in place, without moving in the list | Interface | ui/app.spec.ts:2706 |
| 2 | a project note is renamed by its title (F2), and its file stays | Interface | ui/app.spec.ts:2726 |
| 3 | a project gets a new name; its folder and id stay | Interface | ui/app.spec.ts:2742 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | selecting from the start moves nothing: the Comment button floats, disabled, with the reason | Interface | ui/app.spec.ts:2786 |
| 2 | a selection inside one paragraph is still copied with Ctrl+C; the box opens only from the button | Interface | ui/app.spec.ts:2801 |
| 3 | the button goes away when the selection does | Interface | ui/app.spec.ts:2823 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | the editor shows the comments beside the text, joined to their words | Interface | ui/app.spec.ts:2880 |
| 2 | text with formatting inside is commented from the editor, and saved at once | Interface | ui/app.spec.ts:2887 |
| 3 | a selection over two paragraphs can be commented or marked: one comment, its marks in each paragraph | Interface | ui/app.spec.ts:2904 |
| 4 | a comment is answered, recolored and deleted from the editor; the words stay | Interface | ui/app.spec.ts:2919 |
| 5 | a comment made while editing saves the edits typed before it | Interface | ui/app.spec.ts:2940 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | Ctrl+E shows the Markdown source, editable as text and copied whole | Interface | ui/app.spec.ts:2998 |
| 2 | a change made outside Moki while editing is never overwritten: keep mine, or see the new version | Interface | ui/app.spec.ts:3019 |
| 3 | every file opens editable in the formatted editor, with no note, whatever it holds | Interface | ui/app.spec.ts:3045 |
| 4 | a large file opens editable in its source; the reading view shows it formatted | Interface | ui/app.spec.ts:3055 |
| 5 | a click in a link puts the caret there; Ctrl+click opens it | Interface | ui/app.spec.ts:3064 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | rows and columns are added and removed from the table's bubble, and saved | Interface | ui/app.spec.ts:3114 |
| 2 | the header row cannot get a row above it nor be deleted: a Markdown table needs it | Interface | ui/app.spec.ts:3141 |
| 3 | Tab in the last cell adds a row; a row and then the table are deleted | Interface | ui/app.spec.ts:3151 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | the Activities card lists what is under way with the activity it came from and its scenario, never what is finished | Interface | ui/app.spec.ts:3196 |
| 2 | an activity pinned in Call… comes first in the Activities card, calls the AI in one click, and is unpinned there | Interface | ui/app.spec.ts:3207 |
| 3 | Moki call pastes into the current AI terminal and waits for Enter | Interface | ui/app.spec.ts:3233 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | the settings open from the project menu and the panel, one section per kind | Interface | ui/app.spec.ts:3330 |
| 2 | a default agent and skill with instructions: a new AI takes the role, uses the skill and waits | Interface | ui/app.spec.ts:3346 |
| 3 | an AI can still open without the project defaults | Interface | ui/app.spec.ts:3381 |
| 4 | one activity that needs no files as the only default starts by itself; defaults come first in Call | Interface | ui/app.spec.ts:3388 |
| 5 | activities and templates are linked here or in the workspace settings, the same tags seen from both sides | Interface | ui/app.spec.ts:3405 |
| 6 | bring to this project: one upload is sorted by kind, linked here and marked in the workspace settings | Interface | ui/app.spec.ts:3446 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | every AI opens its own group; a group is renamed and colored like a browser tab group | Interface | ui/app.spec.ts:3520 |
| 2 | a deliverable of a terminal's run opens in its group by itself, marked new, without taking the screen | Interface | ui/app.spec.ts:3541 |
| 3 | the screen splits: each view has its group and its own tabs; a tab is dragged to the other view | Interface | ui/app.spec.ts:3560 |
| 4 | a note on top (over Settings) is resized from its bottom-right corner | Interface | ui/app.spec.ts:3584 |
| 5 | with many tabs, only the tabs scroll: the split and New buttons stay fixed at the end, same size | Interface | ui/app.spec.ts:3601 |
| 6 | routine settings: intuitive navigation, complete schedules and responsive form | Interface | ui/app.spec.ts:3646 |
| 7 | routine notifications: opening a proposal never applies it, exact changes require confirmation | Interface | ui/app.spec.ts:3733 |
| 8 | routine update report: one notification opens the items before and after, and starts the update activity | Interface | ui/app.spec.ts:3779 |
| 9 | markers: set in Settings in the person language, put on a comment as the prefix of its text, kept when it is edited | Interface | ui/app.spec.ts:3834 |
| 10 | markers over several paragraphs: one selection marks them all, and one area surrounds them with the icon in its corner | Interface | ui/app.spec.ts:3927 |
| 11 | templates: upload a base file, see it in the list and tell the AI what to follow | Interface | ui/app.spec.ts:3980 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | My AIs distributes cards across the available width | Interface | ui/diagrams.spec.ts:59 |
| 2 | local Mermaid supports zoom, hand movement and persistent region discussions without changing its source | Interface | ui/diagrams.spec.ts:77 |
| 3 | a configured loopback Kroki renders each format and returned SVG is sanitized | Interface | ui/diagrams.spec.ts:149 |
| 4 | project links navigate headings, Markdown and PDF comments, pages and note mentions without rewriting sources | Interface | ui/internal-links.spec.ts:13 |
| 5 | an AI-written .md opens in the formatted editor, keeps what it cannot draw and saves only the edited paragraph | Interface | ui/md-edit.spec.ts:79 |
| 6 | a large .md opens editable in its source, with a note that says why | Interface | ui/md-edit.spec.ts:112 |
| 7 | a file changed outside Moki while it was being edited shows the conflict notice with its two choices | Interface | ui/md-edit.spec.ts:130 |
| 8 | selected text is formatted from the selection bubble, next to Comment | Interface | ui/md-edit.spec.ts:165 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | Deliveries lists only the files a run delivered: this run listed none, so nothing of it shows | Interface | ui/hudson.spec.ts:55 |
| 2 | Hudson proposes, the person unchecks one, and only the kept steps are applied | Interface | ui/hudson.spec.ts:62 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | improving the writing is a suggestion: the differences show, and only Accept changes the note | Interface | ui/note-assist.spec.ts:71 |
| 2 | research adds its section at the end of the note when accepted | Interface | ui/note-assist.spec.ts:96 |
| 3 | a loose note: the title is renamed in place in the header, beside the project it can be sent to; no title field, no source pencil | Interface | ui/note-assist.spec.ts:107 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | execution phases are separate buttons, and the plus is not one of them | Interface | ui/notes-layout.spec.ts:69 |
| 2 | the Notes section of a project is resized on its top edge, within bounds, and keeps its height | Interface | ui/notes-layout.spec.ts:77 |
| 3 | with more tabs than fit, discreet arrows at the row ends scroll it, only on the side with hidden tabs | Interface | ui/notes-layout.spec.ts:105 |
| 4 | a code file opens read-only with IDE colors and line numbers; a line is selected for "Open in the IDE" | Interface | ui/notes-layout.spec.ts:132 |
| 5 | start-screen sections keep their headings and scroll on their own | Interface | ui/notes-layout.spec.ts:194 |
| 6 | a formatted note can be edited, with the title beside the project destination | Interface | ui/notes-layout.spec.ts:219 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | a screenshot pasted into an AI terminal is saved and its path typed; a text paste stays text | Interface | ui/terminal-images.spec.ts:48 |
| 2 | a file dragged from the project tree onto an AI terminal is typed by its full path, not copied | Interface | ui/terminal-images.spec.ts:77 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | the project screen, with a story open in the editor | Interface | ui/wiki-shots.spec.ts:128 |
| 2 | Call: one list of activities, agents, skills and operations | Interface | ui/wiki-shots.spec.ts:136 |
| 3 | a note with a quick assistant suggestion | Interface | ui/wiki-shots.spec.ts:144 |
| 4 | Hudson organizing the files a run left | Interface | ui/wiki-shots.spec.ts:158 |
| # | Scenario | Kind | Where |
|---|---|---|---|
| 1 | native Office edits/comments, runnable isolated HTML and the IDE rail shortcut work in the desktop app | Interface | ui/workspace-features.spec.ts:38 |
Generated from docs/ of Orsi88/moki at main (416a793). Edit the files there; changes made in the wiki are replaced.
🇺🇸 English
Start here
Everyday use
- Projects and workspaces
- Files and the editor
- Notes and quick assistants
- AI terminals
- Calling activities, agents and skills
- Runs and deliverables
- Settings
- Routines and notifications
- Mycroft
- Project links
Capabilities and workflows
Integrations
Help
About
Contributing
🇧🇷 Português
Comece por aqui
Dia a dia
- Projetos e workspaces
- Arquivos e editor
- Notas e assistentes rápidos
- Terminais de IA
- Chamar atividades, agentes e skills
- Execuções e entregas
- Configurações
- Rotinas e notificações
- Ensinar o Moki com o Mycroft
- Links do projeto
Capacidades e fluxos
- Skills de QA e agentes
- Atividades
- Agents and operations
- Receitas de operação
- Especialistas de engenharia
Integrações
Ajuda
Sobre
Para quem contribui