atris 3.15.41 → 3.15.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/commands/play.js +24 -5
  2. package/package.json +1 -1
package/commands/play.js CHANGED
@@ -250,11 +250,21 @@ function starterMissionPrompt(player) {
250
250
  `Player ${player}: enter AgentXP Mode in this local workspace.`,
251
251
  'Pick one small useful contribution you can finish today: improve a doc, verify setup, create a handoff, or fix a tiny tool.',
252
252
  'Have an agent help produce a real artifact plus verifier proof.',
253
- 'Do not self-accept; when proof is ready, show accept/revise.',
253
+ 'When proof is ready, review it before accept/revise; weak proof should be revised.',
254
254
  'Win condition: one accepted proof-backed rep visible on the local AgentXP card.',
255
255
  ].join(' ');
256
256
  }
257
257
 
258
+ function proofRecipe() {
259
+ return {
260
+ artifact: 'Create or update one concrete artifact in this folder, for example AGENTXP_PROOF.md, README.md, or a small fixed file.',
261
+ verifier: 'Run a command that can fail if proof is missing or broken, for example test -s AGENTXP_PROOF.md or npm test.',
262
+ ready_proof: 'Paste the artifact path and verifier result into atris task ready.',
263
+ review: 'Accept only after reviewing the proof; weak proof should be revised.',
264
+ solo_review_rule: 'For a solo public smoke, accept only after you inspect the proof. For team missions, use a separate human reviewer.',
265
+ };
266
+ }
267
+
258
268
  function globalSyncCommands(player) {
259
269
  return [
260
270
  'atris login',
@@ -319,7 +329,7 @@ function nextCommands(task, player) {
319
329
  if (task.status === 'open') {
320
330
  return [
321
331
  `atris task claim ${ref} --as ${helper}`,
322
- `atris task ready ${ref} --as ${helper} --proof "<artifact path + verifier result>"`,
332
+ `atris task ready ${ref} --as ${helper} --proof "AGENTXP_PROOF.md + test -s AGENTXP_PROOF.md passed"`,
323
333
  `atris task accept ${ref} --as ${player} --proof "<human review>"`,
324
334
  'atris xp card --local',
325
335
  ...globalSyncCommands(player),
@@ -329,7 +339,7 @@ function nextCommands(task, player) {
329
339
  if (task.status === 'claimed') {
330
340
  const actor = task.claimed_by || helper;
331
341
  return [
332
- `atris task ready ${ref} --as ${actor} --proof "<artifact path + verifier result>"`,
342
+ `atris task ready ${ref} --as ${actor} --proof "AGENTXP_PROOF.md + test -s AGENTXP_PROOF.md passed"`,
333
343
  `atris task accept ${ref} --as ${player} --proof "<human review>"`,
334
344
  'atris xp card --local',
335
345
  ...globalSyncCommands(player),
@@ -396,7 +406,8 @@ function modeState(args = []) {
396
406
  claimed_by: mission.claimed_by || null,
397
407
  prompt: latestMessage(events),
398
408
  } : null,
399
- xp_rule: 'AgentXP lands only after proof is ready and a human accepts the task.',
409
+ proof_recipe: proofRecipe(),
410
+ xp_rule: 'AgentXP lands only after a useful artifact has verifier proof and review accepts it.',
400
411
  global_sync_rule: AGENTXP_GLOBAL_SYNC_RULE,
401
412
  leaderboard_url: AGENTXP_LEADERBOARD_URL,
402
413
  next_commands: commandList,
@@ -430,9 +441,17 @@ function render(state) {
430
441
  }
431
442
  console.log('');
432
443
  console.log('Win condition: real artifact + verifier + human accept.');
433
- console.log('XP rule: no proof, no AgentXP; accept/revise stays human-gated.');
444
+ console.log('XP rule: no proof, no AgentXP; accept/revise is the review gate.');
434
445
  console.log('Global sync: run atris login, then sync; owner tokens are guided-demo fallback only.');
435
446
  console.log(`Leaderboard: ${state.leaderboard_url}`);
447
+ if (state.proof_recipe) {
448
+ console.log('');
449
+ console.log('Proof recipe:');
450
+ console.log(`- Artifact: ${state.proof_recipe.artifact}`);
451
+ console.log(`- Verifier: ${state.proof_recipe.verifier}`);
452
+ console.log(`- Ready proof: ${state.proof_recipe.ready_proof}`);
453
+ console.log(`- Review: ${state.proof_recipe.review}`);
454
+ }
436
455
  console.log('');
437
456
  console.log('Next commands:');
438
457
  for (const command of state.next_commands) console.log(`- ${command}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atris",
3
- "version": "3.15.41",
3
+ "version": "3.15.42",
4
4
  "main": "bin/atris.js",
5
5
  "bin": {
6
6
  "atris": "bin/atris.js",