Commit Graph
178 Commits
Author SHA1 Message Date
dev 8260d3521e rfc: specify closed contract proof and report rules 2026-10-09 10:32:54 +03:00
dev a4181f2d8d rfc: define contract accounting and audit status candidate 2026-10-09 10:06:40 +03:00
dev 9a3e135f43 rfc: investigate explicit invariant updates and stable observations 2026-10-09 09:29:00 +03:00
dev d041c07ad2 rfc: define shared enum and nested owner observation candidate 2026-10-09 09:03:12 +03:00
dev a5f84eb170 rfc: define predicate purity and shared observation gate 2026-10-09 08:28:31 +03:00
dev 8cd933538b rfc: specify contract prefix and invariant publication constraints 2026-10-09 07:14:41 +03:00
dev 11725ad1c3 rfc: open executable contracts spec gate 2026-10-09 00:26:37 +03:00
dev 94414dac3c docs: align source overview with specified extensions 2026-10-09 00:12:05 +03:00
dev edfef82cc6 diag: preserve factual source atomic-access diagnostics 2026-10-09 00:04:12 +03:00
dev ee09a7a290 tests: audit swap leak and remaining source rule boundaries 2026-10-08 22:25:42 +03:00
dev 03305f0957 tests: audit feature-header context and rejection boundaries 2026-10-08 22:12:04 +03:00
dev fe63ae9586 tests: preserve audited CFG loan handoff contexts 2026-10-08 21:57:27 +03:00
dev 50d1bb2c4b tests: audit source boundaries and cancellation join twins 2026-10-08 21:35:58 +03:00
dev 5371eb7a2f tests: audit buffer and error-value rejection twins 2026-10-08 21:21:42 +03:00
dev 2742867ef7 tests: audit task argument identities and source error boundaries 2026-10-08 20:57:51 +03:00
dev fd92604f36 tests: preserve rejection contexts and normalize callee effects 2026-10-08 19:41:01 +03:00
dev 06d8a1a76a tests: extend rejection twins across public semantic features 2026-10-08 19:14:12 +03:00
dev 272aebfd32 tests: extend audited rejection twins through tasks and locks 2026-10-08 18:12:53 +03:00
dev e4aacef48c tests: inventory and verify source rejection twins 2026-10-08 18:01:58 +03:00
dev 09fbf8a5bc verifier: preserve resource obligations across CFG handoff 2026-10-08 17:17:08 +03:00
devandClaude Opus 5.5 0e98638bc6 eval: gobang as a Track B native agent
gobang, the Aji-native harness, joins Codex, Claude Code and OpenCode in
ajieval native. Like them it is an agent product: its runs are never
evidence for H4. Model ids choose the provider: claude-* the Anthropic
API, any other GLM via z.ai, fixture:PATH a scenario without network
(self-tests).

