# MANIFEST: jq
updated: 2026-10-28T16:07:21+00:00
state: approved
blocks:      24

applied_specs: |
  ARCHITECTURE.md sha256=67f41aee3510051129bfd19baddad26b11ae3479571be1cf23c3fa1ab5a405ac commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-1 applied_at=2026-10-28T16:09:28+00:00 build_sha256=67f41aee3510051129bfd19baddad26b11ae3479571be1cf23c3fa1ab5a405ac
  ARCHITECTURE_compact.md sha256=2cf78671458ea1098a576bba4b4a6538556cb6059240bc1f22d7fcdcbe087723 commit=52589564b6fa8d15ad1b4bc81656fcf10db142a2 applied_by=block-23 applied_at=2026-10-28T20:25:40+00:00 build_sha256=2cf78671458ea1098a576bba4b4a6538556cb6059240bc1f22d7fcdcbe087723
  FEATURE-Assignment.md sha256=be6bc79a59caa2803372a641f47ea581b8757d9649b55222b7e5c81532e7b147 commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-11 applied_at=2026-10-28T16:29:57+00:00 build_sha256=b4ea7aeb2e97d6852c9c681f574078bd52f5b2f4b7f2588ea0eb29cab81b9994
  FEATURE-Bindings.md sha256=cfbc1c766ee64665f9383116e99d72a7fc728ff5c4756c6ca08905adbe830e44 commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-9 applied_at=2026-10-28T16:24:53+00:00 build_sha256=7a536a6d1185548316d50504b1d77f4e6884adf5d1eff9fe7a65cdce7c6afc59
  FEATURE-CollectionBuiltins.md sha256=0bf13776f34d2c671aa7e7c811f797cd31b8006b856d4072bc56b15bd4b1305d commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-14 applied_at=2026-10-28T17:23:20+00:00 build_sha256=0725a90bff0ffb636b1361b501c157fc809bccddff5944c980822c66c4012c74
  FEATURE-Collections.md sha256=4eb0bf99e5df7e9dcf74967d71d85028e745e65e6adc8bfa577bface81101f40 commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-6 applied_at=2026-10-28T16:16:06+00:00 build_sha256=82be2d2191db22420a8d9d4da283f43db81cb834c436abca5af6916ab8c2e8ec
  FEATURE-Command.md sha256=090734d8b4b182d20d09cd1fcd70654e076314aabb91fcd5744a29d507bb80cd commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-22 applied_at=2026-10-28T17:49:54+00:00 build_sha256=bd0481f3b205fd4bd04a3c63060b30285eb49e2336fe6ade60e2b2fe6a464134
  FEATURE-Control.md sha256=82b19a10bc5f5c3e78335464bba882a27ed47d85aa954de6a038eea10df12a7c commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-8 applied_at=2026-10-28T16:19:45+00:00 build_sha256=f4b07d95feb1ed9a849b2926c34736512ae754e5f2835791f3cb25a1fe174e9e
  FEATURE-Conversion.md sha256=2b80f38ecd6cdad0d0b08c379131d8be3cab1d5b1a9f048b735aec7c369e1b89 commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-13 applied_at=2026-10-28T17:20:36+00:00 build_sha256=b8b027f2d9a573bf30b49cd4e082843446d40309a520fbd282f1a38eea6c24ea
  FEATURE-CorpusStaging.md sha256=643247481280192724e8ad7adb67df5efef94176c2fb50ce0016a34db78e0a43 commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-2 applied_at=2026-10-28T16:09:53+00:00 build_sha256=09db627a40aac92029ba510056e1564f1ec8057a80d60beadaf358de84520759
  FEATURE-Dates.md sha256=49ef78609e076f40cb140764816d9eaeb55943ef2a1e6118c7567eabb6f90e5f commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-18 applied_at=2026-10-28T17:38:45+00:00 build_sha256=3fd699dfbb8120cddeabf5f2b2e892533be95ab18a034a4c5d2d34fd30fb80d8
  FEATURE-Documentation.md sha256=dfd3c77d7a24ac9d6c226ecd3424ea8b559ade58e2e6492e1eb56fc317c8dd7b commit=52589564b6fa8d15ad1b4bc81656fcf10db142a2 applied_by=block-23 applied_at=2026-10-28T20:25:40+00:00 build_sha256=00dbcbc9a3a0e23b860c1eb3fb779c0b67697a9aac3f20cc2c0bae8d86f49040
  FEATURE-Formats.md sha256=86bb47d26fcca06c6f3a57304af6d0291c6fcb3d788bec926bb22e0046609ad5 commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-16 applied_at=2026-10-28T17:27:39+00:00 build_sha256=301241237fe427cc70a749d9e124babc1f402991a654ad78a4319718294d4739
  FEATURE-GeneratorControl.md sha256=e827001cc7d238238c76b4c7bb098f212ccaca3499f2e83802498bd35214d4af commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-12 applied_at=2026-10-28T16:31:48+00:00 build_sha256=e8f7c5803688b89bad13a5d94a2f4067e649d64aa050af3ab3548773053dd5f2
  FEATURE-GeneratorCore.md sha256=9cef7882123aa427d0d2a6862a7d3c7f9777b7a3707fb368dfc680e9a0064122 commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-5 applied_at=2026-10-28T16:14:26+00:00 build_sha256=36dcd0c7977b46e1f17ee06e5f888fc7e980b4e3e51014ab06321580ce751b3f
  FEATURE-InputDiagnostics.md sha256=03f2a122110dc8801f66bc5bcdd23b07355cd8b7e83409e38bd2820b0b624746 commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-20 applied_at=2026-10-28T17:44:41+00:00 build_sha256=60e6ebbc060da064a632f563f78fa51067d14fa69d8176060c3e8b64080f119c
  FEATURE-Lexer.md sha256=5a641cde7dde6b566e09b42a7ea943608be7ed186d2c8e26bbaeb23064f5bdd0 commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-3 applied_at=2026-10-28T16:11:12+00:00 build_sha256=d7f86731a7141b4dba89837bdfb616ed156fdad70c12c20a4c925bc85ad82cdd
  FEATURE-Numeric.md sha256=12354e52a76d7c1805c518e31fc08d1389ccabe08e8be7010306db160826cb53 commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-17 applied_at=2026-10-28T17:34:13+00:00 build_sha256=940263e6ebac056abdbe2763bbaaddd57a5b9e903dcd7438513e40faac2e1e99
  FEATURE-Operators.md sha256=1bc20f1bb84180d899dbccca093563d5406d603452474c03e75aeadc320894c2 commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-7 applied_at=2026-10-28T16:17:15+00:00 build_sha256=fc4d9ede7680fd4fcb2aa9a6542a336c9a96c96b6efaae44dcd77cd2562c888f
  FEATURE-Parser.md sha256=15a3f3b53c2546163289d62d8d74c7f19fe1504ccb5a1aba7a5f3f9c027dbbb2 commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-4 applied_at=2026-10-28T16:13:24+00:00 build_sha256=1ba73de9693c31144362fc2dd3179be1583bc94803606d1cc043790ab6a06b49
  FEATURE-Paths.md sha256=d7d82199940bc029a2c4e076e2c7249ad499e7384eb16d53bff525e133e01bad commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-10 applied_at=2026-10-28T16:26:40+00:00 build_sha256=93b254041fad97456bdc01fb02e46877eae2461b05046bf575e92d8b0a12b42b
  FEATURE-ScopedConformance.md sha256=a460beed60ecde77d2c0a25c16fe21d2aff53cc7eb89f0c9bb9e7a2aea3c36e5 commit=52589564b6fa8d15ad1b4bc81656fcf10db142a2 applied_by=block-23 applied_at=2026-10-28T20:25:40+00:00 build_sha256=1d27dbe772188d7cfa085f0792fe1e8feca95765aa70bd7ca630ef654e24bf4b
  FEATURE-SqlBuiltins.md sha256=d5b57698ca10987b8480ee6bc60918bda384c03a0c61173b0a7a7119a6eb6b9d commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-21 applied_at=2026-10-28T17:48:03+00:00 build_sha256=84cb81b6e0c5ff95f9cd9ef739f15b3139b839b63668023934f465b5bfcc2a4d
  FEATURE-Strings.md sha256=fb3111e62f14aad3323d8d3dc986fd83358491b526055a77e012aa4b27499631 commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-15 applied_at=2026-10-28T17:25:41+00:00 build_sha256=ea96819f59667dd26bb06bdd1e8f3e0b01b39724564874c368e40580ed446124
  FEATURE-Traversal.md sha256=45acf40b2b92d9f1f86b2ca08056d608d2d65f45e77b2960c622cefef1853dee commit=65299258d5355c2bc24d0636d7287fbc6551e695 applied_by=block-19 applied_at=2026-10-28T17:42:03+00:00 build_sha256=3ce88daeb2b8861f2e0237f687793f9e2ec5320135aa3c2136c5beeba0b7ff35
  VERIFICATION.md sha256=1ebcfa8f72fc604919f54599698373ee72a4698ead9976004976d92a900a0438 commit=52589564b6fa8d15ad1b4bc81656fcf10db142a2 applied_by=block-24 applied_at=2026-10-28T20:36:23+00:00 build_sha256=f8d7a2f0680739ce6305104da7c611ec02f98cee5c46fcbd0000f77c43cffac5
