- adap broadcast phuong-phap-dem-token (type:new): negative-control tai lap 3-probe (notice-N = heuristic char-dem, KHONG phai token that) -> relabel STATUS:41 + HANDOFF:5 x2 + do-token report ADDENDUM (dai [31K byte/4 - 70,9K notice] => lead-share [8,2-18,7]%) - false-TAMPER RCA: PS5.1 Get-Content -Raw doc UTF-8-no-BOM bang ANSI -> va check-email/send-email byte-safe + verifier-suspect-first; stamp hub verify OK bang stamp_verify.py (exit-0) - email dinh-chinh hub (58f5afd8, selftest exit-0 x2) + adap-report + adap-request hash-verify-byte-safe-decode + FYI 2 broadcast no-stamp - STAGE-2: git mv 7 broadcast processed -> inbox/ai_infra/ (root sach) - fable-real review+invest (vai compound reviewer+inv-cb): run-trace + spec 3-muc + checklist A-D cho hmw @Opus 4.8 MAX; va stale all-inherit fable-real.md:37 + fable-clone.md:43 - hook-curate inv-cb MEMORY 23,9->16,9KB moved-not-cut (14 dong + 2 digest -> archive/2026-07.md) - h18 memory +sibling-test-2-chieu; monitor self-compact S125-start + counter tick=4 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2.3 KiB
2.3 KiB
description, argument-hint
| description | argument-hint |
|---|---|
| Nhận email cross-project (2-stage) qua broadcasts/ (Harness 3 §N) cho SOLUTION_ERP (self=se). Verify hash đối chứng. §J2. Adopt AI_INFRA Harness 3 (2026-06-07). | <from_project | all> |
/check-email <from_project> — nhận email cross-project (Harness 3 · self=se)
🔴 Kênh DUY NHẤT (§N) · pull-copy chỉ ghi repo MÌNH (§J2). self=
se. Path map: xemsend-email. Detail: AI_INFRAbroadcasts/README.md§Harness 3.
Tham số
$1= from_project (BẮT BUỘC) ∈ 6 others, hoặcall= quét cả 6.
Quy trình 2-STAGE (audit qua folder)
STAGE 1 — Nhận (đọc → inbox root, PENDING):
- Validate
$1. - READ
<from>/broadcasts/outbox/se/*.md(message gửi cho se). - Mỗi file CHƯA có trong inbox (so id): COPY VERBATIM →
broadcasts/inbox/<id>.md(root = pending). [repo MÌNH §J2] - Verify đối chứng: (a) whole-file
Get-FileHashcopy == nguồn (byte-identical = tuyến CHÍNH); (b) body recomputeSHA256(body)==content_sha256, body canonical (khớpAI_INFRA\scripts\stamp_verify.py):$txt=[Text.Encoding]::UTF8.GetString([IO.File]::ReadAllBytes($f)) -replace "^\uFEFF",""; (($txt -replace "\r","") -split "(?m)^---\s*$",3)[2] -replace "^\n",""→ SHA256-UTF8. 🔴 CẤMGet-Content -Rawcho hash — PS 5.1 đọc UTF-8-no-BOM bằng ANSI → mojibake → false-tamper (S125). ✗ → nghi VERIFIER TRƯỚC (đối chứngpython <AI_INFRA>\scripts\stamp_verify.py <file>+ test 1 sibling known-good; verifier fail cả sibling ⇒ lỗi tool, KHÔNG phải tamper); vẫn ✗ → flag tamper, KHÔNG move, báo anh. - Log
_index.md§INBOUND:received · id · <from> → se · status=pending · folder=(root) · sha256(12) · verify=✓.
STAGE 2 — Xử lý xong → archive (PROCESSED):
6. Sau khi xử lý → MOVE inbox/<id>.md → inbox/<from>/<id>.md.
7. Update _index.md: status=processed · folder=<from>.
Audit (anh)
ls broadcasts/inbox/*.md (root) = pending chưa xử lý (backlog hiện ngay) · inbox/<proj>/ = đã xử lý.
Luật
🔴 §N single-channel · 🔴 §J2 pull-copy chỉ-ghi-inbox-MÌNH (KHÔNG push repo bên kia) · KHÔNG sửa file copy (bằng chứng) · PHẢI committed · verify-hash trước move.