-
Notifications
You must be signed in to change notification settings - Fork 0
Update name from wallet stake permission to Wallet permission #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
57120e2
569d2c8
37146a4
ecc3431
1e3b4a7
f0a8cd5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,6 +43,7 @@ export default defineConfig({ | |
| { label: "Wallet Stake Permission", slug: "explanations/system/wallet-stake-permission" }, | ||
| { label: "Stream Permissions", slug: "explanations/system/stream-permissions" }, | ||
| { label: "Capability Permissions", slug: "explanations/system/capability-permissions" }, | ||
| { label: "Wallet Permission", slug: "explanations/system/wallet-stake-permission" }, | ||
| ], | ||
| }, | ||
| { | ||
|
|
@@ -91,6 +92,7 @@ export default defineConfig({ | |
| { label: "Create Stream Permission", slug: "how-to-guides/system/create-stream-permission" }, | ||
| { label: "Create Wallet Stake Permission", slug: "how-to-guides/system/create-wallet-stake-permission" }, | ||
| { label: "Manage Permissions", slug: "how-to-guides/system/manage-permissions" }, | ||
| { label: "Create Wallet Permission", slug: "how-to-guides/system/create-wallet-stake-permission" }, | ||
| ], | ||
|
Comment on lines
+95
to
96
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainSidebar duplicate under How‑to Guides → System. Same slug appears twice. Update the old label and drop the new one. - { label: "Create Wallet Stake Permission", slug: "how-to-guides/system/create-wallet-stake-permission" },
+ { label: "Create Wallet Permission", slug: "how-to-guides/system/create-wallet-stake-permission" },
{ label: "Manage Permissions", slug: "how-to-guides/system/manage-permissions" },
- { label: "Create Wallet Permission", slug: "how-to-guides/system/create-wallet-stake-permission" },Quick check for mismatched slugs (“stream-permissions” vs “emission-permissions” used elsewhere): 🏁 Script executed: #!/bin/bash
rg -nP 'explanations/system/(stream-permissions|emission-permissions)'Length of output: 942 Sidebar duplicate under How‑to Guides → System + mismatched explanation slugs
🤖 Prompt for AI Agents |
||
| }, | ||
| { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,6 +28,7 @@ Core system components and mechanisms: | |
| - [Wallet Stake Permission](https://docs.torus.network/explanations/system/wallet-stake-permission/) — Secure cold-hot wallet staking delegation | ||
| - [Stream Permissions](https://docs.torus.network/explanations/system/emission-permissions/) — How emissions are allocated and controlled | ||
| - [Capability Permissions](https://docs.torus.network/explanations/system/capability-permissions/) — Fine-grained access control for agent endpoints | ||
| - [Wallet Permission](https://docs.torus.network/explanations/system/wallet-stake-permission/) — Secure cold-hot wallet staking delegation | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainDuplicate item: consolidate “Wallet Stake Permission” and “Wallet Permission.” Two entries point to the same slug. Replace the old label and remove the new duplicate. - - [Wallet Stake Permission](https://docs.torus.network/explanations/system/wallet-stake-permission/) — Secure cold-hot wallet staking delegation
- - [Stream Permissions](https://docs.torus.network/explanations/system/emission-permissions/) — How emissions are allocated and controlled
- - [Capability Permissions](https://docs.torus.network/explanations/system/capability-permissions/) — Fine-grained access control for agent endpoints
- - [Wallet Permission](https://docs.torus.network/explanations/system/wallet-stake-permission/) — Secure cold-hot wallet staking delegation
+ - [Wallet Permission](https://docs.torus.network/explanations/system/wallet-stake-permission/) — Secure cold-hot wallet staking delegation
+ - [Stream Permissions](https://docs.torus.network/explanations/system/emission-permissions/) — How emissions are allocated and controlled
+ - [Capability Permissions](https://docs.torus.network/explanations/system/capability-permissions/) — Fine-grained access control for agent endpointsTo ensure no other duplicates remain: 🏁 Script executed: #!/bin/bash
rg -nP 'Wallet Stake Permission|Create Wallet Stake Permission|Wallet Permission' -g '!**/node_modules/**'Length of output: 148 🏁 Script executed: #!/bin/bash
# Robust re-check for duplicate "Wallet Stake Permission"/"Wallet Permission" entries and show TOC snippet if present.
echo "PWD: $(pwd)"
echo
echo "== Locate likely TOC files =="
if command -v fd >/dev/null 2>&1; then
fd -HI -e mdx -g '*table*contents*.mdx' || true
else
echo "fd not installed"
fi
echo
echo "== ripgrep (ignore VCS ignores) =="
if command -v rg >/dev/null 2>&1; then
rg -n --hidden -S --no-ignore-vcs 'Wallet Stake Permission|Wallet Permission' || true
else
echo "rg not installed"
fi
echo
echo "== grep fallback =="
grep -nR --exclude-dir=node_modules -e 'Wallet Stake Permission' -e 'Wallet Permission' . || true
echo
TARGET="src/content/docs/explanations/table-of-contents.mdx"
echo "== Show snippet of $TARGET if exists =="
if [ -f "$TARGET" ]; then
sed -n '1,120p' "$TARGET"
else
echo "$TARGET not found"
fiLength of output: 10283 Remove duplicate "Wallet Stake Permission" entries — keep canonical label "Wallet Permission"
🤖 Prompt for AI Agents |
||
|
|
||
| --- | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -28,6 +28,7 @@ If you're managing permissions and system-level coordination: | |||||||
| - [Create Stream Permission](https://docs.torus.network/how-to-guides/system/create-stream-permission/) — Share token emission streams with other agents | ||||||||
| - [Create Wallet Stake Permission](https://docs.torus.network/how-to-guides/system/create-wallet-stake-permission/) — Enable secure cold-hot wallet staking delegation | ||||||||
| - [Manage Permissions](https://docs.torus.network/how-to-guides/system/manage-permissions/) — View, edit, and revoke existing permission delegations | ||||||||
| - [Create Wallet Permission](https://docs.torus.network/how-to-guides/system/create-wallet-stake-permission/) — Enable secure cold-hot wallet staking delegation | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Duplicate TOC entry: keep one “Create Wallet Permission.” Both “Create Wallet Stake Permission” (Line 29) and “Create Wallet Permission” (Line 31) point to the same slug. Remove the old label to avoid duplicate nav. - - [Create Wallet Stake Permission](https://docs.torus.network/how-to-guides/system/create-wallet-stake-permission/) — Enable secure cold-hot wallet staking delegation
- - [Manage Permissions](https://docs.torus.network/how-to-guides/system/manage-permissions/) — View, edit, and revoke existing permission delegations
- - [Create Wallet Permission](https://docs.torus.network/how-to-guides/system/create-wallet-stake-permission/) — Enable secure cold-hot wallet staking delegation
+ - [Manage Permissions](https://docs.torus.network/how-to-guides/system/manage-permissions/) — View, edit, and revoke existing permission delegations
+ - [Create Wallet Permission](https://docs.torus.network/how-to-guides/system/create-wallet-stake-permission/) — Enable secure cold-hot wallet staking delegation📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||
|
|
||||||||
| --- | ||||||||
|
|
||||||||
|
|
||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sidebar duplicate under Explanations → System.
Two items point to the same slug; keep one labeled “Wallet Permission.”
📝 Committable suggestion
🤖 Prompt for AI Agents