## story 1: Establish the Python application structure and interpreter boundaries.
id:           foundation
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-1.md
summary:      Establish the Python application structure and interpreter boundaries.
type:         foundational
kind:         capability
phase:        1
block:        1
implements:   ARCHITECTURE.md
instructions: |
  Establish a standard-library Python application tree and its test interface. Define boundaries for lexing, parsing, generator evaluation, builtins, and the command entry point. Preserve ordered lazy streams, lexical environments, and distinct compile and runtime errors as the shared contracts. Do not install packages or introduce an external jq runtime.
stack:        python.md
stack_mode:   builder
size:         5197
provides:     Python application foundation
acceptance:   yes
state: closed/implemented

## story 2: Stage and validate the supplied conformance assets.
id: corpus-staging
finding: ADVISORY: implemented, not verified — every binding criterion this story passed was already green before the story built, so none measured the work. Repair the criteria in the Blueprint to exercise this story and rebuild to obtain a verdict.
evidence: evidence/block-2.md
summary: Stage and validate the supplied conformance assets.
type: service
kind: test harness
phase: 1
block: 2
implements: FEATURE-CorpusStaging.md
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5463
provides: staged conformance assets
consumes: Python application foundation
instructions: Stage the manual, grammar, lexer, builtin reference, corpus, exclusions, runner, and scoring script unchanged under sources. Validate corpus parsing and exclusion consistency by importing the runner and calling its parsers directly; do not launch the runner for this staging gate. Preserve the Compass staging criterion and its pinned counts.
acceptance: yes
depends: foundation
state: closed/implemented

