Skip to content

docs: update README for v1.2.8-max - #25

Merged
LangLang03 merged 1 commit into
masterfrom
dev
Sep 5, 2026
Merged

docs: update README for v1.2.8-max#25
LangLang03 merged 1 commit into
masterfrom
dev

Conversation

@LangLang03

@LangLang03 LangLang03 commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Summary\n\n- Sync README.md and README_CN.md with update.md for v1.2.8-max\n- Document the native UI refresh, conversation timeline, permission modes, Skill Hub, prompt/context stability, and Robolectric 4.16 verification\n- Update the version badge, module layout, AgentOutputTool, and test guidance\n\n## Verification\n\n- git diff --check\n\nDocs-only change; build tests were not run.

Summary by Sourcery

Update the English and Chinese README files to accurately document the v1.2.8-max release and current project structure.

Enhancements:

  • Refresh the English and Chinese README documentation for the v1.2.8-max release, covering the native UI, processing timeline, execution permissions, Skill Hub, prompt and context stability, and release verification.
  • Update documented project structure, built-in tools, version badges, and testing guidance to reflect the current application architecture and Robolectric coverage.

Documentation:

  • Synchronize README.md and README_CN.md with the v1.2.8-max release capabilities and usage guidance.

@sourcery-ai

sourcery-ai Bot commented Sep 5, 2026

Copy link
Copy Markdown

Reviewer's Guide

Docs-only README synchronization for v1.2.8-max, adding release-specific UI, workflow, security, Skill Hub, prompt/context, module, tool, and testing information in both English and Chinese.

Sequence diagram for the assistant processing timeline

sequenceDiagram
    participant User
    participant ChatUI
    participant AssistantTurn
    participant ToolRegistry
    participant Agent

    User->>ChatUI: send message
    ChatUI->>AssistantTurn: render processing timeline
    AssistantTurn->>AssistantTurn: render reasoning
    AssistantTurn->>ToolRegistry: dispatch tool call
    ToolRegistry-->>AssistantTurn: tool result or error
    AssistantTurn->>Agent: render Agent progress
    Agent-->>AssistantTurn: agent_output
    AssistantTurn-->>ChatUI: persist processing duration
    AssistantTurn-->>User: show expandable timeline and final answer
Loading

Flow diagram for v1.2.8-max execution permissions

flowchart LR
    Request["Tool or Agent request"] --> Mode{"Execution mode"}
    Mode -->|automatic| Execute["Execute through ToolExecutor"]
    Mode -->|confirmation| Review["ToolReviewListener approval"]
    Mode -->|read-only| Restrict["Allow read-only operations"]
    Review --> Scope["Match execution mode, tool, command, and working directory"]
    Scope --> Execute
    Execute --> Policy["FileToolPathPolicy workspace check"]
Loading

File-Level Changes

Change Details Files
Synchronize English and Chinese README release documentation with v1.2.8-max behavior and verification details.
  • Update version badges, table of contents, release highlights, module layout, built-in tool inventory, and Skill Hub documentation.
  • Document the processing timeline, AgentOutputTool, unified permission modes, exact-scope approvals, and prompt/context stability improvements.
  • Update build and contribution guidance to describe Robolectric 4.16 View/resource tests and the documented release verification results.
README.md
README_CN.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@LangLang03
LangLang03 merged commit 1a1bf38 into master Sep 5, 2026
3 checks passed

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 2 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="README.md" line_range="168" />
<code_context>
 │           └── ai/message/               # SystemModelMessage, UserModelMessage, etc.
 ├── feature-ssh/               # :feature-ssh — SshService, SshConnectionPool, TermuxHelper
 ├── feature-share/             # :feature-share — export/share/PDF
+├── tool-ui/                   # :tool-ui — reusable tool-call cards and view registry
 ├── app/                       # :app — MainActivity, MainCoordinator, controllers, UI components
 │   ├── build.gradle.kts
</code_context>
<issue_to_address>
**nitpick:** The new module layout introduces `:tool-ui`, but the Tool system section still directs contributors to `app/src/main/java/cn/lineai/ui/component/toolcall/` for the tool-call card implementations. Those cards now live under `tool-ui/src/main/java/cn/lineai/tool/ui/`, so the documentation sends readers to a path that does not contain the documented classes.

**Suggested fix:** Update the Tool system path in both READMEs to the `tool-ui/src/main/java/cn/lineai/tool/ui/` location, and mention the remaining app integration classes separately if needed.
</issue_to_address>

