Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Agents
3neti/x-change
claude-code
cursor
deployment
package-onboarding
treasury
live-provider
artisan-commands
idempotency
secrets-management

Every new AI-agent session must read AI agent package onboarding before inspecting or changing code. It defines repository ownership, generated-host boundaries, local integration, verification, and release authority. The host and its vendor/ tree are never durable package source.

Install
php artisan boost:add-skill 3neti/x-change

Save this content to: AGENTS.md

# x-change Agent Notes

## Package-first onboarding

Every new AI-agent session must read
[AI agent package onboarding](./docs/deployment/AI_AGENT_PACKAGE_ONBOARDING.md)
before inspecting or changing code. It defines repository ownership,
generated-host boundaries, local integration, verification, and release
authority. The host and its `vendor/` tree are never durable package source.

## Branch and pull request discipline

Read the [branch SOP](./docs/deployment/PACKAGE_DEVELOPMENT_WORKFLOW.md#branch-and-pull-request-sop)
before changing package source. Start each task in its own branch and isolated
worktree from the current GitHub `main`. Never switch, pull, reset, or clean a
checkout containing another agent's work. Check status and branch ownership
before editing; preserve uncommitted and unpushed work. Push only with task
authorization and use a pull request with required CI. The repository owner
performs the final merge unless they explicitly delegate that PR's merge to an
agent after its gates pass. A passing branch run does not replace PR checks or
post-merge verification.

## Setup and deployment

Use [DEPLOYMENT.md](./DEPLOYMENT.md) as the canonical deployment runbook.

For normal local work, prefer:

```bash
php artisan x-change:setup
```

For deployment, inspect `x-change.deployment.yaml` and preview before applying:

```bash
php artisan x-change:deploy production --plan
```

An automated production deployment requires both `--confirm-production` and
`--no-interaction`. Never add secret values to the manifest or committed
environment examples. Stop when provider preflight, Treasury reconciliation,
or remote commissioning fails. Do not replace `x-change:configure`,
`x-change:install`, or `x-change:doctor`; they remain supported recovery
primitives used by the simplified orchestration.

## Live Treasury lifecycle command

When a user asks for the correct syntax for the live sliced Treasury scenario, use this shape:

```bash
XCHANGE_LIFECYCLE_ALLOW_LIVE_PROVIDER_SCENARIOS=true php artisan xchange:lifecycle:run treasury_live_basic_cash --issuer=5 --live-provider --confirm-live-transfer --run-reference=treasury-live-basic-cash-issuer-5-YYYYMMDD-NNN --json
```

Replace the issuer and run-reference suffix only when the requested Account or authorized economic run changes. Do not add `--amount`: this scenario is deliberately fixed at one ₱150 Pay Code claimed through three provider transfers of ₱75, ₱50, and ₱25.

Before suggesting execution, state these controls:

- This is a real-money command. Never execute it automatically or as part of automated acceptance.
- The issuer needs at least ₱165 in provider-specific Client Funds: ₱150 beneficiary principal plus the ₱15 issuance charge.
- Provider liquidity must also support the ₱150 outflow.
- `--run-reference` is mandatory, caller-supplied, and stable for the complete three-slice lifecycle.
- Reuse the exact same reference after a timeout, ambiguous response, pre-issuance affordability failure, or `provider_sync_pending`. Never generate a new reference merely to retry.
- A new reference authorizes a new economic run and can cause three additional transfers.
- The scenario waits ten seconds before the second and third live claims.

Expected success evidence includes:

- `provider_transfers_completed: 3`
- `provider_transfers_expected: 3`
- `accounting_status: reconciled`
- three distinct provider transaction IDs
- Reserve checkpoints of ₱150 → ₱75 → ₱25 → ₱0
- aggregate Provider Inventory outflow of ₱150
- `inventory_equals_positions: true` at every checkpoint

If issuance fails before a Pay Code exists, inspect the reported available, required, and shortfall amounts. No provider transfer occurred. Apply funding only through authoritative provider evidence, then retry the same run reference.

If asked to prove replay protection, explain that rerunning the completed reference should return `replayed: true` and `provider_transfer_repeated: false`. Do not create a new reference for a replay test.

x-change Agent Notes

Package-first onboarding

Every new AI-agent session must read AI agent package onboarding before inspecting or changing code. It defines repository ownership, generated-host boundaries, local integration, verification, and release authority. The host and its vendor/ tree are never durable package source.

Branch and pull request discipline

Read the branch SOP before changing package source. Start each task in its own branch and isolated worktree from the current GitHub main. Never switch, pull, reset, or clean a checkout containing another agent's work. Check status and branch ownership before editing; preserve uncommitted and unpushed work. Push only with task authorization and use a pull request with required CI. The repository owner performs the final merge unless they explicitly delegate that PR's merge to an agent after its gates pass. A passing branch run does not replace PR checks or post-merge verification.

Setup and deployment

Use DEPLOYMENT.md as the canonical deployment runbook.

For normal local work, prefer:

php artisan x-change:setup

For deployment, inspect x-change.deployment.yaml and preview before applying:

php artisan x-change:deploy production --plan

An automated production deployment requires both --confirm-production and --no-interaction. Never add secret values to the manifest or committed environment examples. Stop when provider preflight, Treasury reconciliation, or remote commissioning fails. Do not replace x-change:configure, x-change:install, or x-change:doctor; they remain supported recovery primitives used by the simplified orchestration.

Live Treasury lifecycle command

When a user asks for the correct syntax for the live sliced Treasury scenario, use this shape:

XCHANGE_LIFECYCLE_ALLOW_LIVE_PROVIDER_SCENARIOS=true php artisan xchange:lifecycle:run treasury_live_basic_cash --issuer=5 --live-provider --confirm-live-transfer --run-reference=treasury-live-basic-cash-issuer-5-YYYYMMDD-NNN --json

Replace the issuer and run-reference suffix only when the requested Account or authorized economic run changes. Do not add --amount: this scenario is deliberately fixed at one ₱150 Pay Code claimed through three provider transfers of ₱75, ₱50, and ₱25.

Before suggesting execution, state these controls:

  • This is a real-money command. Never execute it automatically or as part of automated acceptance.
  • The issuer needs at least ₱165 in provider-specific Client Funds: ₱150 beneficiary principal plus the ₱15 issuance charge.
  • Provider liquidity must also support the ₱150 outflow.
  • --run-reference is mandatory, caller-supplied, and stable for the complete three-slice lifecycle.
  • Reuse the exact same reference after a timeout, ambiguous response, pre-issuance affordability failure, or provider_sync_pending. Never generate a new reference merely to retry.
  • A new reference authorizes a new economic run and can cause three additional transfers.
  • The scenario waits ten seconds before the second and third live claims.

Expected success evidence includes:

  • provider_transfers_completed: 3
  • provider_transfers_expected: 3
  • accounting_status: reconciled
  • three distinct provider transaction IDs
  • Reserve checkpoints of ₱150 → ₱75 → ₱25 → ₱0
  • aggregate Provider Inventory outflow of ₱150
  • inventory_equals_positions: true at every checkpoint

If issuance fails before a Pay Code exists, inspect the reported available, required, and shortfall amounts. No provider transfer occurred. Apply funding only through authoritative provider evidence, then retry the same run reference.

If asked to prove replay protection, explain that rerunning the completed reference should return replayed: true and provider_transfer_repeated: false. Do not create a new reference for a replay test.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect