Skip to content

Commit 8565614

Browse files
Merge pull request #31 from foundersandcoders/metis/whitelist-definitions
Domain Whitelist Configuration for Research
2 parents 125797d + 7994312 commit 8565614

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2811
-153
lines changed

.claude/commands/git/commit.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
description: Generate a commit message. If no files commited, commit all changes.
3+
argument-hint: [pig note]
4+
# allowed-tools:
5+
model: claude-sonnet-4-5-20250929
6+
disable-model-invocation: true
7+
---
8+
9+
<overview>
10+
Follow the instructions in `<steps>`
11+
</overview>
12+
<steps>
13+
<step-1>
14+
Check if there are currently staged changes and then...
15+
1. ...if no changes are staged, stage all changes.
16+
2. ...if changes are staged, do not stage additional changes.
17+
</step-1>
18+
<step-2>
19+
Generate a commit message for staged changes according to `<template>`
20+
</step-2>
21+
<step-3>
22+
Show me the message and await approval. Then...
23+
1. ...if I approve, push the commit to upstream
24+
2. ...if I request changes, incorporate them and repeat `<step-3>`
25+
</step-3>
26+
</steps>
27+
<guidance>
28+
1. `pig` is a user-defined language for taking notes.
29+
</guidance>
30+
<template>
31+
<first-line>
32+
<type>
33+
required; [reference](https://gist.github.com/qoomon/5dfcdf8eec66a051ecd85625518cfd13#types)
34+
</type>
35+
<scope>
36+
optional; [reference](https://www.conventionalcommits.org/en/v1.0.0/#specification)
37+
</scope>
38+
<breaking-change>
39+
required if relevant; [reference](https://gist.github.com/qoomon/5dfcdf8eec66a051ecd85625518cfd13#breaking-changes-indicator)
40+
</breaking-change>
41+
<desc>
42+
required; [reference](https://gist.github.com/qoomon/5dfcdf8eec66a051ecd85625518cfd13#description)
43+
</desc>
44+
</first-line>
45+
<body>
46+
optional; [reference](https://gist.github.com/qoomon/5dfcdf8eec66a051ecd85625518cfd13#body)
47+
</body>
48+
<pig>
49+
Omit if no arguments passed; if used, insert `<pig-block>` exactly
50+
<pig-block>
51+
```pig
52+
{ "inbox": $ARGUMENTS }
53+
```
54+
</pig-block>
55+
</pig>
56+
<footer>
57+
omit if no breaking changes; [reference](https://gist.github.com/qoomon/5dfcdf8eec66a051ecd85625518cfd13#footer)
58+
</footer>
59+
</template>
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
description: Create a pull request for current branch
3+
argument-hint: [note to include in pig block]
4+
# allowed-tools:
5+
model: claude-sonnet-4-5-20250929
6+
# disable-model-invocation:
7+
---
8+
9+
<overview>
10+
Follow the instructions in `<steps>`
11+
</overview>
12+
<role>
13+
You are...
14+
</role>
15+
<steps>
16+
1. Look at the commits on this branch
17+
2. Analyse the overall effect of these changes if merged into `main`
18+
3. Use `<template>` to write the content of a pull request
19+
4. Check for my approval, then...
20+
4.1. ...if I approve, create the PR to `main`
21+
4.2. ...if I don't approve, incorporate my changes then repeat step 3
22+
</steps>
23+
<rules>
24+
<title-rules>
25+
1. brief & descriptive
26+
2. use title case
27+
3. be understandable to non-devs
28+
</title-rules>
29+
<tldr-rules>
30+
1. list any steps devs have to take after pulling this down
31+
</tldr-rules>
32+
<changes-rules>
33+
1. Break your changes into either files or categories, depending on how wide-ranging the PR is.
34+
<changes-examples>
35+
<changes-example-1>
36+
`<details>
37+
<summary><strong>{{ Category }}</strong></summary>
38+
{{ Brief description of changes }}
39+
- {{ details in bullet points, if necessary}}
40+
</details>`
41+
</changes-example-1>
42+
<changes-example-2>
43+
`<details>
44+
<summary><code>{{ filepath }}</code></summary>
45+
{{ Brief description of changes }}
46+
- {{ details in bullet points, if necessary}}
47+
</details>`
48+
</changes-example-2>
49+
</changes-examples>
50+
</changes-rules>
51+
<summary-rules>
52+
1. Describe this PR with a non-technical and absurd metaphor
53+
</summary-rules>
54+
<pig-rules>
55+
1. if arguments are passed, include `<pig-block>` (including backticks & language specifier)
56+
<pig-block>
57+
```pig
58+
{
59+
"inbox": "$ARGUMENTS"
60+
}
61+
```
62+
</pig-block>
63+
<pig-rules>
64+
</rules>
65+
<template>
66+
```md
67+
# {{ see `<title-rules>` }}
68+
## Overview
69+
{{ see `<overview-rules>` }}
70+
> [!TIP]
71+
> {{ see `<tldr-rules>` }}
72+
## Changes
73+
{{ see `<changes-rules>` }}
74+
---
75+
## Summary
76+
{{ Describe this PR with a non-technical and absurd metaphor }}
77+
{{ see `<pig-rules>` }}
78+
```
79+
</template>
80+
<guidance>
81+
1. `pig` is a user-defined language for making notes
82+
</guidance>

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,42 @@ Open **http://localhost:5173** to start using Rhea.
227227
</div>
228228
</details>
229229

230+
<details><summary>🌐 Domain Configuration</summary>
231+
<div>
232+
<p>Control which websites Claude can research during generation:</p>
233+
234+
<h4>Predefined Lists</h4>
235+
<ul>
236+
<li><strong>AI Engineering</strong> - Curated list of 29 trusted sources (vendor docs, GitHub, Stack Overflow, academic papers)</li>
237+
<li><strong>No Restrictions</strong> - Allow research on any domain</li>
238+
</ul>
239+
240+
<h4>Custom Domains</h4>
241+
<p>Add your own domains to the allowlist:</p>
242+
<ul>
243+
<li><code>example.com</code> - Standard domain</li>
244+
<li><code>*.github.com</code> - Wildcard for all subdomains</li>
245+
<li><code>example.com/blog</code> - Specific path within domain</li>
246+
</ul>
247+
248+
<h4>In Metis (Standalone Modules)</h4>
249+
<ul>
250+
<li>Select domain list or "No Restrictions"</li>
251+
<li>Add custom domains as needed</li>
252+
<li>Configuration in "Advanced Research Options"</li>
253+
</ul>
254+
255+
<h4>In Themis (Course Builder)</h4>
256+
<p>Hierarchical configuration at three levels:</p>
257+
<ul>
258+
<li><strong>Course Level</strong> - Set for entire course, or configure per arc</li>
259+
<li><strong>Arc Level</strong> - Set for all modules in arc, or configure per module</li>
260+
<li><strong>Module Level</strong> - Enable or disable research</li>
261+
</ul>
262+
<p>Child configurations inherit from parent unless explicitly overridden.</p>
263+
</div>
264+
</details>
265+
230266
<details><summary>✅ Schema Validation</summary>
231267
<div>
232268
<p>All generated modules are automatically validated against requirements:</p>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)