4.3 KiB
4.3 KiB
title, type, permalink, stable_id, scope, project_id, workspace_type, usage_profile_id, preference_context, document_type, revision, source_memory_ids, source_checkpoint_ids, source_file_ids, source_git_commit, source_git_commits, source_agent_sync_ids, model_connection, model_name, source_count, source_revisions, source_dispositions, cited_source_ids, job_cited_source_ids, conflicts, supersedes, preferences, source_cursor, source_hash, prompt_version, schema_version, curation_job_id, created_at, updated_at, tags
| title | type | permalink | stable_id | scope | project_id | workspace_type | usage_profile_id | preference_context | document_type | revision | source_memory_ids | source_checkpoint_ids | source_file_ids | source_git_commit | source_git_commits | source_agent_sync_ids | model_connection | model_name | source_count | source_revisions | source_dispositions | cited_source_ids | job_cited_source_ids | conflicts | supersedes | preferences | source_cursor | source_hash | prompt_version | schema_version | curation_job_id | created_at | updated_at | tags | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Global Development Workflows | curated | main/global/curated/7aee455b-24cc-4008-bdaf-443721e6f939/global-development-workflows | e4fc35f2-1606-4b79-9c1e-367edeea97d0 | global | null | global | 7aee455b-24cc-4008-bdaf-443721e6f939 | global | workflows | 9 |
|
null | Sub2API | openai/gpt-oss-20b | 90 |
|
|
|
|
571 | b84354eb37ab531c5be3076d5c3f130399f235bc33c8cf9453cbfcecae042e49 | 2026-08-12.3 | 3 | ef77eb26-e282-4e81-88c8-7d622d14ccc7 | 2026-08-08T07:55:35.371609+00:00 | 2026-09-16T03:09:03.015482+00:00 |
|
Global Development Workflow
-
Project memory & Git process
- All notes are kept in
aidocs/project_context.md.aidocs/is in.gitignoreand never committed. - After completing a task, perform: delete temporary files, debug logs, unused code → update memory (what/why/validation/issues/next steps) → check
.gitignore→ commit withtype: 中文一句话描述. Default is commit only; push only when explicitly requested.
- All notes are kept in
-
Credential Retrieval Workflow
- Before any login, SSH, database or API call, query Vaultwarden. If exactly one match, use it directly. If multiple or none, prompt for selection or manual input.
- When adding or updating credentials, immediately write them to the password vault; memory records only the entry name, purpose, and usage method.
-
Technical Notes
- FastAPI async – Never perform blocking I/O inside
async def; change to normaldefso FastAPI handles it in a thread‑pool. - PowerShell JSON – Write JSON to a temporary file and send with
curl.exe --data-binary @fileto preserve quotes. - Large‑table SQL – Add indexes on frequently queried text columns, raise DB
read/write_timeoutalong with clientupload_timeout/run_timeout. - Docker exec timeout – Obtain raw socket and call
socket.settimeout(None)to disable default 3 s timeout. - Docker Hub proxy – Configure Docker Desktop to Manual with HTTP/HTTPS pointing to
http://127.0.0.1:7897and restart Docker.
- FastAPI async – Never perform blocking I/O inside
-
Version & Deployment Rules
- For OTA, always use the official release version matching the device's ABI and keep the device’s firmware tightly coupled to the release channel.
- Do not flash generic RK3568 images; use the project‑provided U‑Boot, DTB and RTL8367S/DSA configurations.
-
Testing & Validation
- Regression tests should use real timestamps and ensure that the JSON output from
memrelay://capabilitiesrendered viajsonable_encodermatches the raw resource structure. - FastAPI handlers that perform blocking I/O should be switched to synchronous functions.
- Regression tests should use real timestamps and ensure that the JSON output from