Index of every page on this site: llms.txt
All skills
Run it yourself

Find bugs, security vulnerabilities, and code quality issues in local branch changes. Use when asked to review changes, find bugs, security review, or audit code on the current branch.

  • 37 files
  • 112 KB
  • Updated 7 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/generative-computing/mellea-skills-compiler/sentryfindbugsmellea

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

mapping_report.md

≈3.2k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Melleafy Mapping Report — sentry_find_bugs_mellea

Generated by melleafy 4.3.2 on 2026-04-30.


⚠ Auto-mode recap: This package was generated with --dependencies=auto.

Generated package at skills/sentry-find-bugs/sentry_find_bugs_mellea/

⚠ This package contains stubs and runtime-delegated dependencies.
  Stubs: 2 (C6 Tools)

See SETUP.md §8 for stubs to implement.
Re-run with --dependencies=ask to review defaults interactively.

1. Classification

Axis 1 — Reasoning Archetype: Type A — Analytical Pipeline (confidence: 0.92) Evidence: 5 VALIDATE_DOMAIN + EXTRACT elements identified across Phases 2–4, each feeding structured results to the next phase.

Axis 2 — Pipeline Shape: Sequential (5 phases) Rationale: Phase 1 (input gathering) feeds Phase 2 (attack surface mapping) feeds Phase 3 (security checklist) feeds Phase 4 (verification) feeds Phase 5 (pre-conclusion audit and report generation). Each phase's output is a prerequisite for the next.

Axis 3 — Tool Involvement: P4 — Tools provide input Rationale: The git diff is gathered by main.py:gather_diff via subprocess before run_pipeline is invoked. Within the pipeline, two callable parameters (search_fn, read_file_fn) provide optional repo-search and file-read capabilities as injectable dependencies.

Axis 4 — Source Runtime: agent_skills_std (score: 3.5; next: other runtimes < 0.5) Signals: --- YAML frontmatter with name: and description: fields (strong, 2.0); .md extension (medium, 1.0); model: frontmatter absent, single-file (weak, 0.5).

Axis 5 — Interaction Modality: synchronous_oneshot (inferred, confidence: 0.85) Rationale: No explicit modality declarations found. No session state, scheduling, or event signals. The skill takes a diff string and returns a FindingsReport — a single request-in, response-out pattern.

This is a five-phase analytical security review pipeline. The LLM performs structured attack surface extraction, per-file checklist evaluation, per-issue verification, and a final pre-conclusion audit before producing a FindingsReport. The two within-pipeline tool calls (search_fn, read_file_fn) are injectable stubs — the pipeline degrades gracefully when they raise NotImplementedError, falling back to diff-only analysis.


2. Decomposition Summary

Element counts by tag

Tag Count Source lines
NO_DECOMPOSE 3 spec.md:3, 8, 43
CONFIG 4 spec.md:2, 60, 62, 75
SCHEMA 4 spec.md:18-25, 29-39, 64-71 (×2 — IssueReport + inferred IssueVerdict)
EXTRACT 3 spec.md:14, 18-25 (×2 steps)
ORCHESTRATE 2 spec.md:13, 43
VALIDATE_DOMAIN 3 spec.md:29-39, 45 (×2 — m.instruct per file, per issue)
VALIDATE_OUTPUT 2 spec.md:51-56, 73
TOOL_INPUT 3 spec.md:12, 46, 47
Total 24 (21 inventory elements + 3 two-step expansions)

Coverage

  • Source file: spec.md (76 lines)
  • Non-blank, non-heading lines: 44
  • Lines represented in inventory: 44
  • Coverage ratio: 100% (44/44)

3. Element Mapping

config.py

Element Source Tag Category Symbol
elem_001 spec.md:2 CONFIG C8 SKILL_NAME
elem_016 spec.md:60 CONFIG — ISSUE_PRIORITY_ORDER
elem_017 spec.md:62 CONFIG — SKIP_STYLISTIC_ISSUES
elem_020 spec.md:75 CONFIG — READ_ONLY_MODE

Additional constants from C8 bundle: BACKEND, MODEL_ID, PREFIX_TEXT, LOOP_BUDGET.

schemas.py

Element Source Tag Category Symbol
elem_008 spec.md:18-25 SCHEMA — FileAttackSurface, AttackSurfaceMap
elem_010 spec.md:29-39 SCHEMA — SecurityCheckResult, SecurityChecklist
elem_018 spec.md:64-71 SCHEMA — IssueReport
(inferred) map_013 note SCHEMA — IssueVerdict (inferred from Phase 4 spec)
(derived) pipeline output SCHEMA — FindingsReport

slots.py

Element Source Tag Primitive Symbol
elem_006 spec.md:14 EXTRACT @generative extract_modified_files
elem_007-step1 spec.md:18-25 EXTRACT @generative extract_attack_surface_raw

pipeline.py

