Repository navigation
fix(spec-driven): findings from the candidate's proof sweep (on development) - #878
Merged
Merged
Conversation
…e app declares it A counterexample that named a route the app does not serve was accepted as soon as it also mentioned any file the app has, so an unobserved gap blocked the run and started a needless fix attempt. A named route must now be one the app declares; a file name alone shows the gap only when no route is named.
… kind A command-line tool, or a server no check can start, was recorded like a check the server has switched off, so the editor said "Not checked on this server", and the report counted requirements "confirmed by running the app's API" for a program that has none. The run record now marks such an entry `kind_limit` (with `configured_off` false), the done event carries its reason as `notCheckable` instead of listing it in `checksOff`, the end log line names it apart, and BESSER_GENERATION.md drops the "no test workflow ran" line for it and, for a program, the API count.
After its one blocker cleared, a repair round went on to chase requirement citations that were only not confirmed, because validate_app still listed them and asked to verify the remaining requirements, and the setup-only fix prompt asked to resolve missing evidence. Inside a fix attempt validate_app now lists blockers only and, once none remains, says to end the attempt; the fix prompt says to act only on the listed blockers and no longer asks a setup-only round for citations. Phase 2 sees validate_app as before.
…ritten An item the agent recorded as blocked stayed "not done" after the repair phase finished its work (for example deleted the file it names), so the run ended "not verified complete" with nothing left to do. A blocked item without a check now closes, as done and not verified, once every file it names has been written, one of them first after it was blocked. delete_file records the deleted path on the items that name it, as the other file tools do.
…n's checklist removed When an edit removed a class without changing the model, the run deleted the class's router as planned, yet the previous version's workflows that first fail on that route were reported as regressions. A file the run removed now also retires such a workflow when a checklist item of this run names it and was not dropped, as a file cited by a replaced requirement already did.
…t ran An edit that replayed the previous version's passing workflows on the delivered tree reported "Not run: no test workflow ran" and "runtime behaviour not confirmed", and listed as not tested the creates those workflows had just made and read back. The run record's workflows_run now counts the replayed workflows that passed, the report's runtime line follows it, and a create the startup check could not try is settled when a replayed workflow created and read back a record on its route.
…ete among the changes A file a shell command created (a rename's new name, a generated migration) or deleted (a rename's old name) was missing from the done event's changedFiles and the run's history entry: only files a command modified were recorded. Such files are now recorded as the recipe's shell_added_or_removed_files and listed among the changed files; a file a command created and removed again is not.
…its checks An edit run starts in a fresh sandbox home and installed only the backend's requirements, so the first build check of a UI edit found no node_modules and a repair round was spent on "npm install". An edit run now installs each frontend's declared packages as well, inside the sandbox only, and a frontend left unbuilt because that install could not run is reported with the same "its dependencies could not be installed" reason as the backend. The scaffold install of a create run now logs a failed npm exit as well.
…d as dropped An edit that dropped the checklist item of an item the previous run left open recorded that item as closed in its run, although nothing was done or checked. Such an item is now recorded as dropped, with the reason the agent gave, and stays so in later runs; an item a run no longer has for any other reason is closed as before.
…t confirmed A planner item the agent closed on its word alone, including work it had deliberately left undone, was reported as done: only the seeded rule and derived items were listed when no check confirmed them. Every other item closed with no check and no evidence is now listed once, with the count and ids of those items, as not confirmed. It is never a blocker.
…d at the run's end The frontend checklist item closed as verified once any frontend file named a class and the app had a home route, so an API client and an App linking to each class's route closed it before any page existed, and the item stopped holding the agent to the screens. A class now counts only when a component named for it, or a generic component whose entity metadata names it, renders it. Phase 3 also checks every closed item that has a check again on the tree the run ends with, instead of keeping the verdict from when it closed.
…the merged count The one line that lists the checklist items closed with no check was merged, once a report had many findings, with single items not confirmed into "N planned changes could not be confirmed as done", counting as one change and hiding the single item's own line. It is now never merged.
…names was deleted A blocked item closed as done once every file it names had been written, one of them first after the block. Any edit made for another item satisfied that, so an item blocked for a real reason (no mail server) closed, its reason disappeared into the anonymous count of items closed with no check, and the run completed with its work missing. It now closes only when a file it names, written after the block, is gone (the requested deletion is done), and its report line keeps the agent's reason.
…cklist item deleted it Any checklist item that merely named a file counted as the request removing it, so when an edit item's router was gone by mistake, the replayed workflow that failed on its route was retired as "removed by this run's request" instead of reported as a regression. delete_file now records the path under the item's `deleted`, and only a closed item that deleted the file retires the workflow.
…e calls Requiring a counterexample's named route to be declared turned the most common partial, a page calling a route no backend serves, into "not confirmed", so a missing endpoint was never repaired. A named route that the app does not declare now still shows the gap when a frontend file calls it with that method. A file token beside an undeclared route that no page calls still shows nothing.
…only that list The done event moved a program no check can run from `checksOff` to the new `notCheckable`, which the editor does not render or store yet, so a CLI, Django or Flask run lost its only hint that nothing ran it and read as plainly ready. `runtime` stays in `checksOff` beside `notCheckable` until the editor shows the new field, and the run_summary telemetry records `not_checkable`.
… its block The blocked-item close looked for the deleted file among the paths first written after the block, and the written list holds each path once, so an item that had edited a file before it was blocked never closed when that file was then deleted. The close now reads the deletions recorded on the item after the block.
…vouching for a route
Agent-written pages call the backend through an object of fetch wrappers
(`api.post("/order/1/cancel/")`), which the axios and fetch call scan does not
see: on the sweep apps it found no call at all in most of them, so a page
calling an undeclared route still did not show the gap. A method-named call on
any client with a literal path now counts too.
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.
The same 19 commits as #876, applied on
development(after #874) instead of onintegration/8.12-candidate, so this merges without #873, #875 and the editor pointer of the candidate. They applied with no conflict. Local suite on this tree: 7,914 passed, 86 skipped, the 2 known macOS failures; ruff clean.Original description from #876:
Mistakes the candidate introduced
kind_limitand the done event carries the reason innotCheckable.checksOffkeepsruntimeuntil the editor renders the new field.validate_applists blockers only and says to end the attempt when none remains.Fixes that had not fully held
delete_file, after the block. An edit by another item no longer closes it.changedFiles.Checklist and ledger
Not done
rmneither closes a blocked item nor retires a workflow (errs toward reporting).Tests
runtimeinchecksOffwith the reason added;c-removenow shows the agent's objection to its deletion).ruff check besser: clean. Prompt budget test passes with no pin raised.