Skip to content

Adu agent dev 22/7:35#130

Open
abd8876 wants to merge 14 commits intolsdefine:mainfrom
abd8876:aduAgent-dev
Open

Adu agent dev 22/7:35#130
abd8876 wants to merge 14 commits intolsdefine:mainfrom
abd8876:aduAgent-dev

Conversation

@abd8876
Copy link
Copy Markdown

@abd8876 abd8876 commented Apr 21, 2026

No description provided.

- env_file triple absolute-path resolution (L12-17)
- extra='forbid' + Field(...) required on kimi_apikey
- ValidationError -> exit(78) + stderr diagnostic (L86-94)
- @lru_cache on get_settings()
- keyring references removed (grep clean)
- cross-cwd .env reading verified (V7 APIKEY_HEAD=sk-9Bz)
- V7/V8/V9 acceptance: rc=0/78/78 all green
Investigation finding (logs/forensics/):
  - feat(p2.3): APScheduler integration (2f99acc) did NOT introduce
    any tracked files under scheduler/ in this repository.
  - `git log --all -- scheduler/ acceptance_pathz_p1.py` -> empty.
  - `git ls-files -- scheduler/ acceptance_pathz_p1.py` -> empty.
  - Local work-tree artifacts (if any) were never indexed.

Action:
  - Backlog P2.3 is re-opened; heartbeat loop in 1942684 remains
    the sole scheduler authority until P2.3 resumes.
  - This is an empty commit serving as an audit anchor so that the
    4-commit p2.1-final seal has a visible revert record.
Physical verification (logs/forensics/):
  [this session]
  - memory_vec_bad_diff.patch : the original 'suspicious' diff
  - bad_api_traceback.txt     : get_embedding_dimension() -> 'BAD: 384' rc=0
  - good_api_stdout.txt       : get_sentence_embedding_dimension() -> 'GOOD: 384' rc=0
  [earlier probes]
  - diff_evidence.raw, introspect.stdout, print_jobs.stdout

Finding:
  sentence-transformers==5.4.1 exposes BOTH
    get_embedding_dimension() AND get_sentence_embedding_dimension()
  Both return 384 on paraphrase-MiniLM-L6-v2 (the model configured in
  this project; NOT all-MiniLM-L6-v2).

Decision: retain P1.2 canonical API `get_sentence_embedding_dimension()`
  1. Documented in sbert.net across v1 -> v5.
  2. v5.0/v5.4 release notes do NOT advertise get_embedding_dimension
     as a rename/upgrade; it is an undocumented shorter alias.
  3. Cross-version stability > 3-char shorter name.

Forensics retained as audit trail, not as behavioral change.
No code diff in memory_vec.py; see logs/forensics/ only.
Verifies 12 hard-evidence items for p2.1-final seal:
- items 1-8 : Phase 1 (config + env + fail-fast)
- items 9-10: git hygiene (tag + clean tree)
- items 11-12: memory_vec API equivalence (forensics + byte-parity)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants