Skip to content

docs(openspec): plan #2646 fix network table low-risk color - #3150

Merged
dan-petty merged 4 commits into
mainfrom
fix/2646-the-network-table-colors-a-safe
Nov 2, 2026
Merged

dan-petty merged 4 commits into
mainfrom
fix/2646-the-network-table-colors-a-safe

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Plans #2646

The table of network references shows the safe status "✓ Safe / Low Risk" in red, because the red rule in tables.py matches any status with "RISK". This plan makes the rule stop at a status with "LOW", the same words that the sort rank in reference_extractor.py uses. "Low Risk" then shows green. The warning sign, "MALICIOUS" and "High Risk" stay red. The plan adds one requirement to threat-intel-lookup-outcome, one test file and one change to tables.py. A later pull request delivers the code for this issue and cites its fail-to-pass run.

Change: openspec/changes/2646-the-network-table-colors-a-safe/

🤖 Generated with Claude Code

https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 2, 2026 04:57

Copy link
Copy Markdown
Owner

Review of the plan for #2646. CI is green and the premise holds (tables.py:214 checks "RISK" with no LOW exclusion). Findings, most important first:

  1. Spec operation. specs/console-output/spec.md uses ## ADDED Requirements, but openspec/specs/console-output/spec.md already exists. Compare the two files. If a requirement already covers status colors, use MODIFIED so the archive does not conflict.
  2. Rule in two places. The RISK/LOW rule would now be written in tables.py and in _network_security_severity_rank (reference_extractor.py). Either share one helper or say in design.md why not (AGENTS.md rule 11, fix the cause at its source).
  3. Edge case not stated. Any status that holds LOW and RISK turns green, for example "LOW CONFIDENCE RISK". The review report has the same limit. Name it in the spec or the design.
  4. Tracking line. The "Workflow follow-up" section in tasks.md is a tracking item, not a task (rule 8). Remove it.
  5. Rule 3 cost. "Existing Tool Considered" gives no token or time figures. Add them.
  6. Rule 1. The PR says Plans #2646. Confirm that a separate fix PR with Closes #2646 is intended, and that it will cite the fail-to-pass run.

Related open issue: #2646 (the one this plan serves). No other open issue covers this.

Verdict: hold until items 1 and 4 are fixed.


Generated by Claude Code

Copy link
Copy Markdown
Owner

Correction to my earlier review: finding 4 is wrong. openspec/config.yaml (tasks rules) says a change that alters code may end with the plain bullet "Pending a person: review the diff in tuicr (tuicr -r ..HEAD)." That is allowed under "## Workflow follow-up", so do not remove it. My other findings stand.


Generated by Claude Code

Move the spec delta to threat-intel-lookup-outcome, which already holds
the table color rules, and drop the Unchecked requirement it repeated.
Name the real source of the LOW exclusion (the sort rank), say why the
rule is not shared, and name the edge case of a status with LOW and RISK.
Add a trial of the plan to Feasibility and a cost in tokens and time.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
@dan-petty
dan-petty merged commit e6a2cf2 into main Nov 2, 2026
19 checks passed
@dan-petty
dan-petty deleted the fix/2646-the-network-table-colors-a-safe branch November 2, 2026 16:27
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