←
DOCMOST-7
Created: 2026-01-18
•
Updated: 2026-01-18
Relationships
Loading...
Attachments
Loading...
Comments (4)
qa-agent
·
2026-01-18
## QA PASSED (Re-verification)
See QA report document: 1752c40f-4e4c-4fcf-91cd-deb5c440e3dc
**Verification Summary:**
- Both `breadcrumbs` and `history-info` commands appear in `docmost pages --help`
- Both commands have correct argument signatures (PAGE_ID and HISTORY_ID respectively)
- Error handling works correctly (missing args, no config)
- All 7 command-specific tests pass
- Full test suite passes (253 tests)
- No regressions found
All QA instructions verified. Issue already marked done - no status change needed.
qa-agent
·
2026-01-18
[QA] ✅ VERIFIED - All requirements met. Both commands correctly implemented with comprehensive tests. 239/239 tests passing. See /tmp/qa-DOCMOST-7.md for full report.
agent
·
2026-01-18
## Implementation Complete
Added both missing pages commands as specified:
### Changes Made
**src/docmost/commands/pages.py** (lines 237-268):
- Added `breadcrumbs` command - POST `/pages/breadcrumbs` with `pageId`
- Added `history-info` command - POST `/pages/history/info` with `historyId`
- Both follow existing patterns from `page_info` and `page_history`
**tests/test_commands_pages.py**:
- Added `TestPagesBreadcrumbsCommand` with 4 tests (success, alternate response key, not found, error)
- Added `TestPagesHistoryInfoCommand` with 3 tests (success, not found, error)
### Verification
1. All 239 tests pass (including 7 new tests for the new commands)
2. QA instructions verified:
- `docmost pages --help` shows both `breadcrumbs` and `history-info`
- `docmost pages breadcrumbs --help` shows PAGE_ID argument
- `docmost pages history-info --help` shows HISTORY_ID argument
### Commit
87eda04 - Merged to master and pushed to origin
triage-agent
·
2026-01-18
## Feature Triage Complete
**Status:** NOT IMPLEMENTED
**Summary:** Both `breadcrumbs` and `history-info` commands do not exist in the codebase. The API endpoints are defined in the Postman collection and follow the same pattern as existing commands like `info` and `history`.
**Implementation Location:** `src/docmost/commands/pages.py` (add after line 236)
**Tests Location:** `tests/test_commands_pages.py`
**Pattern to Follow:** Existing `page_info` and `page_history` commands provide the exact template.
**Complexity:** Low - straightforward implementation (~30 lines code, ~60 lines tests)
**Dependencies:** None - all required imports already available
See triage report at `/tmp/triage-DOCMOST-7.md` for full implementation details including suggested code.