Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
'requirements-redis.lock' = '84f43680576915e1e8716902d85acc6b2ae63a4451eb55f5eaddabbf9806c09c'
'requirements-tokens.lock' = '6351570c2dabef01106388ab7291bab9f52866f6bdbec1eb36f036929b39472d'
'requirements-voyage.lock' = 'ec50266e00bb2bf673973b7d051da9bb962d0713904c6f7258c416a5b1dc63da'
'requirements-workflow.lock' = '60ba53cfeba53c784331a689f948c5cbd046ed20f4e84fd6023eacf0ff656fad'
'requirements-workflow.lock' = '3fe60fc3b0c254bed29722df8ea8c904512dcf3d9a8a0a202dd448bd18e080e2'
'tests/.gitattributes' = '69778c577642ecd3fe7b8c329dff6948d7ccb7fd8afde301711b12e63ccdbf8d'
'tests/fixtures/windows_saved_store_component_v1/inputs-bde.zip' = 'c0c4ec0f8c274ec0782bc19844bf7a5cbdb600c4cb678ea70e3ad8773d703fe4'
'tests/fixtures/windows_saved_store_component_v1/protocol.zip' = 'c4d27a6c8f3ad50dbe08f8d181d958ed8c5bad4542f1bce1f8146e3cabe667bb'
Expand All @@ -198,11 +198,11 @@ jobs:
'tests/test_windows_saved_store_profile_workflow.py' = '2cb8ed514264f95901b3f913cdb2f985e795db1bc19d22aa9826ba5e55f3c278'
'tests/test_windows_saved_store_wheel_profiles.py' = '4dcbe314d4180b0c0e9832d433e828a90d39fbeec65818fb588d838c75876b1f'
'experiments/platform/windows_saved_store_controller_v2/.gitattributes' = '705fd4d6451a31d36b3df7de96f83f30ac976c9b4a6d1e51671d8e2f33e2d0da'
'experiments/platform/windows_saved_store_controller_v2/inputs.json' = 'bde8f6184d407e2bc84e90d9e8e6932c0c59803dde34f9bef8ce52ed23a91496'
'experiments/platform/windows_saved_store_controller_v2/route.py' = '3bd4c6eb79b395f9660dc82ae1ab3734fd6bcd44239911ba5084d27a8b0170d5'
'experiments/platform/windows_saved_store_controller_v2/entry.py' = '10faaf2b76c6f9180691248c0e20053210df4b828e2ad927e070b4a0a8861027'
'experiments/platform/windows_saved_store_controller_v2/preflight.ps1' = 'fb61a075166c22616d9f85acfc362e2b57dd765e29cd318ef1c42d5e217f1cdf'
'experiments/platform/windows_saved_store_controller_v2/pre_fixture.ps1' = '9b3dba29ccb63591cb43aa1ff438cf7c7f7eb619ad5667a088a4d0ae2c3abb89'
'experiments/platform/windows_saved_store_controller_v2/inputs.json' = '3666a46efe60a8d90a4aa50891cc47da86264e25bf93d28d1dbfa2d600119e5f'
'experiments/platform/windows_saved_store_controller_v2/route.py' = '1cb667e42ab065c569add0445b0680cad4650503123a9e1500453caad2e93ba3'
'experiments/platform/windows_saved_store_controller_v2/entry.py' = 'abdf2231135145b0131d439858212a1de22ecdf13d1634dcba82e4706f1e8472'
'experiments/platform/windows_saved_store_controller_v2/preflight.ps1' = 'b0f6eb5393e913a89630557d2bafc09f0955857f1776928173af1cc3c5f379df'
'experiments/platform/windows_saved_store_controller_v2/pre_fixture.ps1' = '8b4ca9f27d7d83298e336dd3515782dcd5aaad40705fea522b0fd72471daa02d'
'tests/test_windows_saved_store_controller_v2.py' = 'a35ef8f9ff59f2f6214b005deb5eb6c03f80acdbacc3dbcda7e4af006fdeba3f'
'tests/fixtures/windows_saved_store_controller_v2.zip' = 'da481265cf79a5ba4c05f370bc861309b16fd51bb0145aab48ca2646cae94f07'
'experiments/platform/windows_saved_store_component_account_tail_v2.ps1' = 'd6ca9401a6435acf93bf8996755b8873863e541d65d6b0d42099d1d9ec4d3a96'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/windows-saved-store-prefixture-join.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ jobs:
'requirements-redis.lock' = '84f43680576915e1e8716902d85acc6b2ae63a4451eb55f5eaddabbf9806c09c'
'requirements-tokens.lock' = '6351570c2dabef01106388ab7291bab9f52866f6bdbec1eb36f036929b39472d'
'requirements-voyage.lock' = 'ec50266e00bb2bf673973b7d051da9bb962d0713904c6f7258c416a5b1dc63da'
'requirements-workflow.lock' = '60ba53cfeba53c784331a689f948c5cbd046ed20f4e84fd6023eacf0ff656fad'
'requirements-workflow.lock' = '3fe60fc3b0c254bed29722df8ea8c904512dcf3d9a8a0a202dd448bd18e080e2'
'tests/.gitattributes' = '69778c577642ecd3fe7b8c329dff6948d7ccb7fd8afde301711b12e63ccdbf8d'
'tests/fixtures/windows_saved_store_component_v1/inputs-bde.zip' = 'c0c4ec0f8c274ec0782bc19844bf7a5cbdb600c4cb678ea70e3ad8773d703fe4'
'tests/fixtures/windows_saved_store_component_v1/protocol.zip' = 'c4d27a6c8f3ad50dbe08f8d181d958ed8c5bad4542f1bce1f8146e3cabe667bb'
Expand All @@ -211,11 +211,11 @@ jobs:
'tests/test_windows_saved_store_profile_workflow.py' = '2cb8ed514264f95901b3f913cdb2f985e795db1bc19d22aa9826ba5e55f3c278'
'tests/test_windows_saved_store_wheel_profiles.py' = '4dcbe314d4180b0c0e9832d433e828a90d39fbeec65818fb588d838c75876b1f'
'experiments/platform/windows_saved_store_controller_v2/.gitattributes' = '705fd4d6451a31d36b3df7de96f83f30ac976c9b4a6d1e51671d8e2f33e2d0da'
'experiments/platform/windows_saved_store_controller_v2/inputs.json' = 'bde8f6184d407e2bc84e90d9e8e6932c0c59803dde34f9bef8ce52ed23a91496'
'experiments/platform/windows_saved_store_controller_v2/route.py' = '3bd4c6eb79b395f9660dc82ae1ab3734fd6bcd44239911ba5084d27a8b0170d5'
'experiments/platform/windows_saved_store_controller_v2/entry.py' = '10faaf2b76c6f9180691248c0e20053210df4b828e2ad927e070b4a0a8861027'
'experiments/platform/windows_saved_store_controller_v2/preflight.ps1' = 'fb61a075166c22616d9f85acfc362e2b57dd765e29cd318ef1c42d5e217f1cdf'
'experiments/platform/windows_saved_store_controller_v2/pre_fixture.ps1' = '9b3dba29ccb63591cb43aa1ff438cf7c7f7eb619ad5667a088a4d0ae2c3abb89'
'experiments/platform/windows_saved_store_controller_v2/inputs.json' = '3666a46efe60a8d90a4aa50891cc47da86264e25bf93d28d1dbfa2d600119e5f'
'experiments/platform/windows_saved_store_controller_v2/route.py' = '1cb667e42ab065c569add0445b0680cad4650503123a9e1500453caad2e93ba3'
'experiments/platform/windows_saved_store_controller_v2/entry.py' = 'abdf2231135145b0131d439858212a1de22ecdf13d1634dcba82e4706f1e8472'
'experiments/platform/windows_saved_store_controller_v2/preflight.ps1' = 'b0f6eb5393e913a89630557d2bafc09f0955857f1776928173af1cc3c5f379df'
'experiments/platform/windows_saved_store_controller_v2/pre_fixture.ps1' = '8b4ca9f27d7d83298e336dd3515782dcd5aaad40705fea522b0fd72471daa02d'
'tests/test_windows_saved_store_controller_v2.py' = 'a35ef8f9ff59f2f6214b005deb5eb6c03f80acdbacc3dbcda7e4af006fdeba3f'
'tests/fixtures/windows_saved_store_controller_v2.zip' = 'da481265cf79a5ba4c05f370bc861309b16fd51bb0145aab48ca2646cae94f07'
}
Expand Down Expand Up @@ -349,7 +349,7 @@ jobs:
if ($env:GITHUB_RUN_ATTEMPT -cne '1') { throw 'Only the first attempt is authorized.' }
$inputs = @(
@{ path='experiments/platform/windows_saved_store_standard_user_gui_proposal_v4.ps1'; sha256='0f8bc51e984dedd5cace1c6c93e5278dd24273b077fc8e39b98e8099baa276c8'; parameters=@('ExecuteApprovedFixture','ExecuteReviewedGuiLease','GuiHelper','BasePython','Wheel','ProofScript','Output','ControllerRepo','ComponentOwned','ControllerPython','AnchorPublisher','SourceManifest') }
@{ path='experiments/platform/windows_saved_store_controller_v2/pre_fixture.ps1'; sha256='9b3dba29ccb63591cb43aa1ff438cf7c7f7eb619ad5667a088a4d0ae2c3abb89'; parameters=@('Repo','ControllerPython','PreFixtureOnly') }
@{ path='experiments/platform/windows_saved_store_controller_v2/pre_fixture.ps1'; sha256='8b4ca9f27d7d83298e336dd3515782dcd5aaad40705fea522b0fd72471daa02d'; parameters=@('Repo','ControllerPython','PreFixtureOnly') }
)
foreach ($inputRecord in $inputs) {
$row = [ordered]@{ path=$inputRecord.path; sha256=$null; expected_parameters=$inputRecord.parameters; parameters=@(); parser_error_ids=@(); parsed=$false; failure_type=$null }
Expand Down
8 changes: 7 additions & 1 deletion docs/recovery-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@ Resume requires the original request and registry again. Their accepted revision
document/context hashes and the complete bounded Markdown source snapshot must
match. Missing/wrong feature dependencies fail visibly. Native or command profiles
require `--allow-external` on each execution call; a stored switch is not reused as
credential or spending approval. Completed runs are returned without invoking any
credential or spending approval. Resume also requires the saved engine profile to
match the current qualified dependencies, including Verify's exact version. This
check precedes completed-run replay. After a Verify upgrade from 0.6.0 to 0.6.1,
inspect older records with **`inspect-review`**; use their original runtime for
resume. Do not rewrite saved profiles to bypass the check.

Completed runs with a matching engine profile are returned without invoking any
participants. Inspection and completed-run replay are historical evidence, not a
fresh verification of external state.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

ENTRY_COUNT = 56
INPUT_PATH = 'experiments/platform/windows_saved_store_controller_v2/inputs.json'
INPUT_SHA = 'bde8f6184d407e2bc84e90d9e8e6932c0c59803dde34f9bef8ce52ed23a91496'
INPUT_SHA = '3666a46efe60a8d90a4aa50891cc47da86264e25bf93d28d1dbfa2d600119e5f'
BASE_PATH = 'experiments/platform/windows_saved_store_ack_gate_v1.py'
BASE_SHA = '5322b81ab10bf83634685a245b535d6e1d06ff1682a941101f10116564450651'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"locks": {
"requirements-workflow.lock": {
"source": "requirements-workflow.lock",
"sha256": "60ba53cfeba53c784331a689f948c5cbd046ed20f4e84fd6023eacf0ff656fad",
"sha256": "3fe60fc3b0c254bed29722df8ea8c904512dcf3d9a8a0a202dd448bd18e080e2",
"bytes": 451
},
"requirements-voyage.lock": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ $pinsJson = @'
"requirements-redis.lock": "84f43680576915e1e8716902d85acc6b2ae63a4451eb55f5eaddabbf9806c09c",
"requirements-tokens.lock": "6351570c2dabef01106388ab7291bab9f52866f6bdbec1eb36f036929b39472d",
"requirements-voyage.lock": "ec50266e00bb2bf673973b7d051da9bb962d0713904c6f7258c416a5b1dc63da",
"requirements-workflow.lock": "60ba53cfeba53c784331a689f948c5cbd046ed20f4e84fd6023eacf0ff656fad",
"requirements-workflow.lock": "3fe60fc3b0c254bed29722df8ea8c904512dcf3d9a8a0a202dd448bd18e080e2",
"tests/.gitattributes": "69778c577642ecd3fe7b8c329dff6948d7ccb7fd8afde301711b12e63ccdbf8d",
"tests/fixtures/windows_saved_store_component_v1/inputs-bde.zip": "c0c4ec0f8c274ec0782bc19844bf7a5cbdb600c4cb678ea70e3ad8773d703fe4",
"tests/fixtures/windows_saved_store_component_v1/protocol.zip": "c4d27a6c8f3ad50dbe08f8d181d958ed8c5bad4542f1bce1f8146e3cabe667bb",
Expand All @@ -96,10 +96,10 @@ $pinsJson = @'
"experiments/platform/windows_saved_store_standard_user_gui_proposal_v4.ps1": "0f8bc51e984dedd5cace1c6c93e5278dd24273b077fc8e39b98e8099baa276c8",
"experiments/platform/windows_saved_store_ack_gate_v1.py": "5322b81ab10bf83634685a245b535d6e1d06ff1682a941101f10116564450651",
"experiments/platform/windows_saved_store_controller_v2/.gitattributes": "705fd4d6451a31d36b3df7de96f83f30ac976c9b4a6d1e51671d8e2f33e2d0da",
"experiments/platform/windows_saved_store_controller_v2/inputs.json": "bde8f6184d407e2bc84e90d9e8e6932c0c59803dde34f9bef8ce52ed23a91496",
"experiments/platform/windows_saved_store_controller_v2/route.py": "3bd4c6eb79b395f9660dc82ae1ab3734fd6bcd44239911ba5084d27a8b0170d5",
"experiments/platform/windows_saved_store_controller_v2/entry.py": "10faaf2b76c6f9180691248c0e20053210df4b828e2ad927e070b4a0a8861027",
"experiments/platform/windows_saved_store_controller_v2/preflight.ps1": "fb61a075166c22616d9f85acfc362e2b57dd765e29cd318ef1c42d5e217f1cdf",
"experiments/platform/windows_saved_store_controller_v2/inputs.json": "3666a46efe60a8d90a4aa50891cc47da86264e25bf93d28d1dbfa2d600119e5f",
"experiments/platform/windows_saved_store_controller_v2/route.py": "1cb667e42ab065c569add0445b0680cad4650503123a9e1500453caad2e93ba3",
"experiments/platform/windows_saved_store_controller_v2/entry.py": "abdf2231135145b0131d439858212a1de22ecdf13d1634dcba82e4706f1e8472",
"experiments/platform/windows_saved_store_controller_v2/preflight.ps1": "b0f6eb5393e913a89630557d2bafc09f0955857f1776928173af1cc3c5f379df",
"tests/test_windows_saved_store_controller_v2.py": "a35ef8f9ff59f2f6214b005deb5eb6c03f80acdbacc3dbcda7e4af006fdeba3f",
"tests/fixtures/windows_saved_store_controller_v2.zip": "da481265cf79a5ba4c05f370bc861309b16fd51bb0145aab48ca2646cae94f07",
"experiments/platform/windows_saved_store_component_account_tail_v2.ps1": "d6ca9401a6435acf93bf8996755b8873863e541d65d6b0d42099d1d9ec4d3a96"
Expand Down Expand Up @@ -137,7 +137,7 @@ $entryCode = @'
import hashlib,json,pathlib,sys,types
source,repo,owned,pins,expected,output=sys.argv[1:]
raw=pathlib.Path(source).read_bytes()
if len(raw)>1048576 or hashlib.sha256(raw).hexdigest()!='10faaf2b76c6f9180691248c0e20053210df4b828e2ad927e070b4a0a8861027': raise ValueError('gate_source_refused')
if len(raw)>1048576 or hashlib.sha256(raw).hexdigest()!='abdf2231135145b0131d439858212a1de22ecdf13d1634dcba82e4706f1e8472': raise ValueError('gate_source_refused')
m=types.ModuleType('t2_account_entry');m.__file__=source;exec(compile(raw,source,'exec'),m.__dict__)
report={'status':'entry_incomplete','accounts_or_credentials_created':False,'failure_type':None}
with pathlib.Path(output).open('x',encoding='ascii') as stream:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ $pins = [ordered]@{
'experiments/platform/windows_saved_store_namespace_witness_v4.py' = 'f326803457453fccf02b795144ef1a48986c4c7068eef87aa56d21591ddd643e'
'experiments/platform/windows_saved_store_combined_driver_v3.py' = '7ceb7519b2df1cca15729e3b96b0c0eba91f86b26cab97cbafe82752ef347a09'
'experiments/platform/windows_saved_store_source_manifest_v4.json' = '6b33976fcc9e7c1bcf276f82c9d4e0ad1d795008a74fb3c4343d86a7573c430a'
'requirements-workflow.lock' = '60ba53cfeba53c784331a689f948c5cbd046ed20f4e84fd6023eacf0ff656fad'
'requirements-workflow.lock' = '3fe60fc3b0c254bed29722df8ea8c904512dcf3d9a8a0a202dd448bd18e080e2'
'requirements-voyage.lock' = 'ec50266e00bb2bf673973b7d051da9bb962d0713904c6f7258c416a5b1dc63da'
'requirements-mcp.lock' = '87071ba2a0d0c033a4059b44ee9b816076c6e8d87407b59b8f0a35f6fd871211'
'requirements-tokens.lock' = '6351570c2dabef01106388ab7291bab9f52866f6bdbec1eb36f036929b39472d'
Expand All @@ -235,8 +235,8 @@ $pins = [ordered]@{
'experiments/platform/windows_saved_store_component_adapter_v1.py' = 'a1cb9a2818b3a42f45ebb744fc890017f0f1a5f7129b47a4416b2ab7a0bfd9c3'
'experiments/platform/windows_saved_store_component_route_v1.py' = '2020c0aa0ce28f53ccafdb684d04982e8cb4ccef9de98475a61b7215a7aa3141'
'.github/workflows/windows-saved-store-reviewed-execution.yml' = '30e11a181edf79eecb0667686d2da540fe9c7047829dc31ddaa50e23d88dfc6e'
'experiments/platform/windows_saved_store_controller_v2/inputs.json' = 'bde8f6184d407e2bc84e90d9e8e6932c0c59803dde34f9bef8ce52ed23a91496'
'experiments/platform/windows_saved_store_controller_v2/route.py' = '3bd4c6eb79b395f9660dc82ae1ab3734fd6bcd44239911ba5084d27a8b0170d5'
'experiments/platform/windows_saved_store_controller_v2/inputs.json' = '3666a46efe60a8d90a4aa50891cc47da86264e25bf93d28d1dbfa2d600119e5f'
'experiments/platform/windows_saved_store_controller_v2/route.py' = '1cb667e42ab065c569add0445b0680cad4650503123a9e1500453caad2e93ba3'
'experiments/platform/windows_saved_store_controller_v2/.gitattributes' = '705fd4d6451a31d36b3df7de96f83f30ac976c9b4a6d1e51671d8e2f33e2d0da'
}
$pins['experiments/platform/windows_saved_store_controller_v2/preflight.ps1'] = (Get-FileHash -LiteralPath $PSCommandPath -Algorithm SHA256).Hash.ToLowerInvariant()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
'sha256': '6b33976fcc9e7c1bcf276f82c9d4e0ad1d795008a74fb3c4343d86a7573c430a',
'bytes': 54462},
'requirements-workflow.lock': {'source': 'requirements-workflow.lock',
'sha256': '60ba53cfeba53c784331a689f948c5cbd046ed20f4e84fd6023eacf0ff656fad',
'sha256': '3fe60fc3b0c254bed29722df8ea8c904512dcf3d9a8a0a202dd448bd18e080e2',
'bytes': 451},
'requirements-voyage.lock': {'source': 'requirements-voyage.lock',
'sha256': 'ec50266e00bb2bf673973b7d051da9bb962d0713904c6f7258c416a5b1dc63da',
Expand All @@ -42,7 +42,7 @@
'sha256': '84f43680576915e1e8716902d85acc6b2ae63a4451eb55f5eaddabbf9806c09c',
'bytes': 225},
'controller-inputs.json': {'source': 'experiments/platform/windows_saved_store_controller_v2/inputs.json',
'sha256': 'bde8f6184d407e2bc84e90d9e8e6932c0c59803dde34f9bef8ce52ed23a91496',
'sha256': '3666a46efe60a8d90a4aa50891cc47da86264e25bf93d28d1dbfa2d600119e5f',
'bytes': 1539}}
REPORTS = {'stage': 'component-stage.json', 'create': 'projection-created.json',
'verify': 'projection-verified.json', 'build': 'projection-build.json',
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ classifiers = [
# each missing piece instead of failing.
dependencies = [
"attune-forms==0.17.0",
"attune-verify==0.6.0",
"attune-verify==0.6.1",
"attune-rag==1.2.0",
"mcp==2.2.0",
"tiktoken==0.12.0",
Expand Down
2 changes: 1 addition & 1 deletion requirements-workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Pygments==2.21.0
attrs==26.1.0
attune-forms==0.17.0
attune-rag==1.2.0
attune-verify==0.6.0
attune-verify==0.6.1
coverage==7.13.5
exceptiongroup==1.3.1
iniconfig==2.3.0
Expand Down
5 changes: 3 additions & 2 deletions src/attune_harness/task_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ def store_task_request(request, target):
return record


def read_task(directory):
def read_task(directory, *, for_inspection=False):
"""Validate saved data; historical execution evidence is inspection-only."""
directory = safe_storage(directory)
if (directory / 'record.json').is_symlink():
raise ValueError('Task record cannot be a symlink')
Expand All @@ -234,7 +235,7 @@ def read_task(directory):
if 'execution' in record:
from .task_policies import RUNTIME_PROFILE, validate_execution
expected_recovery['runtime'] = {'kind':'repair','version':1} if 'repair' in record['request'] else RUNTIME_PROFILE
validate_execution(record)
validate_execution(record, for_inspection=for_inspection)
elif record['status'] not in ('draft', 'accepted'):
raise ValueError('Execution state requires a runtime record')
if record['recovery'] != expected_recovery:
Expand Down
12 changes: 9 additions & 3 deletions src/attune_harness/task_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,21 @@ def execute_task(directory, *, checkpoint=None, max_operations=None, exchange_fa
return task


def validate_execution(task):
def validate_execution(task, *, for_inspection=False):
from .recovery import validate_events
execution = task['execution']
request = task['request']
expected_profile = engine_profile(request['registry'])
saved_profile = execution['recovery']['profile']
profile_matches = saved_profile == expected_profile
# This upgrade preserves old evidence, not authority to resume or replay it.
if for_inspection is True and expected_profile.get('verify') == '0.6.1':
profile_matches = profile_matches or saved_profile == {**expected_profile, 'verify': '0.6.0'}
if (execution['operation'] != ('fix' if 'repair' in request else 'review') or execution['schema_version'] != 1 or
execution['status'] != task['status'] or execution['run_id'] != request['task_id'] or
execution['requirement_revision'] != digest(request) or
execution['record_path'] != task['record_path'] or execution['registry'] != request['registry'] or
execution['recovery']['profile'] != engine_profile(request['registry'])):
not profile_matches):
raise ValueError('Execution differs from accepted task identity/profile')
expected = {role: {'participant_id': a['participant_id'], 'attempt_id': a['assignment_id']}
for role, a in task['bindings']['assessment']['assignments'].items()}
Expand All @@ -181,7 +187,7 @@ def validate_execution(task):


def inspect_task(directory):
task = read_task(directory)
task = read_task(directory, for_inspection=True)
if task.get('task_profile') == 'pytest-change-v1':
from .test_change import present_test_task
return present_test_task(task)
Expand Down
2 changes: 1 addition & 1 deletion src/attune_harness/verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from .features import read_text, report, require_feature

VERIFY_VERSION = '0.6.0'
VERIFY_VERSION = '0.6.1'
Comment thread
silversurfer562 marked this conversation as resolved.
Resolved


def verify_document(document: Path, context_file: Path) -> dict:
Expand Down
Loading
Loading