Skip to content

feat(intent): emit external Markdown links - #15

Merged
schickling merged 2 commits into
mainfrom
schickling-assistant/2026-09-27-external-markdown-links
Sep 27, 2026
Merged

schickling merged 2 commits into
mainfrom
schickling-assistant/2026-09-27-external-markdown-links

Conversation

@schickling-assistant

@schickling-assistant schickling-assistant commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • emit external Markdown links as markdown_link graph references
  • preserve the visible label and written destination
  • report resolution: "external" with no target locations

Verification

  • cargo test --test intent_check graph_json_records_local_and_external_markdown_links -- --nocapture
  • cargo test
  • cargo clippy --all-targets -- -D warnings
Posted on behalf of @schickling
field value
agent_identity mbp2025.direct.omp.mjwjfku9
session unknown
agent_persona generalist
agent_supervisor unavailable
agent_tool OMP
agent_tool_version 18.2.11
agent_runtime OMP 18.2.11
agent_model openai-codex/gpt-5.6-sol
worktree intent/2026-09-27-external-markdown-links
tooling_profile dotfiles@2df08b9-dirty

agent-identity: mbp2025.direct.omp.mjwjfku9
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.2.11
agent-runtime: OMP 18.2.11
agent-model: openai-codex/gpt-5.6-sol
tooling-profile: dotfiles@2df08b9-dirty
agent-identity: mbp2025.direct.omp.mjwjfku9
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.2.11
agent-runtime: OMP 18.2.11
agent-model: openai-codex/gpt-5.6-sol
tooling-profile: dotfiles@2df08b9-dirty
@schickling-assistant
schickling-assistant force-pushed the schickling-assistant/2026-09-27-external-markdown-links branch from c7e6867 to 076ff0a Compare September 27, 2026 10:03
@schickling-assistant
schickling-assistant marked this pull request as ready for review September 27, 2026 10:04
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-27T10:06:43.928426Z 076ff0a Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@schickling
schickling merged commit e4b793c into main Sep 27, 2026
5 checks passed
@schickling-assistant
schickling-assistant deleted the schickling-assistant/2026-09-27-external-markdown-links branch September 27, 2026 10:04

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 076ff0a611

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

let raw = line[target_start..paren_end].trim();
let target = markdown_destination(raw);
if !target.is_empty() && !is_external_target(target) {
if !target.is_empty() {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve parentheses in external link destinations

When an external destination contains a balanced or escaped )—valid Markdown such as [x](https://en.wikipedia.org/wiki/Foo_(bar))—the parser selects the first ) as the link terminator, so this newly broadened branch emits https://en.wikipedia.org/wiki/Foo_(bar as the written target and records a truncated source range. Parse balanced and escaped parentheses before emitting the external reference so the promised written destination is preserved.

Useful? React with 👍 / 👎.

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