close: workspace memory lint cli

This commit is contained in:
Keisuke Hirata 2026-05-31 11:15:38 +09:00
parent 277f94885f
commit 0764275b44
No known key found for this signature in database
4 changed files with 28 additions and 2 deletions

View File

@ -2,12 +2,12 @@
id: 20260527-000019-workspace-memory-lint-cli id: 20260527-000019-workspace-memory-lint-cli
slug: workspace-memory-lint-cli slug: workspace-memory-lint-cli
title: ワークスペースのメモリーをLintするヘッドレスCLI title: ワークスペースのメモリーをLintするヘッドレスCLI
status: open status: closed
kind: task kind: task
priority: P2 priority: P2
labels: [migrated, memory, cli] labels: [migrated, memory, cli]
created_at: 2026-05-27T00:00:19Z created_at: 2026-05-27T00:00:19Z
updated_at: 2026-05-31T02:14:28Z updated_at: 2026-05-31T02:15:17Z
assignee: null assignee: null
legacy_ticket: null legacy_ticket: null
--- ---

View File

@ -0,0 +1 @@
Implemented `insomnia memory lint` as a headless command in the existing user-facing `insomnia` binary. The command lints workspace memory/knowledge records with the existing `memory::Linter` using `WriteMode::Update`, supports human and JSON output, handles warnings-as-errors, preserves `insomnia memory` as a positional Pod name, and returns before TUI/raw-terminal or Pod connection paths. External review approved and validation passed.

View File

@ -77,4 +77,29 @@ Non-blocking follow-ups:
Validation adequacy: coder-reported validation is sufficient for this ticket. Reviewer additionally checked `git diff --check develop...HEAD` read-only. Validation adequacy: coder-reported validation is sufficient for this ticket. Reviewer additionally checked `git diff --check develop...HEAD` read-only.
---
<!-- event: implementation_report author: hare at: 2026-05-31T02:15:16Z -->
## Implementation report
Main workspace validation after merge:
- `cargo fmt --check` passed
- `cargo test -p tui memory_lint -- --nocapture` passed (10 passed)
- `cargo test -p tui` passed (224 passed)
- `cargo check -p tui` passed with pre-existing dead-code warnings in `llm-worker` and `tui`
- `./tickets.sh doctor` passed
- `git diff --check` passed
---
<!-- event: close author: hare at: 2026-05-31T02:15:17Z status: closed -->
## Closed
Implemented `insomnia memory lint` as a headless command in the existing user-facing `insomnia` binary. The command lints workspace memory/knowledge records with the existing `memory::Linter` using `WriteMode::Update`, supports human and JSON output, handles warnings-as-errors, preserves `insomnia memory` as a positional Pod name, and returns before TUI/raw-terminal or Pod connection paths. External review approved and validation passed.
--- ---