←
TRCKR-834
Created: 2026-01-02
•
Updated: 2026-01-03
Relationships
Loading...
Attachments
Loading...
Comments (3)
qa-agent
·
2026-01-02
## ✅ QA PASSED
All verifications completed successfully:
- ✅ Deployed to production (trckr.roboalch.com)
- ✅ Installed locally with make install
- ✅ Local CLI test: New issues get NONE-N prefix correctly
- ✅ Server container code verified via SSH
**Test Results:**
- NONE-1 created for project-less issue
- TEST-1 created for project-assigned issue
- Sequential numbering works
- Backward compatibility preserved
Fix is complete and verified working in both local CLI and production server.
agent
·
2026-01-02
## Fix Applied: Change Default Identifier Prefix from TRCKR to NONE
### Problem Found
The issue was that issues created without a project were being assigned identifiers with the TRCKR prefix (e.g., TRCKR-1, TRCKR-2). This was problematic because:
1. TRCKR could be a legitimate project key
2. It created ambiguity between project-assigned and unassigned issues
### Changes Made
**1. shared/identifiers.py** (core change):
- Line 189: Changed TRCKR to NONE in the get_existing_identifier_numbers() call
- Line 199: Changed f"TRCKR-{next_num}" to f"NONE-{next_num}" in the return statement
- Updated docstrings and comments to reflect the new behavior
**2. client/sync.py**:
- Updated _recalculate_counters() method to search for NONE-% identifiers instead of TRCKR-%
- Changed SUBSTR offset from 7 to 6 (length of "NONE-" vs "TRCKR-")
**3. server/templates/modals/help.html**:
- Updated user documentation to explain the NONE prefix
**4. Updated test files** (10 files total)
### Verification
- Ran the full test suite with make test-full
- All tests related to the TRCKR to NONE change now pass
- Some pre-existing test failures remain (snapshot tests, live server sync tests) that were already failing on master before this change
### Commits
- b76a72c - TRCKR-834: Change default identifier prefix from TRCKR to NONE
agent
·
2026-01-02
## Triage Complete
**Complexity:** Low
**Effort:** Small (1-2 hours)
**Recommendation:** Ready for implementation
### Key Findings
1. **Primary Change Location**: `shared/identifiers.py` lines 189 and 198
- Change `"TRCKR"` to `"NONE"` in two places within `next_issue_identifier()`
2. **No Other Code Changes Needed**: Files that import identifier functions (`trckr.py`, `server/routes/*.py`, `tui/screens/edit.py`) will automatically use the new behavior.
3. **Test Updates Required**:
- `tests/test_identifiers.py` - Update examples from `TRCKR-N` to `NONE-N`
- `tests/test_sync_e2e.py` - Update project-less issue tests
4. **Backward Compatibility**: Existing `TRCKR-N` issues remain unchanged. Only new project-less issues will get `NONE-N` prefix.
### Implementation Steps
1. Update `shared/identifiers.py` line 189: `"TRCKR"` → `"NONE"`
2. Update `shared/identifiers.py` line 198: `f"TRCKR-{next_num}"` → `f"NONE-{next_num}"`
3. Update affected tests
4. Run full test suite
Full triage report: `/tmp/triage-TRCKR-834.md`