docs(android-llmservice): add requirements.md (spec of record) + sync CLAUDE/TODO/README#316
Merged
Conversation
… CLAUDE/TODO/README The app has no unit tests for its logic (only the one on-device ChatFlowInstrumentedTest), so requirements.md is the authoritative description of what the app implements today — every feature captured as a testable, stably-numbered Rn.m requirement (identity/packaging, privacy posture, model load, chat/streaming, sampling settings, chat actions, in-app log, session persistence, i18n, UI shell/signing, test hooks + the explicit no-unit-tests coverage gap). Sync wiring so the docs can't drift: - CLAUDE.md 'Android app LLM Service' section: updated the feature summary (settings sheet, log, stop/copy/regenerate/clear, offline badge, draggable title) and added a 'Requirements / roadmap docs' note making requirements.md the spec of record to update in the same commit as any behavior change. - TODO.md footer + README.md layout: cross-link requirements.md (current behavior) vs TODO.md (roadmap). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HTS5FpMtBLJENTGoRUrp5m
|
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
The app has no unit tests for its logic (only the one on-device
ChatFlowInstrumentedTest), so this addsandroid-llmservice/requirements.mdas the specification of record — every feature the app implements today, captured as an individually-testable, stably-numberedRn.mrequirement with a source pointer and a "Verified by" column (instrumented/manual/build).Sections: R1 identity & packaging · R2 privacy & network posture · R3 model selection & loading · R4 chat & streaming · R5 generation settings (sampling) · R6 chat actions (stop/copy/regenerate/clear) · R7 in-app log · R8 session persistence · R9 i18n · R10 UI shell & signing · R11 test hooks + the explicit no-unit-tests coverage gap (R11.3).
Sync wiring so the docs can't drift:
requirements.mdas the spec of record to update in the same commit as any behavior change.requirements.md(current behavior) vsTODO.md(roadmap); README's feature claims must matchrequirements.md.Docs-only change — no code, no build impact.
Test plan
requirements.mdcarries the REUSE/SPDX MIT header (matches the other.mdfiles)requirements.md↔TODO.md↔README.md↔ CLAUDE.md)Related issues / PRs
Follow-up to the
android-llmserviceapp work (PRs #310–#315). No related issue number.Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01HTS5FpMtBLJENTGoRUrp5m
Generated by Claude Code