René's URL Explorer Experiment


Title: fix(workflow): drafts whose inner code example is unclosed still escape the link check past the example (#400 residual) · Issue #401 · developing-today/code · GitHub

Open Graph Title: fix(workflow): drafts whose inner code example is unclosed still escape the link check past the example (#400 residual) · Issue #401 · developing-today/code

X Title: fix(workflow): drafts whose inner code example is unclosed still escape the link check past the example (#400 residual) · Issue #401 · developing-today/code

Description: Finding PR #400's nesting-aware fence scanner (fixes #393) still lets a trigger-issue draft escape the link check when the draft's embedded code example is itself unclosed. Everything in the draft from the example's opening fence onward ...

Open Graph Description: Finding PR #400's nesting-aware fence scanner (fixes #393) still lets a trigger-issue draft escape the link check when the draft's embedded code example is itself unclosed. Everything in the draft ...

X Description: Finding PR #400's nesting-aware fence scanner (fixes #393) still lets a trigger-issue draft escape the link check when the draft's embedded code example is itself unclosed. Everything in th...

Opengraph URL: https://github.com/developing-today/code/issues/401

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fix(workflow): drafts whose inner code example is unclosed still escape the link check past the example (#400 residual)","articleBody":"## Finding\n\nPR #400's nesting-aware fence scanner (fixes #393) still lets a trigger-issue draft escape the link check when the draft's embedded code example is itself unclosed. Everything in the draft from the example's opening fence onward is stripped before link checking, so any pointer/link after the example is silently unchecked — the same silent-escape failure mode as #382 / #391 / #393.\n\nTwo shapes reproduce it on current main `2b9b424a` via `links()` in `scripts/research_workflow.py`:\n\n1. **Inner example never closed** — the draft's own closing fence is consumed as the example's close:\n   ````markdown\n   ```markdown\n   ```python\n   print(1)\n   - [concept](missing/a.md)\n   \u003c!-- workflow:issue {\"package\": \"pkg\", \"concept\": \"C001\", \"stage\": \"S1\"} -->\n   ```\n   ````\n   Result: no error. The broken pointer `missing/a.md` is never checked. Adding a second closing fence after it changes nothing — still no error.\n\n2. **Inner example closed with a shorter fence than it opened with** (opens ` ````python `, closes ` ``` `): the short bare fence is literal content under `fence_events()`' length rule, so the example is again unclosed and a broken pointer after it passes silently.\n\nControl (the shape PR #400's regression tests cover — pointer before a properly closed ```` ```python ```` example) correctly raises `missing link target: missing/a.md`.\n\n## Evidence\n\n- PR: #400 (merged 2026-10-20T08:08:38Z, commit `b29a56e445ce95416101990dacbed49d42811817`, merge `2b9b424a98bc207e592680e686d55933c01e1b68`): https://github.com/developing-today/code/pull/400\n- `scripts/research_workflow.py:407` — `fence_events()`: only a bare fence at least as long as the innermost one closes a level; an unclosed inner fence therefore consumes the draft's closing fence and leaves the draft stack open.\n- `scripts/research_workflow.py:456` — `fenced_blocks()` returns the trailing unclosed block (per #400), so the draft *is* selected: its `workflow:issue` marker is seen.\n- `scripts/research_workflow.py:491` — `issue_drafts()` then strips nested blocks via `unfenced(block)`. Reparsing the block standalone, the unclosed inner fence opens at the example and never closes, so every line from the example onward classifies as fence content and is dropped from the cleaned draft. Verified directly: for shape 1, `issue_drafts()` yields `['']` while `links()` on the control shape raises.\n- Single-repo: `scripts/research_workflow.py` exists only in developing-today/code (absent from the opencode / openchamber / nix clones).\n- Deduped: issue searches for `fence`, `unclosed draft`, `research_workflow` return only #393 and #382, both closed; neither covers an unclosed *inner* fence.\n\n## Why it matters\n\n`research_workflow.py check` is the guard that draft pointers resolve before a draft is copied into a GitHub issue. #400 explicitly adopted the principle that unclosed shapes are \"checked rather than silently dropped\" for the draft's outer fence; an author who forgets to close an embedded example — or closes it with a shorter fence — is exactly the hand-authoring slip this checker exists to catch, and today it re-opens the silent escape #400 was filed to close, for every link after the example.\n\n## Acceptance criteria\n\n- [ ] A regression test with a draft whose inner code example is unclosed and which carries a broken pointer *after* the example fails `check` (and passes when the pointer is valid).\n- [ ] A regression test for the shorter-closing-fence variant (example opens with 4 backticks, closes with 3) likewise fails `check` on a broken post-example pointer.\n- [ ] Links before the example, and the existing nested/unclosed-draft behaviour from #400, are unchanged: the full workflow suite (48 tests) still passes and `python3 scripts/research_workflow.py check --repo-root .` still returns `ok: true` on the real tree.\n- [ ] Embedded example contents themselves remain exempt from link checks (a link-shaped line inside the example, closed or not, is not checked as draft prose).\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-20T09:03:21Z","url":"https://github.com/developing-today/code/issues/401"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:dfa8c4e6-49ed-8170-0f0d-540a3116a6c0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id89C0:B0F20:600793:80EE2B:6B0628A5
html-safe-nonce2eef82eec7e5d411a1ae231ff234e6a5dd42d74761a6e86cf01ab5d646a6f189
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OUMwOkIwRjIwOjYwMDc5Mzo4MEVFMkI6NkIwNjI4QTUiLCJ2aXNpdG9yX2lkIjoiNTQyNTQ2NTU4MTMwODg4MTA2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5817f4d7e1bcfbfcedea8b92b4ec1988eb21ce6208dadde7c0282e8c29ebf386
hovercard-subject-tagissue:5938969216
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/401/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2caf7c5cb12fca4ef0216ca311099140e4780264f1001a7c6bdf7c1fb63a497c/developing-today/code/issues/401
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2caf7c5cb12fca4ef0216ca311099140e4780264f1001a7c6bdf7c1fb63a497c/developing-today/code/issues/401
og:image:altFinding PR #400's nesting-aware fence scanner (fixes #393) still lets a trigger-issue draft escape the link check when the draft's embedded code example is itself unclosed. Everything in the draft ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release494ea0bb1e0feef734a83e2628697647755e8864
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/401#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F401
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F401
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/401
Reloadhttps://github.com/developing-today/code/issues/401
Reloadhttps://github.com/developing-today/code/issues/401
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests148 (148)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/401
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/401
#407https://github.com/developing-today/code/pull/407
fix(workflow): drafts whose inner code example is unclosed still escape the link check past the example (#400 residual)https://github.com/developing-today/code/issues/401#top
#407https://github.com/developing-today/code/pull/407
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 20, 2026https://github.com/developing-today/code/issues/401#issue-5938969216
#400https://github.com/developing-today/code/pull/400
#393https://github.com/developing-today/code/issues/393
#382https://github.com/developing-today/code/issues/382
#391https://github.com/developing-today/code/pull/391
#393https://github.com/developing-today/code/issues/393
#400https://github.com/developing-today/code/pull/400
fix(workflow): check draft links past inner code fences (#393) #400https://github.com/developing-today/code/pull/400
fix(workflow): check draft links past inner code fences (#393) #400https://github.com/developing-today/code/pull/400
fix(workflow): check draft links past inner code fences (#393) #400https://github.com/developing-today/code/pull/400
fix(workflow): trigger-issue drafts with an inner code fence escape the #391 link check — fenced_blocks() splits the draft at the inner fence #393https://github.com/developing-today/code/issues/393
docs(workflow): C001 trigger-issue draft (PR #381) mixes link bases — one pointer is dead, and the checker strips the fenced draft so it cannot catch it #382https://github.com/developing-today/code/issues/382
#400https://github.com/developing-today/code/pull/400
#400https://github.com/developing-today/code/pull/400
fix(workflow): check draft links past inner code fences (#393) #400https://github.com/developing-today/code/pull/400
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 20, 2026https://github.com/developing-today/code/issues/401#event-33726238807
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#407https://github.com/developing-today/code/pull/407
on Oct 20, 2026https://github.com/developing-today/code/issues/401#event-33731150162
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/401
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/401
dezren39https://github.com/dezren39
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.