Skip to content

chore: add ai harness rules#1843

Open
CarltonXiang wants to merge 8 commits into
mainfrom
dev-20260604-v2.0.19
Open

chore: add ai harness rules#1843
CarltonXiang wants to merge 8 commits into
mainfrom
dev-20260604-v2.0.19

Conversation

@CarltonXiang
Copy link
Copy Markdown
Collaborator

Description

Please include a summary of the change, the problem it solves, the implementation approach, and relevant context. List any dependencies required for this change.

Related Issue (Required): Fixes #issue_number

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (does not change functionality, e.g. code style improvements, linting)
  • Documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Unit Test
  • Test Script Or Test Steps (please provide)
  • Pipeline Automated API Test (please provide)

Checklist

  • I have performed a self-review of my own code | 我已自行检查了自己的代码
  • I have commented my code in hard-to-understand areas | 我已在难以理解的地方对代码进行了注释
  • I have added tests that prove my fix is effective or that my feature works | 我已添加测试以证明我的修复有效或功能正常
  • I have created related documentation issue/PR in MemOS-Docs (if applicable) | 我已在 MemOS-Docs 中创建了相关的文档 issue/PR(如果适用)
  • I have linked the issue to this PR (if applicable) | 我已将 issue 链接到此 PR(如果适用)
  • I have mentioned the person who will review this PR | 我已提及将审查此 PR 的人

Reviewer Checklist

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Made sure Checks passed
  • Tests have been provided

harvey_xiang and others added 8 commits May 29, 2026 16:56
Co-authored-by: harvey_xiang <harvey_xiang22@163.com>
…1861)

* fix: respect autoInstall=false by removing install_recommended bypass

When skillEvolution.autoInstall is set to false, the install_recommended
path in autoInstallIfNeeded() was still triggering automatic installation.
This fix ensures autoInstall=false completely disables all auto-install
behavior.

Closes #1398

Co-authored-by: Cursor <cursoragent@cursor.com>

* feat: add harness (#1836)

Co-authored-by: harvey_xiang <harvey_xiang22@163.com>

* chore: update gitignore

* fix: respect autoInstall: false config in all auto-install paths

- Remove install_recommended bypass that ignored autoInstall config
- Consolidate logic: check autoInstall once at method entry
- Add unit tests verifying autoInstall: false blocks all installations

Fixes #1398

* fix: respect autoInstall=false config in skill evolution

- Fix autoInstallIfNeeded to skip ALL auto-installation when autoInstall=false
- Previously install_recommended path bypassed autoInstall config check
- Add comprehensive test coverage for autoInstall behavior (false/true/default)
- Closes #1398

---------

Co-authored-by: jiachengzhen <jiacz@memtensor.cn>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: HarveyXiang <harvey_xiang@163.com>
Co-authored-by: harvey_xiang <harvey_xiang22@163.com>
Co-authored-by: MemOS AutoDev <autodev@memos.dev>
…in Viewer UI (#1865)

* fix(memos-local-plugin): guard OpenClaw runtime startup

* fix:The failed task was wrongly recorded as a "successful experience".

* fix(openclaw): correct Alibaba Bailian endpoint default in Viewer UI

Change incorrect endpoint from https://dashscope.aliyuncs.com/compatible-mode/v1
to correct endpoint https://coding.dashscope.aliyuncs.com/v1 in both
packages/memos-core and apps/memos-local-openclaw viewer files.

Fixes #1489

---------

Co-authored-by: jiang <fdjzy@qq.com>
Co-authored-by: Jiang <33757498+hijzy@users.noreply.github.com>
Co-authored-by: 黑布林 <11641432+heiheiyouyou@user.noreply.gitee.com>
Co-authored-by: Dubberman <48425266+whipser030@users.noreply.github.com>
Co-authored-by: AutoDev Agent <autodev@memtensor.com>
…started outside Python (#1866)

* fix(memos-local-plugin): guard OpenClaw runtime startup

* fix:The failed task was wrongly recorded as a "successful experience".

* fix: add --home CLI flag for Docker deployment config path

- Add --home parameter to bridge.cts for explicit config directory
- Enhance config missing warning with remediation steps and docs link
- Log config warnings during bootstrap
- Add comprehensive Docker deployment documentation
- Update README with configuration and troubleshooting guides

Fixes #1520

---------

Co-authored-by: jiang <fdjzy@qq.com>
Co-authored-by: Jiang <33757498+hijzy@users.noreply.github.com>
Co-authored-by: 黑布林 <11641432+heiheiyouyou@user.noreply.gitee.com>
Co-authored-by: Dubberman <48425266+whipser030@users.noreply.github.com>
Co-authored-by: MemOS AutoDev <autodev@memos.dev>
…ort — skipped traces s (#1870)

fix: exclude short traces from embedding maintenance stats

- Add shouldTraceHaveEmbeddings() helper to filter traces with insufficient content
- Skip traces where both user_text and agent_text are under 10 chars
- Skip traces where total combined length is under 20 chars
- Fixes misleading 'missing' count after bulk import (issue #1746)
- Applies filter consistently to stats computation and repair operations

Co-authored-by: AutoDev Agent <autodev@memtensor.com>
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.

2 participants