-
Notifications
You must be signed in to change notification settings - Fork 0
Wave 1 — stop the bleeding: three CRITICALs, the cost cap, and ADR-0073/0074 #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cemililik
wants to merge
47
commits into
main
Choose a base branch
from
development
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
5294aa3
docs(roadmap): close Wave 0 — finish its markdown items and mark the …
cemililik 4e2a18b
fix(cli): sanitize workflow terminal projections
cemililik d71ebf0
test(cli): correct terminal hardening traceability
cemililik 9c85537
fix(cli): keep final-summary errors on one row
cemililik 062a1c5
style(cli): format terminal hardening boundaries
cemililik 94e96f5
fix(cli): sanitize human-gate timeout actions
cemililik 15ecfe0
fix(cli): make POSIX job control terminal-safe
cemililik 51d0a8e
fix(core): redact the tool-approval preview like sanitizeInput() alre…
cemililik f12b71c
docs(decisions): add ADR-0073 — history.db migration lock (Proposed)
cemililik ba9478c
fix(db): retry SQLITE_BUSY_SNAPSHOT and add the async retry twin (#10…
cemililik 0f0b387
fix(cli,db): stop a transient history.db write from killing the chat …
cemililik 31b4cd4
fix(core): scrub the approval path per segment; fold the #91 Opus review
cemililik 8bf965a
fix(db): give createClient a typed error and document all four PRAGMA…
cemililik c2ece5a
fix(core,cli): classify from an unredacted copy, not the redacted pre…
cemililik 1c0dd5b
fix(cli): harden job-control handoff
cemililik ec1d1cb
fix(db,cli): write each chat turn in one transaction (#228 B2)
cemililik f3b729a
fix(cli): recover onboarding terminal ownership
cemililik c0ce389
fix(core): enforce parallel budget admissions
cemililik e4c5d9a
fix(core): harden budget admission accounting
cemililik e39402d
fix(cli): wire the listener sink for real; test and sanitize the proc…
cemililik 8bc9467
fix(db): add SQLITE_BUSY_RECOVERY, bound the loop structurally, pin t…
cemililik d3a09d5
docs(decisions): revise ADR-0073 against the maintainer review (still…
cemililik 90f3219
fix(cli): guard the deprecationDate conversion so one bad row cannot …
cemililik 2652e1c
fix(db,cli): serialize runMigrations across processes; unconditional …
cemililik 02cb65f
test(db): document what the two-process race actually proves
cemililik 77028b7
revert(db): restore writeTurn's withBusyRetry wrapper
cemililik 114aa28
fix(cli,db): stop a failed turn's tokens leaking into the totals; pin…
cemililik 31d78bb
test(cli): stop the new tests leaking unhandled rejections (CI was RED)
cemililik 9668afa
Merge branch 'fix/cli-terminal-projection-pr' into development
cemililik 0a2323c
Merge branch 'fix/cli-job-control' into development
cemililik 642b7d6
Merge branch 'fix/core-budget-governor-pr' into development
cemililik cf3a5d0
Merge branch 'wave1/lanes-a-c' into development
cemililik 3805010
style: format the five files the required gate flagged after consolid…
cemililik a59800f
docs(decisions): land the budget-commitment ADR as 0074 (was an uncom…
cemililik b685f2d
fix(db,cli,docs): replace the unsound migration lock; fold the PR #81…
cemililik a82b7ac
docs(decisions): make ADR-0073's current decision normative; fix two …
cemililik 2b52961
docs(decisions): review ADR-0074 — correct a false premise, add the f…
cemililik 67f982d
fix(llm): disable the vendor SDK's own retry in production (#276)
cemililik 970bb02
fix(core): give the session's primary chain entry a retry budget (#27…
cemililik 4742dcb
fix(cli): dispose removes the SIGTSTP listener too, not just SIGCONT …
cemililik e330f3e
fix(llm,docs): give the off-chain paths their retry back; fold the re…
cemililik 67a8487
feat(llm): honour the provider's Retry-After in the chain's backoff (…
cemililik 7633713
fix(llm): narrow the cost-recording catch and bound Usage at the mone…
cemililik 5873a9d
fix(llm,cli): revert the off-chain SDK retry (it opened a DoS) and sa…
cemililik 99f79ca
fix(core,llm): close the #276 regression on unauthored workflow nodes…
cemililik cd0a3bb
docs(decisions): accept ADR-0074 — settle forward-compatibility; sani…
cemililik 001686a
fix(cli): restore the cursor on Ctrl-Z during a run (G0's residue on …
cemililik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Stale
request.targetdoc references — field isunredactedPreview. Both files describe the classification field asrequest.target/{@linkToolApprovalRequest.target}, butToolApprovalRequesthas notargetmember — it'sunredactedPreview(packages/core/src/tools/types.ts:293-321). Same fix in both places.apps/cli/src/chat/chat-mode-host.ts#L62-64: replacerequest.targetwithrequest.unredactedPreviewin the inline comment.apps/cli/src/chat/chat-mode.ts#L166-169: replacerequest.targetand{@linkToolApprovalRequest.target}withrequest.unredactedPreviewand{@linkToolApprovalRequest.unredactedPreview}.🤖 Prompt for AI Agents