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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ jobs:
{ echo "❌ .gitignore 未排除私有知识库"; exit 1; }
echo "✅ 私有知识库受保护"

# ===== 8. L2 self-test(mock LLM,主宪章 §33,V1.10)=====
# ===== 8. L2 self-test (mock LLM) =====
selftest-mock:
name: L2 self-test · mock LLM e2e
runs-on: ubuntu-latest
Expand All @@ -375,7 +375,7 @@ jobs:
# 兜底:确保关键运行时模块在
pip install pydantic pydantic-settings typer rich loguru pyyaml openpyxl factory-boy faker prefect defusedxml prompt-toolkit

- name: L1 frontmatter lint(主宪章 §33 第 1 层)
- name: L1 frontmatter lint
run: |
python -m runtime.healthcheck.agent_smoke

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/selftest-weekly.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 周自检 · L4 真 LLM e2e(主宪章 §33)
name: 周自检 · L4 真 LLM e2e

on:
schedule:
Expand All @@ -12,7 +12,7 @@ permissions:
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true

# 仅 main 分支 push 触发,fork PR 不跑(防 secrets 泄露,主宪章 §30
# 仅 main 分支 push 触发,fork PR 不跑(防 secrets 泄露)
jobs:
selftest-weekly:
name: L4 · 真 LLM e2e
Expand Down
1 change: 1 addition & 0 deletions runtime/cli/commands/slash_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def _cmd_fc(args: str) -> None:
suggestion = _last_fix
_last_fix = None
console.print(f"[green]Running: /{suggestion}[/]")
from runtime.cli.interactive import _BUILTIN_MAP
_BUILTIN_MAP.get(suggestion, lambda a: None)("")


Expand Down
1 change: 1 addition & 0 deletions runtime/cli/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
_last_fix: str | None = None # last suggested command correction
_start_time: float = 0.0
_cmd_history: list[str] = [] # last 10 user commands for /N quick re-run
_BUILTIN_MAP: dict = {}

_PROMPT_STYLE = Style.from_dict({
"prompt": "bold cyan",
Expand Down
Loading