Skip to content

Investigate unattributed cost on run page and ensure full cost attribution in totals - #176

Merged
danthebaker merged 4 commits into
mainfrom
agent/se-55-225af98d
Aug 8, 2026
Merged

Investigate unattributed cost on run page and ensure full cost attribution in totals#176
danthebaker merged 4 commits into
mainfrom
agent/se-55-225af98d

Conversation

@danthebaker

Copy link
Copy Markdown
Contributor

Implements Investigate unattributed cost on run page and ensure full cost attribution in totals.

@danthebaker
danthebaker requested a review from a team as a code owner August 8, 2026 01:08
Comment thread modules/software-engineer/lib/attachments.ts Dismissed
Comment thread modules/software-engineer/lib/attachments.ts Dismissed
danthebaker added a commit that referenced this pull request Aug 8, 2026
…exclusive-create writes

destRoot is a per-run mkdtemp workspace in every current call path, so the
CodeQL js/insecure-temporary-file finding was theoretical — but the guard
is two lines: refuse a .se-attachments dir that is a symlink, and write
downloads with wx so a pre-placed path is never followed or overwritten.
Addresses the alert pair surfaced on PR #176 (whose diff never touched
this file).
# Conflicts:
#	modules/software-engineer/lib/attachments.ts
@danthebaker
danthebaker merged commit 8ea64e2 into main Aug 8, 2026
5 checks passed
@danthebaker
danthebaker deleted the agent/se-55-225af98d branch August 8, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants