Skip to content

feat: validate daemon-state host-port findings - #234

Open
Joncallim wants to merge 7 commits into
codex/69-daemon-state-port-findingfrom
codex/68-daemon-state-port-api
Open

feat: validate daemon-state host-port findings#234
Joncallim wants to merge 7 commits into
codex/69-daemon-state-port-findingfrom
codex/68-daemon-state-port-api

Conversation

@Joncallim

Copy link
Copy Markdown
Owner

Summary

  • validates the closed daemon-state plus host-port finding at the API boundary
  • adds canonical fixture coverage and hostile neutral-502 cases
  • binds V1 Docker port publication evidence to a strict host:private/protocol listener projection

Verification

  • npm run typecheck
  • npm run test:api
  • npm run test:contracts
  • npm run build

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 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-02T15:36:02.338456Z dd4ebc6 PR opened
ℹ️ 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.

@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: dd4ebc64ed

ℹ️ 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".

for (const candidate of nodes) {
if (!candidate || typeof candidate !== "object") return false;
const node = candidate as Record<string, unknown>;
if (typeof node.id !== "string" || nodesById.has(node.id)) return false;

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 runtime maps containing duplicate node IDs

When generated IDs collide or publication normalization collapses two IDs, this check rejects the entire /daemon/runtime/map response. The daemon intentionally preserves such records as visible but non-routable and emits a collision diagnostic (crates/dockermap-daemon/src/publication.rs:38-50; likewise crates/dockermap-core/src/snapshot_runtime.rs:711-720), so the API now hides both the topology and its diagnostic. Track duplicate IDs as ambiguous and reject port evidence only when its listener target is ambiguous, rather than rejecting the whole map.

Useful? React with 👍 / 👎.

@Joncallim
Joncallim force-pushed the codex/69-daemon-state-port-finding branch from cbcaab8 to 997ccae Compare September 2, 2026 17:08
@Joncallim
Joncallim force-pushed the codex/68-daemon-state-port-api branch 2 times, most recently from dd4ebc6 to 125c642 Compare September 2, 2026 17:09
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.

1 participant