## story 3: Tokenize jq programs including strings and interpolation.
id: lexer
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-3.md
summary: Tokenize jq programs including strings and interpolation.
type: service
kind: capability
phase: 1
block: 3
implements: FEATURE-Lexer.md
covers: FRONTEND-002
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5628
provides: jq token stream
consumes: Python application foundation, staged conformance assets
instructions: Implement lexical rules from sources/lexer.l, including comments, literals, escapes, interpolation, format tokens, balanced delimiters, and source locations. Reject invalid escapes and tokens as compile errors. Gate the delivered lexer directly where corpus programs would require an evaluator not yet built; assign their executing corpus coverage to later stories.
acceptance: yes
depends: foundation, corpus-staging
state: closed/implemented

## story 4: Parse and statically validate jq programs.
id: parser
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-4.md
summary: Parse and statically validate jq programs.
type: service
kind: capability
phase: 1
block: 4
implements: FEATURE-Parser.md
covers: FRONTEND-001
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5605
provides: jq abstract syntax tree
consumes: jq token stream
instructions: Implement the grammar and precedence in sources/parser.y, including lexical scope and static rejection of invalid bindings, labels, object keys, and module grammar. Produce an AST and distinguish compilation failure from evaluation failure. Gate the parser directly until the executable and evaluator exist; retain the relevant corpus cases for later executing slices.
acceptance: yes
depends: lexer
state: closed/implemented

## story 5: Evaluate basic filters as ordered generators.
id: core
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-5.md
summary: Evaluate basic filters as ordered generators.
type: service
kind: capability
phase: 1
block: 5
implements: FEATURE-GeneratorCore.md
covers: CORE-001
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5843
provides: jq generator evaluation
consumes: jq abstract syntax tree
instructions: Evaluate identity, literals, empty, comma, and pipes as lazy ordered streams. Feed each pipe output downstream and evaluate combining operands against the same input, preserving multiplicity, backtracking, and outputs produced before an error. Provide the minimal executable interface needed for scoped conformance runs.
acceptance: yes
depends: parser
state: closed/implemented