Element Source Tag Primitive Symbol
elem_005 spec.md:13 ORCHESTRATE Python control flow completeness guard in run_pipeline
elem_007-step2 spec.md:18-25 EXTRACT m.instruct(format=AttackSurfaceMap) inline in run_pipeline
elem_009 spec.md:29-39 VALIDATE_DOMAIN m.instruct(format=SecurityChecklist) inline in run_pipeline
elem_011 spec.md:43 ORCHESTRATE Python for-loop inline in run_pipeline
elem_012 spec.md:45 VALIDATE_DOMAIN m.instruct(format=IssueVerdict) inline in run_pipeline
elem_015 spec.md:51-56 VALIDATE_OUTPUT requirements= on final instruct audit_completeness_req applied
elem_019 spec.md:73 VALIDATE_OUTPUT requirements= on final instruct no_invented_issues_req applied

requirements.py

Element Source Tag Validation Kind Symbol
elem_015 spec.md:51-56 VALIDATE_OUTPUT executable audit_completeness_req
elem_019 spec.md:73 VALIDATE_OUTPUT llm_judged no_invented_issues_req

constrained_slots.py

Element Source Tag Disposition Symbol
elem_013 spec.md:46 TOOL_INPUT stub search_fn
elem_014 spec.md:47 TOOL_INPUT stub read_file_fn

main.py

Element Source Tag Disposition Symbol
elem_004 spec.md:12 TOOL_INPUT real_impl gather_diff

4. Judgment Calls

map_020 / elem_019 — VALIDATE_OUTPUT semantic classification

Tag: VALIDATE_OUTPUT | Decision axis: semantic-vs-executable | Outcome: llm_judged

The spec line "If you find nothing significant, say so — don't invent issues" expresses a semantic anti-hallucination constraint. The phrase-match heuristic (accurate, appropriate, reasonable, matches the spirit of) returned inconclusive because the content uses a different phrasing ("don't invent"). The LLM classifier determined that whether a report "invents" issues requires understanding what constitutes a genuine security finding versus a fabricated one — a judgment that a Python predicate cannot reliably encode. The resulting Requirement(description=...) in requirements.py is evaluated by the mellea IVR loop using the LLM.


5. Removed During Audit

No elements were removed during the dependency audit. All four C6 TOOL_INPUT elements were retained with dispositions assigned (real_impl for gather_diff, stub for search_fn and read_file_fn).

Note: map_014 and map_015 were amended (not removed) — their final_target_file changed from main.py to constrained_slots.py when the Step 2.5d stub disposition routing was applied.


6. Provenance Appendix

7. Source file contributions

spec.md (sole source file, 76 lines total):

Source range Element(s) Role
1–4 (frontmatter) elem_001, elem_002 C8 SKILL_NAME config + NO_DECOMPOSE description
8 elem_003 NO_DECOMPOSE — purpose overview
12 elem_004 TOOL_INPUT — git diff command (P4 pre-pipeline)
13 elem_005 ORCHESTRATE — completeness guard
14 elem_006 EXTRACT — list modified files
18–25 elem_007 (steps 1+2), elem_008 EXTRACT two-step + SCHEMA (AttackSurfaceMap)
27 (section heading — NO_DECOMPOSE) Phase 3 header
29–39 elem_009, elem_010 VALIDATE_DOMAIN + SCHEMA (SecurityChecklist/SecurityCheckResult)
41 (section heading — NO_DECOMPOSE) Phase 4 header
43 elem_011 ORCHESTRATE — Phase 4 loop header
45 elem_012 VALIDATE_DOMAIN — already-handled check
46 elem_013 TOOL_INPUT — search for tests (stub)
47 elem_014 TOOL_INPUT — read file context (stub)
49 (section heading — NO_DECOMPOSE) Phase 5 header
51–56 elem_015 VALIDATE_OUTPUT — pre-conclusion completeness audit
58 (section heading — NO_DECOMPOSE) Output Format header
60 elem_016 CONFIG — ISSUE_PRIORITY_ORDER
62 elem_017 CONFIG — SKIP_STYLISTIC_ISSUES
64–71 elem_018 SCHEMA — IssueReport
73 elem_019 VALIDATE_OUTPUT — no-invention requirement
75 elem_020 CONFIG — READ_ONLY_MODE

8. Runtime-specific constructs not reproduced

agent_skills_std dialect — model: frontmatter key: The spec does not declare a model: field. If present in an agent_skills_std spec, melleafy reads it as a C8 override for MODEL_ID. Because it is absent here, MODEL_ID is sourced from the compile pipeline's runtime defaults (granite4.1:3B).

agent_skills_std dialect — activeHours: / isolatedSession:: These OpenClaw-specific directives are not declared in the source spec and are not reproduced. If required, configure them at the host runtime layer.

9. Detected but not handled (deferred)

No deferred features detected. The spec uses only constructs supported in melleafy v1: sequential phases, @generative slot extraction, m.instruct structured output, Requirement-based validation, and injectable callable parameters for tool operations.


End of mapping report.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 3cb711d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 7 months ago

README badge

README badge for generative-computing/mellea-skills-compiler/sentryfindbugsmellea