### Comment 2
<location path="README.md" line_range="126" />
<code_context>
+- **Safer execution approvals.** Automatic, confirmation, and read-only modes are aligned across the main flow and Agents. Permanent approvals match the full execution scope, tool, command, and working directory.
+- **Skill Hub.** Browse and search community Skills, inspect files, versions, comments, evaluations, previews, and security hints, then sign in, install, publish, and manage community Skills from the app.
+- **Prompt and context stability.** Stable system prefixes, deterministic tool/extension ordering, canonical JSON serialization, attachment-local context, and corrected post-compaction token baselines improve cache reuse and prevent repeated compaction.
+- **Release verification.** Robolectric 4.16 native View tests cover layouts, timelines, permissions, prompts, Skill Hub flows, and diff rendering; the v1.2.8-max release notes record 528 passing unit tests plus successful Debug/DebugUserCert builds and lint.
+
 ---
</code_context>
<issue_to_address>
**nitpick:** The release-verification text attributes Skill Hub flows and diff rendering to Robolectric native View tests, but the corresponding Skill Hub client/session/controller tests and `ConversationTimelineTest`/`DiffLinesTest` are ordinary JUnit tests without a Robolectric runner. Only the layout tests use Robolectric, so this wording overstates what was verified by Robolectric and misstates the test coverage.

**Suggested fix:** Separate the Robolectric layout/View coverage from the plain JUnit Skill Hub, timeline, and diff-model/controller tests, or qualify the claim as coverage by the combined test suite.

```suggestion
- **Release verification.** Robolectric 4.16 native View tests cover layouts, while the combined test suite covers timelines, permissions, prompts, Skill Hub flows, and diff rendering; the v1.2.8-max release notes record 528 passing unit tests plus successful Debug/DebugUserCert builds and lint.
```
</issue_to_address>

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread README.md
│ └── ai/message/ # SystemModelMessage, UserModelMessage, etc.
├── feature-ssh/ # :feature-ssh — SshService, SshConnectionPool, TermuxHelper
├── feature-share/ # :feature-share — export/share/PDF
├── tool-ui/ # :tool-ui — reusable tool-call cards and view registry

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: The new module layout introduces :tool-ui, but the Tool system section still directs contributors to app/src/main/java/cn/lineai/ui/component/toolcall/ for the tool-call card implementations. Those cards now live under tool-ui/src/main/java/cn/lineai/tool/ui/, so the documentation sends readers to a path that does not contain the documented classes.

Suggested fix: Update the Tool system path in both READMEs to the tool-ui/src/main/java/cn/lineai/tool/ui/ location, and mention the remaining app integration classes separately if needed.

Comment thread README.md
- **Safer execution approvals.** Automatic, confirmation, and read-only modes are aligned across the main flow and Agents. Permanent approvals match the full execution scope, tool, command, and working directory.
- **Skill Hub.** Browse and search community Skills, inspect files, versions, comments, evaluations, previews, and security hints, then sign in, install, publish, and manage community Skills from the app.
- **Prompt and context stability.** Stable system prefixes, deterministic tool/extension ordering, canonical JSON serialization, attachment-local context, and corrected post-compaction token baselines improve cache reuse and prevent repeated compaction.
- **Release verification.** Robolectric 4.16 native View tests cover layouts, timelines, permissions, prompts, Skill Hub flows, and diff rendering; the v1.2.8-max release notes record 528 passing unit tests plus successful Debug/DebugUserCert builds and lint.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: The release-verification text attributes Skill Hub flows and diff rendering to Robolectric native View tests, but the corresponding Skill Hub client/session/controller tests and ConversationTimelineTest/DiffLinesTest are ordinary JUnit tests without a Robolectric runner. Only the layout tests use Robolectric, so this wording overstates what was verified by Robolectric and misstates the test coverage.

Suggested fix: Separate the Robolectric layout/View coverage from the plain JUnit Skill Hub, timeline, and diff-model/controller tests, or qualify the claim as coverage by the combined test suite.

Suggested change
- **Release verification.** Robolectric 4.16 native View tests cover layouts, timelines, permissions, prompts, Skill Hub flows, and diff rendering; the v1.2.8-max release notes record 528 passing unit tests plus successful Debug/DebugUserCert builds and lint.
- **Release verification.** Robolectric 4.16 native View tests cover layouts, while the combined test suite covers timelines, permissions, prompts, Skill Hub flows, and diff rendering; the v1.2.8-max release notes record 528 passing unit tests plus successful Debug/DebugUserCert builds and lint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant