Skip to content

docs(zh-CN): preserve nested fences in the command template - #3557

Closed
eneekoruiz wants to merge 2 commits into
affaan-m:mainfrom
eneekoruiz:codex/fix-zh-contributing-command-fence
Closed

eneekoruiz wants to merge 2 commits into
affaan-m:mainfrom
eneekoruiz:codex/fix-zh-contributing-command-fence

Conversation

@eneekoruiz

Copy link
Copy Markdown
Contributor

What Changed

Use four-backtick delimiters around the Chinese command template so its nested three-backtick examples remain inside the outer Markdown block.

Why This Change

The first nested delimiter currently closes the outer template, rendering /your-command and later template sections as ordinary document content.

Validation

  • MarkdownIt reproduces the original split and verifies the corrected template renders as one code block.
  • Markdown lint and git diff --check passed.
  • Documentation review approved; two delimiter lines changed.

@eneekoruiz
eneekoruiz requested a review from affaan-m as a code owner October 13, 2026 10:01
@ecc-tools

ecc-tools Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Security Evidence

Commit: 8b4097e18ec335356489ee84a2bd530135ceddf1

Security evidence gate passed (success)

No security-sensitive scanner-evidence gap detected.

Mode: enforce

Scanned 1 changed file(s). No missing scanner-evidence signal was detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Risk Taxonomy

Commit: 8b4097e18ec335356489ee84a2bd530135ceddf1

PR taxonomy clear (success)

Scanned 1 changed file(s). No taxonomy bucket signals were detected.

Scanned 1 changed file(s).

No PR taxonomy bucket signals were detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Reference Set Readiness

Commit: 8b4097e18ec335356489ee84a2bd530135ceddf1

Reference set readiness gaps detected (neutral)

Reference evidence present for 0/7 areas (0%) across 1 changed file(s).

This check is based on files changed in this PR. Repository-level readiness is still reported by /ecc-tools analyze comments and generated manifests.

Area Status Evidence / Next Step
Deep analyzer corpus Missing Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions.
RAG/evaluator comparison Missing Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior.
PR salvage/review corpus Missing Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation.
Discussion triage corpus Missing Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications.
Harness compatibility Missing Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces.
Security evidence Missing Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs.
CI failure-mode evidence Missing Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Hosted Promotion Readiness

Commit: 8b4097e18ec335356489ee84a2bd530135ceddf1

Hosted promotion readiness passed (success)

No hosted promotion evidence gaps detected across 1 changed file(s); 0 corpus scenarios had matching evidence.

This check compares PR file changes against the evaluator/RAG promotion corpus in src/analyzers/fixtures/evaluator-rag-corpus.ts.
Hosted output scoring inspected 0 completed cached hosted job results.

No evaluator corpus scenarios matched this PR.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⚙️ Run configuration
  • Configuration used: Repository: affaan-m/ECC/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 4b356730-ff74-4989-991f-fc88ac57ce09
📥 Commits

Reviewing files that changed from the base of the PR and between 8b4097e and 9256718.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: affaan-m/ECC/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 2ecc2d7a-c10e-4b19-a36c-86b4246097ff
📥 Commits

Reviewing files that changed from the base of the PR and between b92f181 and 8b4097e.

📒 Files selected for processing (1)
  • docs/zh-CN/CONTRIBUTING.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

📜 Recent review details
⏰ Context from checks skipped due to timeout. (1)
  • GitHub Check: Greptile Review
🧰 Additional context used
📚 Code guidelines (3)
.cursor/rules/common-hooks.md — auto-discovered
.cursor/rules/typescript-hooks.md — auto-discovered
docs/zh-CN/CLAUDE.md — auto-discovered
📓 Path-based instructions (3)
Source excerpt: Use with caution: Source excerpt: Use with caution: Enable for trusted, well-defined plans Source excerpt: Use with caution: Disable for exploratory work Source excerpt: Use with caution: Never use dangerously-skip-permissio...

📄 CodeRabbit inference engine (.cursor/rules/common-hooks.md)

Files:

  • docs/zh-CN/CONTRIBUTING.md
Source excerpt: **console.log audit**: Check all modified files for `console.log` before session ends

📄 CodeRabbit inference engine (.cursor/rules/typescript-hooks.md)

