331: MSSQL: write extensions/mssql/README.md (setup, tools, risks) #355
No reviewers
Labels
No labels
bug
chore
documentation
enhancement
feature
ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
david/pi-extensions-and-skills!355
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/issue-331/mssql-write-extensions-mssql-readme-md-setup-tools"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
331: MSSQL: write extensions/mssql/README.md (setup, tools, risks)
Implements 331.
Generated in 1m 12s.
Review findings
No matches in README; check the file.# Review Findings — 331
Summary
I fixed all four findings with edits to
extensions/mssql/README.md. The Medium finding now covers the 4096-character SQL truncation and best-effort audit writes, with a [COMPLIANCE RISK] flag. The three Low findings are also done: the guard limits, the.gitignorewording and where startup output goes. I did not re-run the tests because only the README changed.Critical
High
Medium
audit.ts: SQL is capped at 4096 characters and marked…[truncated], and write failures are swallowed with only a stderr warning (audit.tslog()try/catch). For a compliance-relevant log, readers should know it is best-effort and may be incomplete. Suggested fix: add a sentence such as "SQL longer than 4096 characters is truncated in the log. If the log cannot be written, the extension prints a warning and the query still runs, so the log is not guaranteed complete." Raise a [COMPLIANCE RISK] flag if the log is relied on for audit evidence.Low
MAX_SQL_LENGTHlimit (100,000 characters,guard.ts:15) or that aGObatch separator is rejected (guard.ts:37). Suggested fix: add both to the list of rejections..gitignoreadvice reads as if the user must act. This repository's.gitignorealready ignores.pi/mssql-audit.log, and the README says the extension does not edit.gitignore. Suggested fix: say that this repository already ignores the log and that other projects using the extension should add.pi/or that path.console.log, and errors go viaconsole.error. The README does not say where it is printed, which matters for the "logging and monitoring" point. Suggested fix: state that startup messages go to the console, and that warnings are also written to the audit log only for permission findings.Documentation
Updated files: