docs(agents): add CWL-ENTRY read-first block - #1528
Conversation
.github's AGENTS.md carries a <!-- CWL-ENTRY --> block pointing agents at the master context, live GitHub Project, and gap snapshot before any work. naruon never had this block (it only has a naruon-specific cwl-agent-guidance section below it), so agents landing here had no equivalent pointer. Add naruon's own version, wired to naruon's real docs: docs/architecture/naruon-product-spec.md for mission/architecture, the existing docs/product-technical-gap-baseline.md gap snapshot, and a cross-repo link to .github's agent-github-project-protocol.md and product-goal-directive.md, which are genuinely org-wide and not duplicated per repo. The Figma file ID line reflects naruon's actual current state (not yet canonical on develop; ADR-0013 is still in open PR #1436) rather than the N/A placeholder that would make no sense for a repo that has UI. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
PR governance metadata gate is not ready for
|
…dict contradiction - Cite ContextualWisdomLab/naruon#1528 with owner prefix in both remaining spots (Devin Review: cross-repo reference format violation) - Fix the self-contradiction Devin caught: "Result 1 verified all four central workflows' cancellation logic is correct" directly contradicted the same document's confirmed noema-review.yml bug finding above it. Corrected to: three of four are fully correct; the fourth's confirmed bug has a different failure signature (wrongful cancellation of a live run) than what Result 2's evidence shows (runs stuck queued for 23h22m/24+ hours with no cancellation at all) -- so the bug still doesn't explain this specific wait, without overstating the workflows' correctness. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Format the CWL entry as a readable source checklist and add a governance regression for the product spec, Project, gap baseline, completion issue, Figma proposal, and central operating documents.\n\nAssisted-by: OpenAI Codex <codex@openai.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@coderabbitai review Please review the unchanged exact head |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
base="042b0c70531b229af3acbd0421a2f23098d848b3"
head="57254cb61ecc67dd593ea96ae878bf651682a501"
printf '%s\n' '== Checked-out commit and requested commit objects =='
git rev-parse HEAD
git cat-file -t "$base"
git cat-file -t "$head"
git merge-base --is-ancestor "$base" "$head" && echo "base_is_ancestor=true"
printf '%s\n' '== Name/status and complete exact diff =='
git diff --check "$base" "$head"
git diff --name-status "$base" "$head"
git diff --find-renames --find-copies --unified=80 "$base" "$head" -- AGENTS.md backend/tests/test_release_governance.py
printf '%s\n' '== AGENTS.md CWL entry context =='
rg -n -C 25 '<!-- CWL-ENTRY -->|CWL-ENTRY|ContextualWisdomLab/\.github|Project|Figma|`#1428`|`#1436`' AGENTS.md || true
printf '%s\n' '== Governance test structure and changed-entry references =='
ast-grep outline backend/tests/test_release_governance.py --items all --view expanded
rg -n -C 12 'CWL-ENTRY|AGENTS\.md|1428|1436|canonical|Project|Figma|private agent memory|stale repository' backend/tests/test_release_governance.py || true
printf '%s\n' '== Current pull request metadata, checks, and reviews =='
gh pr view 1528 --repo ContextualWisdomLab/naruon \
--json number,url,state,isDraft,headRefOid,baseRefOid,mergeStateStatus,reviewDecision,statusCheckRollup,reviews \
--jq '{number,url,state,isDraft,headRefOid,baseRefOid,mergeStateStatus,reviewDecision,statusCheckRollup,reviews}'Length of output: 47991 🏁 Script executed: #!/bin/bash
set -euo pipefail
printf '%s\n' '== Referenced local source files =='
for path in \
docs/architecture/naruon-product-spec.md \
docs/product-technical-gap-baseline.md \
backend/tests/test_release_governance.py \
AGENTS.md
do
if test -f "$path"; then
printf 'present: %s\n' "$path"
else
printf 'missing: %s\n' "$path"
fi
done
printf '%s\n' '== CWL entry block containment and duplicate reference locations =='
python3 - <<'PY'
from pathlib import Path
agents = Path("AGENTS.md").read_text(encoding="utf-8")
start = agents.index("<!-- CWL-ENTRY -->")
end = agents.index("<!-- BEGIN cwl-agent-guidance -->", start)
entry = agents[start:end]
needles = (
"docs/architecture/naruon-product-spec.md",
"docs/product-technical-gap-baseline.md",
"ContextualWisdomLab/projects/1",
"ContextualWisdomLab/naruon/issues/1428",
"ContextualWisdomLab/naruon/pull/1436",
"docs/agent-github-project-protocol.md",
"docs/product-goal-directive.md",
"not private agent memory",
)
for needle in needles:
positions = []
offset = 0
while True:
index = agents.find(needle, offset)
if index < 0:
break
positions.append(index)
offset = index + len(needle)
print(f"{needle}: total={len(positions)}, in_entry={entry.count(needle)}")
PY
printf '%s\n' '== Test guard shape =='
sed -n '1,70p' backend/tests/test_release_governance.py
sed -n '600,620p' backend/tests/test_release_governance.py
printf '%s\n' '== Live authority records =='
gh issue view 1428 --repo ContextualWisdomLab/naruon \
--json number,state,title,url,closedAt \
--jq '{number,state,title,url,closedAt}'
gh pr view 1436 --repo ContextualWisdomLab/naruon \
--json number,state,isDraft,title,url,headRefOid,baseRefName \
--jq '{number,state,isDraft,title,url,headRefOid,baseRefName}'Length of output: 6622
P2 — Make the regression test validate the Extract the text from The exact head and effective two-file delta match the request. The current GitHub state is still not merge-authoritative. The pull request is You are interacting with an AI system. |
Preserve the repository-entry AGENTS/test delta while ordinary-adopting #1623's js-yaml 4.3.2 and Vitest 4.1.11 security head. No dependency files move into this documentation prerequisite.
Preserve the repository-entry two-file delta as first-parent history while adopting #1623's current Vitest lock-presence security contract. Signed-off-by: Seongho Bae <me@seonghobae.me>
Preserve the repository-entry guidance delta as first-parent history while adopting #1623's current Vitest importer-contract repair. Signed-off-by: Seongho Bae <me@seonghobae.me>
|
@codex review Review only exact head |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Current authority — 2026-09-10
#1623@17a7618eda2b212b691f08fa936e042b34258fc92bcf5eb8b93b231c05f5f04d6a2a31190cf7df81AGENTS.mdandbackend/tests/test_release_governance.py.Current head is an ordinary two-parent successor: old #1528
83b302a...remains first parent and current #1623 is the second parent. The tree adopts #1623's latest Vitest importer-contract repair while preserving the repository-entry guidance delta; dependency/security source remains owned by #1623.Fresh compare against exact base
17a7618...is ahead-only with the same two-file product/governance scope. No force push, destructive rebase, copied dependency source, or predecessor-evidence transfer was used.This source-changing restack has no ordinary PR-triggered hosted workflow run at the latest read, so earlier checks/reviews are historical only. Keep Draft until the prerequisite is protected-integrated and this exact head has then-live required evidence plus qualifying independent review.
Governance descendant #1549 has been ordinary-restacked onto this head as
1c343aaaf080bdd009ba9784de721a1c26d4cdc5.