## story 6: Construct and access jq arrays and objects.
id: constructors
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-6.md
summary: Construct and access jq arrays and objects.
type: service
kind: capability
phase: 1
block: 6
implements: FEATURE-Collections.md
covers: CORE-002
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5666
provides: jq collection expressions
consumes: jq generator evaluation
instructions: Implement array collection, object construction, field and index access, iteration, and slicing with jq generator ordering and type rules. Preserve null and out-of-range behavior and multi-output constructor combinations.
acceptance: yes
depends: core
state: closed/implemented

## story 7: Evaluate jq arithmetic and comparison operators.
id: operators
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-7.md
summary: Evaluate jq arithmetic and comparison operators.
type: service
kind: capability
phase: 1
block: 7
implements: FEATURE-Operators.md
covers: CORE-003
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5525
provides: jq operators
consumes: jq collection expressions
instructions: Implement arithmetic, equality, ordering, and Boolean operators with jq type rules, truthiness, operand streams, and short-circuit behavior. Preserve non-decnum numeric semantics and runtime errors.
acceptance: yes
depends: constructors
state: closed/implemented

## story 8: Evaluate conditional and error-control expressions.
id: control
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-8.md
summary: Evaluate conditional and error-control expressions.
type: service
kind: capability
phase: 1
block: 8
implements: FEATURE-Control.md
covers: CORE-004
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5564
provides: jq conditional and error control
consumes: jq operators
instructions: Implement conditionals, alternative expressions, try and catch, and optional expressions. Preserve each condition's output multiplicity, false-or-null semantics, error boundaries, and partial output before a caught or uncaught error.
acceptance: yes
depends: operators
state: closed/implemented

## story 9: Support lexical bindings, destructuring, and user functions.
id: bindings
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-9.md
summary: Support lexical bindings, destructuring, and user functions.
type: service
kind: capability
phase: 1
block: 9
implements: FEATURE-Bindings.md
covers: CORE-006
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5691
provides: jq lexical bindings and functions
consumes: jq conditional and error control
instructions: Implement lexical variables, array and object patterns, destructuring alternatives, function definitions and arities, filter and value parameters, closures, shadowing, and recursion. Alternatives retry on binding or downstream errors as specified and preserve generator behavior.
acceptance: yes
depends: control
state: closed/implemented

## story 10: Generate and retrieve jq paths.
id: paths
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-10.md
summary: Generate and retrieve jq paths.
type: service
kind: capability
phase: 1
block: 10
implements: FEATURE-Paths.md
covers: PATHS-001
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5556
provides: jq path lookup
consumes: jq lexical bindings and functions
instructions: Implement path expressions, path, paths, getpath, and pick. Track paths through generators and filters, distinguish exact paths from traversal, preserve order, and reject invalid path expressions with runtime errors.
acceptance: yes
depends: bindings
state: closed/implemented

## story 11: Update and delete values through jq paths.
id: assignment
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-11.md
summary: Update and delete values through jq paths.
type: service
kind: capability
phase: 1
block: 11
implements: FEATURE-Assignment.md
covers: PATHS-002
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5752
provides: jq path mutation
consumes: jq path lookup
instructions: Implement setpath, delpaths, del, and assignment operators with immutable value semantics. Plain assignment evaluates the right side on the original input and emits one result per value; updates apply to selected old values, use the first result, and delete when no result is produced. Preserve slice and negative-index rules.
acceptance: yes
depends: paths
state: closed/implemented

## story 12: Implement reductions and generator control.
id: loops
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-12.md
summary: Implement reductions and generator control.
type: service
kind: capability
phase: 1
block: 12
implements: FEATURE-GeneratorControl.md
covers: CORE-005
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5640
provides: jq reductions and generator control
consumes: jq lexical bindings and functions, jq path mutation
instructions: Implement reduce, foreach, lexical labels and break, limit, skip, first, last, and nth. Evaluate generator inputs in order, carry accumulator states and extraction streams correctly, and stop lazy evaluation at the specified boundary.
acceptance: yes
depends: bindings, assignment
state: closed/implemented

