abc_mine.cli¶
WARNING
This documentation is almost entirely "vibe coded"; while a helpful resource for humans and agents to understand this codebase, it should not be considered a source of ground truth in the way documentation normally is, and the user is responsible for verifying that all instructions given here are safe.
abc_mine.cli
¶
The abc-mine command-line interface.
Subcommands, in the order a run uses them::
init create a run and lock its configuration
preflight prove the container can build and test the codebase
screen score every selected commit against the rubric (parallel)
rank collapse viable summaries into a ranked shortlist (one agent)
build turn each shortlisted commit into a task (parallel)
status report where a run stands
usage report model usage, spend, and wall time per stage
export copy emitted tasks into a abc-runner checkout
prompts inspect, scaffold, and render prompt customization
Every stage command loads the config, loads the prompt pack, resolves the model from the environment, and checks the invocation against the run's locked configuration before doing any work. That ordering is deliberate: all of it is cheap, and all of it fails in seconds rather than after provisioning containers.
CliError
¶
cmd_init
¶
Create a run directory and lock its configuration.
Source code in abc_mine/cli.py
cmd_preflight
¶
Prove the container can build and test the codebase.
Source code in abc_mine/cli.py
cmd_screen
¶
Score every selected commit against the rubric.
Source code in abc_mine/cli.py
cmd_rank
¶
Collapse viable summaries into a ranked shortlist.
Source code in abc_mine/cli.py
cmd_build
¶
Turn each shortlisted commit into a abc-runner task.
Source code in abc_mine/cli.py
cmd_status
¶
Report where a run stands.
Source code in abc_mine/cli.py
490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 | |
cmd_usage
¶
Report model usage, spend, and wall time per stage.
Source code in abc_mine/cli.py
cmd_export
¶
Copy emitted tasks into a abc-runner checkout.
Source code in abc_mine/cli.py
cmd_prompts
¶
Inspect, scaffold, and render prompt customization.
Source code in abc_mine/cli.py
build_parser
¶
Build the top-level argument parser.
Source code in abc_mine/cli.py
970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 | |
main
¶
CLI entry point.