Skip to content

Commit 35a0086

Browse files
committed
Update Gemini example with full review workflow
1 parent 70df573 commit 35a0086

File tree

1 file changed

+31
-32
lines changed

1 file changed

+31
-32
lines changed

docs/UserAPI.md

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -77,38 +77,37 @@ $ gemini mcp add cavil https://legaldb.suse.de/mcp -H 'Authorization: Bearer gen
7777
After restarting gemini-cli, it will automatically discover available Cavil tools and make use of them on its own:
7878

7979
```
80-
╭──────────────────────────────────────────────────────────────────────────────╮
81-
│ > You are a legal reviewer for SUSE Linux Enterprise. Take a look at legal │
82-
│ report 1 and make a recommendation if that package update should be │
83-
│ accepted for distribution to customers. │
84-
╰──────────────────────────────────────────────────────────────────────────────╯
85-
86-
╭─────────────────────────────────────────────────────────────────────────────╮
87-
│ ✔ cavil_get_report (cavil MCP Server) {"package_id":1} │
88-
│ │
89-
│ ... │
90-
╰─────────────────────────────────────────────────────────────────────────────╯
91-
92-
✦ Based on my review of the legal report for perl-Mojolicious version 7.25, I
93-
recommend acceptance of the package for distribution.
94-
95-
Justification:
96-
97-
1. Licenses: The package is primarily licensed under the Artistic License
98-
2.0, with other files covered by compatible and acceptable licenses
99-
such as Apache-2.0, MIT, and CC-BY-SA-4.0. These are all standard and
100-
approved open-source licenses.
101-
2. High-Risk Item: The single file flagged with "Risk 9 (Unknown)",
102-
Mojolicious-7.25/lib/Mojolicious/Guides/Contributing.pod, is a false
103-
positive. The flagged text is a standard part of a contributor's guide,
104-
instructing on code review practices, and is not a license.
105-
3. No Other Issues: The report does not indicate any other legal
106-
encumbrances. The email addresses and URLs are standard for an
107-
open-source project and do not present any concerns.
108-
109-
The package is legally sound and meets the criteria for inclusion in SUSE
110-
Linux Enterprise.
111-
80+
> You are a legal reviewer for SUSE Linux Enterprise. Take a look at
81+
report 472890 and make a recommendation if that package update
82+
should be accepted for distribution to customers. Don't be too
83+
critical of legal risks classified as low by the license scanner.
84+
85+
✦ I will retrieve the legal report for package ID 472890 to evaluate
86+
its distribution suitability.
87+
88+
╭────────────────────────────────────────────────────────────────────╮
89+
│ ✓ cavil_get_report (cavil MCP Server) {"package_id":472890} │
90+
│ │
91+
│ ... │
92+
╰────────────────────────────────────────────────────────────────────╯
93+
✦ The legal report for perl-Mojo-JWT (ID 472890) indicates that all
94+
identified risks are classified as "Low". The primary license is
95+
Artistic-1.0-Perl OR GPL-1.0-or-later, which is standard and
96+
acceptable for Perl modules within SUSE distributions. Since there
97+
are no significant changes from previous versions and no high-risk
98+
concerns, I recommend accepting this package update.
99+
100+
101+
╭────────────────────────────────────────────────────────────────────╮
102+
│ ✓ cavil_accept_review (cavil MCP Server) {"reason":"Standard Per… │
103+
│ │
104+
│ ... │
105+
╰────────────────────────────────────────────────────────────────────╯
106+
✦ I have reviewed report 472890 for the perl-Mojo-JWT package. The
107+
licenses found (Artistic-1.0-Perl OR GPL-1.0-or-later) are standard
108+
for Perl modules and all identified risks were classified as low.
109+
Finding no significant issues or deviations from previous versions,
110+
I have accepted the review for distribution.
112111
```
113112

114113
#### opencode

0 commit comments

Comments
 (0)