Token.has ancestor() method returns incorrect results
Token.has ancestor() method returns incorrect results: a task in harness-adapters: Agentic coding environments (Harbor dataset). The has ancestor() method in the Token class appears to be returning incorrect results when checking if a token is in another token's ancestry.
The task
The `has_ancestor()` method in the `Token` class appears to be returning incorrect results when checking if a token is in another token's ancestry.
Part of harness-hub/harness-adapters.