Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

Claude/fix inventory tokenization 2 k hr4 - #26

Merged
wayseer00 merged 3 commits into
mainfrom
claude/fix-inventory-tokenization-2KHr4
May 7, 2026
Merged

wayseer00 merged 3 commits into
mainfrom
claude/fix-inventory-tokenization-2KHr4

Conversation

@erinepshovel-code

Copy link
Copy Markdown
Collaborator

No description provided.

claude added 2 commits April 21, 2026 23:31
The final round after the loop is always open (initiator's return never
arrived before end-of-transcript). Replace the confusing
'open' if True else 'closed' ternary with a plain 'open' plus a
clear comment.

https://claude.ai/code/session_01Ya6yKBU13zpQ2BMy7iLnZc
- Backend/pyproject.toml: correct license from 'MIT' to 'Apache-2.0'
  (LICENSE file is Apache 2.0 since commit 791d7d5); update OSI classifier
  to match; add explicit 'dependencies = []' (stdlib-only package);
  fix sdist includes to use relative paths and include LICENSE
- Backend/src/edcmbone/__init__.py: populate with __version__ = '0.1.0'
  and full public API re-exports from all submodules; add __all__
- Backend/LICENSE: copy root LICENSE into Backend/ so sdist include works
- backend/ (lowercase): remove stale stub directory left from branch merge;
  it contained an incomplete pyproject.toml and placeholder parser;
  add backend/ to .gitignore to prevent reintroduction on case-insensitive
  filesystems

https://claude.ai/code/session_01Ya6yKBU13zpQ2BMy7iLnZc
Copilot AI review requested due to automatic review settings May 5, 2026 03:55
@erinepshovel-code

Copy link
Copy Markdown
Collaborator Author

@copilot resolve the merge conflicts in this pull request

@erinepshovel-code

Copy link
Copy Markdown
Collaborator Author

@copilot resolve the merge conflicts in this pull request

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 83191e3437

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .gitignore Outdated
tests/_artifacts/

# Stale lowercase backend stub (canonical package lives in Backend/)
backend/

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Scope backend ignore rule to repository root

The new backend/ ignore pattern is unanchored, so Git applies it to any directory named backend in the tree, not only the stale top-level stub. In this repo that also matches ammh/backend/, which means newly added files there will be silently ignored and easy to miss in commits. If the intent is only to ignore the root-level backend folder, anchor the rule as /backend/.

Useful? React with 👍 / 👎.

…ache-2.0 license fix and public API __init__.py to backend/

Co-authored-by: erinepshovel-code <250928284+erinepshovel-code@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR cleans up Python packaging/layout (removing an obsolete lowercase backend/ stub and formalizing the Backend/ package as the canonical build root), adds a top-level edcmbone package initializer for a consolidated public API, and clarifies round-finalization status handling in the core parsing pipeline.

Changes:

  • Make the final round emitted by core/parsing/round_builder.py explicitly "open" (removing a placeholder conditional).
  • Remove the old lowercase backend/ scaffold (including a placeholder parser file) and add a .gitignore entry to prevent it from reappearing.
  • Update Backend/pyproject.toml (license + sdist include paths) and add Backend/LICENSE; introduce Backend/src/edcmbone/__init__.py to re-export the library’s public API.

Reviewed changes

Copilot reviewed 6 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
core/parsing/round_builder.py Removes a placeholder conditional and makes final-round status explicitly "open".
backend/src/edcmbone/parser/turns_rounds.py Deletes an obsolete placeholder parser file in the removed lowercase stub tree.
Backend/src/edcmbone/init.py Adds a package entrypoint that re-exports canon/parser/metrics symbols as the public API.
Backend/pyproject.toml Switches project license metadata to Apache-2.0, adds explicit empty dependencies, and fixes sdist include paths.
backend/pyproject.toml Removes obsolete lowercase packaging metadata.
Backend/LICENSE Adds an Apache-2.0 license file for the Backend package distribution.
.gitignore Ignores the stale lowercase backend/ directory to avoid future ambiguity.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Backend/LICENSE
Comment on lines +59 to +66
This license text was produced by the Apache Software Foundation for use in Apache projects. It is based on United States intellectual property laws. It is intended to provide permissive open source licensing for software and other creative works. For more information, see the Apache License FAQ at http://www.apache.org/foundation/license-faq.html.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Comment thread backend/pyproject.toml
Comment on lines 9 to 20
description = "Structural fidelity measurement for AI interactions — quantifies how much meaning an AI system deletes when transforming structured user input"
readme = "README.md"
license = { text = "MIT" }
license = { text = "Apache-2.0" }
requires-python = ">=3.8"
dependencies = []
keywords = ["AI", "measurement", "structural fidelity", "cognitive accessibility", "NLP", "EDCM"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",

Copilot AI commented May 5, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Resolved in 7108be2. The conflicts arose from main renaming Backend/backend/ (lowercase) while this branch had been modifying the uppercase path. Resolution:

  • Removed backend/ from .gitignore (our previous commit incorrectly marked it as stale)
  • Accepted main's deletion of Backend/pyproject.toml and Backend/src/edcmbone/__init__.py
  • Applied our Apache-2.0 license fix, dependencies = [], and corrected sdist includes to backend/pyproject.toml
  • Created backend/src/edcmbone/__init__.py with the full public API exports
  • Added backend/LICENSE so the sdist build includes it

Copilot AI commented May 5, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

The merge conflicts were already resolved in 7108be2. The branch is now cleanly ahead of main with no remaining conflicts — all four conflicting paths (Backend/pyproject.toml, Backend/src/edcmbone/__init__.py, backend/pyproject.toml, backend/src/edcmbone/parser/turns_rounds.py) have been resolved.

@wayseer00
wayseer00 merged commit 147a081 into main May 7, 2026
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants