From b25074924704005151151381a165b6fc4a45e5ce Mon Sep 17 00:00:00 2001 From: Ashmit Biswas Date: Sat, 4 Jul 2026 09:18:31 +0530 Subject: [PATCH 01/16] test: add real-world git command corpus for hook gate parser --- tests/fixtures/hook_gate_corpus.jsonl | 680 ++++++++++++++++++++++++++ 1 file changed, 680 insertions(+) create mode 100644 tests/fixtures/hook_gate_corpus.jsonl diff --git a/tests/fixtures/hook_gate_corpus.jsonl b/tests/fixtures/hook_gate_corpus.jsonl new file mode 100644 index 0000000..f735aa8 --- /dev/null +++ b/tests/fixtures/hook_gate_corpus.jsonl @@ -0,0 +1,680 @@ +{"command": "git push", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["push"], "is_error": true, "ever_errored": true, "count": 80} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git branch --show-current", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["branch"], "is_error": false, "ever_errored": false, "count": 36} +{"command": "git commit -m \"$(cat <<'EOF'\nfix(word-addin): doc-2256 - make extraction resilient to OOXML tracked change failures\n\nThe OOXML redline path (DOC-2256) inserts tracked changes via raw XML\nwith tracking disabled. Office.js cannot resolve TrackedChange.type on\nthese synthetic revisions, causing a GeneralException that crashed\nextractParagraphsForValidation for the entire document.\n\nChanges:\n- Wrap batchLoadParagraphMetadata sync in try/catch; on TrackedChange\n failures, null out tracked changes an", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["commit"], "is_error": false, "ever_errored": true, "count": 28} +{"command": "git add apps/word-addin/src/features/document/services/document-modification-service.ts && git commit -m \"$(cat <<'EOF'\nfix(word-addin): doc-3213 - remove dead toggleTrackChanges method\n\nNo callers remain after removing the redundant pre-apply calls.\nTrack change toggling is handled inline by applyTextChange,\ndeleteParagraph, and applyViaOoxml.\nEOF\n)\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui/apps/word-addin", "subcommands": ["add", "commit"], "is_error": true, "ever_errored": true, "count": 26} +{"command": "git checkout DOC-3215-fix-extraction-after-ooxml-redline", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["checkout"], "is_error": false, "ever_errored": true, "count": 25} +{"command": "git status", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["status"], "is_error": false, "ever_errored": false, "count": 24} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui/apps/word-addin && git status", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["status"], "is_error": false, "ever_errored": false, "count": 24} +{"command": "git log --oneline -5", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": true, "count": 23} +{"command": "git push -u origin DOC-2256-fix-extraction-after-ooxml-redline", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["push"], "is_error": false, "ever_errored": true, "count": 22} +{"command": "git diff --stat", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": true, "count": 19} +{"command": "git add apps/word-addin/src/features/document/services/document-extraction-service.ts apps/word-addin/src/features/devtools/components/DocumentProtectionInspector.tsx && git commit -m \"$(cat <<'EOF'\nfix(word-addin): doc-3213 - add allowOnlyComments to batchCheckEditability and devtools\nEOF\n)\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": true, "count": 19} +{"command": "git diff", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 18} +{"command": "git branch --show-current", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["branch"], "is_error": false, "ever_errored": true, "count": 18} +{"command": "git status --short", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["status"], "is_error": false, "ever_errored": true, "count": 18} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui/apps/word-addin && git log --oneline -5", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 16} +{"command": "git checkout -b DOC-2256-fix-extraction-after-ooxml-redline", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["checkout"], "is_error": false, "ever_errored": false, "count": 15} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git push", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["push"], "is_error": false, "ever_errored": true, "count": 14} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git diff --stat", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui/apps/word-addin", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 13} +{"command": "git add app/agents/tools/documents/read_attachment_document.py && git commit -m \"$(cat <<'EOF'\nfix(agents): address review comments on read_attachment_document\n\n- Remove silent fallback to first attachment on invalid UUID \u2014 return\n explicit error instead of reading the wrong file\n- Push chunk_start/chunk_end filters into SQL WHERE clauses so only\n requested chunks are loaded from the database\n- Use load_only() to exclude embedding/metadata columns from queries\n- Handle empty pagination range g", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": true, "count": 12} +{"command": "git commit -m \"refactor(agents): doc-3346 - delegate read_attachment_document through service layer\" -m \"Replaces direct repository access with ConversationMessageAttachmentService\ndelegation. Tools now call service methods (get_attachment_by_conversation,\nget_attachment_chunk_count, get_attachment_chunks_paginated) instead of\nreaching into repos directly. Updates DI wiring across AgentsContainer,\nAgentService, SupervisorDeps, and AppContainer to pass the service rather\nthan two separate reposit", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["commit"], "is_error": true, "ever_errored": true, "count": 11} +{"command": "git add apps/word-addin/src/features/assistant/services/contract-edit-service.ts apps/word-addin/src/features/contract-review/services/contract-document-operations-service.ts apps/word-addin/src/features/document/services/document-modification-service.ts && git commit -m \"$(cat <<'EOF'\nfix(word-addin): doc-3213 - remove redundant toggleTrackChanges calls causing GeneralException\n\nThe callers (contractEditService.applyEdits, applySuggestionWithComment,\napplyBatchChanges) were calling toggleTrackC", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": true, "count": 10} +{"command": "git log --oneline -3", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 10} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git add apps/word-addin/src/features/document/services/document-modification-service.ts && git commit -m \"$(cat <<'EOF'\nfix(word-addin): doc-3213 - remove dead toggleTrackChanges method\n\nNo callers remain after removing the redundant pre-apply calls.\nTrack change toggling is handled inline by applyTextChange,\ndeleteParagraph, and applyViaOoxml.\nEOF\n)\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui/apps/word-addin", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": true, "count": 8} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git diff", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": true, "count": 8} +{"command": "git push 2>&1 | tail -3", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["push"], "is_error": false, "ever_errored": false, "count": 8} +{"command": "git log --oneline dev..HEAD", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 7} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git push -u origin doc-3005-add-ability-to-toggle-chat-with-view-widget", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["push"], "is_error": false, "ever_errored": false, "count": 7} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git status --short", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["status"], "is_error": false, "ever_errored": false, "count": 7} +{"command": "git push --force-with-lease", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["push"], "is_error": true, "ever_errored": true, "count": 7} +{"command": "git log --oneline -10", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 6} +{"command": "git add app/conversations/v1/attachment/service.py && git commit -m \"refactor(agents): doc-3346 - delegate read_attachment_document through service layer\" -m \"Replaces direct repository access with ConversationMessageAttachmentService\ndelegation. Tools now call service methods (get_attachment_by_conversation,\nget_attachment_chunk_count, get_attachment_chunks_paginated) instead of\nreaching into repos directly. Updates DI wiring across AgentsContainer,\nAgentService, SupervisorDeps, and AppContaine", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": true, "count": 6} +{"command": "git add apps/web/src/components/Chat/InlineChat/Layout.tsx apps/web/src/hooks/useSubmitPromptToChat.ts && git commit -m \"fix(chat): doc-3005 - clear stale conversation on view change\" -m \"Layout.tsx kept a foreign conversation ID in state when switching\" -m \"views, causing the wrong conversation to show on reopen.\" -m \"Also deduplicates submitPromptToChat logic into the shared hook.\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": true, "count": 6} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git checkout DOC-3028-word-addin-file-upload", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["checkout"], "is_error": false, "ever_errored": false, "count": 6} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git branch --show-current && git status --short", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["branch", "status"], "is_error": false, "ever_errored": false, "count": 5} +{"command": "git stash pop", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["stash"], "is_error": false, "ever_errored": false, "count": 5} +{"command": "git diff app/conversations/v1/service.py", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 5} +{"command": "git push origin DOC-3346-word-addin-chat-ignores-uploaded-file-context", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["push"], "is_error": false, "ever_errored": false, "count": 5} +{"command": "git commit -m \"fix(chat): doc-3325 - reset thinking ref between phases to prevent duplication\" -m \"When the agent does multi-turn reasoning (think \u2192 tool \u2192 think again), the currentThinkingContentRef accumulated across phases without resetting. This caused the second thinking block to contain all content from phase 1 + phase 2 concatenated.\" -m \"The fix resets the ref on each THINKING_START event so each phase only accumulates its own content.\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["commit"], "is_error": true, "ever_errored": true, "count": 5} +{"command": "git add apps/word-addin/src/features/assistant/pages/AssistantPage.tsx apps/word-addin/src/features/assistant/hooks/useChat.tsx && git commit --amend --no-edit", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": true, "count": 5} +{"command": "git add apps/word-addin/src/features/assistant/hooks/useChat.tsx && git commit --amend --no-edit && git push --force-with-lease", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit", "push"], "is_error": false, "ever_errored": true, "count": 5} +{"command": "git add app/query_engine/__init__.py app/query_engine/v1/__init__.py app/query_engine/v1/dsl_schema.py && git commit -m \"$(cat <<'EOF'\nfeat(query-engine): add DSL schema definitions\nEOF\n)\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add", "commit"], "is_error": true, "ever_errored": true, "count": 5} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git add app/dashboards/router.py app/core/container.py && git commit -m \"feat(dashboards): add query execution endpoint\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": true, "ever_errored": true, "count": 5} +{"command": "git status --short | grep -v \"docs/handover\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["status"], "is_error": false, "ever_errored": false, "count": 5} +{"command": "git diff apps/word-addin/src/features/document/services/document-modification-service.ts", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 4} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git diff dev...HEAD --stat", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["diff"], "is_error": false, "ever_errored": true, "count": 4} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git checkout dev && git pull origin dev", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["checkout", "pull"], "is_error": false, "ever_errored": false, "count": 4} +{"command": "git log --oneline origin/DOC-3213-fix-toggle-track-changes-after-ooxml..HEAD", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui/apps/word-addin", "subcommands": ["log"], "is_error": false, "ever_errored": true, "count": 4} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git log --oneline dev..HEAD", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["log"], "is_error": false, "ever_errored": true, "count": 4} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git status && echo \"---\" && git branch --show-current", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["branch", "status"], "is_error": false, "ever_errored": false, "count": 4} +{"command": "git diff --name-only", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 4} +{"command": "git diff --cached --stat", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 4} +{"command": "git add tests/unit/conversations/v1/test_attachment_context_builder.py tests/unit/test_agents_supervisor.py && git commit -m \"test(chat): add unit tests for attachment context builder and force-tool-mode\" -m \"- 5 tests for _build_attachment_context branching (origin + mode combinations)\n- 2 tests for _resolve_attachment_context (Word add-in skips full context, web attempts it)\n- Fix existing test that asserted search_attachment_documents NOT registered for word-addin\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add", "commit"], "is_error": true, "ever_errored": true, "count": 4} +{"command": "git commit -m \"refactor(chat): doc-3005 - DRY cleanup for composite search dropdown\" -m \"Extract handleSearchKeyDownCapture helper, use truncate util,\" -m \"replace inline className concat with cn(), derive trimmedInput once,\" -m \"add KEYBOARD_SHORTCUT_CLASS_NAMES constant.\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["commit"], "is_error": false, "ever_errored": false, "count": 4} +{"command": "git push origin plugin/build-ui-skill", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["push"], "is_error": true, "ever_errored": true, "count": 4} +{"command": "git add apps/word-addin/src/features/assistant/components/MessagesList.tsx && git commit --amend --no-edit", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 4} +{"command": "git -C /Users/ashmitb/projects/docsum/docsum-ui status --short", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["status"], "is_error": false, "ever_errored": false, "count": 4} +{"command": "git diff dev..HEAD -- app/conversations/v1/schemas.py", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 4} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git fetch origin dev && git checkout -b doc-3334-bug-file-size-incorrect-in-templates origin/dev", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["checkout", "fetch"], "is_error": false, "ever_errored": false, "count": 4} +{"command": "git rev-parse HEAD", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": true, "count": 4} +{"command": "git show 8fb2e5f13bb793f264a80dbc3bc88d89c7ca3188:apps/web/src/components/documents/Toolbar/settings/ShowFloatingChat.tsx", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 4} +{"command": "git add apps/word-addin/src/features/document/services/document-extraction-service.ts apps/word-addin/src/features/document/services/document-modification-service.ts apps/word-addin/src/features/document/tests/services/document-extraction-service.test.ts", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add"], "is_error": false, "ever_errored": false, "count": 3} +{"command": "git push -u origin DOC-3213-fix-toggle-track-changes-after-ooxml 2>&1", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["push"], "is_error": false, "ever_errored": true, "count": 3} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git diff HEAD", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 3} +{"command": "git checkout dev && git pull origin dev", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["checkout", "pull"], "is_error": false, "ever_errored": false, "count": 3} +{"command": "git stash save \"feat: UIFreeSoloPopover extraction from TagInput\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["stash"], "is_error": false, "ever_errored": false, "count": 3} +{"command": "git diff --name-only --diff-filter=U", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": true, "count": 3} +{"command": "git fetch origin dev && git checkout -b DOC-3325-reasoning-blocks-duplicated origin/dev", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["checkout", "fetch"], "is_error": false, "ever_errored": false, "count": 3} +{"command": "git commit -m \"fix(chat): doc-3325 - reset thinking ref between phases to prevent duplication\" -m \"When the agent does multi-turn reasoning (think, tool, think\" -m \"again), currentThinkingContentRef accumulated across phases.\" -m \"The second thinking block got all content from phase 1+2.\" -m \"\" -m \"Fix: reset the ref on each THINKING_START event so each phase\" -m \"only accumulates its own content.\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["commit"], "is_error": false, "ever_errored": false, "count": 3} +{"command": "git status --short | head -20", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["status"], "is_error": false, "ever_errored": false, "count": 3} +{"command": "git add -A && git commit -m \"$(cat <<'EOF'\nrefactor(word-addin): doc-3028 - address code review findings\n\n- Extract FileTypeBadge component (DRY), fix hardcoded danger colors for DOC files\n- Replace all inline SVGs with @docsum/ui/icons (CancelIcon, CheckIcon)\n- Remove dead canSendMessage logic from useAttachments and consumers\n- Extract AttachmentPreview type to types/attachments, reuse across useChat/AssistantPage/Message\n- Move clearAttachments() after sendMessage() to eliminate race conditio", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 3} +{"command": "git diff -- apps/word-addin/src/shared/styles/globals.css", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 3} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git fetch origin main && git checkout -b doc-3478-bug-chat-non-responsive-in-menlo-production origin/main", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["checkout", "fetch"], "is_error": false, "ever_errored": true, "count": 3} +{"command": "git add app/dashboards/agent/__init__.py app/dashboards/agent/prompts.py && git commit -m \"$(cat <<'EOF'\nfeat(dashboards): add agent system prompt configuration\nEOF\n)\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": true, "count": 3} +{"command": "git push origin DOC-generative-dashboards 2>&1", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["push"], "is_error": false, "ever_errored": false, "count": 3} +{"command": "git push -u origin DOC-3200-browser-parse-upload 2>&1 | tail -5", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["push"], "is_error": false, "ever_errored": true, "count": 3} +{"command": "git stash", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["stash"], "is_error": false, "ever_errored": false, "count": 3} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git add tests/unit/agents/word_addin/test_validate_rule_agent.py && git commit -m \"fix(word-addin): doc-3455 - use module-level json import in test\"", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["add", "commit"], "is_error": true, "ever_errored": true, "count": 3} +{"command": "git add apps/word-addin/src/features/auth/services/auth-operations-service.ts apps/word-addin/src/features/feature-flags/use-feature-flags.ts && git commit -m \"fix(word-addin): doc-3447 - fix stale feature flags cache across account switches\" -m \"User-specific query key, skip localStorage cache for features, and clear cache on logout.\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": true, "count": 3} +{"command": "git show dev:apps/word-addin/src/features/document/services/document-modification-service.ts 2>/dev/null | wc -l", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git show dev:apps/word-addin/src/features/document/services/document-modification-service.ts 2>/dev/null", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git show dev:apps/word-addin/src/features/document/services/ooxml-track-change-service.ts 2>/dev/null | head -60", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git show dev:apps/word-addin/src/features/document/tests/services/ooxml-track-change-service.test.ts 2>/dev/null | head -80", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": [], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git show dev:apps/word-addin/src/features/document/services/ooxml-track-change-service.ts 2>/dev/null | sed -n '95,170p'", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": [], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git log --oneline -3", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add src/features/assistant/services/contract-edit-service.ts src/features/document/services/document-extraction-service.ts src/features/document/tests/services/document-extraction-service.test.ts && git commit -m \"$(cat <<'EOF'\nfeat(word-addin): doc-3213 - add document-level protection check to editability pre-flight\n\nCheck document.protectionType before attempting content control checks.\nDocuments with allowOnlyReading or allowOnlyFormFields mark all\nparagraphs as non-editable. Also classif", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui/apps/word-addin", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add src/features/devtools/components/DocumentProtectionInspector.tsx src/features/devtools/components/index.ts src/features/devtools/components/ToolSelector.tsx src/features/devtools/pages/DevToolsPage.tsx src/features/devtools/types/devtools.ts src/features/assistant/services/contract-edit-service.ts src/features/document/services/document-extraction-service.ts && git commit -m \"$(cat <<'EOF'\nfeat(word-addin): doc-3213 - add document protection inspector devtool and debug logging\n\nAdds a \"D", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui/apps/word-addin", "subcommands": ["add", "commit"], "is_error": true, "ever_errored": true, "count": 2} +{"command": "git add src/features/document/services/document-modification-service.ts src/features/document/services/document-extraction-service.ts && git commit -m \"$(cat <<'EOF'\nfix(word-addin): doc-3213 - skip ooxml path under AllowOnlyRevisions protection\n\nWhen a document is protected for tracked changes (AllowOnlyRevisions),\nthe OOXML edit path fails because it attempts to disable tracking. Skip\nit entirely and use the text-based replacement path which works correctly\nwith trackAll mode.\n\nAlso adds allow", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui/apps/word-addin", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add apps/word-addin/src/features/assistant/services/contract-edit-service.ts apps/word-addin/src/features/document/services/document-extraction-service.ts apps/word-addin/src/features/document/services/document-modification-service.ts apps/word-addin/src/features/document/services/line-by-line-suggestion-service.ts apps/word-addin/src/features/document/services/partial-text-replacement-service.ts apps/word-addin/src/features/document/services/precise-text-replacement-service.ts", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git diff dev...HEAD --name-only", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git log --oneline --all | grep \"deleteParagraph\\|6544ae94\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git diff HEAD --name-only", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git show HEAD:apps/web/src/components/documents/ActionsToolbar/ViewDocumentsSearchInput.tsx | grep -n \"BubbleChat\\|text-primary\\|className.*primary\"", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": [], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git status && echo \"---\" && git branch --show-current", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["branch", "status"], "is_error": true, "ever_errored": true, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git log --oneline --all -- apps/web/src/components/Chat/InlineChat/DocumentsChatWrapper.tsx", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add apps/web/src/components/Chat/InlineChat/DocumentsChatWrapper.tsx apps/web/src/components/documents/ActionsToolbar/OpenChatButton.tsx apps/web/src/components/documents/ActionsToolbar/ViewDocumentsSearchInput.tsx apps/web/src/components/documents/Toolbar/settings/ShowFloatingChat.tsx apps/web/src/hooks/useSubmitPromptToChat.ts && git commit -m \"$(cat <<'EOF'\nfix(chat): doc-3005 - address PR review comments\n\n- Replace raw Listbox with UIDropdown for proper styling\n- Remove unnecessary store", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git log --oneline -20", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": true, "count": 2} +{"command": "git stash list", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["stash"], "is_error": true, "ever_errored": true, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git log --oneline -10", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add app/agents/tools/documents/read_attachment_document.py app/agents/chat/supervisor.py app/conversations/v1/enums.py app/conversations/v1/service.py", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add tests/unit/agents/tools/documents/ && git commit -m \"$(cat <<'EOF'\ntest(agents): add unit tests for read_attachment_document tool\n\nCovers: no conversation context, invalid UUID, attachment not found,\nno chunks, happy path (all chunks), paginated subset, empty pagination\nrange (the IndexError fix), and tool registration in both WORD_ADD_IN\nand TASK origin allowlists.\nEOF\n)\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add", "commit"], "is_error": true, "ever_errored": true, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git diff --name-only", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git diff dev...HEAD --name-only", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git diff dev...HEAD", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git checkout -- tests/unit/app/info_fields/extractions/test_info_field_extraction_service.py", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["checkout"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git push origin DOC-3346-word-addin-chat-ignores-uploaded-file-context", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["push"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add apps/web/src/components/Conversations/ConversationSelector.tsx && git commit -m \"fix(chat): doc-3005 - allow view breadcrumb to shrink for dropdown space\" -m \"Changed breadcrumb from shrink-0 + fixed max-width to min-w-0\" -m \"shrink so the conversation dropdown gets layout priority.\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": true, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git diff --stat HEAD -- apps/word-addin/src/features/assistant/", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git branch | grep \"3028\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["branch"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git status --short | head -30", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["status"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git diff --stat 42439ab8..HEAD", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add apps/word-addin/package.json pnpm-lock.yaml apps/word-addin/src/features/assistant/components/upload/useFileUpload.ts apps/word-addin/src/features/assistant/components/upload/FileUploadPanel.tsx apps/word-addin/src/features/assistant/components/upload/UploadcareInlineUploader.tsx apps/word-addin/src/features/assistant/pages/AssistantPage.tsx && git commit -m \"$(cat <<'EOF'\nfeat(word-addin): doc-3028 - custom file upload dropzone panel\n\nReplace Uploadcare's FileUploaderInline widget with ", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add -A && git commit --no-edit", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add -A && git commit -m \"$(cat <<'EOF'\nfix(word-addin): doc-3028 - address PR review comments\n\n- Add VITE_UPLOAD_CARE_PUBLIC_KEY to turbo.json env array for cache invalidation\n- Remove unused getAttachments dead code from conversation-api-service\n- Add SSE stream abort on unmount to prevent setState on unmounted component\n- Move clearAttachments() before sendMessage() to clear UI immediately (webapp parity)\n- Add comment explaining why non-READY attachment IDs are included (backend handles w", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit", "push"], "is_error": false, "ever_errored": true, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git branch --show-current && git log --oneline -3", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["branch", "log"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add apps/word-addin/src/features/assistant/hooks/useChat.tsx apps/word-addin/src/features/assistant/pages/AssistantPage.tsx apps/word-addin/src/features/assistant/services/conversation-api-service.ts packages/ui/src/components/brand/AIChatInput/Composer/Composer.tsx && git commit -m \"$(cat <<'EOF'\nfeat(word-addin): doc-3246 - support web research toggle in chat\n\nWire up the existing WebResearchSwitch component from @docsum/ui\nto the Word add-in chat. The toggle adds web_research to the\nenabl", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add apps/word-addin/src/features/assistant/pages/AssistantPage.tsx apps/word-addin/src/features/assistant/components/upload/FileTypeBadge.tsx apps/word-addin/src/features/assistant/components/upload/StagedFileRow.tsx apps/word-addin/src/features/assistant/components/upload/AttachmentBar.tsx apps/word-addin/src/features/assistant/components/MessagesList.tsx apps/word-addin/src/features/assistant/hooks/useAttachments.ts apps/word-addin/src/features/assistant/types/attachments.ts && git commit ", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": true, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && gh --version && gh auth status 2>&1 | head -3 && git rev-parse --is-inside-work-tree && git branch --show-current", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["branch"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add apps/web/src/constants/file-uploader.ts && git commit -m \"$(cat <<'EOF'\nrefactor(web): doc-3028 - use UPLOADER_ALLOWED_SOURCES from domain\n\nReplace local hardcoded string with import from @docsum/domain/constants.\nEOF\n)\" && git push", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["add", "commit", "push"], "is_error": true, "ever_errored": true, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git add apps/word-addin/src/features/assistant/components/upload/SlideUpPanel.tsx && git commit --amend --no-edit", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": true, "count": 2} +{"command": "git add apps/word-addin/src/features/assistant/components/upload/AttachmentPlusMenu.tsx apps/word-addin/src/features/assistant/pages/AssistantPage.tsx && git commit --amend --no-edit && git push --force-with-lease", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit", "push"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git add apps/word-addin/src/features/assistant/components/upload/AttachmentPlusMenu.tsx && git commit --amend --no-edit && git push --force-with-lease", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["add", "commit", "push"], "is_error": true, "ever_errored": true, "count": 2} +{"command": "git log -1 --stat", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git log --oneline -1", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "gh --version && gh auth status 2>&1 | head -5 && git rev-parse --is-inside-work-tree && git branch --show-current", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["branch"], "is_error": true, "ever_errored": true, "count": 2} +{"command": "git fetch origin doc-3335-bug-flickering-on-download-template-doc && git checkout doc-3335-bug-flickering-on-download-template-doc", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["checkout", "fetch"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git clone https://github.com/wandb/openui /Users/ashmitb/projects/openui-wandb 2>&1 | tail -5", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["clone"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git status --short && echo \"---BRANCH---\" && git branch --show-current", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["branch", "status"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git checkout -b DOC-generative-dashboards", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["checkout"], "is_error": true, "ever_errored": true, "count": 2} +{"command": "git add apps/web/src/components/layout/Sidebar/nav-sections/Workspace.tsx apps/web/src/hooks/useFeatures.ts apps/web/src/models/enums/features.ts && git commit -m \"feat(dashboards): gate sidebar nav behind generative-dashboards feature flag\" -m \"- Add GenerativeDashboards enum to AppFeatures\n- Add isGenerativeDashboardsEnabled to useFeatures hook\n- Move Dashboards nav item from static list to conditional push behind feature flag\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": true, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git log --oneline --all -- app/conversations/v1/attachment/service.py | head -20", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["log"], "is_error": true, "ever_errored": true, "count": 2} +{"command": "git add apps/word-addin/src/features/assistant/components/CitationChip.tsx packages/ui/src/components/design-system/Tooltip/Tooltip.tsx && git commit -m \"$(cat <<'EOF'\nfix(word-addin): doc-3267 - scope tooltip fix to CitationChip only\n\nMove z-50 and bg-background from shared UITooltip component to the\nCitationChip call site to avoid unintended design system changes.\nEOF\n)\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git checkout -b test/convention-hook-check", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["checkout"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git show aaad5847 -- \"apps/word-addin/src/components/upload/FileUploadPanel.tsx\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git diff -- \"apps/web/src/components/Chat/Content/Body/Attachments/AttachmentUploader.tsx\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git checkout DOC-3246-word-addin-web-research && git pull", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["checkout", "pull"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add \"apps/web/src/app/api/conversations/[conversationId]/attachments/[attachmentId]/lite-preview/route.ts\" && git commit -m \"feat(chat): doc-3200 - add structured [UPLOAD-BENCH] logging to lite-preview route\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": true, "ever_errored": true, "count": 2} +{"command": "git add app/conversations/v1/router.py app/conversations/v1/schemas.py app/conversations/v1/service.py app/core/settings.py && git commit -m \"feat(chat): doc-3200 - add inline_attachment_context to /completion endpoint\" -m \"Adds InlineAttachmentText schema and inlineAttachmentContext field to ChatRequest.\" -m \"When ATTACHMENT_INLINE_CONTEXT_ENABLED=True and inline context is provided, the backend skips wait_until_no_processing_attachments and uses the client-provided text directly as lite_previe", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add", "commit"], "is_error": true, "ever_errored": true, "count": 2} +{"command": "git add app/conversations/v1/service.py && git commit -m \"feat(chat): doc-3200 - add inline_attachment_context to /completion endpoint\" -m \"Adds InlineAttachmentText schema and inlineAttachmentContext field to ChatRequest.\" -m \"When ATTACHMENT_INLINE_CONTEXT_ENABLED=True and inline context is provided, the backend skips wait_until_no_processing_attachments and uses the client-provided text directly as lite_preview context. This enables browser-side WASM parsing to bypass the entire server-side p", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git diff --stat dev..HEAD", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git push --force-with-lease 2>&1 | tail -3", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["push"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git checkout DOC-3200-browser-parse-upload && git log --oneline -3", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["checkout", "log"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add app/conversations/v1/service.py tests/integration/conversations/test_inline_attachment_context.py && git commit -m \"fix(chat): doc-3200 - validate inline IDs before poll decision, add integration tests\" -m \"Move ID validation to _initialize_chat_stream so poll is\" -m \"only skipped when at least one valid inline item exists.\" -m \"Add 4 integration tests: >5 items 400, valid inline context,\" -m \"filtered invalid IDs, and no-regression without inline.\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add", "commit"], "is_error": true, "ever_errored": true, "count": 2} +{"command": "git -C /Users/ashmitb/projects/docsum/docsum-ui push", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["push"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git add apps/word-addin/src/features/contract-review/components/AnalysisResult/AnalysisResult.tsx apps/word-addin/src/features/contract-review/components/AnalysisResult/DocumentInfoCard.tsx apps/word-addin/src/features/contract-review/hooks/useValidation.ts apps/word-addin/src/features/contract-review/types/review.ts apps/word-addin/src/features/contract-review/tests/components/DocumentInfoCard.test.tsx", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git stash -u && git checkout -b DOC-3455-fix-language-encoding-hotfix origin/main", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["checkout", "stash"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-compound-engineering && git branch --show-current && echo \"---\" && git status --short", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["branch", "status"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git diff 3c8cb4bb..e0877e40 -- apps/web/src/models/api/templates.ts", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "git log --oneline 935018f..HEAD", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git rm docs/designs/doc-3005-chat-visibility-mockups.html docs/handover/DOC-3315-external-file-upload.md docs/handover/okf-prototype-skill-improvement.md && git commit -m \"$(cat <<'EOF'\nchore: remove unrelated doc artifacts from DOC-3104 branch\n\nThese files were committed to this branch by mistake and belong in\ntheir own PRs.\nEOF\n)\"", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["commit"], "is_error": true, "ever_errored": true, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git status && echo \"---\" && git diff --stat", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["diff", "status"], "is_error": false, "ever_errored": false, "count": 2} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git log --oneline --all | grep -i \"2256\\|redline\\|track\" | head -10", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git log --oneline dev..HEAD 2>/dev/null || git log --oneline -20", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show 1b656f96 --stat | head -20", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git log --oneline --all --follow -- \"apps/word-addin/src/features/document/services/document-extraction-service.ts\" | head -10", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git diff 1b656f96^..1b656f96 -- \"apps/word-addin/src/features/document/services/document-extraction-service.ts\" 2>/dev/null | head -100", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show 1b656f96 --stat | grep -i \"extraction\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git log --all --oneline --diff-filter=M -- \"apps/word-addin/src/features/document/services/document-extraction-service.ts\" | head -5", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git log --oneline dev -5 2>/dev/null", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show dev:apps/word-addin/src/features/document/services/document-extraction-service.ts 2>/dev/null | sed -n '307,348p'", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show 1b656f96 --stat", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show dev:apps/word-addin/src/features/document/services/ooxml-track-change-service.ts 2>/dev/null | grep -n \"w:ins\\|w:del\\|w:rPr\\|rsidR\\|type\" | head -30", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show dev:apps/word-addin/src/features/document/services/ooxml-track-change-service.ts 2>/dev/null | sed -n '240,300p'", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show dev:apps/word-addin/src/features/document/services/ooxml-track-change-service.ts 2>/dev/null | sed -n '400,490p'", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show dev:apps/word-addin/src/features/document/services/ooxml-track-change-service.ts 2>/dev/null | grep -n \"wrapInFlatOpc\\|pkg:package\\|pkg:part\\|Types\\|Content_Type\\|Relationship\" | head -20", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show dev:apps/word-addin/src/features/document/services/ooxml-track-change-service.ts 2>/dev/null | sed -n '330,350p'", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show dev:apps/word-addin/src/features/document/services/ooxml-track-change-service.ts 2>/dev/null | sed -n '80,180p'", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git show dev:apps/word-addin/src/features/document/services/ooxml-track-change-service.ts 2>/dev/null | wc -l", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show dev:apps/word-addin/src/features/document/services/ooxml-track-change-service.ts 2>/dev/null | sed -n '350,400p'", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show dev:apps/word-addin/src/features/document/services/document-modification-service.ts 2>/dev/null | sed -n '92,155p'", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show dev:apps/word-addin/src/features/contract-review/services/contract-document-operations-service.ts 2>/dev/null | grep -n \"applyTextChange\\|original_text\\|originalText\" | head -10", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show dev:apps/word-addin/src/features/document/services/ooxml-track-change-service.ts 2>/dev/null | sed -n '170,210p'", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git show dev:apps/word-addin/src/features/document/services/ooxml-track-change-service.ts | sed -n '170,210p'", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git fetch origin dev && git checkout dev && git pull origin dev", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["checkout", "fetch", "pull"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git diff apps/word-addin/src/features/document/services/document-extraction-service.ts | head -80", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git branch -m DOC-2256-fix-extraction-after-ooxml-redline DOC-3215-fix-extraction-after-ooxml-redline", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["branch"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git commit --amend -m \"$(cat <<'EOF'\nfix(word-addin): doc-3215 - make extraction resilient to OOXML tracked change failures\n\nWhen OOXML-inserted tracked changes cannot be resolved by Office.js,\nthe extraction now falls back gracefully \u2014 nulling out tracked changes\nand re-loading comments in a separate sync. This prevents one unreadable\nparagraph from crashing extraction for the entire document.\n\nAlso adds post-OOXML-apply verification warning and PostHog exception\ncapture for observability.\nEOF\n", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git push origin --delete DOC-2256-fix-extraction-after-ooxml-redline 2>&1; git push -u origin DOC-3215-fix-extraction-after-ooxml-redline 2>&1", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["push"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git log --oneline --all | grep -i \"DOC-3213\\|toggle\\|track.change\" | head -10", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git log --oneline dev -- apps/word-addin/src/features/document/services/document-modification-service.ts | head -5", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show dev:apps/word-addin/src/features/document/services/document-modification-service.ts | head -180", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add apps/word-addin/src/features/document/types/document.ts apps/word-addin/src/features/document/services/document-extraction-service.ts apps/word-addin/src/features/document/services/index.ts apps/word-addin/src/features/assistant/types/contract-edit.ts apps/word-addin/src/features/assistant/types/index.ts apps/word-addin/src/features/assistant/services/contract-edit-service.ts apps/word-addin/src/features/assistant/services/selection-service.ts apps/word-addin/src/features/assistant/compo", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git diff HEAD -- src/features/assistant/services/contract-edit-service.ts | grep \"^\\+\" | grep \"!\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui/apps/word-addin", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git diff HEAD -- src/features/assistant/services/contract-edit-service.ts", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui/apps/word-addin", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git add apps/word-addin/src/features/assistant/services/contract-edit-service.ts apps/word-addin/src/features/document/services/document-modification-service.ts && git commit -m \"$(cat <<'EOF'\nchore(word-addin): doc-3213 - add TODO comments for Word.run round-trip optimization\nEOF\n)\"", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git diff dev...HEAD -- apps/word-addin/src/features/document/services/ apps/word-addin/src/features/assistant/services/contract-edit-service.ts apps/word-addin/src/features/assistant/services/selection-service.ts apps/word-addin/src/features/assistant/components/ToolMessage.tsx apps/word-addin/src/features/assistant/services/tool-execution-service.ts apps/word-addin/src/features/devtools/ --stat", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git log --oneline dev..HEAD -- apps/word-addin/src/features/document/ apps/word-addin/src/features/assistant/services/contract-edit-service.ts apps/word-addin/src/features/assistant/services/selection-service.ts apps/word-addin/src/features/assistant/components/ToolMessage.tsx apps/word-addin/src/features/assistant/services/tool-execution-service.ts apps/word-addin/src/features/devtools/ apps/word-addin/src/features/contract-review/services/contract-document-operations-service.ts", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git log --oneline --all | head -15", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add -A && git status --short", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "status"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git diff HEAD -- apps/web/src/components/documents/ActionsToolbar/ViewDocumentsSearchInput.tsx packages/ui/src/components/design-system/Popover/index.ts packages/ui/src/components/design-system/TagInput/TagInput.tsx", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git log --oneline dev...HEAD | head -20", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git diff dev...HEAD -- apps/web/src/components/documents/ActionsToolbar/ViewDocumentsSearchInput.tsx | grep -A2 -B2 \"BubbleChat\\|text-primary\"", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git show HEAD:apps/web/src/components/documents/ActionsToolbar/ViewDocumentsSearchInput.tsx | grep -B5 -A15 \"handleSearchKeyDownCapture\"", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add apps/web/src/components/Chat/InlineChat/Layout.tsx apps/web/src/components/documents/Toolbar/settings/Button.tsx apps/web/src/components/documents/Toolbar/settings/ShowFloatingChat.tsx apps/web/src/services/state/chat/atoms/state.ts && git commit -m \"$(cat <<'EOF'\nfeat(chat): doc-3005 - add toggle to hide floating chat input bar\n\nAdd a \"Show chat\" switch in the Display Settings dropdown that lets\nusers hide the floating chat input on document/view pages. Preference\npersists in localStora", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": true, "ever_errored": true, "count": 1} +{"command": "git log --oneline -1 dev -- apps/web/src/utils/browser-liteparse.ts", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git commit --no-verify -m \"$(cat <<'EOF'\nfeat(chat): doc-3005 - add toggle to hide floating chat input bar\n\nAdd a \"Show chat\" switch in the Display Settings dropdown that lets\nusers hide the floating chat input on document/view pages. Preference\npersists in localStorage.\nEOF\n)\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git fetch origin dev && git log --oneline origin/dev -5", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["fetch", "log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git config user.email && echo \"---global---\" && git config --global user.email", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git log -1 --format=\"%ae %ce\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git commit --allow-empty --no-verify -m \"chore: trigger vercel rebuild\" && git push", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["commit", "push"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "find /Users/ashmitb/projects/docsum/docsum-ui/apps/web/src -name \"ShowFloatingChat*\" 2>/dev/null; git -C /Users/ashmitb/projects/docsum/docsum-ui branch --show-current", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["branch"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add apps/web/src/components/documents/Toolbar/settings/ShowFloatingChat.tsx && git commit -m \"$(cat <<'EOF'\nfix(chat): doc-3005 - gate toggle on isViewerOrItAdmin\n\nHide the \"Show floating chat input\" toggle for viewer/IT-admin roles\nsince the floating bar is never rendered for them.\nEOF\n)\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git checkout doc-3005-add-ability-to-toggle-chat-with-view-widget && git checkout -b doc-3005-composite-search-ask-ai", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["checkout"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add apps/web/src/hooks/useSubmitPromptToChat.ts apps/web/src/hooks/index.ts apps/web/src/components/documents/ActionsToolbar/ViewDocumentsSearchInput.tsx apps/web/src/components/documents/ActionsToolbar/OpenChatButton.tsx apps/web/src/components/documents/ActionsToolbar/ActionsToolbar.tsx && git commit -m \"$(cat <<'EOF'\nfeat(chat): doc-3005 - composite search bar with Ask AI + chat button\n\nWhen the floating chat bar is hidden:\n- Search bar placeholder changes to \"Search or ask AI ...\"\n- Typi", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git stash && git checkout doc-3005-composite-search-ask-ai", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["checkout", "stash"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git log --format=\"%H %s\" f3ff2df38 -1", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "gh pr list --state merged --search \"f3ff2df38\" --json number,title,url 2>/dev/null; echo \"---\"; git log --format=\"%H %s %b\" f3ff2df38 -1 | grep -i \"pr\\|pull\\|#\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git log --format=\"%H %ai %s\" --diff-filter=A -- apps/web/src/components/Chat/InlineChat/DocumentsChatWrapper.tsx", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git status && echo \"---\" && git log --oneline -5", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log", "status"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git diff HEAD -- apps/web/src/components/documents/ActionsToolbar/ViewDocumentsSearchInput.tsx | head -20", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git checkout HEAD -- apps/web/src/components/documents/ActionsToolbar/ViewDocumentsSearchInput.tsx", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["checkout"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add apps/web/src/app/\\(protected\\)/\\(web\\)/\\(main\\)/\\(pages\\)/view/\\[slug\\]/layout.tsx apps/web/src/components/Chat/InlineChat/DocumentsChatWrapper.tsx apps/web/src/components/Chat/InlineChat/ViewChatWrapper.tsx apps/web/src/components/Chat/InlineChat/__tests__/DocumentsChatWrapper.test.tsx apps/web/src/components/Chat/InlineChat/__tests__/ViewChatWrapper.test.tsx apps/web/src/components/Chat/index.ts && git commit -m \"$(cat <<'EOF'\nrefactor(chat): doc-3005 - consolidate ViewChatWrapper into", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git checkout HEAD -- packages/ui/src/components/design-system/Popover/Popover.tsx", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["checkout"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git stash", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["stash"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show 9dfb99243 --stat", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show 9dfb99243 -- apps/web/src/components/Conversations/ConversationSelector.tsx", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git log --oneline -20", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add apps/web/src/components/Chat/Content/Header.tsx apps/web/src/components/Conversations/ConversationSelector.tsx apps/web/src/components/documents/ActionsToolbar/ViewDocumentsSearchInput.tsx packages/ui/src/components/brand/ChatMessages/AssistantMessage.tsx packages/ui/src/components/design-system/Popover/index.ts packages/ui/src/components/design-system/Popover/FreeSoloPopover.tsx packages/ui/src/components/design-system/TagInput/TagInput.tsx && git commit -m \"$(cat <<'EOF'\nfeat(chat): do", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git fetch origin dev && git merge origin/dev --no-commit --no-ff 2>&1 | head -50", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["fetch", "merge"], "is_error": true, "ever_errored": true, "count": 1} +{"command": "ls /Users/ashmitb/projects/docsum/docsum-ui/.git && cd /Users/ashmitb/projects/docsum/docsum-ui && git fetch origin dev && git merge origin/dev --no-commit --no-ff 2>&1 | head -50", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["fetch", "merge"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "find /Users/ashmitb/projects/docsum -type f \\( -name \"*.md\" -o -name \"ISSUES*\" -o -name \"TODO*\" \\) ! -path \"*/node_modules/*\" ! -path \"*/.git/*\" | head -20", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git -C /Users/ashmitb/projects/docsum log --all --oneline --grep=\"paragraph\" --grep=\"uniqueLocalId\" --grep=\"null\\|null\" --grep=\"Safari\\|WebView\\|Mac\" --since=\"2024-01-01\" 2>/dev/null | head -20", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git show dev:app/conversations/v1/schemas.py | sed -n '295,310p'", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git log --oneline --all --grep=\"DOC-3346\" | head -10", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show 0d6db8a63 --stat && echo \"---\" && git show 0d6db8a63 --no-stat", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": [], "is_error": true, "ever_errored": true, "count": 1} +{"command": "git log --oneline --all --grep=\"DOC-3346\" -- . | head -5 && echo \"---UI---\" && cd /Users/ashmitb/projects/docsum/docsum-ui && git log --oneline --all --grep=\"DOC-3346\" | head -5", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git show 0d6db8a63 --format=\"\" -- app/conversations/v1/service.py | head -100", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show 0d6db8a63 --format=\"\" -- app/conversations/v1/service.py | tail -80", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git status -u", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["status"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git checkout -b feat/doc-3346-read-attachment-tool", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["checkout"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git commit -m \"$(cat <<'EOF'\nfeat(agents): doc-3346 - add read_attachment_document tool for full-text file access\n\nThe chat supervisor only had semantic search (search_attachment_documents)\nfor uploaded files, which fails when the agent needs complete content\n(e.g. \"redline based on this analysis file\"). This adds a\nread_attachment_document tool that reads the full text of a conversation\nattachment with optional chunk pagination.\n\n- New tool: read_attachment_document (queries conversation_attach", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git push -u origin feat/doc-3346-read-attachment-tool", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["push"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add app/agents/tools/documents/read_attachment_document.py app/agents/chat/dependencies.py app/agents/service.py app/agents/container.py app/conversations/v1/attachment/chunk_repository.py app/conversations/v1/attachment/repository.py app/core/container.py tests/unit/agents/tools/documents/test_read_attachment_document.py && git status", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add", "status"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add app/agents/chat/dependencies.py app/agents/container.py app/agents/service.py app/agents/tools/documents/read_attachment_document.py app/conversations/v1/attachment/service.py app/conversations/v1/container.py app/core/container.py tests/unit/agents/tools/documents/test_read_attachment_document.py", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git ls-files --deleted", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git ls-files app/agents/tools/documents/read_attachment_document.py", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add app/agents/tools/documents/read_attachment_document.py app/agents/tools/documents/read_attachment_document/", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git rm --cached app/agents/tools/documents/read_attachment_document.py 2>&1", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git checkout feat/doc-3346-read-attachment-tool", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["checkout"], "is_error": true, "ever_errored": true, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git checkout feat/doc-3346-read-attachment-tool", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["checkout"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git pull", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["pull"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add app/conversations/v1/attachment/service.py app/agents/tools/documents/read_attachment_document/formatter.py && git commit -m \"refactor(agents): doc-3346 - make chunk_repository required, type formatter with Protocol\" -m \"conversation_attachment_chunk_repository is always wired via the container\nFactory \u2014 removes the | None and silent 0/[] degradation guards.\nReplaces list[Any] in ReadAttachmentFormatter with Sequence[ChunkProjection]\nProtocol for mypy-safe typed projection.\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add", "commit"], "is_error": true, "ever_errored": true, "count": 1} +{"command": "git add app/conversations/v1/attachment/service.py app/agents/tools/documents/read_attachment_document/formatter.py tests/unit/conversations/v1/attachment/test_upload_attachments.py tests/unit/conversations/v1/attachment/test_attachment_service.py tests/integration/documents/editing/test_chat_attachment_resolver.py && git commit -m \"refactor(agents): doc-3346 - make chunk_repository required, type formatter with Protocol\" -m \"conversation_attachment_chunk_repository is always wired via the conta", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git diff tests/unit/app/info_fields/extractions/test_info_field_extraction_service.py", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git diff dev...HEAD -- apps/web/src/components/Chat/Content/Header.tsx apps/web/src/components/Chat/Content/Toolbar/Toolbar.tsx", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git log --oneline dev..HEAD -- apps/web/src/components/Chat/Content/Header.tsx apps/web/src/components/Chat/Content/Toolbar/Toolbar.tsx", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git diff dev -- apps/web/src/components/Chat/Content/Header.tsx apps/web/src/components/Chat/Content/Toolbar/Toolbar.tsx", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git diff dev -- apps/web/src/components/Conversations/ConversationSelector.tsx", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git stash && git checkout dev && git pull origin dev", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["checkout", "pull", "stash"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git status && git log --oneline -5", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["log", "status"], "is_error": true, "ever_errored": true, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git diff app/agents/chat/supervisor.py app/conversations/v1/schemas.py app/conversations/v1/service.py", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add app/agents/chat/supervisor.py app/conversations/v1/schemas.py app/conversations/v1/service.py && git commit -m \"fix(chat): DOC-3346 - force tool mode for word-addin file attachments\" -m \"Word add-in chat ignored uploaded file context because inline full-context got buried after get_all_paragraphs. Forces tool mode so attachment content arrives as a fresh tool response, adds system prompt reminder with filenames.\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git checkout -b DOC-3346-word-addin-chat-attachment-fixes", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["checkout"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add apps/word-addin/src/features/assistant/components/upload/FileUploadPanel.tsx apps/word-addin/src/features/assistant/hooks/useChat.tsx apps/word-addin/src/features/assistant/pages/AssistantPage.tsx apps/word-addin/src/features/assistant/services/conversation-api-service.ts apps/web/src/hooks/useScrollToBottom.ts packages/domain/src/models/message.ts packages/ui/package.json packages/ui/src/components/brand/ChatMessages/MessagesList.tsx packages/ui/src/hooks/index.ts packages/ui/src/hooks/", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": true, "ever_errored": true, "count": 1} +{"command": "git stash push -m \"doc-3005 WIP changes\" -- apps/web/src/components/documents/ActionsToolbar/ViewDocumentsSearchInput.tsx", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["stash"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git add apps/word-addin/src/features/assistant/hooks/useAttachments.ts apps/word-addin/src/features/assistant/hooks/useChat.tsx apps/word-addin/src/features/assistant/pages/AssistantPage.tsx apps/word-addin/src/features/assistant/services/conversation-api-service.ts && git commit -m \"fix(word-addin): address PR review feedback\" -m \"- Keep upload panel open on failed upload (rethrow from uploadFiles)\n- Use AttachmentPreview type instead of inline lit", "cwd": "/Users/ashmitb/projects/docsum/docsum-api", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-api && git add app/conversations/v1/service.py && git commit -m \"fix(chat): use origin-neutral attachment prompt for non-Word origins\" -m \"The full-mode branch referenced Word-specific concepts (get_all_paragraphs,\nactive Word document) for all origins. Now only Word add-in gets that wording.\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git stash list", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["stash"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git checkout doc-3005-composite-search-ask-ai 2>&1", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["checkout"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git stash pop stash@{0}", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["stash"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add apps/web/src/components/documents/ActionsToolbar/ViewDocumentsSearchInput.tsx && git commit -m \"refactor(chat): doc-3005 - DRY cleanup for composite search dropdown\" -m \"Extract handleSearchKeyDownCapture helper, use truncate util, replace inline className concat with cn(), add KEYBOARD_SHORTCUT_CLASS_NAMES constant, derive trimmedInput once.\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add", "commit"], "is_error": true, "ever_errored": true, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git log --oneline -5 -- apps/web/src/components/Conversations/ConversationSelector.tsx", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git diff 9dfb9924..6ca4e7c1 -- apps/web/src/components/Conversations/ConversationSelector.tsx", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show 9dfb9924 -- apps/web/src/components/Conversations/ConversationSelector.tsx | grep -A20 \"return (\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git commit --allow-empty -m \"chore: trigger vercel build\"", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git status && git branch --show-current", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["branch", "status"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git branch -a | grep 3325", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["branch"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git log --oneline DOC-3325-reasoning-blocks-duplicated -3", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git checkout DOC-3325-reasoning-blocks-duplicated && git cherry-pick 0900ff07", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["checkout"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git push origin DOC-3325-reasoning-blocks-duplicated 2>&1", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["push"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git checkout DOC-3200-browser-parse-upload && git reset --hard HEAD~1", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["checkout", "reset"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-compound-engineering && git fetch origin && git status", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["fetch", "status"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git merge --no-commit --no-ff origin/main 2>&1; git diff --name-only --diff-filter=U 2>/dev/null; git merge --abort 2>/dev/null", "cwd": "/Users/ashmitb/projects/docsum/docsum-compound-engineering", "subcommands": ["diff", "merge"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git diff --name-status origin/main..HEAD", "cwd": "/Users/ashmitb/projects/docsum/docsum-compound-engineering", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git log --oneline -10 origin/main", "cwd": "/Users/ashmitb/projects/docsum/docsum-compound-engineering", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show origin/main:.claude-plugin/plugin.json", "cwd": "/Users/ashmitb/projects/docsum/docsum-compound-engineering", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show origin/main:CHANGELOG.md | head -30", "cwd": "/Users/ashmitb/projects/docsum/docsum-compound-engineering", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git show origin/main:README.md | head -80", "cwd": "/Users/ashmitb/projects/docsum/docsum-compound-engineering", "subcommands": [], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git merge origin/main --no-edit 2>&1 || true", "cwd": "/Users/ashmitb/projects/docsum/docsum-compound-engineering", "subcommands": ["merge"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add .claude-plugin/plugin.json CHANGELOG.md README.md && git status", "cwd": "/Users/ashmitb/projects/docsum/docsum-compound-engineering", "subcommands": ["add", "status"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git -C /Users/ashmitb/projects/docsum/docsum-compound-engineering push origin plugin/build-ui-skill", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["push"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git diff fbb8450a..HEAD -- apps/word-addin/src/features/assistant/ packages/domain/src/", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git checkout -b plugin/build-ui-skill", "cwd": "/Users/ashmitb/projects/docsum/docsum-compound-engineering", "subcommands": ["checkout"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add skills/build-ui/ .claude-plugin/plugin.json CHANGELOG.md", "cwd": "/Users/ashmitb/projects/docsum/docsum-compound-engineering", "subcommands": ["add"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git push -u origin plugin/build-ui-skill", "cwd": "/Users/ashmitb/projects/docsum/docsum-compound-engineering", "subcommands": ["push"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add skills/build-ui-feature/ skills/prototype-ui-mockup/ .claude-plugin/plugin.json CHANGELOG.md && git rm -r skills/build-ui/ 2>/dev/null; git status", "cwd": "/Users/ashmitb/projects/docsum/docsum-compound-engineering", "subcommands": ["add", "status"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git stash push -m \"staged files from doc-2226 branch\" && git checkout dev && git pull origin dev", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["checkout", "pull", "stash"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add apps/word-addin/src/features/assistant/components/MessagesList.tsx apps/word-addin/src/features/assistant/components/upload/AttachmentBar.tsx apps/word-addin/src/features/assistant/components/upload/FileUploadPanel.tsx apps/word-addin/src/features/assistant/components/upload/RepositoryPickerPanel.tsx apps/word-addin/src/features/assistant/components/upload/SlideUpPanel.tsx apps/word-addin/src/features/assistant/hooks/useAttachments.ts apps/word-addin/src/features/assistant/hooks/useChat.", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git commit -m \"$(cat <<'EOF'\nfix(word-addin): doc-3028 - wire attachments to completion API and align with webapp conventions\n\n- Fix camelCase payload keys (documentIds, linkedAttachmentIds, enabledTools, etc.) matching webapp\n- Separate repository document IDs (documentIds) from file upload IDs (linkedAttachmentIds)\n- Add attachment previews to user messages so files appear in chat bubbles after send\n- Clear attachments from input bar on send\n- Capture attachment refs before async operations to", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["commit"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add apps/word-addin/src/features/assistant/components/MessagesList.tsx apps/word-addin/src/features/assistant/components/upload/FileUploadPanel.tsx apps/word-addin/src/features/assistant/components/upload/useFileUpload.ts apps/word-addin/src/features/assistant/constants/attachments.ts apps/word-addin/src/features/assistant/hooks/useAttachments.ts apps/word-addin/src/features/assistant/hooks/useChat.tsx apps/word-addin/src/features/assistant/hooks/useFileUpload.ts apps/word-addin/src/features", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["add"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git log --oneline -4", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "cd /Users/ashmitb/projects/docsum/docsum-ui && git fetch origin dev && git merge origin/dev --no-edit 2>&1 | tail -30", "cwd": "/Users/ashmitb/projects/docsum", "subcommands": ["fetch", "merge"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git diff --name-only origin/dev...HEAD | xargs grep -l \"dangerouslySetInnerHTML\" 2>/dev/null", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": true, "ever_errored": true, "count": 1} +{"command": "git diff origin/dev...HEAD | grep -i \"dangerously\" | head -5", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git commit -m \"$(cat <<'EOF'\nfix(word-addin): doc-3028 - fix external source cancel and timing docs\n\n- Reset activeSource on cancel/failed states so external source\n dialogs can be re-triggered\n- Add comment documenting why clearAttachments before sendMessage\n is safe (IDs captured synchronously)\nEOF\n)\" && git push", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["commit", "push"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git log --oneline -3 --format=\"%s\"", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["log"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git diff packages/ui/src/components/brand/AIChatInput/Composer/Composer.tsx", "cwd": "/Users/ashmitb/projects/docsum/docsum-ui", "subcommands": ["diff"], "is_error": false, "ever_errored": false, "count": 1} +{"command": "git add apps/word-addin/src/features/assistant/components/upload/ && git commit -m \"$(cat <<'EOF'\nrefactor(word-addin): doc-3246 - replace raw HTML with UI component declarations\n\nReplace raw