## story 13: Implement jq type and conversion builtins.
id: conversion
finding: ADVISORY: implemented, not verified — every binding criterion this story passed was already green before the story built, so none measured the work. Repair the criteria in the Blueprint to exercise this story and rebuild to obtain a verdict.
evidence: evidence/block-13.md
summary: Implement jq type and conversion builtins.
type: service
kind: capability
phase: 1
block: 13
implements: FEATURE-Conversion.md
covers: BUILTINS-001
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5596
provides: jq type and conversion builtins
consumes: jq reductions and generator control
instructions: Implement type inspection, length, numeric and Boolean parsing, JSON and string conversion, and Unicode codepoint conversion according to the manual and corpus. Preserve jq error values where caught by programs.
acceptance: yes
depends: loops
state: closed/implemented

## story 14: Implement array and object utility builtins.
id: collection-builtins
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-14.md
summary: Implement array and object utility builtins.
type: service
kind: capability
phase: 1
block: 14
implements: FEATURE-CollectionBuiltins.md
covers: BUILTINS-002
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5698
provides: jq collection builtins
consumes: jq type and conversion builtins
instructions: Implement collection utilities including map, sorting and grouping, uniqueness, entries, containment, combinations, flatten, transpose, and related functions. Follow jq ordering and stream semantics and the definitions in sources/builtin.jq.
acceptance: yes
depends: conversion
state: closed/implemented

## story 15: Implement string and regular-expression builtins.
id: strings
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-15.md
summary: Implement string and regular-expression builtins.
type: service
kind: capability
phase: 1
block: 15
implements: FEATURE-Strings.md
covers: BUILTINS-003
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5602
provides: jq string and regex builtins
consumes: jq collection builtins
instructions: Implement string operations and corpus-required regular-expression matching, captures, splitting, scanning, and substitution using the standard library. Preserve Unicode offsets, generator results, flags, and jq error behavior.
acceptance: yes
depends: collection-builtins
state: closed/implemented

## story 16: Implement jq format and encoding filters.
id: formats
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-16.md
summary: Implement jq format and encoding filters.
type: service
kind: capability
phase: 1
block: 16
implements: FEATURE-Formats.md
covers: BUILTINS-004
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5572
provides: jq format filters
consumes: jq string and regex builtins
instructions: Implement text, JSON, HTML, URI, CSV, TSV, shell, and Base64 formats and their specified inverse filters. In formatted strings escape interpolations while retaining literal text.
acceptance: yes
depends: strings
state: closed/implemented

## story 17: Implement mathematical and numeric edge-case builtins.
id: numeric
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-17.md
summary: Implement mathematical and numeric edge-case builtins.
type: service
kind: capability
phase: 1
block: 17
implements: FEATURE-Numeric.md
covers: BUILTINS-005
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5498
provides: jq numeric builtins
consumes: jq format filters
instructions: Implement the corpus-required math functions, IEEE floating-point edge cases, numeric conversion and serialization behavior. Return false for have_decnum and support the corpus's non-decnum branch.
acceptance: yes
depends: formats
state: closed/implemented

## story 18: Implement jq date and time builtins.
id: dates
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-18.md
summary: Implement jq date and time builtins.
type: service
kind: capability
phase: 1
block: 18
implements: FEATURE-Dates.md
covers: BUILTINS-006
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5510
provides: jq date builtins
consumes: jq numeric builtins
instructions: Implement the corpus-required date parsing, formatting, epoch conversion, and broken-down time operations with the manual's UTC and local-time semantics and specified error behavior.
acceptance: yes
depends: numeric
state: closed/implemented

## story 19: Implement recursive traversal and streaming utilities.
id: traversal
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-19.md
summary: Implement recursive traversal and streaming utilities.
type: service
kind: capability
phase: 1
block: 19
implements: FEATURE-Traversal.md
covers: BUILTINS-007
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5549
provides: jq traversal and streaming builtins
consumes: jq date builtins, jq path mutation
instructions: Implement recurse, walk, tostream, fromstream, and truncate_stream according to the manual and builtin reference. Preserve traversal and stream event ordering, empty structures, backtracking, and specified deep-value boundaries.
acceptance: yes
depends: dates, assignment
state: closed/implemented

## story 20: Implement jq input, environment, and diagnostic filters.
id: io
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-20.md
summary: Implement jq input, environment, and diagnostic filters.
type: service
kind: capability
phase: 1
block: 20
implements: FEATURE-InputDiagnostics.md
covers: BUILTINS-008
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5560
provides: jq input and diagnostic builtins
consumes: jq traversal and streaming builtins
instructions: Implement input and inputs against the shared input stream, environment bindings, debug and stderr side effects, and source location values. Preserve output streams and error handling independently of diagnostics.
acceptance: yes
depends: traversal
state: closed/implemented

