Repository navigation
Harness Engineering v2.0 — عقد الوكلاء + بوابات التحقق + الذاكرة (مسودة) - #48
Draft
DrAbdulmalek wants to merge 4 commits into
Draft
DrAbdulmalek wants to merge 4 commits into
DrAbdulmalek wants to merge 4 commits into
Conversation
… verification gates + Mem0 protocol - AGENTS.md: عقد ملزم يُقرأ في بداية كل جلسة (قواعد صفرية + بوابة + نطاق + ذاكرة) - init.sh: بوابة دخول بكشف تلقائي للمشروع - scripts/verify.sh: بوابة ما قبل الالتزام (فحص أسرار + بوابة المشروع) - scripts/session-handoff.py + scripts/test_mem0_memory.py: التسليم والذاكرة عبر الجلسات - feature_list.json + progress.md + session-handoff.md: الحالة - docs/HARNESS.md: الدليل المفهومي - marathon-suite فقط: templates/ المركزية + docs/migration-guide.md PR مسودة — لا يُدمج إلا بقرار المالك.
…t unused) + drop bare f-string ruff on manjaro-care caught F841 (env unused — PYTHONPATH gate would have been silently ignored in session-handoff.py) and F541. Fix benefits all repos.
… قاعدة main صريحة في AGENTS.md
- verify.sh: فحص memory-layer إخباري + بوابة surya-engine أنيقة (ocr-core)
- memory/{decisions,lessons,constraints,context}.md — فكرة Talewell: Markdown + Git
- AGENTS.md: شظية قاعدة main (idempotent) — توثيق صريح يمنع سوء تفسير main المحلي
- التوزيع بايتي عبر scripts/sync-harness.sh (المركز: harness-kit/universal)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Harness Engineering — عقد الوكلاء + بوابات التحقق + الذاكرة (v2.0)
ما هذا؟
تبنّي منهجية Harness Engineering (مستوحاة من Learn Harness Engineering — MIT)
بحيث تُقرأ قواعد العمل نفسها عند كل جلسة تطوير من أي وكيل ذكاء اصطناعي
(Claude Code, Codex, Cursor, Gemini...): القواعد الصفرية، بوابة التحقق، النطاق،
دورة حياة الجلسة، والذاكرة طويلة المدى (Mem0 MCP).
الملفات المضافة
AGENTS.mdfeature_list.jsonprogress.mdsession-handoff.mdinit.shscripts/verify.shscripts/session-handoff.pyscripts/test_mem0_memory.pydocs/HARNESS.mdبوابة هذا المستودع
python3 -m pytest tests/unit -q→ الاختبارات الوحدوية خضراءالتحقق المنفذ في هذه الجلسة
bash -n init.sh✅ وbash -n scripts/verify.sh✅python3 -m py_compile scripts/session-handoff.py scripts/test_mem0_memory.py✅verify.sh: لا أسرار متتبعة ✅init.shوCI.بعد الدمج (قرار المالك)
./init.shفي بيئة كاملة للتأكد من البوابة الخضراء.export MEM0_API_KEY=...ثمpython3 scripts/test_mem0_memory.py..git/hooks/pre-pushبـ./scripts/verify.sh --quick.القواعد المحترمة في هذا الPR
feat/harness-engineeringمنmain— لم يُلمَس main.$ENV_VAR/ GIT_ASKPASS).