Skip to content

fork sync - #3

Merged
TaxMachine merged 199 commits into
TaxMachine:mainfrom
BaaRai:main
Nov 21, 2026
Merged

TaxMachine merged 199 commits into
TaxMachine:mainfrom
BaaRai:main

Conversation

@TaxMachine

Copy link
Copy Markdown
Owner

No description provided.

uzi2 and others added 30 commits November 17, 2026 11:56
Add the ARTEX systemd unit and document PostgreSQL setup, application deployment, operations, and successful automatic startup after reboot.

Co-Authored-By: Warp <[email protected]>
Every user-visible string in the web UI now goes through t() from
web/src/i18n. The English source text is the key, so a missing entry
falls back to English and nothing breaks; Turkish lives in one flat
file, web/src/i18n/locales/tr.json (about 2,600 entries).

The locale is chosen once per page load: a saved choice, else the
browser language, else English. Switching (new Language toggle under
Preferences) stores the choice and reloads, so t() also works in module
constants, helpers and toasts without hooks.

Also:
- hard-coded zh-CN / implicit date locales now follow the UI language
- sentences assembled from fragments became single templates
- "Toujours autoriser" in approval records is now English
- upload.test.mjs stubs the new @/i18n import

Values sent to the API or compared in code, agent prompts, and backend
messages are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
not-found is prerendered in the build-time locale, so a reader whose
browser picks another locale hit a hydration mismatch. Render the
translated text after mount instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
feat: add encrypted S3 archive storage backend
strconv.Atoi accepted a huge Retry-After, then time.Duration(n)*Second
wrapped so the delay looked smaller than MaxDelay and the governor
retried immediately. Parse as int64 and refuse anything above MaxDelay.
fix(egress): reject overflowing Retry-After values
GET /api/conversations/{id}/messages passed limit through to the
database with no upper bound, so a huge query could load the whole
transcript. Clamp history pages to 200 and keep the since tail at 1000.
fix(server): cap conversation message page size
ParseDSL recursed on every '(' with no depth or size cap, so a
query of nested parentheses could grow the goroutine stack until
the process died. Cap input at 4 KiB and nesting at 32.
fix(db): bound asset DSL length and parenthesis depth
Redact only rewrote URL userinfo, so libpq keyword DSNs and
?password= query values reached ping-failure logs in full.
fix(config): mask keyword-value and query DSN passwords
preToolUse wrote an allow audit row before applyIntercept, so a
denied or gated call still showed as allowed in the audit ring.
fix(guard): record allow only after intercept decides
TeeResponse mirrored every byte of every attempt into memory with
no limit, so a large or retrying stream could exhaust RAM.
fix(llmrec): cap captured provider response bodies
Streamable HTTP decoded the whole response with no byte limit, so a
remote MCP server could force an unbounded allocation.
fix(mcphttp): cap JSON-RPC response bodies
fix(web): explain Bash exit 127 in session transcripts
chore: P3.6 hygiene (web bundle, Go 1.26.11, dead code, dashboard indexes, test cleanup)
feat(traffic): opt-in SOCKS5 CONNECT listener and raw TCP recording (P4.1a)
feat(traffic): opt-in Linux transparent TCP inbound (P4.1b)
P4.1c widened addrTarget to udp, which let PinnedDialer accept a non-TCP network and broke TestPinnedDialScopeUnreadableFailsClosed/network. Split addrTarget (TCP) from addrTargetUDP (UDP relay) so the TCP gate stays fail-closed while the UDP resolver keeps its parser.
feat(traffic): opt-in SOCKS5 UDP ASSOCIATE and raw UDP recording (P4.1c)
The UDP close test raced the asynchronous association close with a goroutine count heuristic; probe until forwarding stops instead. The sealed hook test called InitSecrets with a fresh temp dir on a database already sealed by the package test key; use the package key. gofmt trace.go.
feat(traffic): constrained Go tampering hooks, backend and admin API (P4.2 PR1)
P4.2 PR2: Traffic Hooks admin panel, versions/rollback and dry-run UI
@TaxMachine
TaxMachine merged commit b1a0a8e into TaxMachine:main Nov 21, 2026
TaxMachine added a commit that referenced this pull request Nov 23, 2026
#1/#4 ssh_upload/ssh_download broken (fact 931): the tool input structs
had NO json tags - snake_case params (local_path/remote_path) never
reached the handler, producing 'local_path and remote_path are
required' for every call. Single-word fields matched case-insensitively
(machine, username), which is why only underscore params broke.
Tagged; AST-audited the whole agent package for the same class (no
other multi-word untagged tool-input fields remain); auto-tagged the
simple ones found along the way. VERIFIED by task 13 end-to-end:
upload + download + hash compare -> confirmed fact 1723.

#2 windbg-mcp attach_process 0x80070057: upgraded the VM service
v0.18.0 -> v0.24.0 (backup kept). attach_process verified live against
a running process - full register state returned. Unlocks heap tools
on live Office processes instead of fresh launches.

#3 fuzzer WER mis-attribution (task 11's 8 fake 'unique' crashes):
Get-CrashSignature now requires the 1001 event to be newer than the
current case's open start (:caseStart) - late-flushed
pre-campaign events can no longer be attributed to the running case.

BaaRai#5 re-dispatched intents replay generate-then-read from zero:
exhausted intents now settle with a resume-checkpoint fact (last
remote action + 'read existing results via crash_dumps/output dirs
before regenerating' guidance) recorded synchronously at settlement,
where a crash/timeout cannot lose it.

BaaRai#6 crash dumps split across dirs: new crash_dumps worker tool (seed
v10) - one call scans the WER LocalDumps configured folder +
%LOCALAPPDATA%/CrashDumps + WER ReportArchive + caller extras,
newest-first with process name parsed from dump names and a
since_seconds attribution fence. Replaces every intent's hand-rolled
two-dir watcher.

All six resolved in the backlog with root-cause notes.
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.