
Security News
npm Tooling Bug Incorrectly Marks One-Character Packages as Security Holders
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.
@aigentic/claims
Advanced tools
Issue claiming and work coordination for human-agent collaboration.
This package provides a complete system for coordinating work between humans and AI agents:
npm install @claude-flow/claims
Or install via Claude Flow CLI:
npx claude-flow plugins install @claude-flow/claims
import { ClaimsService } from '@claude-flow/claims';
const claims = new ClaimsService();
// Human claims an issue
await claims.claim({
issueId: 'ISSUE-123',
claimant: 'human:alice',
context: 'Working on the authentication fix'
});
// Agent claims an issue
await claims.claim({
issueId: 'ISSUE-456',
claimant: 'agent:coder-1:coder',
context: 'Implementing new feature'
});
await claims.release({
issueId: 'ISSUE-123',
claimant: 'human:alice',
reason: 'Completed the work'
});
// Human hands off to agent
await claims.handoff({
issueId: 'ISSUE-123',
from: 'human:alice',
to: 'agent:coder-1:coder',
reason: 'Need AI to continue implementation',
progress: 40
});
// Agent accepts handoff
await claims.acceptHandoff({
issueId: 'ISSUE-123',
claimant: 'agent:coder-1:coder'
});
await claims.updateStatus({
issueId: 'ISSUE-123',
status: 'review-requested',
progress: 80,
note: 'Ready for code review'
});
| Tool | Description |
|---|---|
claims_claim | Claim an issue for work |
claims_release | Release a claimed issue |
claims_handoff | Request handoff to another claimant |
claims_accept-handoff | Accept a pending handoff |
claims_status | Update claim status |
claims_list | List claims by criteria |
claims_board | Visual board view of all claims |
| Tool | Description |
|---|---|
claims_mark-stealable | Mark issue as available for stealing |
claims_steal | Steal a stealable issue |
claims_stealable | List all stealable issues |
claims_contest-steal | Contest a steal attempt |
| Tool | Description |
|---|---|
claims_load | Get agent load information |
claims_rebalance | Suggest or apply load rebalancing |
claims_swarm-overview | Overview of swarm workload |
| Tool | Description |
|---|---|
claims_history | Get claim history for an issue |
claims_metrics | Get claiming metrics |
claims_config | Get/set claims configuration |
| Status | Description |
|---|---|
active | Currently being worked on |
paused | Temporarily paused |
blocked | Blocked by external dependency |
review-requested | Ready for review |
handoff-pending | Handoff requested, awaiting acceptance |
stealable | Available for other agents to take |
completed | Work finished |
When work stalls, issues can be marked as stealable:
// Mark issue as stealable
await claims.markStealable({
issueId: 'ISSUE-123',
reason: 'overloaded',
preferredTypes: ['coder', 'reviewer'],
context: 'Need someone to continue the implementation'
});
// Another agent steals the issue
await claims.steal({
issueId: 'ISSUE-123',
stealer: 'agent:coder-2:coder'
});
timeout - Work has been idle too longoverloaded - Current owner has too much workblocked - Work is blocked and owner can't proceedvoluntary - Owner voluntarily releasingrebalancing - System rebalancing workloadabandoned - Owner is no longer availableAutomatically distribute work across agents:
// Get current agent loads
const loads = await claims.getAgentLoads();
// Preview rebalancing suggestions
const suggestions = await claims.rebalance({ dryRun: true });
// Apply rebalancing
await claims.rebalance({
dryRun: false,
targetUtilization: 0.7
});
All claim operations are event-sourced (ADR-007):
// Events emitted
- ClaimCreated
- ClaimReleased
- ClaimStatusUpdated
- HandoffRequested
- HandoffAccepted
- HandoffRejected
- ClaimMarkedStealable
- ClaimStolen
- ClaimContested
# Claim an issue
npx claude-flow claims claim --issue ISSUE-123 --claimant "human:alice"
# Release a claim
npx claude-flow claims release --issue ISSUE-123
# View claims board
npx claude-flow claims board
# List stealable issues
npx claude-flow claims stealable
# Rebalance workload
npx claude-flow claims rebalance --dry-run
# claude-flow.config.yaml
claims:
autoExpiration:
enabled: true
idleTimeout: 3600000 # 1 hour
checkInterval: 300000 # 5 minutes
workStealing:
enabled: true
contestWindow: 30000 # 30 seconds
loadBalancing:
targetUtilization: 0.7
maxIssuesPerAgent: 5
MIT
FAQs
Issue claiming and work coordination module for Claude Flow V3
We found that @aigentic/claims demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.