gobang reaches the model over its API, so the key's variable is passed
into the sandbox environment; NativeAgent.env supplies it, its value
never enters the run record, and a missing key stops the run before
anything is created. Tool processes run in gobang's own networkless
bubblewrap sandbox, so no shell wrapper is used. The transcript is
gobang's journal: usage, tool calls and the model come from its events,
the repair metrics from its toolchain tools (aji_check, aji_run,
run_tests with aji's exit codes), and its documentation tools count as
reads of /docs files.

Checked end to end on dev-echo (aji_source) with a fixture model: the
dev evaluator accepts the solution, the workspace holds only the
solution, and the first-check and first-test metrics are exact. With a
fake key the run reaches z.ai from the sandbox and ends INFRA_FAILED
(auth) without the key in any file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 15:00:36 +03:00
dev 762c5abe7b frontend: validate unknown effect names before body lowering 2026-10-08 14:49:49 +03:00
dev 4c9c5626c9 frontend: align source grammar and reject empty enum payload lists 2026-10-08 14:14:45 +03:00
dev 48b9b42fed verifier: cache structural properties and nominal size queries 2026-10-08 13:33:24 +03:00
dev 41f3afbf05 cli: validate exclusive source places before AIR 2026-10-08 12:37:22 +03:00
dev dcd5f1f702 cli: reject non-value operands without aborting lowering 2026-10-08 12:17:15 +03:00
dev bc5412dadd cli: validate inferred allocation content before AIR 2026-10-08 10:31:10 +03:00
dev 1bbfed24a8 cli: check inferred array elements before AIR 2026-10-08 09:26:33 +03:00
dev cfbe01a16f cli: validate Copy content of source owning arrays 2026-10-08 09:01:58 +03:00
dev caf3b86e80 cli: validate structural source type positions before AIR 2026-10-07 23:54:55 +03:00
dev 5f76e92ff3 cli: parse dereferenced places in inline borrow arguments 2026-10-07 22:55:10 +03:00
dev 65e7a0a97c eval: advisory instruction feedback from Claude Code sessions
`ajieval sessions` pairs each human prompt with what the assistant did
just before it, and asks Jev whether the prompt was a correction and which
repository rule (AGENTS.md, the aji-jev skill, commit memory) the corrected
behaviour broke. Excerpts are truncated and credential-like strings
redacted; answers stay in a local log, and each prompt is sent once.

`sessions report` proposes clarifying a rule only when corrections pointing
to it recur across sessions (thresholds in triage.json); it never edits
instructions. `sessions hook` is meant for a personal SessionEnd hook: it
returns at once and scans in the background, and does nothing without a
TypeSafe key, which may now also come from ~/.config/typesafe/api_key.
2026-10-07 22:37:24 +03:00
dev dde801c653 cli: preserve whole-array arguments for explicit array parameters 2026-10-07 22:29:45 +03:00
dev f733f7c7bb eval: advisory Jev failure classification and improvement triage
`classify --suggest` asks TypeSafe Jev for the protocol §27 category, where
the failure was caught and the §38 cause, and stores the answer beside the
human classification. Only failed dev/validation runs are sent; test-set
runs are refused before any request (§29). `--auto-accept` acts only when
triage.json is calibrated and every confidence meets its threshold.

`calibrate` measures agreement with human labels per question. `triage`
groups classified failures and proposes a routed change only across enough
runs, tasks and agents, and withholds proposals while a frozen plan is
incomplete. It reports; it never edits spec, bundle or code.

The evaluator environment no longer carries TYPESAFE_* variables. The
aji-jev skill records where Jev may and may not be used.
2026-10-07 22:21:47 +03:00
dev ba2cb1340a cli: capture complete source parser ranges 2026-10-07 21:58:18 +03:00
dev 1a80c42289 cli: map block diagnostics to their source constructs 2026-10-07 21:45:57 +03:00
dev 1495650587 cli: resolve struct len fields by receiver type
Use ordinary field lowering and declared field types for nominal receivers while preserving array and slice lengths. Make array field type hints available to chained access. Missing struct len now reports E7002 instead of the builtin-length E7005.

Add 15 source regressions and imported generic CLI checks. Unit tests, all 1201 conformance cases, per-instruction collection for new cases, formatter corpus and original public check/lower compatibility pass.
2026-10-07 20:50:48 +03:00
dev 184cb7b321 examples: complete source ports and run the corpus in CI 2026-10-07 20:37:02 +03:00
dev b1629a59fd cli: preserve keyword spacing in unpack and grouped ranges 2026-10-07 20:36:27 +03:00
dev 9001e56325 cli: restrict source scope names to lexical task operands 2026-10-07 19:50:49 +03:00
dev 364eb57bbc diag: preserve envelope fields and reject JSON key collisions in tests 2026-10-07 19:28:36 +03:00
dev 8ee0f4c2bf diag: add factual related borrow and task locations 2026-10-07 19:12:58 +03:00
dev dbd9763713 diag: add stable source reasons and diagnostic incidence reporting 2026-10-07 18:52:36 +03:00
dev 911982dd1c cli: disambiguate block statement boundaries 2026-10-07 18:21:07 +03:00
dev 462ddd2c5c cli: add deterministic source formatter 2026-10-07 18:21:06 +03:00
dev d901d5227b docs: assess language review and propose diagnostic extensions 2026-10-07 18:21:06 +03:00
dev a9a0d63f27 cli: implement explicit source borrow returns 2026-10-07 18:20:45 +03:00
dev 715a8be491 Merge intermediate standard library foundation
Integrate feat/std-bootstrap through STD-7: nineteen safe pinned modules,
explicit owning collections, bytes/text/encoding/formatting, bounded and
buffered I/O, and caller-buffer lexical paths. Include source modules,
generics, linear aggregates/buffers and exact static operation contracts.

All 1079 conformance cases pass. New path cases pass per-step collection
and schedule stress; source/std CLI, hosted smoke, unit, formatting,
reference budgets and source coverage gates pass. Remaining Std 0.1 and
service work stays in the backlog; resume Phase 6 with Q-034/P6-11.
2026-10-07 13:43:25 +03:00
dev ad75ffe021 docs: adopt intermediate standard library foundation
ci / build (ubuntu-latest) (push) Successful in 4m52s
ci / extended (push) Failing after 3h0m2s
ci / build (macos-latest) (push) Canceled after 0s
Record the owner-requested STD-0..7 merge boundary and adoption of implemented
RFCs 0016-0035, whose normative rules and vertical implementations land together.
Update repository and std status; keep remaining Std 0.1 and service milestones
in the backlog. Track Q-034/P6-11 as the next source-language task and retain
the existing P7/P8 gate.

Implementation checks are recorded in RFC 0035 and the std plan; this change
updates adoption metadata and planning only.
2026-10-07 13:42:50 +03:00
dev 8edec5b831 cli: add caller-buffer lexical path APIs
Add pure std.path queries and failure-preserving normalization/join using
safe reverse measurement/emission and caller-provided output storage.
Component queries return explicit Copy ranges; filesystem authority is
checked independently. Complete the STD-7 implementation gate.

Validation: 1079 conformance cases, 18 path cases with per-step collection
and 12-seed schedule stress, independent 132-path/49-join capacity oracle,
68 CLI checks, fourteen previous source/std CLI suites, unit/Quick Reference,
formatting, hosted smoke, 117/117 source coverage and reference budgets.
2026-10-07 13:41:45 +03:00