From e0ab9ebc4bc9725005377554e56d60a8bfb8c658 Mon Sep 17 00:00:00 2001 From: ShengLong <452591453@qq.com> Date: Thu, 30 Apr 2026 17:40:30 +0800 Subject: [PATCH 1/2] Update .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index ae4d4995..a3b8652a 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ bin-release/ /.shared /.cursor /.codex +/.agents From b9165f6b1bca716998b205b7ac5a2732c1fa3fb2 Mon Sep 17 00:00:00 2001 From: ShengLong <452591453@qq.com> Date: Thu, 30 Apr 2026 18:06:40 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9D=83=E9=99=90?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 31 +++++++++++++-------- admin/src/views/patient/reception/index.vue | 6 +++- 2 files changed, 24 insertions(+), 13 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 3f954063..08bdd318 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -3,20 +3,27 @@ These instructions are for AI assistants working in this project. -Use the `/trellis:start` command when starting a new session to: -- Initialize your developer identity -- Understand current project context -- Read relevant guidelines +This project is managed by Trellis. The working knowledge you need lives under `.trellis/`: -Use `@/.trellis/` to learn: -- Development workflow (`workflow.md`) -- Project structure guidelines (`spec/`) -- Developer workspace (`workspace/`) +- `.trellis/workflow.md` — development phases, when to create tasks, skill routing +- `.trellis/spec/` — package- and layer-scoped coding guidelines (read before writing code in a given layer) +- `.trellis/workspace/` — per-developer journals and session traces +- `.trellis/tasks/` — active and archived tasks (PRDs, research, jsonl context) -If you're using Codex, project-scoped helpers may also live in: -- `.agents/skills/` for reusable Trellis skills -- `.codex/agents/` for optional custom subagents +If a Trellis command is available on your platform (e.g. `/trellis:finish-work`, `/trellis:continue`), prefer it over manual steps. Not every platform exposes every command. -Keep this managed block so 'trellis update' can refresh the instructions. +If you're using Codex or another agent-capable tool, additional project-scoped helpers may live in: +- `.agents/skills/` — reusable Trellis skills +- `.codex/agents/` — optional custom subagents + +## Subagents + +- ALWAYS wait for all subagents to complete before yielding. +- Spawn subagents automatically when: + - Parallelizable work (e.g., install + verify, npm test + typecheck, multiple tasks from plan) + - Long-running or blocking tasks where a worker can run independently. + - Isolation for risky changes or checks + +Managed by Trellis. Edits outside this block are preserved; edits inside may be overwritten by a future `trellis update`. diff --git a/admin/src/views/patient/reception/index.vue b/admin/src/views/patient/reception/index.vue index aab5a29a..84c819ba 100644 --- a/admin/src/views/patient/reception/index.vue +++ b/admin/src/views/patient/reception/index.vue @@ -317,7 +317,11 @@ > 备注 - + 编辑病历