English fallback
This translation is missing; the canonical English reference follows.
Internal governed original-response acquisition¶
This first-party provider composes the existing policy, local executor and job owners for one explicit SAFE acquisition. Its current-context closure checks the whole fixed actual request as well as current original grant, owner and source authority. Cancellation retains the existing awaited process-cleanup boundary.
Only admitted originals reach canonical evidence. Parent source, execution and
persistence acceptance are reviewed separately from the wire schema. See
docs/OWNED_RESPONSE_CAPTURE_CONTRACT.md.
fuzzy1337.owned_response_capture
¶
First-party closed response acquisition on existing policy, process, job and evidence owners.
OwnedResponseAuthority
dataclass
¶
Fresh executing owner and separate workflow approval beside existing policy context.
源代码位于: fuzzy1337/owned_response_capture.py
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | |
__post_init__() -> None
¶
Reject ambiguous owner/approval inputs without equating consent attester and actor.
源代码位于: fuzzy1337/owned_response_capture.py
129 130 131 132 133 134 135 136 137 138 139 140 141 142 | |
PreparedOwnedResponseCapture
dataclass
¶
Frozen original request/grant and physical work identities for one trusted attempt.
源代码位于: fuzzy1337/owned_response_capture.py
145 146 147 148 149 150 151 152 153 154 155 | |
OwnedResponseCaptureProvider
¶
Run one closed acquisition; no provider enrollment, model Save, HAR or Java capability.
源代码位于: fuzzy1337/owned_response_capture.py
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 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 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 | |
__init__(workspace_root: Path, url: str, authority_provider: Callable[[], OwnedResponseAuthority], *, approve_workflow: bool, retain_response: bool = False, _family: ResponseFamily = _CATALOG_FAMILY, clock: Callable[[], datetime] = UtcNow, monotonic: Callable[[], float] = time.monotonic) -> None
¶
Configure a first-party attempt without a socket or grant.
参数:
| 名称 | 类型 | 描述 | 默认 |
|---|---|---|---|
workspace_root
|
Path
|
Explicit existing physical owning workspace. |
必需 |
url
|
str
|
Exact closed literal owned source URL. |
必需 |
authority_provider
|
Callable[[], OwnedResponseAuthority]
|
Trusted fresh context, executing owner and current approval reader. |
必需 |
approve_workflow
|
bool
|
Separate exact explicit workflow approval, never a capability grant. |
必需 |
clock
|
Callable[[], datetime]
|
Aware current policy/evidence clock. |
UtcNow
|
monotonic
|
Callable[[], float]
|
Current process monotonic budget clock. |
monotonic
|
源代码位于: fuzzy1337/owned_response_capture.py
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 | |
Tick() -> float
¶
Read a finite nonregressing monotonic budget clock without granting extra time.
返回:
| 类型 | 描述 |
|---|---|
float
|
Current finite monotonic seconds, with no deadline renewal. |
源代码位于: fuzzy1337/owned_response_capture.py
224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 | |
Now() -> datetime
¶
Read a fresh aware clock value without echoing caller failures.
返回:
| 类型 | 描述 |
|---|---|
datetime
|
Actual aware current time for existing policy and evidence normalization. |
源代码位于: fuzzy1337/owned_response_capture.py
249 250 251 252 253 254 255 256 257 258 259 | |
Current(context: JobContext) -> PolicyContext
¶
Read exact current owner, target, source scope and explicit workflow approval.
参数:
| 名称 | 类型 | 描述 | 默认 |
|---|---|---|---|
context
|
JobContext
|
Original owning running job. |
必需 |
返回:
| 类型 | 描述 |
|---|---|
PolicyContext
|
Existing current PolicyContext without a separate authority store. |
源代码位于: fuzzy1337/owned_response_capture.py
261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 | |
Prepare(context: JobContext) -> PreparedOwnedResponseCapture
¶
Build one original immutable request and private work after current authority checks.
参数:
| 名称 | 类型 | 描述 | 默认 |
|---|---|---|---|
context
|
JobContext
|
Original owning job with the fixed timeout/provider. |
必需 |
返回:
| 类型 | 描述 |
|---|---|
PreparedOwnedResponseCapture
|
Frozen exact approved request plus original physical workspace/work bindings. |
源代码位于: fuzzy1337/owned_response_capture.py
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 | |
CheckPrepared(prepared: PreparedOwnedResponseCapture, context: JobContext, origin: float, *, live_work: bool = True) -> PolicyContext
¶
Recheck the whole actual shared request where the existing facade requests fresh context.
参数:
| 名称 | 类型 | 描述 | 默认 |
|---|---|---|---|
prepared
|
PreparedOwnedResponseCapture
|
Original frozen request and physical work association. |
必需 |
context
|
JobContext
|
Actual original running job. |
必需 |
origin
|
float
|
Shared monotonic provider origin, never renewed. |
必需 |
live_work
|
bool
|
Launch requires live work; persistence uses the original cleanup proof. |
True
|
返回:
| 类型 | 描述 |
|---|---|
PolicyContext
|
Fresh existing policy context after full fixed-request validation. |
源代码位于: fuzzy1337/owned_response_capture.py
354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 | |
Execute(prepared: PreparedOwnedResponseCapture, context: JobContext, origin: float) -> LocalExecutionResult
async
¶
Bridge all cancellation to the one original owner and await its cleanup.
参数:
| 名称 | 类型 | 描述 | 默认 |
|---|---|---|---|
prepared
|
PreparedOwnedResponseCapture
|
Exact original request/grant. |
必需 |
context
|
JobContext
|
Original running job and cooperative cancellation source. |
必需 |
origin
|
float
|
Shared original monotonic provider origin. |
必需 |
返回:
| 类型 | 描述 |
|---|---|
LocalExecutionResult
|
Actual terminal result after owned process cleanup, never an abandoned task. |
源代码位于: fuzzy1337/owned_response_capture.py
397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 | |
CaptureBinding(capture: OwnedResponseCapture) -> bytes
¶
Freeze original acknowledged fields without declaring a model/workspace Save.
参数:
| 名称 | 类型 | 描述 | 默认 |
|---|---|---|---|
capture
|
OwnedResponseCapture
|
Original provider-owned admitted capture. |
必需 |
返回:
| 类型 | 描述 |
|---|---|
bytes
|
Canonical original request/manifest/result-fragment association. |
源代码位于: fuzzy1337/owned_response_capture.py
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 | |
ValidatePersistence(context: JobContext, capture: OwnedResponseCapture) -> None
¶
Revalidate original authority at each Save boundary after intentional work cleanup.
参数:
| 名称 | 类型 | 描述 | 默认 |
|---|---|---|---|
context
|
JobContext
|
Same still-running owning job used by acquisition. |
必需 |
capture
|
OwnedResponseCapture
|
Exact original acknowledged successful self-owned capture. |
必需 |
引发:
| 类型 | 描述 |
|---|---|
JobError
|
Original association, current authority or shared remaining budget differs. |
源代码位于: fuzzy1337/owned_response_capture.py
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 | |
Run(context: JobContext) -> None
async
¶
Admit original outcome before safe custody, retaining staging without product Save.
参数:
| 名称 | 类型 | 描述 | 默认 |
|---|---|---|---|
context
|
JobContext
|
Existing original running job, without registry or core API changes. |
必需 |
引发:
| 类型 | 描述 |
|---|---|
JobError
|
Actual authority, execution, admission, deadline or custody failed. |
CancelledError
|
Original caller/job cancellation after owned cleanup/custody. |
源代码位于: fuzzy1337/owned_response_capture.py
607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 | |
SupportedPlatform() -> bool
¶
Identify the actual supported private-execution platform, without a portable fallback.
返回:
| 类型 | 描述 |
|---|---|
bool
|
True only on actual Linux; deterministic units can isolate this module-local view. |
源代码位于: fuzzy1337/owned_response_capture.py
60 61 62 63 64 65 66 67 | |
RuntimeWorkPath(path: Path) -> str
¶
Render the selected physical work path under the supported runtime's POSIX grammar.
参数:
| 名称 | 类型 | 描述 | 默认 |
|---|---|---|---|
path
|
Path
|
Original absolute physical work directory. |
必需 |
返回:
| 类型 | 描述 |
|---|---|
str
|
Exact original runtime path spelling, never a searched or caller-supplied environment. |
源代码位于: fuzzy1337/owned_response_capture.py
70 71 72 73 74 75 76 77 78 79 80 | |
RuntimeExecutable() -> str
¶
Select the original trusted installed interpreter without PATH search.
返回:
| 类型 | 描述 |
|---|---|
str
|
Absolute original interpreter spelling for the fixed installed module recipe. |
源代码位于: fuzzy1337/owned_response_capture.py
83 84 85 86 87 88 89 90 | |
PrepareResponseInvocation(url: str, *, _family: ResponseFamily = _CATALOG_FAMILY) -> AdapterInvocation
¶
Describe the exact installed SAFE invocation without private files, contact or grant.
参数:
| 名称 | 类型 | 描述 | 默认 |
|---|---|---|---|
url
|
str
|
Exact closed literal source URL. |
必需 |
_family
|
ResponseFamily
|
Immutable catalog or content binding; selects the fixed worker and recipe. |
_CATALOG_FAMILY
|
返回:
| 类型 | 描述 |
|---|---|
AdapterInvocation
|
Original fixed recipe suitable for canonical descriptive policy planning. |
源代码位于: fuzzy1337/owned_response_capture.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | |
PrepareOwnedResponseInvocation(url: str) -> AdapterInvocation
¶
Describe the exact installed SAFE invocation without private files, contact or grant.
参数:
| 名称 | 类型 | 描述 | 默认 |
|---|---|---|---|
url
|
str
|
Exact closed literal source URL. |
必需 |
返回:
| 类型 | 描述 |
|---|---|
AdapterInvocation
|
Original fixed recipe suitable for canonical descriptive policy planning. |
源代码位于: fuzzy1337/owned_response_capture.py
778 779 780 781 782 783 784 785 786 787 788 | |