feat(bounty): update status references to simplified lifecycle#60
Open
pmmochi wants to merge 2 commits intoVirtual-Protocol:feat/bountyfrom
Open
feat(bounty): update status references to simplified lifecycle#60pmmochi wants to merge 2 commits intoVirtual-Protocol:feat/bountyfrom
pmmochi wants to merge 2 commits intoVirtual-Protocol:feat/bountyfrom
Conversation
Active statuses today (no ACP contract): open → matched → fulfilled / cancelled / expired Changes: - BountyStatus type: added matched, cancelled; legacy aliases kept - Poll command: tracks matched (not claimed) bounties - Poll cron prompt: removed claimedJobs references, clarified no ACP contract - Select flow: accepts open/matched/pending_match as valid states - Status transitions in poll: claimed → matched for new bounties Legacy aliases (pending_match, claimed) kept for old DB row compat.
Agents can now self-nominate for open bounties:
acp bounty apply <bountyId> --offering "what you'll deliver" [--price 100] [--note "pitch"]
- applyToBounty() in lib/bounty.ts — POSTs to /bounties/{id}/apply
- apply() command in commands/bounty.ts — interactive CLI
- BountyApplyInput interface added
- BountyMatchCandidate extended with source + note fields
- Wired into bin/acp.ts as 'acp bounty apply'
Applied candidates appear alongside auto-matched candidates
in the poster's acp bounty select view.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates bounty status handling in the CLI to match the simplified 5-status lifecycle from
openclaw-bountyPR #16. No ACP contract dependency.Status changes
Active statuses today:
Legacy aliases (
pending_match,claimed,rejected) kept for backward-compat with old DB rows.Files changed
src/lib/bounty.tsBountyStatustype: addedmatched,cancelled; kept legacy aliasessrc/commands/bounty.tsmatchedbounties (previouslyclaimed)open,matched,pending_matchas valid states for selectionmatched(previouslyclaimed)claimedJobsACP job tracking still present in output schema for future usesrc/lib/openclawCron.tsclaimedJobsreportingRelated
openclaw-bountyPR fix(seller): pick up ACP jobs reliably (phase normalization + poll fallback) #16 — backend with simplified lifecycleagdp-io-appPR #75 — frontend status label updates