Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
0302eb4
Sync AGENTS.md from testnet
Dec 6, 2025
ef943e6
feat(storage): add GCR_StorageProgram entity for unified storage
Jan 13, 2026
33887e7
feat(storage): add StorageProgram confirm/broadcast flow handlers
Jan 13, 2026
4e3e959
feat(storage): add StorageProgram RPC endpoints and ACL read check
Jan 14, 2026
f4d9837
added storage programs docs
Jan 14, 2026
11790a7
added ipfs stubs
Jan 14, 2026
633614b
docs(storage): add comprehensive SDK examples for StorageProgram
Jan 14, 2026
0315450
fix(storage): ACL permission fixes and error handling improvements
Jan 14, 2026
9173350
fix(storage): address CodeRabbit review findings
Jan 14, 2026
bc5a7a5
fix(storage): validate stor- address format for storageProgram transa…
Jan 15, 2026
ab2ca93
feat(storage): add search by name endpoint with partial matching
Jan 15, 2026
54c79f4
feat(gcr): track assignedTxs for all successful transactions
Jan 15, 2026
233984b
feat(storage): implement granular storage program API
Jan 18, 2026
107f8c8
docs(specs): add granular storage API specifications
Jan 19, 2026
8c7b774
docs: add Serena session memories and key derivation spec
Jan 19, 2026
2a36b5d
ignores
Jan 19, 2026
aa8b5e4
added trunk config
Jan 21, 2026
04cb83b
trunk first linting
Jan 21, 2026
1573b46
standardized linting, prettier stuff, trunk and checks
Jan 21, 2026
fbdfece
linting
Jan 21, 2026
9f2d72b
beads update
Jan 28, 2026
521ab03
updated memories and contextual mapping
Feb 13, 2026
a12adfe
Merge branch 'main' into storage_v2
Feb 13, 2026
af8cf1d
merge
Feb 13, 2026
6a9f4c7
Add Trunk tool configuration and logs, update various documentation f…
Feb 13, 2026
c0f718d
docs included
Feb 13, 2026
2395f60
fixed docs location
Feb 13, 2026
158f052
Add stress and validation tests for StorageProgram functionality
Shitikyan Feb 20, 2026
63a4294
Enhance StorageProgram response format to include ACL and data fields
Shitikyan Feb 23, 2026
bbf05d7
set nonce as nullable
cwilvx Feb 26, 2026
8b74b14
Merge branch 'testnet' of https://github.com/kynesyslabs/node into st…
Shitikyan Mar 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .beads/.local_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.49.1
0.49.6
1 change: 1 addition & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
This project is the Demos Network node/RPC implementation. We use **bd (beads)** for all task tracking.

**Key Features:**

- Dependency-aware issue tracking
- Auto-sync with Git via JSONL
- AI-optimized CLI with JSON output
Expand Down
114 changes: 57 additions & 57 deletions .github/workflows/claude-merge-fix.yml
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
name: Preserve Claude Memory Files

on:
push:
branches: ['**']
push:
branches: ["**"]

jobs:
preserve-claude:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
token: ${{ secrets.GITHUB_TOKEN }}
preserve-claude:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
token: ${{ secrets.GITHUB_TOKEN }}

- name: Check if this was a merge commit
id: check_merge
run: |
if git log -1 --pretty=format:"%P" | grep -q " "; then
echo "is_merge=true" >> $GITHUB_OUTPUT
echo "✅ Detected merge commit"
else
echo "is_merge=false" >> $GITHUB_OUTPUT
exit 0
fi
- name: Check if this was a merge commit
id: check_merge
run: |
if git log -1 --pretty=format:"%P" | grep -q " "; then
echo "is_merge=true" >> $GITHUB_OUTPUT
echo "✅ Detected merge commit"
else
echo "is_merge=false" >> $GITHUB_OUTPUT
exit 0
fi

- name: Check for .claude changes in merge
if: steps.check_merge.outputs.is_merge == 'true'
id: check_claude
run: |
if git log -1 --name-only | grep -q "^\.claude/"; then
echo "claude_changed=true" >> $GITHUB_OUTPUT
echo "🚨 .claude files were modified in merge - will revert!"
else
echo "claude_changed=false" >> $GITHUB_OUTPUT
exit 0
fi
- name: Check for .claude changes in merge
if: steps.check_merge.outputs.is_merge == 'true'
id: check_claude
run: |
if git log -1 --name-only | grep -q "^\.claude/"; then
echo "claude_changed=true" >> $GITHUB_OUTPUT
echo "🚨 .claude files were modified in merge - will revert!"
else
echo "claude_changed=false" >> $GITHUB_OUTPUT
exit 0
fi

- name: Revert .claude to pre-merge state
if: steps.check_merge.outputs.is_merge == 'true' && steps.check_claude.outputs.claude_changed == 'true'
run: |
CURRENT_BRANCH=$(git branch --show-current)
echo "🔄 Reverting .claude/ to pre-merge state on $CURRENT_BRANCH"

MERGE_BASE=$(git log -1 --pretty=format:"%P" | cut -d' ' -f1)
git checkout $MERGE_BASE -- .claude/ 2>/dev/null || echo "No .claude in base commit"

git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

if git diff --staged --quiet; then
git add .claude/
fi

if ! git diff --cached --quiet; then
git commit -m "🔒 Preserve branch-specific .claude files
- name: Revert .claude to pre-merge state
if: steps.check_merge.outputs.is_merge == 'true' && steps.check_claude.outputs.claude_changed == 'true'
run: |
CURRENT_BRANCH=$(git branch --show-current)
echo "🔄 Reverting .claude/ to pre-merge state on $CURRENT_BRANCH"

Reverted .claude/ changes from merge to keep $CURRENT_BRANCH version.
[skip ci]"

git push origin $CURRENT_BRANCH
echo "✅ Successfully preserved $CURRENT_BRANCH .claude files"
else
echo "ℹ️ No changes to revert"
fi
MERGE_BASE=$(git log -1 --pretty=format:"%P" | cut -d' ' -f1)
git checkout $MERGE_BASE -- .claude/ 2>/dev/null || echo "No .claude in base commit"

git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

if git diff --staged --quiet; then
git add .claude/
fi

if ! git diff --cached --quiet; then
git commit -m "🔒 Preserve branch-specific .claude files

Reverted .claude/ changes from merge to keep $CURRENT_BRANCH version.
[skip ci]"

git push origin $CURRENT_BRANCH
echo "✅ Successfully preserved $CURRENT_BRANCH .claude files"
else
echo "ℹ️ No changes to revert"
fi
58 changes: 29 additions & 29 deletions .github/workflows/claude-merge-notify.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
name: Claude PR Warning

on:
pull_request:
branches: ['**']
types: [opened, synchronize]
pull_request:
branches: ["**"]
types: [opened, synchronize]

jobs:
claude-warning:
runs-on: ubuntu-latest
steps:
- name: Checkout PR
uses: actions/checkout@v4
with:
fetch-depth: 0
claude-warning:
runs-on: ubuntu-latest
steps:
- name: Checkout PR
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Check for .claude changes
run: |
echo "🔍 Checking if PR touches .claude/ files..."

if git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -q "^\.claude/"; then
echo "⚠️ This PR modifies .claude/ files"

COMMENT_BODY="⚠️ **Claude Memory Files Detected**
- name: Check for .claude changes
run: |
echo "🔍 Checking if PR touches .claude/ files..."