## story 21: Implement SQL-style filters and builtin inventory.
id: sql
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-21.md
summary: Implement SQL-style filters and builtin inventory.
type: service
kind: capability
phase: 1
block: 21
implements: FEATURE-SqlBuiltins.md
covers: BUILTINS-009
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5561
provides: jq SQL-style builtins and inventory
consumes: jq input and diagnostic builtins
instructions: Implement INDEX, JOIN, IN, and builtins with their specified arities and generator behavior. Report the supported builtin inventory in name/arity form.
acceptance: yes
depends: io
state: closed/implemented

## story 22: Deliver the standalone jq command interface.
id: cli
finding: ADVISORY: implemented, not verified — every binding criterion this story passed was already green before the story built, so none measured the work. Repair the criteria in the Blueprint to exercise this story and rebuild to obtain a verdict.
evidence: evidence/block-22.md
summary: Deliver the standalone jq command interface.
type: service
kind: capability
phase: 1
block: 22
implements: FEATURE-Command.md
covers: CLI-001
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5978
provides: ./jq -c
consumes: jq SQL-style builtins and inventory
instructions: Complete the executable interface: read JSON values from standard input, compile the supplied filter, and emit compact JSON values in stream order. Return 0 on completion, 3 for compilation failure, and 5 for runtime failure, preserving partial output and sending diagnostics to stderr. Use only Python standard-library runtime facilities.
acceptance: yes
depends: sql
state: closed/implemented

## story 23: Document the command and verification interface.
id: documentation
finding: ADVISORY: implemented, not verified — every binding criterion this story passed was already green before the story built, so none measured the work. Repair the criteria in the Blueprint to exercise this story and rebuild to obtain a verdict.
evidence: evidence/block-23.md
summary: Document the command and verification interface.
type: service
kind: capability
phase: 1
block: 23
implements: FEATURE-Documentation.md
covers: CLI-002
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5547
provides: jq usage documentation
consumes: ./jq -c
instructions: Deliver a concise application README documenting the stdin and stdout contract, exit codes, and supplied full-suite command. Verify the documented interface through the delivered command and a scoped executing corpus slice.
acceptance: yes
depends: cli
state: closed/implemented

## story 24: Execute the remaining cross-feature conformance slices.
id: scoped-integration
finding: ADVISORY: implemented, not verified — no governed acceptance command covers this story. Declare one in ACCEPTANCE.json to gate it.
evidence: evidence/block-23.md
summary: Execute the remaining cross-feature conformance slices.
type: service
kind: integration
phase: 1
block: 23
implements: FEATURE-ScopedConformance.md
covers: VERIFY-001
context: ARCHITECTURE_compact.md
stack: python.md
stack_mode: consumer
size: 5552
provides: scoped conformance integration
consumes: ./jq -c, staged conformance assets
instructions: Execute scoped corpus cases whose program text combines capabilities that could not be gated at their earlier provider stories, including lexer and parser cases. Partition or overlap selectors as needed so every runnable corpus case is covered by an executing intermediate slice. Each selected run supplies JQ, parses the JSON report, asserts a nonzero case count, zero failures and errors, and exit zero. Never invoke a non-executing runner mode.
acceptance: yes
depends: cli, corpus-staging
state: closed/implemented

## story 25: Verify the completed interpreter against the scoring script.
id:           terminal-verification
finding: ADVISORY: implemented, not verified — every binding criterion this story passed was already green before the story built, so none measured the work. Repair the criteria in the Blueprint to exercise this story and rebuild to obtain a verdict.
evidence: evidence/block-24.md
summary:      Verify the completed interpreter against the scoring script.
type:         service
kind:         test harness
phase:        1
block:        24
implements:   VERIFICATION.md
covers:       VERIFY-002
accepts:      st-001
instructions: |
  Run sh sources/full_test.sh once as the terminal full-suite acceptance, print captured stdout and stderr, and assert its exit status is zero. This story adds no interpreter capability and follows every implementation and staging story.
stack:        python.md, common.md
stack_mode:   consumer
size:         5536
consumes:     scoped conformance integration, jq usage documentation
depends:      scoped-integration, documentation
acceptance:   yes
state: closed/implemented
