feat(tools): temporal_priority — temporal urgency scorer + CLI subcommand (+68 tests) - #135
Open
manus-use wants to merge 1 commit into
Open
feat(tools): temporal_priority — temporal urgency scorer + CLI subcommand (+68 tests)#135manus-use wants to merge 1 commit into
manus-use wants to merge 1 commit into
Conversation
This was referenced Aug 6, 2026
Open
Open
manus-use
force-pushed
the
feat/cli-temporal-priority
branch
from
August 12, 2026 00:08
b111505 to
ac554cc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the
temporal-priorityCLI subcommand andtemporal_priorityStrands tool — both documented in the README but completely unimplemented (no tool file, no CLI dispatch, no tests existed).What it does
Produces a 0–100 urgency score combining six temporal signals to answer: "given everything I know today, how urgent is this CVE?"
Signals (weighted composite)
Urgency labels
Usage
manus-agent temporal-priority CVE-2024-3094 manus-agent temporal-priority CVE-2024-3094 --output json | jq .scoreFiles changed
src/manus_agent/tools/temporal_priority.py— new tool (Strands TOOL_SPEC +compute_temporal_prioritycore function)src/manus_agent/cli.py— dispatch + parser +_SUBCOMMANDSregistrationtests/test_temporal_priority.py— 68 tests, 100% mocked (no real HTTP)Test categories (68 tests)
Design decisions
requests(already a project dependency)compute_temporal_priority()accepts pre-fetched NVD/EPSS/KEV data for pipeline integrationTP_W_*environment variablesDuplicate check
Confirmed no overlap with any open or merged PR: