โœ‚๏ธ Topic Split

One long session, multiple topics? Split by meaning, resume just the part you need.

Semantic Grouping

LLM groups turns by meaning, not sequence. If you discussed Docker at turns 0-5 and returned at turns 11-15, they stay together.

๐Ÿง  LLM analyzes all turns
โ†’
๐Ÿ“‹ Topic groups in index
โ†’
๐Ÿ“„ Temp file on resume
โ†’
๐Ÿ”— Derivation auto-tracked

Non-destructive

Topics in Session Detail

Session with 3 topics
============================================================
Session: API Gateway Migration
ID: 612381ac Turns: 58 Tags: [docker] [nginx]
Topics (3):
1. REST API endpoint refactoring
Refactored /api/v1 endpoints, added pagination support.
2. Auth middleware integration โœ” derived
Integrated JWT auth middleware, configured CORS.
3. Load testing and optimization
Set up k6 load tests, optimized DB queries.
============================================================
[r] Resume full session
[1-3] Resume by topic
[t] Edit tags [v] Save [d] Delete [x] Delete topic
[f] Feedback (re-analyze topics)

Resume by Topic

Pick a topic number โ†’ cherry-picked turns โ†’ temp file โ†’ load in kiro-cli.

Resuming topic #1
>
โœ” Generated: REST API endpoint refactoring
Turns: 0, 1, 2, 3, 4, 10, 11 (non-contiguous โ€” grouped by meaning)
Resume in kiro-cli:
cd /home/user/docs && kiro-cli chat
/chat load ~/.kiro/tmp/612381ac-topic-1.json
Inferred trust tools:
--trust-tools=fs_read,fs_write,execute_bash,grep,glob

Derivation Tracking

When you load a topic file in kiro-cli, the new session is automatically linked back to its source.

๐Ÿ”—

Automatic

Source markers in temp files are detected on next index scan. No manual linking needed.

๐ŸŒณ

Multi-Hop Chains

Split a derived session again โ€” the chain traces back to the original root session.

๐Ÿ“ฆ

Fully Derived

When all topics have derived sessions, the source is marked for archival in cleanup.

๐Ÿ”“

Independent

Derived sessions are fully independent. Deleting one never affects the other.

Fully derived session
Session: API Gateway Migration ๐Ÿ“ฆ Fully derived (3/3 topics)
Topics:
1. REST API refactoring โœ” derived โ†’ a1b2c3d4
2. Auth middleware โœ” derived โ†’ e5f6g7h8
3. Load testing โœ” derived โ†’ i9j0k1l2

Large Sessions

Chunk-Analyze-Merge (50+ turns)