forked from canonical/Bauer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtodo.txt
More file actions
26 lines (17 loc) · 2.11 KB
/
todo.txt
File metadata and controls
26 lines (17 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# TODOs
1) cmd/bauer/main.go: "// TODO disable with a flag or env var"
Summary: Logging to `bauer-log.json` is hardcoded; make log output optional or controllable via a CLI flag or environment variable so users can disable or change logging destination/behavior.
2) internal/copilotcli/client.go: "LogLevel: \"info\", // TODO make configurable - set to error in production"
Summary: Make the Copilot SDK log level configurable (e.g., via config/env/flag) and default to `error` in production to reduce noisy logs.
3) internal/copilotcli/client.go: "// TODO these 2 events should be only for debugging/verbose logging"
Summary: Streamed events `assistant.message_delta` and `assistant.reasoning_delta` should be gated behind a debug/verbose mode to avoid spamming normal runs.
4) internal/gdocs/process.go: "// TODO need to remove this filtering and add instructions on how exactly to approach metadata fields"
Summary: Currently suggestions inside metadata tables are filtered out; decide and document a clear policy for handling metadata suggestions (include/exclude and how to present them).
5) internal/gdocs/extraction.go: "// TODO this and all sub functions can be made concurrent for speed"
Summary: Consider converting traversal and extraction functions to use concurrency (goroutines/workers) to speed up processing of large documents.
6) internal/gdocs/extraction.go: "// TODO add recursion depth control on this and sub functions"
Summary: Add recursion depth limits or safeguards to avoid excessive recursion on deeply nested doc structures.
7) internal/gdocs/extraction.go: "// TODO this should be combined with ExtractSuggestions to avoid multiple traversals of the same document"
Summary: Merge `BuildDocumentStructure` and `ExtractSuggestions` passes to avoid multiple traversals and improve performance.
8) internal/gdocs/extraction.go: "// TODO we need to mention the exact style change, this is currently not helpful at all"
Summary: Improve detection and representation of style changes (bold/italic/underline) so that verification and model prompts can reason about them precisely rather than skipping them.