Repository navigation
fix(nexus): visual audit fixes - #36
Merged
Merged
Conversation
- F1/F10/F15: local loop only sends a request back for a tool call when it is
clearly about the files here (one nudge), honours "do not use tools", skips a
thought that repeats the answer, never prints "done" as an answer; -p exits 1
when the model gives no answer
- F2: every place that creates .nexus/ goes through ensureNexusDir, which drops
.nexus/.gitignore ("*") without touching the project's .gitignore
- F3/F5/F11: files count as written (footer, undo checkpoint, recap, dashboard,
usage) only after a successful write; a non-zero exit is a failed command; a
denied command is not counted as run; dashboard turns survive /clear; "1 file"
- F4: loop-guard notice shows once as a dim note inside the turn
- F6: an interrupted local turn ends flagged interrupted, without "done"
- F7: no recap for interrupted or empty turns; auto-recap off by default on the
local engine unless the recap setting is chosen
- F8: /model <number> runs as typed; arg completion prefers prefix matches
- F9: ordered lists keep their numbers, bold is painted across wrapped rows,
list items get a hanging indent
- F12: Esc pops only dismissable panels and does not arm the double-Esc
rewind; Esc Esc in one read still clears the input
- F13: --continue / -c alias --resume; unknown flags exit 2; --tui never runs
a one-shot task
- F14: session saved on exit, after setting/theme changes and after a rewind;
a plain --resume says "previous session restored"
- F16: darknode --help wraps to the terminal; shift+tab text lists ask mode;
hints recommend qwen2.5-coder like first-run setup
- F17: local engine asks before commands in accept-edits mode and before file
changes too in normal mode (Allow once / for this session / Deny); usage log
names bypass mode
- F18: /help settings usage, /mcp "+N more", /clear resets the tab title,
/model checks Ollama tags, bare /pager opens the last reply, dismissed
ask_user card reads as text, /bisect slash wording, /settings columns at
narrow widths, Ctrl+C exit hint is transient, tips end with an ellipsis,
footer/recap keep a gap before the scroll rail, /keys Up/Down wording
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes for the Nexus visual audit (F1-F18). Desktop-app items A1-A3 are out of scope.
Fixes
.nexus/creation goes throughensureNexusDir(newlib/nexus/nexus-dir.js), which writes.nexus/.gitignorecontaining*. The project's own.gitignoreis never edited./model <number>runs as typed. Argument completion lists prefix matches first and never matches a number inside a model name./clear; "1 file touched".--continueand-calias--resume. Unknown flags exit 2 with a usage hint.--tuinever falls through to a one-shot run.--resumenow says "previous session restored (date)".-pprints the real answer (never the literal "done"), exits 1 when no answer was produced, and does not nudge plain questions into tool calls.darknode --helpwraps to the terminal width with a hanging indent. The shift+tab line lists the default ask mode. Pull hints recommendqwen2.5-coder, as first-run setup does.bypass/help settingsshows its usage/mcpadds "+N more"/clearresets the tab title and drops a late title from the old chat/model <name>on Ollama is checked against the installed models/pageropens the last reply/bisectgives the slash form in its message/settingskeeps its columns at 60 and 80 columns/keysUp/Down wording is correctedBehaviour changes
/recap onor/settings recap onturns it back on.--to send it as task text./pager(F18): opens the last reply./pager 1opens the newest tool output.Verified
npm test: 49 suites, 3819 passed, 0 failed, run with a temporary HOME.test/visual-audit.test.js(56 checks):nexus -pagainst a scripted fake Ollama: plain question, empty answer, file request, "do not use tools"darknode.jsnow injectensureNexusDir.qwen2.5-coder) at 100x30, 80 and 60 columns:.nexus/is ignored by git/model 1and/model 3pick the right models; an unknown model is rejected/settingscolumns hold at 80 and 60 columns/help settings,/mcp"+N more" and bare/pagerbehave as listed above/settings lean on,/theme oceanand/exit, a--resumerestores those notes under "previous session restored (date)"Skipped / partial
darknode --helpstill has to split the single 42-character engine list token, because there is no space to break at.