This PR modifies \`.claude/\` files. After merge, these changes will be **automatically reverted** to preserve branch-specific Claude conversation context.
if git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -q "^\.claude/"; then
echo "⚠️ This PR modifies .claude/ files"

COMMENT_BODY="⚠️ **Claude Memory Files Detected**

**Files that will be reverted:**
$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep '^\.claude/' | sed 's/^/- /' | head -10)
This PR modifies \`.claude/\` files. After merge, these changes will be **automatically reverted** to preserve branch-specific Claude conversation context.

This is expected behavior to keep Claude conversation context branch-specific. ✅"

gh pr comment ${{ github.event.number }} --body "$COMMENT_BODY" || echo "Could not post comment"
else
echo "✅ No .claude files affected"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
**Files that will be reverted:**
$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep '^\.claude/' | sed 's/^/- /' | head -10)

This is expected behavior to keep Claude conversation context branch-specific. ✅"

gh pr comment ${{ github.event.number }} --body "$COMMENT_BODY" || echo "Could not post comment"
else
echo "✅ No .claude files affected"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116 changes: 58 additions & 58 deletions .github/workflows/fix-beads-conflicts.yml
Original file line number Diff line number Diff line change
@@ -1,73 +1,73 @@
name: Preserve Branch-Specific Beads Files

on:
push:
branches: ['**']
push:
branches: ["**"]

jobs:
preserve-beads:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
token: ${{ secrets.GITHUB_TOKEN }}
preserve-beads:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
token: ${{ secrets.GITHUB_TOKEN }}

- name: Check if this was a merge commit
id: check_merge
run: |
if git log -1 --pretty=format:"%P" | grep -q " "; then
echo "is_merge=true" >> $GITHUB_OUTPUT
echo "✅ Detected merge commit"
else
echo "is_merge=false" >> $GITHUB_OUTPUT
exit 0
fi
- name: Check if this was a merge commit
id: check_merge
run: |
if git log -1 --pretty=format:"%P" | grep -q " "; then
echo "is_merge=true" >> $GITHUB_OUTPUT
echo "✅ Detected merge commit"
else
echo "is_merge=false" >> $GITHUB_OUTPUT
exit 0
fi

- name: Check for .beads changes in merge
if: steps.check_merge.outputs.is_merge == 'true'
id: check_beads
run: |
if git log -1 --name-only | grep -qE "^\.beads/(issues\.jsonl|deletions\.jsonl|metadata\.json)$"; then
echo "beads_changed=true" >> $GITHUB_OUTPUT
echo "🚨 .beads files were modified in merge - will revert!"
else
echo "beads_changed=false" >> $GITHUB_OUTPUT
exit 0
fi
- name: Check for .beads changes in merge
if: steps.check_merge.outputs.is_merge == 'true'
id: check_beads
run: |
if git log -1 --name-only | grep -qE "^\.beads/(issues\.jsonl|deletions\.jsonl|metadata\.json)$"; then
echo "beads_changed=true" >> $GITHUB_OUTPUT
echo "🚨 .beads files were modified in merge - will revert!"
else
echo "beads_changed=false" >> $GITHUB_OUTPUT
exit 0
fi

- name: Revert .beads to pre-merge state
if: steps.check_merge.outputs.is_merge == 'true' && steps.check_beads.outputs.beads_changed == 'true'
run: |
CURRENT_BRANCH=$(git branch --show-current)
echo "🔄 Reverting .beads/ issue tracking files to pre-merge state on $CURRENT_BRANCH"
- name: Revert .beads to pre-merge state
if: steps.check_merge.outputs.is_merge == 'true' && steps.check_beads.outputs.beads_changed == 'true'
run: |
CURRENT_BRANCH=$(git branch --show-current)
echo "🔄 Reverting .beads/ issue tracking files to pre-merge state on $CURRENT_BRANCH"

# Get the first parent (target branch before merge)
MERGE_BASE=$(git log -1 --pretty=format:"%P" | cut -d' ' -f1)
# Get the first parent (target branch before merge)
MERGE_BASE=$(git log -1 --pretty=format:"%P" | cut -d' ' -f1)

# Restore specific .beads files from the target branch's state before merge
git checkout $MERGE_BASE -- .beads/issues.jsonl 2>/dev/null || echo "No issues.jsonl in base commit"
git checkout $MERGE_BASE -- .beads/deletions.jsonl 2>/dev/null || echo "No deletions.jsonl in base commit"
git checkout $MERGE_BASE -- .beads/metadata.json 2>/dev/null || echo "No metadata.json in base commit"
# Restore specific .beads files from the target branch's state before merge
git checkout $MERGE_BASE -- .beads/issues.jsonl 2>/dev/null || echo "No issues.jsonl in base commit"
git checkout $MERGE_BASE -- .beads/deletions.jsonl 2>/dev/null || echo "No deletions.jsonl in base commit"
git checkout $MERGE_BASE -- .beads/metadata.json 2>/dev/null || echo "No metadata.json in base commit"

# Configure git
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
# Configure git
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

# Commit the reversion
if git diff --staged --quiet; then
git add .beads/issues.jsonl .beads/deletions.jsonl .beads/metadata.json 2>/dev/null || true
fi
# Commit the reversion
if git diff --staged --quiet; then
git add .beads/issues.jsonl .beads/deletions.jsonl .beads/metadata.json 2>/dev/null || true
fi

if ! git diff --cached --quiet; then
git commit -m "🔒 Preserve branch-specific .beads issue tracking files
if ! git diff --cached --quiet; then
git commit -m "🔒 Preserve branch-specific .beads issue tracking files

Reverted .beads/ changes from merge to keep $CURRENT_BRANCH version intact.
[skip ci]"
Reverted .beads/ changes from merge to keep $CURRENT_BRANCH version intact.
[skip ci]"

git push origin $CURRENT_BRANCH
echo "✅ Successfully preserved $CURRENT_BRANCH .beads files"
else
echo "ℹ️ No changes to revert"
fi
git push origin $CURRENT_BRANCH
echo "✅ Successfully preserved $CURRENT_BRANCH .beads files"
else
echo "ℹ️ No changes to revert"
fi
Loading