René's URL Explorer Experiment


Title: fix(workflow): #411 marker test misses trapped draft prose when the marker sits before an unclosed inner example · Issue #414 · developing-today/code · GitHub

Open Graph Title: fix(workflow): #411 marker test misses trapped draft prose when the marker sits before an unclosed inner example · Issue #414 · developing-today/code

X Title: fix(workflow): #411 marker test misses trapped draft prose when the marker sits before an unclosed inner example · Issue #414 · developing-today/code

Description: Finding PR #411 (fix for #410, merged in e987e5c7) made the trailing-fence drop in issue_drafts() conditional on the workflow:issue marker itself being the trapped text: # scripts/research_workflow.py:567-571 on current main (7ccd2817) d...

Open Graph Description: Finding PR #411 (fix for #410, merged in e987e5c7) made the trailing-fence drop in issue_drafts() conditional on the workflow:issue marker itself being the trapped text: # scripts/research_workflow...

X Description: Finding PR #411 (fix for #410, merged in e987e5c7) made the trailing-fence drop in issue_drafts() conditional on the workflow:issue marker itself being the trapped text: # scripts/research_workflow...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fix(workflow): #411 marker test misses trapped draft prose when the marker sits before an unclosed inner example","articleBody":"## Finding\n\nPR #411 (fix for #410, merged in `e987e5c7`) made the trailing-fence drop in `issue_drafts()` conditional on the `workflow:issue` marker itself being the trapped text:\n\n```python\n# scripts/research_workflow.py:567-571 on current main (7ccd2817)\ndropped = \"\\n\".join(lines[:-1])\nif \"workflow:issue\" not in draft_prose(block) and \"workflow:issue\" in draft_prose(dropped):\n    block = dropped\n```\n\nThat recovers the canonical #401 shape (marker after an unclosed inner example) and preserves the #410 exemption (marker before a properly closed example that is the draft's last element). It does **not** recover the combination of the two acknowledged placements:\n\n- the marker sits **before** the inner example — the exact placement PR #411's own new test documents (\"The marker sits before the example, as in a draft whose example is an appendix\"), and\n- the inner example is **unclosed** (#401's authoring slip), so draft prose after the example's opening fence is trapped inside the example as `draft_prose()` sees it, and the draft's own closing fence is the block's trailing bare fence.\n\nIn that shape `draft_prose(block)` already contains the marker (it is before the example), so the first condition fails, the fence is kept, and the trapped prose is discarded with the closed-looking example. A broken link in the trapped prose passes the check silently — the #401 failure mode, differing only in marker position.\n\n## Evidence\n\nVerified on current main `7ccd2817` with the merged `scripts/research_workflow.py` (scratch copy, removed after):\n\nCanonical #401 shape (marker after the unclosed example) — recovered, as intended:\n- `issue_drafts()` yields the concept pointer line; the broken pointer is link-checked.\n\nHybrid shape (marker before, pointer trapped after the unclosed example):\n\n````markdown\n```markdown\n# Research\n\u003c!-- workflow:issue {\"package\": \"pkg\", \"concept\": \"C001\", \"stage\": \"S1\"} -->\n```python\nprint('example')\n- Concept Document: [concept](concepts/C001-source-preservation.md)\n```\n````\n\n- `_fenced_blocks()` yields the block with `closed=False`, trailing line is a bare fence — the same trigger shape as #401/#410.\n- `draft_prose(block)` = `'# Research\\n\u003c!-- workflow:issue ... -->'` (marker present, so no drop).\n- `draft_prose(dropped)` does surface the trapped pointer line, but it is never used because the marker test short-circuits the decision.\n- `issue_drafts()` yields only `'# Research\\n'`; `link_targets()` on the drafts is `[]` — the broken pointer `concepts/C001-source-preservation.md` never reaches the link check, so `check` passes on a draft whose pointer is broken.\n- Control: the #410 shape (marker before a *properly closed* example at the end) correctly yields the valid pointer and keeps the example's broken link-shaped line exempt — that behaviour must not regress.\n\nCross-repo: `research_workflow.py` / `draft_prose` / `issue_drafts` exist only in this repo (checked the local clones of developing-today/opencode, developing-today/openchamber and dezren39/nix — no matches), so this is a single-repo issue.\n\nDeduped: searches for `draft_prose`, \"unclosed draft\" and \"410 411 fence\" return only #401 (closed), #410 (closed) and PRs #407/#411 themselves — neither covers a marker placed before the unclosed example.\n\n## Why it matters\n\n`research_workflow.py check` is the guard that a trigger-issue draft's pointers actually resolve before the draft is copied into a GitHub issue. A whole class of drafts — marker-early / appendix-style drafts, a placement #411 itself treats as valid — silently loses that guard for any prose written after an unclosed inner example, which is precisely the slip #401 set out to recover.\n\n## Acceptance criteria\n\n- A regression test with an unclosed draft whose marker sits before an unclosed inner example, with draft prose (including a concept pointer) after the example's opening fence: the draft fails `check` when that pointer is broken and passes when it is valid.\n- The existing #401 tests (marker after the unclosed example) and the #410 tests (marker before a properly closed example at the end — example contents stay exempt, draft prose still checked) all still pass.\n- The full workflow test suite stays green and `research_workflow.py check --repo-root .` on the real tree returns ok.\n- If the two shapes are judged genuinely indistinguishable for this placement too, record that limitation explicitly in the `issue_drafts()` comment instead of leaving the marker test as an implied complete recovery, and close this issue with that rationale.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-20T12:27:29Z","url":"https://github.com/developing-today/code/issues/414"}

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:7f209d71-5ceb-cb69-6bea-3e40db7c84a7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDD08:3AD124:AD8486:E03EAB:6B06387D
html-safe-noncedf276163d06b2ac4273d78c96f610d591c4667360541d9b6c5cdc619f41c92b6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDA4OjNBRDEyNDpBRDg0ODY6RTAzRUFCOjZCMDYzODdEIiwidmlzaXRvcl9pZCI6IjI5OTMxNTMxMzI2MDA4OTk3MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace6c3f7941b630fb79c1e2930cf76fd38f79741dbd02b9ace6dcdff9c61bd77dd
hovercard-subject-tagissue:5941612230
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/414/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ba352b6cf7f85bde881c1a5579ef752cdf8cd6357d95cea31b5cf95c79a33c41/developing-today/code/issues/414
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ba352b6cf7f85bde881c1a5579ef752cdf8cd6357d95cea31b5cf95c79a33c41/developing-today/code/issues/414
og:image:altFinding PR #411 (fix for #410, merged in e987e5c7) made the trailing-fence drop in issue_drafts() conditional on the workflow:issue marker itself being the trapped text: # scripts/research_workflow...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
Nonedcf72c457c022486d23c3cbb0dd21aba537a87611ca9ddabd1799cf2eaa9b297
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
release0f38f5735226749ec5e08a8649dce4cb2613d9ad
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/414#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F414
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%2F414
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/414
Reloadhttps://github.com/developing-today/code/issues/414
Reloadhttps://github.com/developing-today/code/issues/414
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 requests158 (158)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/414
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/414
#419https://github.com/developing-today/code/pull/419
fix(workflow): #411 marker test misses trapped draft prose when the marker sits before an unclosed inner examplehttps://github.com/developing-today/code/issues/414#top
#419https://github.com/developing-today/code/pull/419
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 20, 2026https://github.com/developing-today/code/issues/414#issue-5941612230
#411https://github.com/developing-today/code/pull/411
#410https://github.com/developing-today/code/issues/410
#401https://github.com/developing-today/code/issues/401
#410https://github.com/developing-today/code/issues/410
fix(workflow): keep a closed inner example exempt in an unclosed draft (#410) #411https://github.com/developing-today/code/pull/411
fix(workflow): drafts whose inner code example is unclosed still escape the link check past the example (#400 residual) #401https://github.com/developing-today/code/issues/401
#401https://github.com/developing-today/code/issues/401
#401https://github.com/developing-today/code/issues/401
fix(workflow): drafts whose inner code example is unclosed still escape the link check past the example (#400 residual) #401https://github.com/developing-today/code/issues/401
fix(workflow): #407 trailing-fence drop strips a properly closed inner example's exemption in an unclosed draft #410https://github.com/developing-today/code/issues/410
fix(workflow): #407 trailing-fence drop strips a properly closed inner example's exemption in an unclosed draft #410https://github.com/developing-today/code/issues/410
#401https://github.com/developing-today/code/issues/401
#410https://github.com/developing-today/code/issues/410
#407https://github.com/developing-today/code/pull/407
#411https://github.com/developing-today/code/pull/411
#411https://github.com/developing-today/code/pull/411
#401https://github.com/developing-today/code/issues/401
fix(workflow): drafts whose inner code example is unclosed still escape the link check past the example (#400 residual) #401https://github.com/developing-today/code/issues/401
fix(workflow): #407 trailing-fence drop strips a properly closed inner example's exemption in an unclosed draft #410https://github.com/developing-today/code/issues/410
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 20, 2026https://github.com/developing-today/code/issues/414#event-33740801662
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#419https://github.com/developing-today/code/pull/419
on Oct 20, 2026https://github.com/developing-today/code/issues/414#event-33749857744
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/414
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/414
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.