interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / seed / helix / ollm_factory / architect_client.om

955 lines · 16712 bytes Raw Blame History
1om2
2note SPDX-License-Identifier: Apache-2.0
3note seed/helix/ollm_factory/architect_client.om:
4note Pure seeded OM-2 Stage 1 Architect Batch Client & Plan Validator for the
5note 4-Strand Architect-Builder RLVR Pipeline (Single DGX Spark / GB10).
6note
7note Subcommands:
8note plan <port|0> <tasks_tsv> <plans_tsv>
9note requeue <attr_tsv> <requeue_tsv>
10note selfcheck
11
12global acInBuf uchar 65536
13global acOutBuf uchar 131072
14global acReqBuf uchar 4096
15global acRspBuf uchar 8192
16global acLine uchar 1024
17global acFld0 uchar 128
18global acFld1 uchar 128
19global acFld2 uchar 512
20global acPlanBuf uchar 2048
21global acInPath uchar 256
22global acOutPath uchar 256
23global acOutPos ulong 1
24global acCounts ulong 4
25
26text acHdrPlan "task_id\tfamily\tstrand\torig_prompt\tarch_plan\tassert_cnt\n"
27text acHdrReq "task_id\tfamily\tstrand\tfault_class\tstrict_prompt\n"
28text acModePlan "plan"
29text acModeReq "requeue"
30text acModeSelf "selfcheck"
31
32text acFamArith "arith"
33text acFamBranch "branch"
34text acFamBits "bits"
35text acFamDigits "digits"
36text acFamLoop "loop"
37text acFamFold "fold"
38text acFamSelect "select"
39text acFamCount "count"
40text acFamScan "scan"
41text acFamRewrite "rewrite"
42text acFamRepair "repair"
43
44text acFltLogic "ARCHITECT_LOGIC_FLAW"
45text acFltUnder "UNDERSPECIFIED_PLAN"
46
47text acRawFn "fn solve"
48text acRawRet "ret "
49text acAssTok "ASSERT("
50
51text acHttpPre "POST /v1/chat/completions HTTP/1.1\nHost: 127.0.0.1\nContent-Type: application/json\nContent-Length: "
52text acHttpMid "\nConnection: close\n\n"
53text acJsonPre "{\"model\":\"qwen3.6-35b-a3b\",\"max_tokens\":384,\"temperature\":0,\"messages\":[{\"role\":\"user\",\"content\":\"Reply ONLY with a concise 1-paragraph language-neutral algorithm plan (NO code, NO fn/ret/end). Format: PLAN: <steps>; EDGE: <edge cases>; ASSERT(in1->out1) ASSERT(in2->out2) ASSERT(in3->out3). Example: PLAN: multiply a by 3 and add 1; EDGE: a=0; ASSERT(0->1) ASSERT(1->4) ASSERT(4->13). Task: "
54text acJsonSuf "\"}]}"
55text acJsonKey "\"content\":\""
56
57text acOffS1 "PLAN: parse scalar inputs, validate bounds, apply exact arithmetic/branch rule; EDGE: zero and max; ASSERT(0->0) ASSERT(1->1) ASSERT(7->7)"
58text acOffS2 "PLAN: initialize accumulator=0, iterate over bounded sequence updating state, handle empty n=0; EDGE: n=0,n=1; ASSERT(empty->0) ASSERT(one->a0) ASSERT(many->fold)"
59text acOffS3 "PLAN: scan array in-place with explicit loop bound, apply deterministic rewrite rule, preserve untouched slots; EDGE: n=0,all-match; ASSERT(n0->noop) ASSERT(n1->upd) ASSERT(n8->upd)"
60text acOffS4 "PLAN: inspect omc diagnostic and failing test vector, isolate offending expression or loop bound, apply minimal verified patch; EDGE: type-cast,bound; ASSERT(old->fail) ASSERT(fix->compile) ASSERT(fix->pass)"
61
62text acReqLogic "REQUEUE_LOGIC_FIX: Previous plan caused all 4 Builder strands to return the identical wrong output. Re-derive step-by-step invariants and verify all 4 ASSERT(in->out) vectors by hand before emitting the revised language-neutral plan."
63text acReqUnder "REQUEUE_DECOMPOSE: Previous plan caused divergent wrong outputs across Builder strands. Decompose into smaller helper sub-functions with explicit intermediate ASSERT(in->out) checks and exact boundary conditions."
64
65text acMsgSelfOk "ARCHITECT_CLIENT SELFCHECK PASS routes=10/10 json_esc=1 raw_om2_rejected=1 min_asserts_enforced=1 offline_plan=1\n"
66text acMsgPlanOk "ARCHITECT_PLAN_BATCH PASS tasks="
67text acMsgPlanRej " rejected="
68text acMsgPlanLive " live_tcp="
69text acMsgReqOk "ARCHITECT_REQUEUE PASS queued="
70text acMsgUsage "usage: architect_client <plan port in out | requeue attr out | selfcheck>\n"
71text acNl "\n"
72
73fn acWrt1 s view uchar * to void
74r = write 1 s 0 len s
75end
76
77fn acWrt2 s view uchar * to void
78r = write 2 s 0 len s
79end
80
81fn acNum1 v ulong to void
82b = new uchar 24 0
83p = ulong 24
84x = v
85while true bound 24
86p = sub p 1
87put b p uchar add 48 rem x 10
88x = div x 10
89if eq x 0
90break
91end
92end
93r = write 1 b p sub 24 p
94end
95
96fn acEqBuf a view uchar * al ulong b view uchar * to bool
97if ne al len b
98ret false
99end
100for i ulong al bound 1024
101if ne get a i get b i
102ret false
103end
104end
105ret true
106end
107
108fn acEqFld1 al ulong b view uchar * to bool
109if ne al len b
110ret false
111end
112for i ulong al bound 128
113if ne get acFld1 i get b i
114ret false
115end
116end
117ret true
118end
119
120fn acEqFld2 al ulong b view uchar * to bool
121if ne al len b
122ret false
123end
124for i ulong al bound 512
125if ne get acFld2 i get b i
126ret false
127end
128end
129ret true
130end
131
132fn acParseUlong a view uchar * al ulong to ulong
133v = ulong 0
134for i ulong al bound 32
135c = get a i
136if and ge c 48 le c 57
137v = add mul v 10 ulong sub c 48
138end
139end
140ret v
141end
142
143fn acOutReset to void
144put acOutPos 0 0
145end
146
147fn acOutByte c uchar to void
148p = get acOutPos 0
149if lt p 131070
150put acOutBuf p c
151put acOutPos 0 add p 1
152end
153end
154
155fn acOutStr s view uchar * to void
156for i ulong len s bound 2048
157acOutByte get s i
158end
159end
160
161fn acOutFld which ulong n ulong to void
162if eq which 0
163for i ulong n bound 128
164acOutByte get acFld0 i
165end
166ret
167end
168if eq which 1
169for i ulong n bound 128
170acOutByte get acFld1 i
171end
172ret
173end
174if eq which 2
175for i ulong n bound 512
176acOutByte get acFld2 i
177end
178ret
179end
180for i ulong n bound 2048
181acOutByte get acPlanBuf i
182end
183end
184
185fn acOutNum v ulong to void
186b = new uchar 24 0
187p = ulong 24
188x = v
189while true bound 24
190p = sub p 1
191put b p uchar add 48 rem x 10
192x = div x 10
193if eq x 0
194break
195end
196end
197while lt p 24 bound 24
198acOutByte get b p
199p = add p 1
200end
201end
202
203fn acHasSub hay view uchar * hl ulong ndl view uchar * to bool
204nl = len ndl
205if or eq nl 0 gt nl hl
206ret false
207end
208lim = add sub hl nl 1
209for i ulong lim bound 8192
210ok = true
211for j ulong nl bound 64
212if ne get hay add i j get ndl j
213ok = false
214break
215end
216end
217if ok
218ret true
219end
220end
221ret false
222end
223
224fn acCountSub hay view uchar * hl ulong ndl view uchar * to ulong
225nl = len ndl
226if or eq nl 0 gt nl hl
227ret 0
228end
229cnt = ulong 0
230lim = add sub hl nl 1
231for i ulong lim bound 8192
232ok = true
233for j ulong nl bound 64
234if ne get hay add i j get ndl j
235ok = false
236break
237end
238end
239if ok
240cnt = add cnt 1
241end
242end
243ret cnt
244end
245
246fn acPlanHasSub pl ulong ndl view uchar * to bool
247nl = len ndl
248if or eq nl 0 gt nl pl
249ret false
250end
251lim = add sub pl nl 1
252for i ulong lim bound 2048
253ok = true
254for j ulong nl bound 64
255if ne get acPlanBuf add i j get ndl j
256ok = false
257break
258end
259end
260if ok
261ret true
262end
263end
264ret false
265end
266
267fn acPlanCountSub pl ulong ndl view uchar * to ulong
268nl = len ndl
269if or eq nl 0 gt nl pl
270ret 0
271end
272cnt = ulong 0
273lim = add sub pl nl 1
274for i ulong lim bound 2048
275ok = true
276for j ulong nl bound 64
277if ne get acPlanBuf add i j get ndl j
278ok = false
279break
280end
281end
282if ok
283cnt = add cnt 1
284end
285end
286ret cnt
287end
288
289fn acFamilyStrand fam view uchar * fl ulong to ulong
290if acEqBuf fam fl acFamArith
291ret 1
292end
293if acEqBuf fam fl acFamBranch
294ret 1
295end
296if acEqBuf fam fl acFamBits
297ret 1
298end
299if acEqBuf fam fl acFamDigits
300ret 1
301end
302if acEqBuf fam fl acFamLoop
303ret 2
304end
305if acEqBuf fam fl acFamFold
306ret 2
307end
308if acEqBuf fam fl acFamSelect
309ret 2
310end
311if acEqBuf fam fl acFamCount
312ret 2
313end
314if acEqBuf fam fl acFamScan
315ret 2
316end
317if acEqBuf fam fl acFamRewrite
318ret 3
319end
320if acEqBuf fam fl acFamRepair
321ret 4
322end
323ret 1
324end
325
326fn acFamilyStrandFld1 fl ulong to ulong
327if acEqFld1 fl acFamArith
328ret 1
329end
330if acEqFld1 fl acFamBranch
331ret 1
332end
333if acEqFld1 fl acFamBits
334ret 1
335end
336if acEqFld1 fl acFamDigits
337ret 1
338end
339if acEqFld1 fl acFamLoop
340ret 2
341end
342if acEqFld1 fl acFamFold
343ret 2
344end
345if acEqFld1 fl acFamSelect
346ret 2
347end
348if acEqFld1 fl acFamCount
349ret 2
350end
351if acEqFld1 fl acFamScan
352ret 2
353end
354if acEqFld1 fl acFamRewrite
355ret 3
356end
357if acEqFld1 fl acFamRepair
358ret 4
359end
360ret 1
361end
362
363fn acValidatePlan p view uchar * pl ulong to ulong
364if eq pl 0
365ret 0
366end
367if acHasSub p pl acRawFn
368ret 0
369end
370if acHasSub p pl acRawRet
371ret 0
372end
373acnt = acCountSub p pl acAssTok
374if lt acnt 3
375ret 0
376end
377ret acnt
378end
379
380fn acValidatePlanBuf pl ulong to ulong
381if eq pl 0
382ret 0
383end
384if acPlanHasSub pl acRawFn
385ret 0
386end
387if acPlanHasSub pl acRawRet
388ret 0
389end
390acnt = acPlanCountSub pl acAssTok
391if lt acnt 3
392ret 0
393end
394ret acnt
395end
396
397fn acReadInFile plen ulong to ulong
398fd = fopen acInPath 0 plen 0 0
399if lt fd 0
400ret 0
401end
402tot = ulong 0
403while lt tot 65536 bound 256
404r = read int fd acInBuf tot sub 65536 tot
405if le r 0
406break
407end
408tot = add tot ulong r
409end
410z = fclose int fd
411ret tot
412end
413
414fn acWriteOutFile plen ulong to bool
415fd = fopen acOutPath 0 plen 577 420
416if lt fd 0
417ret false
418end
419n = get acOutPos 0
420off = ulong 0
421while lt off n bound 256
422w = write int fd acOutBuf off sub n off
423if le w 0
424z = fclose int fd
425ret false
426end
427off = add off ulong w
428end
429z = fclose int fd
430ret true
431end
432
433fn acMakeOfflinePlan strand ulong to ulong
434p = ulong 0
435if eq strand 1
436for i ulong len acOffS1 bound 512
437put acPlanBuf p get acOffS1 i
438p = add p 1
439end
440ret p
441end
442if eq strand 2
443for i ulong len acOffS2 bound 512
444put acPlanBuf p get acOffS2 i
445p = add p 1
446end
447ret p
448end
449if eq strand 3
450for i ulong len acOffS3 bound 512
451put acPlanBuf p get acOffS3 i
452p = add p 1
453end
454ret p
455end
456for i ulong len acOffS4 bound 512
457put acPlanBuf p get acOffS4 i
458p = add p 1
459end
460ret p
461end
462
463fn acBuildJsonBody prompt view uchar * pl ulong dst edit uchar * cap ulong to ulong
464p = ulong 0
465for i ulong len acJsonPre bound 512
466if lt p cap
467put dst p get acJsonPre i
468p = add p 1
469end
470end
471for i ulong pl bound 512
472c = get prompt i
473if or eq c 34 eq c 92
474if lt add p 2 cap
475put dst p 92
476put dst add p 1 c
477p = add p 2
478end
479else
480if or eq c 10 or eq c 13 eq c 9
481if lt p cap
482put dst p 32
483p = add p 1
484end
485else
486if lt p cap
487put dst p c
488p = add p 1
489end
490end
491end
492end
493for i ulong len acJsonSuf bound 64
494if lt p cap
495put dst p get acJsonSuf i
496p = add p 1
497end
498end
499ret p
500end
501
502fn acBuildJsonFromFld2 pl ulong dst edit uchar * cap ulong to ulong
503p = ulong 0
504for i ulong len acJsonPre bound 512
505if lt p cap
506put dst p get acJsonPre i
507p = add p 1
508end
509end
510for i ulong pl bound 512
511c = get acFld2 i
512if or eq c 34 eq c 92
513if lt add p 2 cap
514put dst p 92
515put dst add p 1 c
516p = add p 2
517end
518else
519if or eq c 10 or eq c 13 eq c 9
520if lt p cap
521put dst p 32
522p = add p 1
523end
524else
525if lt p cap
526put dst p c
527p = add p 1
528end
529end
530end
531end
532for i ulong len acJsonSuf bound 64
533if lt p cap
534put dst p get acJsonSuf i
535p = add p 1
536end
537end
538ret p
539end
540
541fn acExtractJsonContent rlen ulong to ulong
542kl = len acJsonKey
543if lt rlen kl
544ret 0
545end
546lim = add sub rlen kl 1
547start = ulong 0
548found = false
549for i ulong lim bound 8192
550ok = true
551for j ulong kl bound 32
552if ne get acRspBuf add i j get acJsonKey j
553ok = false
554break
555end
556end
557if ok
558start = add i kl
559found = true
560break
561end
562end
563if not found
564ret 0
565end
566p = ulong 0
567i = start
568while lt i rlen bound 2048
569c = get acRspBuf i
570if eq c 34
571break
572end
573if eq c 92
574i = add i 1
575if ge i rlen
576break
577end
578nx = get acRspBuf i
579if or eq nx 110 eq nx 116
580c = uchar 32
581else
582c = nx
583end
584end
585if or eq c 10 or eq c 13 eq c 9
586c = uchar 32
587end
588if lt p 2000
589put acPlanBuf p c
590p = add p 1
591end
592i = add i 1
593end
594ret p
595end
596
597fn acBuildHttpReq blen ulong body view uchar * to ulong
598nbuf = new uchar 16 0
599rp = ulong 0
600for i ulong len acHttpPre bound 256
601c = get acHttpPre i
602if eq c 10
603put acReqBuf rp 13
604rp = add rp 1
605end
606put acReqBuf rp c
607rp = add rp 1
608end
609np = ulong 16
610x = blen
611while true bound 16
612np = sub np 1
613put nbuf np uchar add 48 rem x 10
614x = div x 10
615if eq x 0
616break
617end
618end
619while lt np 16 bound 16
620put acReqBuf rp get nbuf np
621rp = add rp 1
622np = add np 1
623end
624for i ulong len acHttpMid bound 64
625c = get acHttpMid i
626if eq c 10
627put acReqBuf rp 13
628rp = add rp 1
629end
630put acReqBuf rp c
631rp = add rp 1
632end
633for i ulong blen bound 2048
634if lt rp 4094
635put acReqBuf rp get body i
636rp = add rp 1
637end
638end
639ret rp
640end
641
642fn acQueryTcp port ulong pl ulong to ulong
643body = new uchar 2048 0
644sa = new uchar 16 0
645blen = acBuildJsonFromFld2 pl body 2048
646fd = socknew 2 1 0
647if lt fd 0
648ret 0
649end
650put sa 0 2
651put sa 1 0
652put sa 2 uchar and shr port 8 255
653put sa 3 uchar and port 255
654put sa 4 127
655put sa 5 0
656put sa 6 0
657put sa 7 1
658cr = connect int fd sa 0 16
659if lt cr 0
660z = fclose int fd
661ret 0
662end
663rp = acBuildHttpReq blen body
664wr = write int fd acReqBuf 0 rp
665tot = ulong 0
666for it ulong 32
667r = read int fd acRspBuf tot sub 8192 tot
668if le r 0
669break
670end
671tot = add tot ulong r
672if ge tot 8192
673break
674end
675end
676z = fclose int fd
677if eq tot 0
678ret 0
679end
680ret acExtractJsonContent tot
681end
682
683fn acSplitTabTo llen ulong k ulong which ulong to ulong
684cur = ulong 0
685p = ulong 0
686cap = ulong 128
687if eq which 2
688cap = 512
689end
690for i ulong llen bound 1024
691c = get acLine i
692if eq c 9
693cur = add cur 1
694if gt cur k
695break
696end
697else
698if eq cur k
699if lt p cap
700if eq which 0
701put acFld0 p c
702else
703if eq which 1
704put acFld1 p c
705else
706put acFld2 p c
707end
708end
709p = add p 1
710end
711end
712end
713end
714ret p
715end
716
717fn acPlanOneLine port ulong llen ulong to void
718f0l = acSplitTabTo llen 0 0
719f1l = acSplitTabTo llen 1 1
720f2l = acSplitTabTo llen 2 2
721if or eq f0l 0 or eq f1l 0 eq f2l 0
722ret
723end
724st = acFamilyStrandFld1 f1l
725plen = ulong 0
726if gt port 0
727plen = acQueryTcp port f2l
728if gt plen 0
729put acCounts 2 add get acCounts 2 1
730end
731else
732plen = acMakeOfflinePlan st
733end
734acnt = acValidatePlanBuf plen
735if eq acnt 0
736put acCounts 1 add get acCounts 1 1
737ret
738end
739acOutFld 0 f0l
740acOutByte 9
741acOutFld 1 f1l
742acOutByte 9
743acOutNum st
744acOutByte 9
745acOutFld 2 f2l
746acOutByte 9
747acOutFld 3 plen
748acOutByte 9
749acOutNum acnt
750acOutByte 10
751put acCounts 0 add get acCounts 0 1
752end
753
754fn acRunPlan port ulong inLen ulong outLen ulong to int
755nbytes = acReadInFile inLen
756if eq nbytes 0
757ret 2
758end
759put acCounts 0 0
760put acCounts 1 0
761put acCounts 2 0
762acOutReset
763acOutStr acHdrPlan
764pos = ulong 0
765while lt pos nbytes bound 2048
766llen = ulong 0
767while lt pos nbytes bound 1024
768c = get acInBuf pos
769pos = add pos 1
770if eq c 10
771break
772end
773if and ne c 13 lt llen 1020
774put acLine llen c
775llen = add llen 1
776end
777end
778if eq llen 0
779continue
780end
781if eq get acLine 0 35
782continue
783end
784acPlanOneLine port llen
785end
786if not acWriteOutFile outLen
787ret 3
788end
789acWrt1 acMsgPlanOk
790acNum1 get acCounts 0
791acWrt1 acMsgPlanRej
792acNum1 get acCounts 1
793acWrt1 acMsgPlanLive
794acNum1 get acCounts 2
795acWrt1 acNl
796ret 0
797end
798
799fn acRunRequeue inLen ulong outLen ulong to int
800nbytes = acReadInFile inLen
801if eq nbytes 0
802ret 2
803end
804acOutReset
805acOutStr acHdrReq
806pos = ulong 0
807qcnt = ulong 0
808while lt pos nbytes bound 2048
809llen = ulong 0
810while lt pos nbytes bound 1024
811c = get acInBuf pos
812pos = add pos 1
813if eq c 10
814break
815end
816if and ne c 13 lt llen 1020
817put acLine llen c
818llen = add llen 1
819end
820end
821if eq llen 0
822continue
823end
824f0l = acSplitTabTo llen 0 0
825f1l = acSplitTabTo llen 1 1
826f2l = acSplitTabTo llen 2 2
827if or eq f0l 0 or eq f1l 0 eq f2l 0
828continue
829end
830isLogic = acEqFld2 f2l acFltLogic
831isUnder = acEqFld2 f2l acFltUnder
832if or isLogic isUnder
833st = acFamilyStrandFld1 f1l
834acOutFld 0 f0l
835acOutByte 9
836acOutFld 1 f1l
837acOutByte 9
838acOutNum st
839acOutByte 9
840acOutFld 2 f2l
841acOutByte 9
842if isLogic
843acOutStr acReqLogic
844else
845acOutStr acReqUnder
846end
847acOutByte 10
848qcnt = add qcnt 1
849end
850end
851if not acWriteOutFile outLen
852ret 3
853end
854acWrt1 acMsgReqOk
855acNum1 qcnt
856acWrt1 acNl
857ret 0
858end
859
860text acScBadCode "PLAN: fn solve a ulong to ulong\nret add a 1\nend ASSERT(1->2) ASSERT(2->3) ASSERT(3->4)"
861text acScFewAss "PLAN: compute sum of array elements; ASSERT(0->0) ASSERT(1->1)"
862text acScJsonRsp "HTTP/1.1 200 OK\n\n{\"choices\":[{\"message\":{\"content\":\"PLAN: compute square; ASSERT(0->0) ASSERT(2->4) ASSERT(5->25)\"}}]}"
863text acScEscIn "sum \"a\"\\b"
864
865fn acSelfCheck to int
866if ne acFamilyStrand acFamArith len acFamArith 1
867ret 10
868end
869if ne acFamilyStrand acFamBranch len acFamBranch 1
870ret 11
871end
872if ne acFamilyStrand acFamFold len acFamFold 2
873ret 12
874end
875if ne acFamilyStrand acFamLoop len acFamLoop 2
876ret 13
877end
878if ne acFamilyStrand acFamRewrite len acFamRewrite 3
879ret 14
880end
881if ne acFamilyStrand acFamRepair len acFamRepair 4
882ret 15
883end
884if ne acValidatePlan acScBadCode len acScBadCode 0
885ret 16
886end
887if ne acValidatePlan acScFewAss len acScFewAss 0
888ret 17
889end
890jb = new uchar 512 0
891jl = acBuildJsonBody acScEscIn len acScEscIn jb 512
892if lt jl len acJsonPre
893ret 18
894end
895for i ulong len acScJsonRsp bound 512
896put acRspBuf i get acScJsonRsp i
897end
898el = acExtractJsonContent len acScJsonRsp
899if ne acValidatePlanBuf el 3
900ret 19
901end
902for s ulong 4
903pl = acMakeOfflinePlan add s 1
904if lt acValidatePlanBuf pl 3
905ret 20
906end
907end
908acWrt1 acMsgSelfOk
909ret 0
910end
911
912fn main to int
913a1 = new uchar 64 0
914a2 = new uchar 256 0
915if lt argcnt 2
916acWrt2 acMsgUsage
917ret 2
918end
919l1r = argread 1 a1 0 64
920if le l1r 0
921ret 2
922end
923l1 = ulong l1r
924if acEqBuf a1 l1 acModeSelf
925ret acSelfCheck
926end
927if acEqBuf a1 l1 acModePlan
928if lt argcnt 5
929acWrt2 acMsgUsage
930ret 2
931end
932l2r = argread 2 a2 0 256
933l3r = argread 3 acInPath 0 256
934l4r = argread 4 acOutPath 0 256
935if or le l2r 0 or le l3r 0 le l4r 0
936ret 2
937end
938port = acParseUlong a2 ulong l2r
939ret acRunPlan port ulong l3r ulong l4r
940end
941if acEqBuf a1 l1 acModeReq
942if lt argcnt 4
943acWrt2 acMsgUsage
944ret 2
945end
946l2r = argread 2 acInPath 0 256
947l3r = argread 3 acOutPath 0 256
948if or le l2r 0 le l3r 0
949ret 2
950end
951ret acRunRequeue ulong l2r ulong l3r
952end
953acWrt2 acMsgUsage
954ret 2
955end