Correct TOOL SKILL labels and place knowledge upload beside creation
This commit is contained in:
1 parent
020b36673d
commit
ad223603aa
11 files changed
+102
-43
No files matched your search
@@ -0,0 +1,41 @@
|
||||
# Task: Correct TOOL SKILL labels and knowledge upload card placement
|
||||
|
||||
## Identity
|
||||
|
||||
- Task ID: 20261013-agent-controls-correction-6d42b9e1
|
||||
- Mode: Feature
|
||||
- Branch: codex/20261013-agent-controls-correction-6d42b9e1-agent-controls-correction
|
||||
- Worktree: /Users/chillishark/Makelore 麦洛/.codex-worktrees/makelore/20261013-agent-controls-correction-6d42b9e1
|
||||
- Base commit: 020b36673d9034fed53f7e896b7685aa56e4cecb
|
||||
- Owner: codex
|
||||
- Status: In Progress
|
||||
|
||||
## Scope
|
||||
|
||||
- Correct advanced configuration headers/buttons/search labels to TOOL/选择TOOL and SKILL/选择SKILL. Move knowledge upload action into the left 上传自己的文件 card beside 新建知识库; preserve existing selection widths, refresh button styling and upload/pending authority. Enable corrected Renderer in current temporary app.
|
||||
|
||||
## Intent And Constraints
|
||||
|
||||
- User explicitly corrects both labels and upload-button placement, superseding prior Chinese-label/right-card choices. No API/schema, cloud mutations, real upload, model call, WeChat actions, Main restart, profile/credential inspection or user-input discard is needed. Preserve active020b366 full client baseline and MainPID12660/Host58003.
|
||||
- Concurrent Gate Passed: official check/start/status verified exact Identity task/mode/branch/absoluteworktree/base. Read AGENTS, entry/memory-index, active record, positioning, integrated state, decision-index/system-overview, personal-cloud ADR, community boundary, domain/success criteria and relevant indexes. Integrated shared docs are historical; active runtime current.json and source020b are delivery baseline.48 peer scopes read only; independent semantic audit finds prior label/layout decisions superseded by this user correction, with no unresolved conflict. Only owned task doc may change; no canonical/peer writes.
|
||||
- Project Context Loaded: goal remains ordinary creative/client workflow with Main-owned auth/cloud API; current scope is Renderer presentation only. Configuration tools/skills/preload_skills and knowledge permissions/pending operation IDs remain authoritative. Relevant files ConfigurationFields.tsx, CloudKnowledge.tsx, agent-config.css and existing unit/geometry/Electron fixtures. Design skill recommends stable flex wrapping, focus/contrast and responsive checks; retain current established palette/components. Gate result: Passed before implementation plan.
|
||||
- Plan: move the stable portal target into left action row without remounting documents; change display labels; update existing assertions and wide/narrow geometry expectations. Run typecheck, relevant units/lint, browser geometry and existing Electron fixture, default fullbuild. Prepare immutable Renderer overlay over unchanged Main artifacts, clean/idle native CUA reload and verify actual corrected controls before final metadata.
|
||||
|
||||
## Outcome
|
||||
|
||||
- Implemented exact TOOL/SKILL headings and generated selection/search labels, with SKILL preload copy consistent. Knowledge upload portal target moved into the left stable create-action row beside 新建知识库; row wraps at narrow widths. Document component/key, request intent, permissions and pending lock logic remain unchanged. Right management row contains select/refresh only; previous widths and selected-list alignment are retained.
|
||||
- Current active Main/shared/resources/package/lock/build-config source delta is empty; only three Renderer product files change. Immutable overlay and native saved/idle reload remain to deliver.
|
||||
|
||||
## Verification
|
||||
|
||||
- Typecheck, two scoped ESLint runs, default full build:vite (NIANCODE_RENDERER_ONLY unset) and git diff --check passed.
|
||||
-57 relevant unit cases passed:40 configuration/selector preservation +17 owned-knowledge permission/pending/cancel/retry cases.14 browser geometry/platform scenarios passed, with knowledge checks covering375/768/1024/1440 and long retry wording. Two focused screenshot retakes passed in an independent output directory; independent visual review PASS for all four widths and left/right card membership/alignment.
|
||||
- Native Electron cloud-agents full fixture passed on quiet rerun (8.3s). Initial run had a simulated voice stop-button observation timeout after changed-label configuration checks already passed; voice source is unchanged and rerun passes the entire scenario. No real microphone/recording, upload, provider or cloud account mutation was used.
|
||||
|
||||
## Follow-ups
|
||||
|
||||
- None recorded.
|
||||
|
||||
## Promotion Candidates
|
||||
|
||||
- None recorded.
|
||||
Reference in new issue
Block a user