Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Community needs voiced in HN agent-UI discussions map directly to EMRG's design:
pkill -f "emrg.server"; rm -f ~/.emrg/emrgd.port; python -m emrg
```

Python: `uv run pytest tests/ -v` (875) — import check: `uv run python -c "from emrg.client.app import run_client"`
Python: `uv run pytest tests/ -v` (876) — import check: `uv run python -c "from emrg.client.app import run_client"`
GUI: `cd emrg/gui && npm test` (257: 45 daemon_client + 19 conn-manager + 22 app-commands + 129 renderer smoke + 16 i18n + 7 integration + 3 commands + 7 build-config + 7 gui-state + 2 tool-group) — syntax: `node --check main.js preload.js daemon_client.js renderer/js/*.js`
CI: `uv run pytest` (ubuntu + **windows-2025 matrix** — Windows pytest 回归在 PR CI 即失败,v0.2.29 教训 #725) + GUI tests + **actionlint workflow lint** (`rhysd/actionlint@v1.7.12` gate, #444 — workflow 解析错误在 PR CI 即失败,如 `if:` secrets 上下文)
Re-trigger: `scripts/re-trigger-ci.sh [branch]` (workflow_dispatch, #527 — 替代空 commit 重触发:Actions outage 会整段丢弃 push 事件,dispatch 走 API 路径不受影响)
Expand Down
22 changes: 22 additions & 0 deletions tests/test_doc_counts.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,25 @@ def test_no_duplicate_npm_test_command_lines() -> None:
]
assert not bad, f"{doc}: heading(s) must not contain emoji: {bad}"


def test_evolution_prompt_no_quick_ref_block() -> None:
"""evolution_prompt.md must not contain the implemented-features quick
reference block (rant 2026-08-17T14:22:21 — removed in #822).

pm25coder follow-up on #822: cheap insurance against accidental
re-insertion of the static in-prompt history table. The memory system
+ git log handle dedup instead.
"""
prompt = (REPO_ROOT / "emrg" / "server" / "evolution_prompt.md").read_text(
encoding="utf-8"
)
# Case-insensitive match (pm25coder note): the original block's header was
# capitalized ("Implemented-features quick reference") — the lowercase
# body phrase is the guaranteed substring, but lowercasing the whole file
# catches a header-only re-insertion too.
assert "implemented-features quick reference" not in prompt.lower(), (
"evolution_prompt.md must not contain the implemented-features quick "
"reference block — dedup is handled by the memory system + git log "
"(rant 2026-08-17T14:22:21, #822)"
)

Loading