openclaw/scripts/docs-i18n
Peter Steinberger 6ce0eb2baa
refactor(scripts): remove redundant developer helper layers (#161588)
Remove the no-op translation Close contract and nil-only constructor error left after the persistent-client migration. Keep one translator per worker and preserve all actual prompt, cancellation, fallback, output, and cleanup behavior.

Reuse the GitHub read helper's canonical oversized-response error and repository normalization owner, and inline its single-use entrypoint predicate. No CLI, permission, error, guard, dependency, or generated-output contract changes.

Validation: 30 focused cases including the full Go suite, scoped lint, both zero-cycle checks, and independent review. Release notes: internal tooling only.

Hosted CI exception: run 36666624824 failed in check-lint with 20 errors in untouched ci-build-manifest.mjs; current unrelated run 36666286254 matches all 20 diagnostics exactly. The CI owner fixed that file in df2a29cac9. Security-fast and both review guards passed; cancelled hosted lanes remain unrun. Landed under the maintainer-authorized pre-existing-failure exception.
2026-09-29 21:22:06 -07:00
..
testdata/behavior
behavior_baseline_test.go refactor(scripts): remove redundant developer helper layers (#161588) 2026-09-29 21:22:06 -07:00
codex_command_unix.go
codex_command_windows.go
codex_command_windows_test.go
doc_chunk_diagnostics_test.go
doc_chunked_raw.go refactor(scripts): deslop tooling scripts third pass (#161354) 2026-09-29 17:00:46 -07:00
doc_mode.go
doc_mode_test.go refactor(scripts): remove redundant developer helper layers (#161588) 2026-09-29 21:22:06 -07:00
glossary.go
go.mod
go.sum
html_translate.go
localized_links.go
localized_links_test.go
main.go refactor(scripts): remove redundant developer helper layers (#161588) 2026-09-29 21:22:06 -07:00
main_test.go refactor(scripts): remove redundant developer helper layers (#161588) 2026-09-29 21:22:06 -07:00
markdown_segments.go refactor(scripts): deslop tooling scripts third pass (#161354) 2026-09-29 17:00:46 -07:00
masking.go
order.go
placeholders.go
process.go refactor(scripts): deslop tooling scripts third pass (#161354) 2026-09-29 17:00:46 -07:00
prompt.go
prompt_test.go
relocalize.go
relocalize_test.go
segment.go
taxonomy_source_test.go
tm.go refactor(scripts): deslop tooling scripts fourth pass (#161525) 2026-09-29 20:26:21 -07:00
tm_test.go refactor(scripts): deslop tooling scripts fourth pass (#161525) 2026-09-29 20:26:21 -07:00
translator.go refactor(scripts): remove redundant developer helper layers (#161588) 2026-09-29 21:22:06 -07:00
translator_test.go refactor(scripts): remove redundant developer helper layers (#161588) 2026-09-29 21:22:06 -07:00
util.go
util_test.go