Files:

  • docs/zh-CN/CONTRIBUTING.md
Source excerpt: 遵循 CONTRIBUTING.md 中的格式:

📄 CodeRabbit inference engine (docs/zh-CN/CLAUDE.md)

Files:

  • docs/zh-CN/CONTRIBUTING.md
🔇 Additional comments (1)
docs/zh-CN/CONTRIBUTING.md (1)

312-312: LGTM!

Also applies to: 341-341

📝 Summary

Summary by CodeRabbit

  • Documentation
    • Updated the Markdown formatting for command templates and output examples in the Chinese contribution guide.

The Chinese contribution guide now uses four-backtick Markdown fences for the command template and output example.

Changes: Contribution guide

Layer / File(s) Summary
Update example fences
docs/zh-CN/CONTRIBUTING.md
The command template and output example use four-backtick Markdown fences.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 8b409

The Chinese guide’s nested example remains properly formatted, with subsequent content outside the code block. No merge risk remains.

Architecture risk: 🔵 Low · up to 8b409

The change affects 1 system.

Changed systems: docs

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — docs (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in docs/zh-CN/CONTRIBUTING.md: 命令模板的 Markdown 示例围栏由三个反引号改为四个反引号。
  • observed — Modified behavior in docs/zh-CN/CONTRIBUTING.md: 输出示例的结束围栏由三个反引号改为四个反引号。
Pre-merge checks: Passed 5
Passed Passed checks (5 passed)
Check name Status Explanation
Title check Passed The title clearly identifies the documentation change and explains that nested Markdown fences must remain intact.
Description check Passed The description directly explains the Markdown fence change, its rendering problem, and the validation performed.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] Safe to merge. The change corrects the outer Markdown delimiters without changing the template content or the following section.

Summary

Fixes the command template in docs/zh-CN/CONTRIBUTING.md.

  • The command template stays together around its nested example.

Reviews (2) · Last reviewed commit: "Merge branch 'main' into codex/fix-zh-co..." · Reviewed by Greptile

@ecc-tools

ecc-tools Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Security Evidence

Commit: 9256718b28501ffaca7f34c9b5d588a92552e4ce

Security evidence gate passed (success)

No security-sensitive scanner-evidence gap detected.

Mode: enforce

Scanned 1 changed file(s). No missing scanner-evidence signal was detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Risk Taxonomy

Commit: 9256718b28501ffaca7f34c9b5d588a92552e4ce

PR taxonomy clear (success)

Scanned 1 changed file(s). No taxonomy bucket signals were detected.

Scanned 1 changed file(s).

No PR taxonomy bucket signals were detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Reference Set Readiness

Commit: 9256718b28501ffaca7f34c9b5d588a92552e4ce

Reference set readiness gaps detected (neutral)

Reference evidence present for 0/7 areas (0%) across 1 changed file(s).

This check is based on files changed in this PR. Repository-level readiness is still reported by /ecc-tools analyze comments and generated manifests.

Area Status Evidence / Next Step
Deep analyzer corpus Missing Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions.
RAG/evaluator comparison Missing Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior.
PR salvage/review corpus Missing Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation.
Discussion triage corpus Missing Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications.
Harness compatibility Missing Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces.
Security evidence Missing Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs.
CI failure-mode evidence Missing Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Hosted Promotion Readiness

Commit: 9256718b28501ffaca7f34c9b5d588a92552e4ce

Hosted promotion readiness passed (success)

No hosted promotion evidence gaps detected across 1 changed file(s); 0 corpus scenarios had matching evidence.

This check compares PR file changes against the evaluator/RAG promotion corpus in src/analyzers/fixtures/evaluator-rag-corpus.ts.
Hosted output scoring inspected 0 completed cached hosted job results.

No evaluator corpus scenarios matched this PR.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@haelyra

haelyra commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator

Thank you for preserving nested code fences in the Chinese command template. We carried your contribution into #3654 with attribution and the related follow-up fixes. That integration merged as e494799, and the resulting main passed CI, CodeQL, and Supply-Chain Watch. I’m closing this source PR as delivered. We appreciate your work and hope you’ll keep contributing.

@haelyra haelyra closed this Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants