mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-15 18:59:33 +01:00
fix(story-mode): last words in context, the check after a push, a fresh copy (review round 10)
From the person who asked for the work, reading fresh pages:
- "The result was 4 passed, 1 failed" under "Mission complete!" read as
a failing end. A test count is no failed step, and Claude's second
sentence is kept when it is the outcome ("All 5 tests now pass, and the
change is committed.").
- "Two places where I didn't follow your wording:" showed one. A list
intro that announces how many brings that many lines.
- "…would fix it for up to 10 files. Want me to add that?" never said
what "it" was. An offer that points back brings the start of its
paragraph ("Suffix swap: the two files with the same time would trade
their _1 suffix. …").
- "Decisions you may want to change" is something for you, like an offer.
- A second opinion whose call failed read as given; it now reads "after
trying to ask … (no answer came)".
- "but a step after that fails" after a push sounded as if the push
broke: when everything after it only looks (git log, status), it is "a
check after that fails".
- Tests run in a fresh clone read "The tests pass in a fresh copy made
from remote.git."
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
2859b3a207
commit
f46369a5af
16 files changed
+195
-34
No files matched your search
@@ -2492,11 +2492,16 @@ Object.assign(CodemanApp.prototype, {
|
||||
if (rt.capNote) {
|
||||
// Asked before this step, or after it when nothing followed.
|
||||
const work = p.events.filter((i) => page.events[i]?.tool !== 'Advisor');
|
||||
const trailing = p.events.some((i) => page.events[i]?.tool === 'Advisor' && i > Math.max(...work));
|
||||
const asked = p.events.filter((i) => page.events[i]?.tool === 'Advisor');
|
||||
const trailing = asked.some((i) => i > Math.max(...work));
|
||||
// A call that came back with an error brought no opinion: say so, never that one was given.
|
||||
const unanswered = asked.length > 0 && asked.every((i) => page.events[i].ok === false);
|
||||
rt.capNote.hidden = !p.secondOpinion;
|
||||
rt.capNote.textContent = p.secondOpinion
|
||||
? `${trailing ? 'then asks' : 'after asking'} a stronger AI model for a second opinion`
|
||||
: '';
|
||||
rt.capNote.textContent = !p.secondOpinion
|
||||
? ''
|
||||
: unanswered
|
||||
? `${trailing ? 'then tries to ask' : 'after trying to ask'} a stronger AI model for a second opinion (no answer came)`
|
||||
: `${trailing ? 'then asks' : 'after asking'} a stronger AI model for a second opinion`;
|
||||
}
|
||||
rt.el.classList.toggle('is-live', !!p.live);
|
||||
// Named by its place only: the caption inside is read as the panel's content, once.
|
||||
|
||||
Reference in new issue
Block a user